PROTECTED]">news:[EMAIL PROTECTED]...
> > Comments below...
> >
> > -Original Message-
> > From: XXXPixie [mailto:[EMAIL PROTECTED]]
> > Sent: 08 September 2002 09:52
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] GET / POST
> >
> &
Looks like you've got a syntax error trying to concatentate strings.
$msg = "Sender Name:\t" . $_POST['sender_name'] . "\n";
(notice the dots there inbetween the quotes... it's easier to see when you
have an editor that has syntax highlighting).
-Dash
If all the world's a stage, I want to oper
What I really would like to know is how do I change this line to a PHP4
compatible line without having the register_global set to on.
The orginal code is
$msg = "Sender Name:\t $sender_name\n";
I've tried these:
$msg = "Sender Name:\t $_POST['sender_name']\n";
$msg = "Sender Name:\t" $_POST['se
is your own business, but I'd recommend them if you're going to be
sharing your code.
Matt
> -Original Message-
> From: Carl Caamano [mailto:[EMAIL PROTECTED]]
> Sent: 23 September 2002 16:08
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] GET / POST
>
>
&g
;
> > -Original Message-----
> > From: Carl Caamano [mailto:[EMAIL PROTECTED]]
> > Sent: 23 September 2002 15:07
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] GET / POST
> >
> >
> > I am also a newbie to PHP. I have been writing and copying
> >
e is called message, a
> text box in
> this case)
>
> TIA
>
> "Rich Gray" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Comments below...
> >
> > -Original Message-
> > From: XXX
OTECTED]...
> Comments below...
>
> -Original Message-
> From: XXXPixie [mailto:[EMAIL PROTECTED]]
> Sent: 08 September 2002 09:52
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] GET / POST
>
>
> hi! I'm a total newbie to php4 or web design and i (of course) have a
Comments below...
-Original Message-
From: XXXPixie [mailto:[EMAIL PROTECTED]]
Sent: 08 September 2002 09:52
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] GET / POST
hi! I'm a total newbie to php4 or web design and i (of course) have a
problem:
i'm using apache 2.x and php4 as a
hi! I'm a total newbie to php4 or web design and i (of course) have a
problem:
i'm using apache 2.x and php4 as a module.
so, when i use the GET method to pass data to my php script:
script.php?x=5
i can't access it as a normal global variable:
the only way i can get to it is:
what's wro
t; Are those line breaks as they would appear in the function? I have always
> thought it best not to split tags over line breaks... just a thought...
>
> Mikey
>
> > -Original Message-
> > From: Brian Graham [mailto:[EMAIL PROTECTED]]
> > Sent: 24 June 2002 20:01
gt; Subject: Re: [PHP-WIN] Get/Post and Security Issues
>
>
> Here it is. Please note that all of this output from a function; if you
> would like the PHP code that outputs this, please just ask.
>
>
> action=
> method=post
> name="login"
June 2002 08:27
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Get/Post and Security Issues
> >
> >
> > Apache 1.3.26
> > PHP 4.2.1
> >
> > When I enter username and password information onto a page, it
> > uses Get and
> > puts the sessi
June 2002 08:27
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Get/Post and Security Issues
> >
> >
> > Apache 1.3.26
> > PHP 4.2.1
> >
> > When I enter username and password information onto a page, it
> > uses Get and
> > puts the sessi
oes the broser have cookies disabled? I know when a
session
> can't go to a cookie, it goes to the URL.
>
> -Dash
>
> -Original Message-
> From: Brian Graham [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 12:27 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-
Can you send a copy of the HTML form that posts to your function?
> -Original Message-
> From: Brian Graham [mailto:[EMAIL PROTECTED]]
> Sent: 24 June 2002 08:27
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Get/Post and Security Issues
>
>
> Apache 1.3.26
>
By any chance, does the broser have cookies disabled? I know when a session
can't go to a cookie, it goes to the URL.
-Dash
-Original Message-
From: Brian Graham [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 12:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Get/Pos
Apache 1.3.26
PHP 4.2.1
When I enter username and password information onto a page, it uses Get and
puts the session ID along with the username and the password into the URL,
despite my saying "method=post" in the form attributes.
This seems like it would be a common problem, but my research isn
17 matches
Mail list logo