RE: [PHP-WIN] post thru fsockopen

2007-04-18 Thread Joakim Ling
-Original Message- From: James Crow [mailto:[EMAIL PROTECTED] Sent: den 17 april 2007 18:59 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] post thru fsockopen On Tuesday 17 April 2007 10:46:58 Joakim Ling wrote: > Hi there > > Im tring to send a file with a php script,

Re: [PHP-WIN] post thru fsockopen

2007-04-17 Thread James Crow
On Tuesday 17 April 2007 10:46:58 Joakim Ling wrote: > Hi there > > Im tring to send a file with a php script, Im using php 5.2 on a Win > 2003 server. At the other end I just save the file and process the data > and print the result, then fetch the output and write a report. But this > doesn't wo

[PHP-WIN] post thru fsockopen

2007-04-17 Thread Joakim Ling
Hi there Im tring to send a file with a php script, Im using php 5.2 on a Win 2003 server. At the other end I just save the file and process the data and print the result, then fetch the output and write a report. But this doesn't work, any one got an idea? The file never get to the other end? Wh

[PHP-WIN] POST/GET problem

2004-11-05 Thread Martyn Kinder
Hi, I am not sure if this is the correct group for this problem, so apologies if I have got this totally wrong. I have just installed PHP5 on a Windows XP machine with IIS (PWS). phpinfo() seems OK. However, when I try the following test script: name.html looks like:

Re: [PHP-WIN] POST/GET problem

2004-11-05 Thread Martyn Kinder
em: sexta-feira, 5 de novembro de 2004 07:25 Para: [EMAIL PROTECTED] Assunto: [PHP-WIN] POST/GET problem Hi, I am not sure if this is the correct group for this problem, so apologies if I have got this totally wrong. I have just installed PHP5 on a Windows XP machine with IIS (PWS). phpinfo() see

RES: [PHP-WIN] POST/GET problem

2004-11-05 Thread Rafael Soares
sagem original- De: Martyn Kinder [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 5 de novembro de 2004 07:25 Para: [EMAIL PROTECTED] Assunto: [PHP-WIN] POST/GET problem Hi, I am not sure if this is the correct group for this problem, so apologies if I have got this totally wrong. I have

Re: [PHP-WIN] POST/GET problem

2004-11-05 Thread Luis Moreira
Sorry, there was an error... if (!empty($_POST['surname'])) $surname=strtoupper( $_POST['surname'] ); else echo "Empty name"; Luis Moreira wrote: Try reading the variable before you use it :-) For best protection, see first if something went through... if (!empty($_POST['surname']

RE: [PHP-WIN] Post method not working

2004-10-22 Thread Zareef Ahmed
-Original Message- From: Janet Valade [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 2:05 PM To: Brian; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Post method not working Brian wrote: > OK, I'm new to php, so be gentle :) > > I have just installed PHP 5.0.2

Re: [PHP-WIN] Post method not working

2004-10-21 Thread Sudeep
Hi brian, You have an error in line: print "You chose a $borderStyle border"; It should be like this: print "You chose".$_GET["borderStyle"]."border"; B'cause $_GET["borderStyle"] is the correct way to capture things that are sent thru url. And for POST variable it should be $_POST["bor

Re: [PHP-WIN] Post method not working

2004-10-21 Thread Janet Valade
Brian wrote: OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books, and I have run into an issue with forms. They don't seem to be getting the variable I am passing. This code works: But this does not: E

[PHP-WIN] Post method not working

2004-10-21 Thread Brian
OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books, and I have run into an issue with forms. They don't seem to be getting the variable I am passing. This code works: But this does not: Even wh

[PHP-WIN] post TO sql routine

2004-05-12 Thread George Pitcher
Hi, Can anyone point me to a routine that will take the POST field and its value and parse it into a suitable sql query. For example: $_POST['title'] is the post var and the user has entered "*good boy +favour -witch". It should produce the following sql snippet ( to form part of the full SQL q

Re: [PHP-WIN] POST and GET form

2003-11-04 Thread Comex
<[EMAIL PROTECTED]> Dash McElroy: > This sounds stupid, but I've found it way wasier to read code one has > written with the _POST, _GET, _ETC arrays. Especially so when you > haven't looked in a file for a few months or so. > > Yeah, it's a good habit. It helps if you're looking at someone else's

RE: [PHP-WIN] POST and GET form

2003-11-01 Thread Dash McElroy
te $_GET or $_POST instead > of just the variable name. > > Bye! > MG29 > > -Mensaje original- > De: Patrick Dufresne [mailto:[EMAIL PROTECTED] > Enviado el: Sábado, 01 de Noviembre de 2003 06:49 p.m. > Para: [EMAIL PROTECTED] > Asunto: Re: [PHP-WIN] POST and GE

RE: [PHP-WIN] POST and GET form

2003-11-01 Thread GaguWD
[mailto:[EMAIL PROTECTED] Enviado el: Sábado, 01 de Noviembre de 2003 06:49 p.m. Para: [EMAIL PROTECTED] Asunto: Re: [PHP-WIN] POST and GET form Gaguwd a écrit : > How do you try to recover it? > > You must use this type of variable to recover your data: > $_POST['variable_name']

Re: [PHP-WIN] POST and GET form

2003-11-01 Thread Patrick Dufresne
Gaguwd a écrit : How do you try to recover it? You must use this type of variable to recover your data: $_POST['variable_name'] and $_GET['variable_name'] Yeah! I just found it there: http://www.php.net/manual/en/faq.using.php#faq.using.variables Why register_globals is now OFF by default? I p

RE: [PHP-WIN] POST and GET form

2003-11-01 Thread GaguWD
50 p.m. Para: [EMAIL PROTECTED] Asunto: [PHP-WIN] POST and GET form I recently installed PHP under Microsoft Server 2000 / IIS 4.0 and I'm having problem with POST and GET. If I put my form in METHOD=POST, I cannot recover the string in the destination page. If I put METHOD=GET in my form

[PHP-WIN] POST and GET form

2003-11-01 Thread Patrick Dufresne
I recently installed PHP under Microsoft Server 2000 / IIS 4.0 and I'm having problem with POST and GET. If I put my form in METHOD=POST, I cannot recover the string in the destination page. If I put METHOD=GET in my form, I'm able to get back my string but they are displayed in the URL. Why I

[PHP-WIN] Post-Install prob

2003-06-29 Thread Mike Goggin
Howdy. So I installed Apache 2 and PHP 4 and everything went down without a hitch. I checked everything on localhost and then tried to access it from my DNS address. Everything was okay. I didn't get any errors or anything. However, when I went to test PHP, it worked fine on localhost, but screwed

[PHP-WIN] POST file transfer

2002-10-30 Thread Maris Kalnins
Hi guys! The situation is following: I need to transfer a file from one server to another by POST method. Goal server has a getfile.php script that actually is placing the file in temp directory for further opening and reading using fopen(..) the thing i cannot get into is how to send from one p

RE: [PHP-WIN] POST

2002-09-06 Thread Matt Kynaston
sure it passes files with extension '.php' to php.exe (or php.dll if you're using ISAPI). Check http://www.php.net/manual/en/installation.php. > -Original Message- > From: peter [mailto:[EMAIL PROTECTED]] > Sent: 06 September 2002 13:03 > To: [EMAIL PROTECTED] &

RE: [PHP-WIN] POST

2002-09-06 Thread Matt Kynaston
Try using $HTTP_POST_VARS (since form method="post"). Matt > -Original Message- > From: peter [mailto:[EMAIL PROTECTED]] > Sent: 06 September 2002 12:26 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] POST > > > Hi, > > anybody who can help? >

[PHP-WIN] POST

2002-09-06 Thread peter
Hi, anybody who can help? I Try to post data from form test1.html and read in new_entry.php form (environment: Windows XP Prof. , Apache, PHP 4.0.5) test1.html new_entry.php This one should display the posted variables $value) { print "$key = $value"; } ?>

[PHP-WIN] Re:[PHP-WIN] POST & REFERER problem

2001-11-01 Thread Michel Laine
I've got a couple suggestions on how i should be able to solve my problem. I got to elaborate a bit to know if any of these work. ThanX for the help. -- Michel Laine -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP-WIN] POST & REFERER problem

2001-11-01 Thread Ross Fleming
e- From: Michel Laine [mailto:[EMAIL PROTECTED]] Sent: 01 November 2001 16:31 To: [EMAIL PROTECTED] Subject: [PHP-WIN] POST & REFERER problem I need some guidance on the following problem. I have a setup where the usage flow is (kinda) like this: Page A \ /\ |

[PHP-WIN] POST & REFERER problem

2001-11-01 Thread Michel Laine
I need some guidance on the following problem. I have a setup where the usage flow is (kinda) like this: Page A \ /\ | Login -+-- [done login] Page B / | \ \ (back to calling page) / Nice ascii art

RE: [PHP-WIN] POST Problems

2001-03-19 Thread Fernando Madruga
PROTECTED] Subject: Re: [PHP-WIN] POST Problems Sorry my english I have some problems My solutions is compare a linux php.ini with windows php.ini and so ok!!! I attach my php.ini.win "Ralph Alberti" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMA

Re: [PHP-WIN] POST Problems

2001-03-17 Thread Ricardo Perazzo
Sorry my english I have some problems My solutions is compare a linux php.ini with windows php.ini and so ok!!! I attach my php.ini.win "Ralph Alberti" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am using Win2000 and POST doesn't work. I

[PHP-WIN] POST Problems

2001-03-11 Thread Ralph Alberti
Hello, I am using Win2000 and POST doesn't work. I have tried using Xitami server on two different machines with no success. I am using the most current version of PHP and have also tried it with IIS 5. GET works fine. I am now starting to think it has to do with my configuration of PHP. Any hel

[PHP-WIN] POST against GET

2001-02-21 Thread Denis L. Menezes
Hello friends. I am running PHP4 on an Intel Win NT server 4 sp6 machine. When I use POST the feedback form does not work but itw works when I use GET. Can anyone advise why this is so? The data that I am using are only 2 string variables of one word each. thank you denis -- PHP Windows Mai