When POST data is sent to a page, it's as if somebody typed the text into a
textarea and hit a submit button. Even though this is being done
programmatically, the POST method will behave the same. SOmebody in their
(your)code will have to write something similiar to:
$postData = "xVar=" . rawu
I think I saw on this list that there's a $HTTP_RAW_POST_DATA (or
similar) varibale. Sorry the net is slow like hell at work, I can't
search for more info. But I think if you search for "raw" on the
general mailing list's archive you will find it.
Arpi
> XML file is text file. If I op
XML file is text file. If I open the file with php like call $fp, that is a
long string with some special char.
post method can send a long string to the server.
how php can receive that long string is my problem.
if can do that, php can parser the xml file send form remote computer.
I want php p
> I think you understand my problem.
>
> I will use a client program to POST the XML data to a php file on the
> server base HTTP
> in php file will get the post request,
>
> the question is, how can i get the xml data in post request
Hmm, I dont think I understand? Where do you want to do with
I think you understand my problem.
I will use a client program to POST the XML data to a php file on the server
base HTTP
in php file will get the post request,
the question is, how can i get the xml data in post request
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECT
>the program just can let me get the post string like my example
> I want post the xml file content to a php file, then I want get the post
> string that it's xml content.
>
> hehe, thanks for your help
Did you solve your problem?
I dont think i understand you, but i tries to give a little s
Hello Johan
the program just can let me get the post string like my example
I want post the xml file content to a php file, then I want get the post
string that it's xml content.
hehe, thanks for your help
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECTED] Mobile:1
> $HTTP_SERVER_VARS['QUERY_STRING'] --> it just can read the content by GET
> method.
>
> I want POST content
Ah okay. Try this:
$post_query = "";
$keys_arr = array_keys($HTTP_POST_VARS);
$keys_size = sizeof($key_arr);
for($i=0; $i<$keys_size; $i++) {
if($i == 0) {
$post_query .= $
$HTTP_SERVER_VARS['QUERY_STRING'] --> it just can read the content by GET
method.
I want POST content
thanx
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECTED] Mobile:13701243390 Phone:65283399-121 TomQ ID:yorgo
http://www.ruisoft.com
"Johan Holst Nielsen" <[EMAIL PR
> I mean post content string not a lot of variables
>
> etc:
>
> aaa.html post a=1&b=2 to bbb.php
>
> I want use php to read the string a=1&b=2 not $a and $b
I not sure I understand you, but are you looking for
$HTTP_SERVER_VARS['QUERY_STRING'] ??
Regards,
Johan
--
PHP General Mailing List
10 matches
Mail list logo