Birisi bana bu konuda yardımcı olabilir
Ben url değişkeni ayarlamak ve yakalamaya çalışıyorum
It begins with a form wich has the standard action set to "/autorisation/logout" Then a button with an inline javascript function
function tbPayout()
{
parent.location = "/autorisation/logout?rcgo=payout";
return true;
}
<input src="/images/go02.gif" type=image border=0 name="go1" onClick="return tbPayout();">
Autorisation denetleyicisi bunu yakalamaya çalışın
if ( isset($_GET['rcgo']) ) {
but it doesn't work and I can't see the variable in the url and therefore the default forms action is performed?
Ben de başka bir yönlendirme sayfası var
content="3; url=http://www.domain.nl/index/index?rcgo=logout" />
ve gayet iyi çalışıyor
How can I get the javascript to work because I have three submit buttons that I need to control by using different url variables that I need to read in the controller function. ,wich is logout() in this case.
It is worth mentioning that is has got something to do with the fact that it can not interpet the variable in the uri because it defaults to the index function off that controller wich is the standard behaviour if it can't find the second part. Without the variable attached, it redirects ok.
Bir çözüm var mı?
Teşekkürler, Richard