a few questions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Say I wanted to send an HTTP request to a web server on port 80 - would
fsockopen or socket_create be better to use?

Also, I'm unsure of whether or not stream_set_blocking would be a
useful function to use for HTTP queries...  any ideas?

Finally, the output of this seems a bit surprising:


function test()
    return getcwd();

It displays / while the following displays something like

echo getcwd();

Any ideas as to what's causing the discrepancy?

Re: a few questions

Quoted text here. Click to load it

Take a look at curl.

http://yosemitenews.info /

Site Timeline