Make Existing Php 5 Switching Code Work On Php 4.3.2

Hi,

I have a PHP redirect script (switching code) written for PHP 5 but I need it to work on PHP 4.3.2.

The PHP 5 script is here:

http://gomobi.info/marketing/switching-php.html

The first error the script will through in 4.3.2 is something like this:

“Fatal error: Call to undefined function: sys_get_temp_dir() in /blah/blah/www.blah.co.uk/index.php on line 9”

I don’t know if there are any more errors as the script stops here.

There is a “work around” on php.net here:

ht…

Leave a Reply

Your email address will not be published. Required fields are marked *