Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2004 18:18:26 -0800
From:      Justin Hopper <jhopper@bsdhosting.net>
To:        freebsd-amd64@freebsd.org
Subject:   Re: amd64 with mod_php - but no transmission of form-data
Message-ID:  <1080526705.27726.434.camel@work.gusalmighty.com>
In-Reply-To: <6.0.0.22.2.20040329011626.0289a3b8@mail.schanovsky.at>
References:  <6.0.0.22.2.20040329011626.0289a3b8@mail.schanovsky.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2004-03-28 at 15:23, Markus Schanovsky wrote:
> But there is a problem I never saw before:
> It's not possible to post or get data from from one php-page to another - 
> the variables lokk unknown to the destination-page.
> The URL is displayed correct: 
> http://193.171.252.28/php/test3.php?content=example&subbutton=send
> But neither $content nor $subbutton ar displayable.
> I tried the same 2 pages on an other machine (i386) without any problem.

If you are accessing the variables as globals, did you make sure
register_globals=on in your php.ini file?  It's much better to just use
the superglobal arrays, like $_GET['var'] and $_POST['var'].

I was not sure from your post if such simple things as these had been
overlooked or not, so I thought I would put them out there just in case
they had.

-- 
Justin Hopper  <jhopper@bsdhosting.net>
UNIX Systems Engineer
BSDHosting.net
Hosting Division of Digital Oasys Inc.
http://www.bsdhosting.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080526705.27726.434.camel>