View Single Post
December 17th, 2004, 02:52 AM
 xtimox Registered User Join Date: Dec 2004 Location: , , Chile. Posts: 3 Thanks: 0 Thanked 0 Times in 0 Posts
Problems with Examples of Beginning with php4 Book

Hello everyone, i just started learning php with the book that i wrote on the subject of the topic.

My problem is that some examples doesn't seem to work for me. . .

on the text.html and text.php example of Chapter 3 i get this error:

Notice: Undefined variable: Author in C:\Archivos de programa\Abyss Web Server\htdocs\beginningphp\text.php on line 6

i also get the same error when i try to echo the $HTTP_USER_AGENT or any Environment Variable Perhaps i need to configure something in the php.ini file??? Here are my codes: text.php <html> <head></head> <body> Your favorite author is: <?php echo$Author;
?>
</body>
</html>

text.html

<html>
<body>
<form method=get action="text.php">