View previous topic :: View next topic |
Author |
Message |
Aaron Mueller Guest
|
Posted: Thu Nov 28, 2002 10:44 pm Post subject: Problems with php ;( |
|
|
I have a verry irregular problem with my Server and PHP. I have written the following test-script (test.php):
Code: |
<?php
echo "Here is the Test-String: ";
echo $test;
?>
|
The Server is correctly "included" to the server.
If I open the script like:
http://127.0.0.1/test.php?test=ThisIsATest
Then the Variable test has not the String in the url (ThisIsATest) ;((
Whats wrong? I am searching the answer to my problem up to 5 hours ;(( Please help me ;((
Aaron
(Sorry for my bad english) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Nov 29, 2002 1:40 am Post subject: Re: Problems with php ;( |
|
|
Aaron Mueller wrote: | I have a verry irregular problem with my Server and PHP. I have written the following test-script (test.php):
Code: |
<?php
echo "Here is the Test-String: ";
echo $test;
?>
|
The Server is correctly "included" to the server.
If I open the script like:
http://127.0.0.1/test.php?test=ThisIsATest
Then the Variable test has not the String in the url (ThisIsATest) ;((
Whats wrong? I am searching the answer to my problem up to 5 hours ;(( Please help me ;((
Aaron
(Sorry for my bad english) |
Just a small search in our forum gives you the answer. new PHP versions changed the way variable coming from the request are named. In your case you should use $_GET['test'] instead of $test.
For more information, read http://www.aprelium.com/forum/viewtopic.php?t=274 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|