Re: Re: redoing website after 7 years

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

 



On Thu, 2009-01-08 at 20:10 -0800, VamVan wrote:
> On Thu, Jan 8, 2009 at 9:50 AM, Al <news@xxxxxxxxxxxxx> 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.

I did what you suggested but now I'm finding it to be a lot of typing to
maintain my software... for example I had the following:

<?php

for( $i = 0; $i < $something; $i++ )
{
    // something to b done.
}

?>

Now I have:

<?php

for( $REQUESTi = 0; $REQUESTi < $REQUESTsomething; $REQUESTi++ )
{
    // something to b done.
}

?>

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