0

My load code is:

[code removed]

My lookup code is:

[code removed]

My indexes code is:

[code removed]

and I am getting in check50:

:) server.c exists
:) server compiles
:( Requesting cat.jpg returns 200, image/jpeg, and correct image
:( Requesting cat.html returns 200, text/html, and correct file
:( Requesting cat2.HTML returns 200, text/html, and correct file
:( Requesting cat3.HtMl returns 200, text/html, and correct file
:( Requesting cat.gif returns 200, image/gif, and correct file
:( Requesting favicon.ico returns 200, image/x-icon, and correct file
:( Requesting test.css returns 200, text/css, and correct file
:( Requesting test.js returns 200, text/javascript, and correct file
:( Requesting hello.php returns 200, text/html, and correct output
   \ expected output, not an exit code of 0
:( Requesting hello.php? returns 200, text/html, and correct output
   \ expected output, not an exit code of 0
:( Requesting hello.php?name=Alice returns 200, text/html, and correct output
   \ expected output, not an exit code of 0
:( Requesting /test redirects to /test/
:( Requesting /test/ outputs /test/index.html
:( Requesting directory containing index.php outputs index.php
   \ expected output, but not "HTTP/1.1 405 Method Not Allowed\r\nCont..."
:( Requesting two files in a row (cat.html then cat.jpg) succeeds
https://sandbox.cs50.net/checks/7a18fb942d8341cb8f8e3d0d0d2ee2b6
  • I is not duplicate because the previus one was not compiled. This one is compiled but I would line someone to guide me with my errors. – edxnewbie Apr 13 '16 at 20:27
  • 1
    welcome to CS50 SE, @edxnewbie! I just wanna emphasize that searching for or soliciting outright solutions to problem sets online or elsewhere and submitting (after possibly modifying) the work of another individual beyond allowed snippets are not reasonable. I'm mentioning this since your code for the load function looks almost exactly as its correspondent this question! – Kareem Apr 14 '16 at 10:14

Browse other questions tagged .