Problems with php ;(

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Aaron Mueller
Guest





PostPosted: Thu Nov 28, 2002 10:44 pm    Post subject: Problems with php ;( Reply with quote

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

PostPosted: Fri Nov 29, 2002 1:40 am    Post subject: Re: Problems with php ;( Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group