--- "Reuben D. Budiardja" <[EMAIL PROTECTED]>
wrote:
> I browse the archive and found the following code to
> simulate a POST request using socket connection. This
> will send a request to my own server (localhost). And
> then, I also have the second code (included) for
> /devel/php_post.php, which is the target for this
> request.

This sounds very screwed up, but maybe I am misinterpreting
you. This is what this sounds like to me:

1. You have a script (send.php) that autmates a POST to
another script (receive.php) that resides on the same host.
2. You then include this same script (receive.php) in your
sending script (send.php), thinking somehow that it has
access to the data you just posted.

Is that correct? If so, I think it represents a big
misunderstanding about how the Web works.

Since you say you have code to POST data from send.php to
receive.php, all you have to do is reference the data in
receive.php like this:

$_POST['varname']

If that made no sense, please try to explain clearly what
you are trying to accomplish.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to