-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,
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
Thanks to Rafael and George (replied off list).
Problem sorted. There is absolutely *nothing* to beat community support.
Regards
Martyn
"Rafael Soares" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
You probably have register_globals turned off (this is a question of
security and pe
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']
-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
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
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
<[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
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
[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']
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
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']
Bye!
MG29
-Mensaje original-
De: Patrick Dufresne [mailto:[EMAIL PROTECTED]
Enviado el: Sabado, 01 de Noviembre de 2003 12:50 p.m.
Para: [EMAIL PROTEC
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]
&
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?
>
> I Try to post data from form test1.html
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:
Right if I understand this right, then I think this should do the trick:
In your href tags to the login page (say login.php) should look like this:
Click to login for page A and
Click to login for page B.
Your login page will now have a variable called $came_from containing either
A or B. No
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
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
18 matches
Mail list logo