Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 01.07.2003, 06:43   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default PHP: GET variables error

na moem servere ya vyzyvayu GET variable i vse putem

index.php?myvariable

no na drugom servere peremennuyu ne poluchayu, prichem esli postavit' v konce "=", to togda vse normal'no, a bez znaka =, pusto.
Proveryayu etim obrazom:
foreach ($HTTP_GET_VARS as $key => $k){
echo($key . " : " . $k);
break;
}
Reply With Quote
Old 01.07.2003, 07:14   #2
freelancer
 
Yerkanian's Avatar
 
Join Date: 06 2002
Location: the same place
Posts: 592
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

na kotorom poluchayesh kakoye libo znachenie - eto bug

esli bez = , to eto uzhe $QUERY_STRING, s register_globals on ili $_SERVER['QUERY_STRING'] s register_globals off
Reply With Quote
Old 01.07.2003, 07:29   #3
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default

ok, arden lucel ei, isk en vor erevum er cache-um er nstel, Ctrl + Reload areci dzvec
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 23:23.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.