PHP : pbm with forms on FreeBSD

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
DoppyNL

Fri Aug 09, 2002 1:29 am

The only thing I can think on at the moment is that the version of PHP is different on both installations.

$_POST was $HTTP_POST_VARS

perhaps you installed an older version of PHP on FreeBSD than on the other installations. Therefore $_POST values will be empty on older PHP-installations.

Greetz Daan

DoppyNL

Fri Aug 09, 2002 2:23 am

create a php file with the content:

Code: Select all

<?php phpinfo(); ?>

and you will get a lot of info on you're installation, including the php-version.

as of version 4.1.0 variables submitted to the page with the post-method are available in the array $_POST before version 4.1.0 this was $HTTP_POST_VARS (which is still available, but deprecated).

phpmyadmin might still be using the $HTTP_POST_VARS and therefore it will work on older versions as well.

if you installed php from the same cd, the version is ofcourse the same and all of my typing here is sort of useless :roll:

one last note, latest version is 4.2.2, so if you've got version 4.4..... can I have a copy??? :D :wink: :!:

Greetz Daan

Jay

Mon Aug 12, 2002 2:29 am

Try accessing your POST variables through the $_POST array.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 3 guests