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
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
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
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)
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
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]
-
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
-
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
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
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
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
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
12 matches
Mail list logo