Have you tried doing phpinfo() and seeing what values are coming up?
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: April 22, 2002 5:59 PM
To: Erik Price
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Empty $_SESSION and $_POST ??
On Monday 22 April 2002 05:34 pm, you
On Mon, 22 Apr 2002, Andre Dubuc wrote:
would be OK. It seems it's the ONLY way my script will allow the array to be
put into the database (PostgreSQL). If I type into the INSERT command
$bozo, $next_var, $next_next_var // it works
$_GET['bozo'], $_GET['next_var'],
On Wednesday 24 April 2002 09:18 am, you wrote:
Have you tried doing phpinfo() and seeing what values are coming up?
I finally got everything working, thanks to Erik Price's excellent help and
for all the others who offered their suggestions. Thanks for your suggestion!
Regards,
Andre
--
First thing I should say is, you only need to quote the relevant part of
an email -- that way, everyone knows exactly what to read (rather than
pages of old email threads) to answer the question. But don't worry
about it.
Now, on to your situation --
That clears up a lot. I sort of thought
Hi Eric,
First off, my apologies for the bloat replies, and for the re-write of this
thread -- your last reply accidentally was deleted.
My actual INSERT command (for page 1):
$query = INSERT INTO sponsor (sid, sfname, ssname, sinit, saddr1,
saddr2, scity, sprov, scountry, scode, sstatus,
Hi Eric,
First off, my apologies for the bloat replies, and for the re-write of this
thread -- your last reply accidentally was deleted.
My actual INSERT command (for page 1):
$query = INSERT INTO sponsor (sid, sfname, ssname, sinit, saddr1,
saddr2, scity, sprov, scountry, scode, sstatus,
»Andre Dubuc« sagte am 2002-04-23 um 14:28:56 -0400 :
I tried with VALUES ($_GET['sfname'] etc, etc and got a T_Variable error
if that's part of a string, than it's for sure broken. The correct way
would be VALUES ( . $_GET['sfname']
non-cumulative and specific to the page from which it
On Tuesday, April 23, 2002, at 02:28 PM, Andre Dubuc wrote:
I tried with VALUES ($_GET['sfname'] etc, etc and got a T_Variable
error
as you said would happen. I've yet to try what you've suggested, but
since
the Test to ensure your PHP binary is working shows that it is indeed
On Friday, April 19, 2002, at 09:41 PM, Andre Dubuc wrote:
Is there a way I can verify that (a) globals are off and (b) $_SESSION
or
$_POST are on? This probably what's happening -- I can't access the
arrays at
all -- so, I think that might be where the problem lies. The $vars
still
On Monday 22 April 2002 09:50 am, you wrote:
On Friday, April 19, 2002, at 09:41 PM, Andre Dubuc wrote:
Is there a way I can verify that (a) globals are off and (b) $_SESSION
or
$_POST are on? This probably what's happening -- I can't access the
arrays at
all -- so, I think that might
On Monday, April 22, 2002, at 03:47 PM, Andre Dubuc wrote:
I tried what you suggested, and indeed globals are off. Perhaps my
problem
stems from my use of the $_GET[] with $vars. I guess I don't really
understand what I'm doing. If you would take a peek at this code [I
think
I've
On Monday 22 April 2002 05:34 pm, you wrote:
On Monday, April 22, 2002, at 03:47 PM, Andre Dubuc wrote:
I tried what you suggested, and indeed globals are off. Perhaps my
problem
stems from my use of the $_GET[] with $vars. I guess I don't really
understand what I'm doing. If you would
I've switched register_globals=off and register_argc_argv=off in php.ini
to use $_SESSION and/or $_POST. All my code had been written using $var
Unfortunately, I cannot seem to access the arrays in either $_SESSION and
$_POST. I've set each page to start with ?php session_start(); ob_start();
On Fri, 19 Apr 2002, Andre Dubuc wrote:
Whenever I try:
print($_SESSION['sfname']); or print($_POST['scity']
I get a parse error expecting 'T_STRING' . . . -- obviously there's nothing
in the array or I haven't set it.
You just have a simple syntax error.
You can use any of the
On Friday 19 April 2002 08:13 pm, you wrote:
On Fri, 19 Apr 2002, Andre Dubuc wrote:
Whenever I try:
print($_SESSION['sfname']); or print($_POST['scity']
I get a parse error expecting 'T_STRING' . . . -- obviously there's
nothing in the array or I haven't set it.
You just have a
I'm running PHP 4.1.2 + Apache 1.3.23 + PostgreSQL 7.2.
I've tried reverting back to globals=on, and same problem. Yet, earlier in
another script I used $sfname = $_GET['sfname']; to get the value of sfname
-- now, it won't work. I'm truly stumped -- I don't know whether it's my
code? [I
On Saturday 20 April 2002 09:41, Andre Dubuc wrote:
Is there a way I can verify that (a) globals are off and (b) $_SESSION or
$_POST are on? This probably what's happening -- I can't access the arrays
at all -- so, I think that might be where the problem lies. The $vars still
work though
17 matches
Mail list logo