Jump to content

Does Anyone Know What Version PHP this is?


shisamandisa

Recommended Posts

that script should run in just about any version of PHP i would think.

there are a number of ways to find your version number, the easiest is to just add this to a script on your site.


<? phpinfo() ?>

that will output all your settings.
see  http://www.php.net/phpinfo
Link to comment
Share on other sites

This script will work on any PHP version starting from version that is  > 4.1.0. I am saying this becuase the global array $_POST was not available in older version. Older versions used to have this kind of arrays $HTTP_*_VARS.

regards,
OOP
Link to comment
Share on other sites

If you are running PHP4.1.x or lower then you will have to use the $HTTP_*_VARS. This becuase the superglobal  ($_POST, $_GET, $COOKIES etc) arrays wasn't added until PHP4.2.x. If your host is using an older version you should consider moving to  another host that has  amore uptodate version or see if your host will upgrade their current version.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.