Re: php self problem

From: Date: Mon, 13 Dec 2004 22:16:18 +0000
Subject: Re: php self problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-204237@lists.php.net to get a copy of this message
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@kegworks.com> 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@kegworks.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#204237) next »