[PHP-WIN] Re: Back button error

2003-06-17 Thread Adam Goossens
Harpeet, Try: session_cache_limiter('private'); See if that makes any difference. -Adam. Harpreet wrote: I am getting the following error when i use the IE back button. Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no lo

[PHP-WIN] Re: PHP 4.3.2 is Slower & Can't Echo to the CLI

2003-06-17 Thread Adam Goossens
It does? I'm running CLI 4.3.2, and it echo()'s when told to. My scripts also run as quick as they normally would. Are you certain it's not a scripting issue? Or provide some sample code? -Adam. Jon Harrell wrote: I noticed that compared w/ 4.2.3 (the last working fdf/tk until now) that the CLI

[PHP-WIN] Re: Help please: undefined index in sample code

2003-06-14 Thread Adam Goossens
Stuart, This problem occurs when you try to access an index in an array that does not exist. First off, make sure that your variables are getting passed to the script via POST. Do this by calling the function print_r(), and passing the $_POST array as an argument to it. print_r($_POST); That

[PHP-WIN] Re: $GLOBALS

2003-06-12 Thread Adam Goossens
Oh, and to answer your original question: yes, as far as I am aware register_globals would have to be on for that code to work. -- Adam Goossens - This mail sent through IMP: http://horde.org/imp/ -- PHP Windows Mailing List (http

[PHP-WIN] Re: $GLOBALS

2003-06-12 Thread Adam Goossens
they are "scopeless". It would only work if you used the following code beforehand: global $_POST['photo']; hth. -- Adam Goossens === Quoting [EMAIL PROTECTED]: > >When running the following code: > >foreach($GLOBALS['

[PHP-WIN] Value of $_SERVER['GATEWAY_INTERFACE'] in ISAPI mode

2003-06-09 Thread Adam Goossens
Sven, The report back depends on the version of the CGI specification the webserver is running. With Apache, this is normally CGI/1.1. Running it as an ISAPI module makes no difference, as it depends on the webserver configuration. -- Adam Goossens