From 4.1 to 4.04pl1
| From: | Julio Nobrega Trabalhando | Date: | Fri, 04 Jan 2002 12:30:46 +0000 |
| Subject: | From 4.1 to 4.04pl1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79450@lists.php.net to get a copy of this message | ||
Hi everybody,
On my dev machine I have php 4.1. I have now to upload a huge script half
ported to 4.1 from 4.06 on a host where 4.04pl1 runs.
By 'half-ported' I mean almost every file I changed global $form_var or
function($form_var) to $_POST['form_var'].
But it will not work since it's not a var that existed ($_POST, $_SESSION,
etc...) and different scope.
I have a main file where maybe I can do $_POST = $HTTP_POST_VARS. But I
can't scape from the scope problem.
Anyway to make $_POST/$_SESSION/etc global on all functions on all files?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884