Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread chris smith
On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote: Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. What happens when

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. On 4/15/06, chris smith [EMAIL PROTECTED] wrote: On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote: Hi, Sorry

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Richard Davey
On 15 Apr 2006, at 12:51, Alain Roger wrote: but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. Not possible. Web pages don't work like that. You need the flags

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread afan
Or, use form and images as button and you will not get variables at the end of the link: form method=post action=?= $_SERVER['PHP_SELF'] ? input type=images src=engFlag.jpg name=lang value=en input type=images src=fraFlag.jpg name=lang value=fr /form and on the top of the page (php file)

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread tedd
At 1:40 PM +0200 4/15/06, Alain Roger wrote: Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like

RE: [PHP] Refresh php section

2003-09-25 Thread chris . neale
Consider 4 IFRAMEs on one page, with meta refreshes in each header which point to your php script with a get parameter of whichever 'section' you're dealing with. Regards Chris -Original Message- From: ascll [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 08:48 To: [EMAIL PROTECTED]

Re: [PHP] Refresh PHP

2003-07-09 Thread Mauricio
- From: Ralph Guzman [EMAIL PROTECTED] To: 'Mauricio' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:57 PM Subject: RE: [PHP] Refresh PHP I though you were passing the variable through the url. If you have this stored in a session, then try replacing $_GET with $_SESSION -Original Message

Re: [PHP] Refresh PHP

2003-07-09 Thread Scott Fletcher
- From: Ralph Guzman [EMAIL PROTECTED] To: 'Mauricio' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:57 PM Subject: RE: [PHP] Refresh PHP I though you were passing the variable through the url. If you have this stored in a session, then try replacing $_GET with $_SESSION -Original

RE: [PHP] Refresh PHP

2003-07-08 Thread Brian S. Drexler
Try adding a random number to the end of your URL.index.php?$randomnumber -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 10:02 AM To: PHP Subject: [PHP] Refresh PHP Hi people! Did anyone get this situation? I'm creating a Site that uses 3

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
PROTECTED] Sent: Tuesday, July 08, 2003 2:11 PM Subject: RE: [PHP] Refresh PHP Rather than using session_destroy() reset the session variable by assigning it an empty value. For example, lets say your url looks something like this: http://www.mydomain.com/?url_variable=Mauricio then do

RE: [PHP] Refresh PHP

2003-07-08 Thread Ralph Guzman
How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:14 AM To: PHP Subject: Re: [PHP] Refresh PHP Hello Ralph

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
PROTECTED]; 'PHP' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:05 PM Subject: RE: [PHP] Refresh PHP How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto