I want to read a HTTP request using php. How can I do that? I searched. But still i don't have any idea. Could someone please help me?
How to read HTTP request using php
Collapse
X
-
I'm not sure what you're talking about.
What are you trying to do?
It's always good to tell us what you're trying to do rather than "how" you're trying to accomplish it. More often than not there might be an easier way than the "how" you've chosen.
are you looking for $_POST and $_GET globals?
Dan -
Originally posted by dlite922I'm not sure what you're talking about.
What are you trying to do?
It's always good to tell us what you're trying to do rather than "how" you're trying to accomplish it. More often than not there might be an easier way than the "how" you've chosen.
are you looking for $_POST and $_GET globals?
Dan
I want to listen port 15000 and server send HTTP request to that port. What I want to do is , listen port 15000 and when http request comes read the message. There is a message format(http://IP/test/test.php?messag e=test01%01%&fr om=xxx)Comment
-
Originally posted by ghjkI want to listen port 15000 and server send HTTP request to that port. What I want to do is , listen port 15000 and when http request comes read the message. There is a message format(http://IP/test/test.php?messag e=test01%01%&fr om=xxx)Comment
-
Originally posted by ghjkHow can i do that? Could you please tell me?
Find this line:
Listen 80
change it to:
Listen 85
Save and restart Apache.
Always restart Apache after making changes to a conf file and don't foget to make a backup before making any edits.
now things would work using http://locahost:85
cheers !!Comment
Comment