Re: [PHP] HTTP POST then Redirect?

2004-08-04 Thread Justin Patrin
On Wed, 04 Aug 2004 17:39:51 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: > > > Justin Patrin wrote: > > On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: > > > >>I'm using the code below to post form data to an ASP script. But I need > >>to redirect to a "thank you" page wh

Re: [PHP] HTTP POST then Redirect?

2004-08-04 Thread Jeff Oien
Justin Patrin wrote: On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: I'm using the code below to post form data to an ASP script. But I need to redirect to a "thank you" page when it all done or the person filling out the form sees what they're not supposed to see. Any way

Re: [PHP] HTTP POST then Redirect?

2004-08-04 Thread Justin Patrin
On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: > I'm using the code below to post form data to an ASP script. But I need > to redirect to a "thank you" page when it all done or the person filling > out the form sees what they're not supposed to see. Any way I can do > this

[PHP] HTTP POST then Redirect?

2004-08-04 Thread Jeff Oien
I'm using the code below to post form data to an ASP script. But I need to redirect to a "thank you" page when it all done or the person filling out the form sees what they're not supposed to see. Any way I can do this? If take out the last line and print a header(URL) it won't post the data. T

RE: [PHP] HTTP POST FILE UPLOAD HELP - REVISITED

2002-11-09 Thread @ Darwin
quot; > -Original Message- > From: Jason Wong [mailto:php-general@;gremlins.com.hk] > Sent: Saturday, November 09, 2002 5:01 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] HTTP POST FILE UPLOAD HELP - REVISITED > > > On Saturday 09 November 2002 18:39, [EMAIL

Re: [PHP] HTTP POST FILE UPLOAD HELP - REVISITED

2002-11-09 Thread Jason Wong
On Saturday 09 November 2002 18:39, [EMAIL PROTECTED] wrote: > Sorry about that guys, here is a bit more info that might be useful: > > I forgot to tell you that I'm working on a Windows XP box with full rights, > which means the default temporary directory is C:\WINDOWS\Temp and there > are no lim

[PHP] HTTP POST FILE UPLOAD HELP - REVISITED

2002-11-09 Thread @ Darwin
Sorry about that guys, here is a bit more info that might be useful: I forgot to tell you that I'm working on a Windows XP box with full rights, which means the default temporary directory is C:\WINDOWS\Temp and there are no limitations on what I can and cannot access on the system (running as sys

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread BAROILLER Pierre-Emmanuel
in@;indent.com.au] > > Sent: Friday, November 08, 2002 7:13 AM > > To: @ Darwin; Php-General > > Subject: Re: [PHP] HTTP POST FILE UPLOAD HELP > > > > > > Hi, > > > > Simple question first: There is a perfect working example of file uploads > > av

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Justin French
.com.au] >> Sent: Friday, November 08, 2002 7:13 AM >> To: @ Darwin; Php-General >> Subject: Re: [PHP] HTTP POST FILE UPLOAD HELP >> >> >> Hi, >> >> Simple question first: There is a perfect working example of file uploads >> available on the

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Jason Wong
On Saturday 09 November 2002 03:03, [EMAIL PROTECTED] wrote: > Nope, tried that just now. The example doesn't work for me. Any other > suggestions? How doesn't it work? Error messages? Aliens stole your file? If you can't get the example from the manual to work then you've got serious problems :

RE: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread @ Darwin
Nope, tried that just now. The example doesn't work for me. Any other suggestions? - Darwin > -Original Message- > From: Justin French [mailto:justin@;indent.com.au] > Sent: Friday, November 08, 2002 7:13 AM > To: @ Darwin; Php-General > Subject: Re: [PHP] HTTP P

RE: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread @ Darwin
Ok, I'll try that. I never had to do it before, but I'll try it anyway...I'll get back to you on it...thanks - Darwin -Original Message- From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at] Sent: Friday, November 08, 2002 6:22 AM To: @ Darwin Cc: Php-General Subject:

RE: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread @ Darwin
You know what, let me try that, and I will get back to you as soon as I can. - Darwin > -Original Message- > From: Justin French [mailto:justin@;indent.com.au] > Sent: Friday, November 08, 2002 7:13 AM > To: @ Darwin; Php-General > Subject: Re: [PHP] HTTP POST FILE UPLOA

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Ernest E Vogelsinger
At 13:05 08.11.2002, @ Darwin spoke out and said: [snip] >is the info from my php.ini file: > > >; Temporary directory for HTTP uploaded files (will use system default if >not >; spec

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Justin French
Hi, Simple question first: There is a perfect working example of file uploads available on the PHP website in the manual. Can you get that example to work? Justin on 08/11/02 10:05 PM, @ Darwin ([EMAIL PROTECTED]) wrote: > > Ok, I have a problem with my file upload. When I upload a file, sa

[PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread @ Darwin
Ok, I have a problem with my file upload. When I upload a file, say $img, only $img is available and when I echo $img to the screen it gives the full path of the temporary image "supposedly" created by PHP. Echoing $_FILE['img']['tmp_name'], or any of the other $_FILE array elements, doesn't give

RE: [PHP] HTTP POST a file with CURL <----------PLEASE HELP!!!!!!

2002-06-27 Thread Martin Towell
AM To: [EMAIL PROTECTED] Subject: [PHP] HTTP POST a file with CURL <--PLEASE HELP!! If I had a form on a page with it would POST the file to the script. I want to have a PHP script read a file and then emulate that action to another script. Since the enctype="multipart/form-da

Re: [PHP] HTTP POST a file with CURL <----------PLEASE HELP!!!!!!

2002-06-27 Thread Bogdan Stancescu
multipart/form-data is very VERY similar to mail with attachments. Maybe you could tweak a package/library/class which allows that in order to build the POST request and then simply send it using socket functions to the server you want to. I don't know, maybe this is too complicated and you co

[PHP] HTTP POST a file with CURL <----------PLEASE HELP!!!!!!

2002-06-27 Thread SpamSucks86
If I had a form on a page with it would POST the file to the script. I want to have a PHP script read a file and then emulate that action to another script. Since the enctype="multipart/form-data" I'd think that I can't just use the normal POST method with CURL to do it. Anyone know how to do thi

RE: [PHP] HTTP Post to another server

2002-03-03 Thread Johnson, Kirk
Search the archive on "PostToHost", or see this link: http://www.zend.com/zend/spotlight/mimocsumissions.php#Heading6 Kirk > -Original Message- > From: Quentin Bennett [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 01, 2002 3:19 PM > To: [EMAIL PROTECTED] >

[PHP] HTTP Post to another server

2002-03-01 Thread Quentin Bennett
Hi, I want to turn some form data in to and XML document, and the HTTP Post that data to another server. Is that possible from PHP. As a challenge, I know it is possible in ASP! Thanks In Advance Quentin Bennett mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] HTTP POST..

2001-09-10 Thread ReDucTor
i've figured out post works - Original Message - From: "Tom Carter" <[EMAIL PROTECTED]> To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 4:01 AM Subject: Re: [PHP] HTTP POST.. > PHP is probably co

Re: [PHP] HTTP POST..

2001-09-10 Thread Tom Carter
ucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 5:26 PM Subject: [PHP] HTTP POST.. > Ok, >Let me explain my situation... > > I am trying to make an autoresponder, I want to make it in PHP, I am using > qmail, so in PHP what i

[PHP] HTTP POST..

2001-09-09 Thread ReDucTor
Ok, Let me explain my situation... I am trying to make an autoresponder, I want to make it in PHP, I am using qmail, so in PHP what i was hoping to do was read STDIN, and put in my .qmail the path to php, then the script, but I don't know where php is located on the server(not my server, i'v

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
t;>>> current >>>> page? Unless someone can show me some code that would do that. >>>> >>> >>> If all you want is to display the remote page, within the local page, >>> then all you need is fpassthru() >>> >>> ex. >&

Re: [PHP] HTTP POST Question

2001-02-20 Thread Jan Grafström
com"; > > > > $fp = fopen($server,"r")// "r" is for reading > > fpassthru($fp); > > > > This will display the results of the remote file (html or whatever) into > > the local file (in this case, your PHP file). > > > > &

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
atever) into > the local file (in this case, your PHP file). > > >> >> >>> -Original Message- >>> From:Milan Mlynarcik [SMTP:[EMAIL PROTECTED]] >>> Sent:Monday, February 19, 2001 7:33 AM >>

RE: [PHP] HTTP POST Question

2001-02-19 Thread John Monfort
s case, your PHP file). > > > > -Original Message- > > From: Milan Mlynarcik [SMTP:[EMAIL PROTECTED]] > > Sent: Monday, February 19, 2001 7:33 AM > > To: Montgomery-Recht, Evan > > Subject:Re: [PHP] HTTP POST Question > > > &g

Re: [PHP] HTTP POST Question

2001-02-19 Thread John Monfort
I've been struggling with the same idea. I haven't been able to process the returned value, but I've the following methods to DISPLAY the cgi results. Although, the PHP has no way of knowing wether the CGI evaluated to a Yes or No result. If you solve this, then please let me know.

RE: [PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
Monday, February 19, 2001 9:06 AM > To: Montgomery-Recht, Evan > Subject: Re: [PHP] HTTP POST Question > > You can do it with socket functions. > - > Milan Mlynarcik > Web Programmer > Charmed Technolog

RE: [PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
Is that all that has to be done? thanks, evan > -Original Message- > From: Milan Mlynarcik [SMTP:[EMAIL PROTECTED]] > Sent: Monday, February 19, 2001 7:33 AM > To: Montgomery-Recht, Evan > Subject: Re: [PHP] HTTP POST Question > > You have to use header() functio

RE: [PHP] HTTP POST Question

2001-02-19 Thread MList
To: [EMAIL PROTECTED] Subject: [PHP] HTTP POST Question Good morning... This should be a good monday morning question. I have a cgi-bin written in perl (it's actually, a interface to a perl-module which is a interface to a telnet-like protocol). Anyways what I need to do is I have al

[PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
Good morning... This should be a good monday morning question. I have a cgi-bin written in perl (it's actually, a interface to a perl-module which is a interface to a telnet-like protocol). Anyways what I need to do is I have already existing code written in PHP, but at some point I need to cal

[PHP] HTTP post requests

2001-02-05 Thread Matthew Brealey
I need to do an HTTP post from a PHP script; I want to set username=. What is the correct way to do this in PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administr

Re: [PHP] HTTP post requests

2001-02-05 Thread Vahan Yerkanian
Greetings, first of all you'll need to have all of your variables in one line: like this for example $vars="var1=".urlencode($var1)."&var2=".urlencode($var2); then you need to post the following $header="POST /your_script.php HTTP/1.0\r\nContent-length: ".strlen($vars)\r\n\r\n$vars\r\n\r\n";

[PHP] HTTP post requests

2001-02-05 Thread Matthew Brealey
I need to do an HTTP post from a PHP script; I want to set username=. What is the correct way to do this in PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat