|
Posted by David Quinton on 09/13/07 06:58
On Wed, 12 Sep 2007 14:43:49 -0500, "Cindy Chambers"
<cchambers777@comcast.net> wrote:
>Thanks Tom. What I mean by not paging through is when I hit the "previous"
>button image on the php page the next database entry does not read and then
>display. It just stays on the same entry all the time. When I do this on
>my home server it reads fine. I'm just trying to figure out what may be
>switched on or off or changed in the new version of the software my asp has
>installed. I have contacted them and they keep saying it's a php problem
>but yet if works when I test it.
If the version of / config of PHP on the server has changed, then I
think it's possible that your script is relying on a $_GET value being
passed bewteen pages.
Maybe your home version has register_globals on; your server doesn't?
Check with phpinfo().
If that's the case, then it's probably safer to put:
foreach ($_GET as $key => $val) {
$key=$val;
}
at the top of the script rather than turning on register_globals for
the whole server.
(all this is from memory and untested - fingers crossed...)
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>
Navigation:
[Reply to this message]
|