Re: Re: redoing website after 7 years

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-01-09 at 15:17 +1100, Chris wrote:
> > I know many people will grin at me for this solution but may be faster way
> > to overcome this problem to do a find for $ and replace with $_REQUEST. even
> > this will help you if you dealt with $_POST, $_GET, $_COOKIE.
> 
> Please don't.
> 
> $connection = mysql_connect(...)
> 
> becomes
> 
> $_REQUEST[$connection] (or something)

How did you get those braces when you did search and replace?

;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux