|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Problem: Passing Variables with href localy
Hi guys,
The follwing script is not working localy while its working fine on the net, the problem is I can't see the variable the I passed with the link, I tried so many ways to replace $Parameter with $HTTP_POST_VARS and $HTTP_SESSION_VARS ...etc but nothing is working, I know the solution is realy easy and silly but I couldn't find it by my self. Please feed me back guys Test.php: ------------------------------------------------------------------------- Parameter: <? echo $Parameter; ?><BR> <a href=Test.php?Parameter=1>Test the Parameter</a> ------------------------------------------------------------------------- OS: Windows XP Pro Browser: IE 6 Apache: 2.0.4 PHP: 4.2.2 Ali |
|
#2
|
|||
|
|||
|
RE: Problem: Passing Variables with href localy
In the latest release of php register_globals is off by default. Wich means you can't access get/post data by just using their names.
Try: <? echo $_GET['Parameter']; ?><BR> <a href=Test.php?Parameter=1>Test the Parameter</a> |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Problem: Passing Variables with href localy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|