I am trying to pass a text string to a php script like this
<img src="create_image.php?text=Testmessage">
but the string never gets passed to the script. The script "create_image.php" creates an image and I want to place some text on it. I copied the code out of Lerdorf's book "Programming PHP". Does it matter that I am using PHP5?
Passing data to a php script
Moderator: General Moderators
If the book says $text use $_GET['text'] instead and search for a more recent book/web tutorial.
see http://de2.php.net/manual/en/security.globals.php
see http://de2.php.net/manual/en/security.globals.php