I just finished pset6 for week8, but the browser in appliance does not seem to open most php or html files. The files in pest6.zip such as hello.php and cat.jpg process fine. They return "HTTP/1.1 200 OK". However, I cant see the jpg file on the browser, and the hello.php goes to an "Undefined index". Please help!
1 Answer
the message tells you exactly what the problem is. you never passed an HTTP parameter called name
to hello.php
and apparently the code in hello.php
is not written to handle such case. so it reports back to you that it doesn't know what presumably $_GET['name']
is.