Re: [PHP] Out with the new, In with the old

2002-12-12 Thread John Nichel
You can prepend a file to your site by using a .htaccess file. Scott Houseman wrote: Hi Try and get them (your hosting company)to configure your site with a prepend file e.g. prepend.php for your domain. in this file, do something like: // // DECLARE ARRAYS // $_GET = array( ); $_POST = array

Re: [PHP] Out with the new, In with the old

2002-12-11 Thread Scott Houseman
Hi Try and get them (your hosting company)to configure your site with a prepend file e.g. prepend.php for your domain. in this file, do something like: // // DECLARE ARRAYS // $_GET = array( ); $_POST = array( ); $_SERVER = array( ); // etc.. while ( list( $sKey, $mVal ) = each( $HTTP_GET_V

[PHP] Out with the new, In with the old

2002-12-11 Thread Jonathan
I began to develop a small session based shopping cart using newer syntax. For example, $_SERVER, $_REQUEST, $_SESSION, etc. Anyway, I'm almost done with the cart and just found out that the hosting company for the client is running PHP 4.0.6. Is there anyway around this besides changing all of m