Re: php self problem

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

 



hi
thanks, i used it but i have a new problem but i solved it
so for people who will face the same problem
u can do this

$same_page = $PHP_SELF."?".$_SERVER['QUERY_STRING'];

this will go to the same page with the variables passed too

thanks for help

Ahmed Abdelaliem


On Mon, 13 Dec 2004 16:54:42 -0500, John Nichel <john@xxxxxxxxxxxx> wrote:
> Ahmed Abdel-Aliem wrote:
> 
> 
> > hi
> > i use framework in my scripts, and i have a problem with forms that
> > calls the same page
> > for example
> > i have a form in that link
> > http://localhost/play/index.php?fuseaction=SiteMain.showGamePage&Game_ID=33
> > when i use $PHP_SELF it goes to http://localhost/play/index.php
> > so how can i make the form go to the same page with the passed
> > fuseaction and Game_ID variables
> > can anyone help ?
> >
> > Ahmed
> >
> 
> $_SERVER['QUERY_STRING']
> 
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@xxxxxxxxxxxx
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.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