471,092 Members | 1,027 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

How to read HTTP request using php

250 100+
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?
Aug 5 '08 #1

✓ answered by ghjk

I did that. Thx for all. I'm just use [PHP]$_GET[/PHP] and pass parameters from URL.

7 6117
dlite922
1,584 Expert 1GB
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
Aug 5 '08 #2
ghjk
250 100+
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

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?message=test01%01%&from=xxx)
Aug 5 '08 #3
Gulzor
27
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?message=test01%01%&from=xxx)
Did you have a look at Zend Framework ? The Zend_Http could help, but you need PHP5
Aug 5 '08 #4
pbmods
5,821 Expert 4TB
Heya, ghjk.

Simply configure Apache to listen over port 15000.
Aug 5 '08 #5
ghjk
250 100+
Heya, ghjk.

Simply configure Apache to listen over port 15000.

How can i do that? Could you please tell me?
Aug 5 '08 #6
realin
254 100+
How can i do that? Could you please tell me?
Open httpd.conf file in your text editor.
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 !!
Aug 5 '08 #7
ghjk
250 100+
I did that. Thx for all. I'm just use [PHP]$_GET[/PHP] and pass parameters from URL.
Aug 5 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

17 posts views Thread by ronaldlee | last post: by
6 posts views Thread by Karthik | last post: by
reply views Thread by XML newbie: Urgent pls help! | last post: by
4 posts views Thread by Kuldeep | last post: by
9 posts views Thread by =?Utf-8?B?TWlrZQ==?= | last post: by
5 posts views Thread by =?Utf-8?B?bXBhaW5l?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.