Re: [PHP-DEV] singleton feature

2002-06-25 Thread BB
I would like to know too, Purushotham Komaravolu [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Singleton means only one instance.. i.e. instance of a class per webserver... all application scripts should talk only to that same instance irrespective of the

Re: [PHP-DEV] Re: Small CGI Serve

2002-06-25 Thread BB
Does no-one know how I can get the POST vars in there? If I get this done, then my server will be complete and ready to be re-written to be half decent :oP Bb [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Get vars are working now! Just gotta do post

[PHP-DEV] Re: Small CGI Serve

2002-06-19 Thread BB
I have found if you set the environment var REDIRECT_STATUS to FALSE then it works Someone explain? Bb [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying to write a small CGI webserver. Having finally found out how to pass the Environment v

Re: [PHP-DEV] Re: Small CGI Serve

2002-06-19 Thread BB
Get vars are working now! Just gotta do post and i'm virtually done! Anyone got a guide? James Cox [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have found if you set the environment var REDIRECT_STATUS to FALSE then it works Someone explain?

[PHP-DEV] Re: getting form variables without posting

2002-06-18 Thread BB
script var winImg = window.open('','myDoc','scrollbars=no,resizable=no,width=600,height=350'); document.forms[1].target = myDoc; document.forms[1].submit(); /script Dan Rossi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... adding to my last question i'm

[PHP-DEV] Small CGI Serve

2002-06-18 Thread BB
I am trying to write a small CGI webserver. Having finally found out how to pass the Environment vars onto PHP, I am stumpted to find that PHP wasn't reading them and putting them in their place (GET vars). I tried changing the exe from the php-cli to just php. This now brings up a security

[PHP-DEV] Re: Recommended XML parser?

2002-06-18 Thread BB
I wrote something that did things to huge XML files (2meg+) and it took a long time! (around 10 mins) I used this code to read and process the XML into a arrays function GetChildren($vals, $i) { $children = array(); if ($vals[$i]['value']) array_push($children, $vals[$i]['value']);

[PHP-DEV] Re: ImageCreateFromGif

2002-06-18 Thread BB
I have also had problems loading ANY dll in the new version (I was using mssql). A bug maybe? Andrew Milne [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there! I'm having problems with the GD extension on the latest Win32 download from php.net - when I

[PHP-DEV] Re: Session duplicated in url

2002-06-18 Thread BB
Then turn it off? Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... When i have someone deactivating the cookies i get multiple PHPSESSIONID queries. What i do: I have a site that propageates some data with query strings. These i read from

[PHP-DEV] Re: getting form variables without posting (note)

2002-06-18 Thread BB
This method submits the form to the newly opened page, the original page remains intact, hope this is what you wanted Bb [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... script var winImg = window.open('','myDoc','scrollbars=no,resizable=no,width=60

Re: [PHP-DEV] Small CGI Serve

2002-06-18 Thread BB
setting cgi.force_redirect to off, 0, no and any other negative thing I could think of to no avail Stig S. Bakken [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 2002-06-18 at 13:25, BB wrote: I am trying to write a small CGI webserver. Having final