a version that works with php 4.0.6 ?
Moderator: Thorsten
Hi Dave,
okay, let's try this:
Search for all the superglobal variables like $_SERVER, $_REQUEST and $ENV like $_SERVER["PHP_SELF"].
Change them from $_SERVER["PHP_SELF"] to $PHP_SELF.
Then it should work.
bye
Thorsten
okay, let's try this:
Search for all the superglobal variables like $_SERVER, $_REQUEST and $ENV like $_SERVER["PHP_SELF"].
Change them from $_SERVER["PHP_SELF"] to $PHP_SELF.
Then it should work.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Will give it a go
Thanks Thorsten
I presume this is just in the index.php admin/index.php and installer.php files?
also - I only change the PHP_SELF bit to $PHP_SELF wherever it occurs?
or do i replace the entire variable?
Dave
I presume this is just in the index.php admin/index.php and installer.php files?
also - I only change the PHP_SELF bit to $PHP_SELF wherever it occurs?
or do i replace the entire variable?
Dave
Hi Dave,
you have to change it in every PHP file of the FAQ.
... and change the whole variable: $_SERVER["PHP_SELF"] -> $PHP_SELF
or for example $_REQUEST["id"] -> $id
bye
Thorsten
you have to change it in every PHP file of the FAQ.

... and change the whole variable: $_SERVER["PHP_SELF"] -> $PHP_SELF
or for example $_REQUEST["id"] -> $id
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
still not quite clear ...
Just so I am clear :
$_SERVER -> $PHP_SELF
$_REQUEST -> $PHP_SELF
$_SERVER["PHP_SELF"] -> $PHP_SELF
but
$_SERVER["id"] -> $ID
any others beside $_SERVER and $_REQUEST ?
$ENV ??
Dave
$_SERVER -> $PHP_SELF
$_REQUEST -> $PHP_SELF
$_SERVER["PHP_SELF"] -> $PHP_SELF
but
$_SERVER["id"] -> $ID
any others beside $_SERVER and $_REQUEST ?
$ENV ??
Dave
Re: still not quite clear ...
Hi,
It would be safer and easier if you would upgrade your version of PHP and MySQL....
bye
Thorsten
WRONGdmoreman wrote:$_SERVER -> $PHP_SELF
$_REQUEST -> $PHP_SELF
correct....dmoreman wrote:$_SERVER["PHP_SELF"] -> $PHP_SELF
but
$_SERVER["id"] -> $id
yes...dmoreman wrote: any others beside $_SERVER and $_REQUEST ?
$ENV ??
It would be safer and easier if you would upgrade your version of PHP and MySQL....
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Well - I tried (and so did you!)
I changed EVERY superglobal but it still won't install 
Time to give up I think!
Thanks so much for all your support - I will be back in touch when our server team upgrade!
All the best
Dave

Time to give up I think!
Thanks so much for all your support - I will be back in touch when our server team upgrade!

All the best
Dave
Re: a little confused ..
sorry, my 'english' is very bad.dmoreman wrote:Meikel - could you possibly translate your post please ??
example:will not work ?Code: Select all
if (isset ($HTTP_SERVER_VARS)) { $_SERVER = &$HTTP_SERVER_VARS; }
Code: Select all
$_REQUEST['test'] = 'OK';
function test()
{
printf ('%s', (isset($_REQUEST['test'])) ? $_REQUEST['test'] : 'empty');
}
test();
output: 'empty'
PHP >= 4.1.x ($_REQUEST is 'superglobal'):
output: 'OK'
thanks - 1.1.5?
Thanks Meikel
Thorsten - I don't suppose there is any chance of getting a copy of v1.1.5 to play with is there?
cheers
Dave
Thorsten - I don't suppose there is any chance of getting a copy of v1.1.5 to play with is there?
cheers
Dave
Hi Dave,
please send me an e-mail to thorsten@phpmyfaq.de, okay! Let's see what I can do...
bye
Thorsten
please send me an e-mail to thorsten@phpmyfaq.de, okay! Let's see what I can do...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist