RE: [PHP] Post but not Post

2001-03-28 Thread Maxim Maletsky
no other way. Unless you identify the user somehow VERY WELL, write the staff into the file, and then read the file on other page. But, basically - the values are being passed with - urls, forms, cookies, sessions (still cookies or urls). No other ways are out there. Let me know if you'll find

Re: [PHP] Post but not Post

2001-03-28 Thread elias
Maxim, I just want them to be passed same as if passed via a form with a POST method. can i simulate the POST? Like i tried to put then in the $HTTP_POST_VARS[] but ofcourse, won't be for any good, unless...hmm... i never tried it though, and i have no good knowledge about it, but here's my

RE: [PHP] Post but not Post

2001-03-28 Thread Peter Houchin
only way i can think of is to use session and pass them across in session varibles .. providing your using php4 -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 5:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Post but not Post Hello. we

Re: [PHP] Post but not Post

2001-03-28 Thread Jason Brooke
Use fsockopen to send the data: $host = "your.host"; $port = 80; $postdata = "field1=value1field2=value2field3=value3"; if ($sp = fsockopen($host, $port)) { fputs($sp,"POST /path/to/script.php HTTP/1.0\n"); fputs($sp,"Host: $host\n"); fputs($sp,"Content-type:

RE: [PHP] Post but not Post

2001-03-28 Thread Robert Covell
; [EMAIL PROTECTED] Subject: Re: [PHP] Post but not Post Use fsockopen to send the data: $host = "your.host"; $port = 80; $postdata = "field1=value1field2=value2field3=value3"; if ($sp = fsockopen($host, $port)) { fputs($sp,"POST /path/to/script.php HTTP/1.0\n"

Re: [PHP] Post but not Post

2001-03-28 Thread Jason Brooke
I was just doing this a while back and ran into problems when going to 443. Any ideas on that? A regular fsockopen failed because of the security needed. -Bob Probably because you weren't following the SSL protocol You'll find the curl functions useful for SSL posting - or even non SSL