Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 4, 2008, 3:32 pm
rate this thread
is wrong. Screenshot is here
This is the code:
Agent: So who do you think you are, anyhow?
// define variables
$name = "Neo";
$rank = "Anomaly";
$serialNumber = 1;
// print output
echo "Neo: I am <b>$name</b>, the <b>$rank</b>. You can call me by my serial
Have a look at the HTML code in your browser - you'll see the exact code
including all the PHP statements as you've typed it. You have called the
file directly from disk (file://...) without a local web server, which
means that the PHP code is not interpreted. You have to use a HTTP URL.
If you don't have a web server running yet, install one of the various
packages containing Apache, PHP and MySQL (XAMPP for example).
- » failed to open stream: HTTP request failed! HTTP/1.1 401 Access Denied in
- — Next thread in » PHP Scripting Forum