473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 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 6218
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

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

Similar topics

2
by: Raghu Gupta | last post by:
Hi, Actually i am facing some problem using quickbooks and presently i am not so expert in using it. I am using c# code to retrive the data from quickbooks. it doesn't matter which language we...
17
by: ronaldlee | last post by:
I have this error in Line 89. Collection is read-only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more...
6
by: Karthik | last post by:
I am trying to read Http request body values NOT form values The content type is text/xml and its POST I am posting data from Infopath to an asp.net page. In ASP it works by just writing...
0
by: XML newbie: Urgent pls help! | last post by:
I am using VB.Net. My program is to connect to a remote IPAddress. Once, it verifies the login information it should display the SessionID and enable some button . I appreciate your help and thanku...
4
by: Kuldeep | last post by:
Hi All, I am trying to read the contents of a page through its URL. My code snippet is as follows: public void mtdGetPageDataHWR() { HttpWebRequest objRequ =...
9
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. Is it programatically possible in VB.NET to read the contents of web.config's <customErrorselement? I looked at using ConfigurationSettings.AppSettings, but that doesn't work. I need to...
1
by: Shashank | last post by:
Hi all, I am a new member of this community. I am making a http request to a html file placed on a Apache server. On this page there is an embeded perl statement which requires reading ...
2
by: Jack | last post by:
Hi, I want to read a string a chars from a stream, and put it into a string. At the moment, I'm creating a buffer of a fixed size, and reading the stream of text into it. It works, but I have...
0
by: vishnu | last post by:
Hi, Am trying to post the data over https and am getting error in httpwebresponse.getResponseStream.Please help me to get rid of this issue. Here is the message from immediate window ...
5
by: =?Utf-8?B?bXBhaW5l?= | last post by:
Hello, I am completely lost as to why I can't update a DropDownList inside a DetailsView after I perform an insert into an object datasource. I tried to simply it down to the core demostration:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.