Questions tagged [hello.php]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
79 views

Pset6: check50 has one last error.. I have one question about what to return

For the last error of :( Requesting hello.php? returns 200, text/html, and correct output Should the parse function remove the last question mark, return 400, or should indexes handle it and return "...
0
votes
1answer
250 views

server.c hello.php outputs correctly only when query manually typed

I am almost done with server.c, everything works fine except that hello.php outputs error 404 when the query is submitted from hello.html, if I manually type https://ide50-rafaell12.cs50.io/hello.php?...
1
vote
1answer
368 views

pset6: /hello.php?name=david shows up in URL but hello.html page content loads

Currently working on pset6 server.c. All of my pages load properly except for one thing: when I submit a name in the text box from hello.html, the query properly shows up in the URL, but the hello....
0
votes
1answer
543 views

pset6 (webserver) - hello.php not loading properly [duplicate]

Everything is working except for hello.php. In the load function I try to obtain the length of the file passed to it as shown, but when hello.php is interpreted and the load function is called, it ...
0
votes
0answers
123 views

hello.php making executable wouldn't work

#!/bin/php <?php printf("hello, world\n"); ?> I've written this code just according to the walkthrough. But when I try making it executable the result was this: jharvard@appliance (~/...
0
votes
0answers
394 views

pset 6, server.c, query sent but hello.php doesn't receive it

Although the spec does not mention to handle .php files, I found that if I do not have my lookup function return "text/html" when it receives a .php extension, then I get a 501 Not Implemented error. ...