Larry Brown wrote:
foreach($_GET as $key=>$value)
{
$send = $send."&".$key."=".$value;
}
Just use $_SERVER['QUERY_STRING'] instead of recreating it using this
loop (unless the data is coming from $_POST).
As for the original question, just throw $_GET into $_SESSION
($_SESSION
see why it wouldn't
work. I like the die() in there so I can just use an if statement at the
beginning without having to indent the rest of the script. Especially if
you have a lot of error checks.
-Original Message-
From: Chris W [mailto:[EMAIL PROTECTED]
Sent: Monday, December 2
Hi,
Tuesday, December 30, 2003, 3:02:24 AM, you wrote:
CW> Let me give a quick background. I am a very experienced programmer but
CW> I haven't done much php and only a little web development in perl. I am
CW> now creating a web site with Apache, php and MySQL.
CW> I am having the user fill out
I don't know why I didn't look at the html source before I posted that
question. The source looks like this
VALUE=""jhgfhjf""
which tells why the field is showing blank. So now the question is what
to do about it. I guess htmlspecialchars will take care of that?
Thanks for hint on sessions,
[snip]
My problem is that any field that contains a double quote, all data
after the first double quote is missing from the form field. When I
look at the long URL I do see a %22 where the " are supposed to be, and
all other data is there too.
[/snip]
Take a look at the html source. What is p
Let me give a quick background. I am a very experienced programmer but
I haven't done much php and only a little web development in perl. I am
now creating a web site with Apache, php and MySQL.
I am having the user fill out a form and then save the data in MySQL.
Before I save the data I do
6 matches
Mail list logo