[CLUE-Talk] Wierd PHP4 + Stronghold-3 problem

Peter Janett mlists at newmediaone.com
Fri Apr 18 00:22:25 MDT 2003


My guess would be that the script you are posting to reloads itself if no
form data is passed (if someone hits submit without filling in the form).

My reason for this is that it sounds like your script is not expecting
register_globals to be off.  Since it's off by default in newer php
installs, your script thinks no form data was posted.  To fix it, you'll
have to rewrite your scripts accordingly, or add this flag in httpd.conf:
php_flag register_globals on

Hope that helps,

Peter Janett

New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!

http://www.newmediaone.net
webmaster "at" newmediaone.net
(303)828-9882


----- Original Message -----
From: "Kirk Rafferty" <kirk at fpcc.net>
To: <clue-talk at clue.denver.co.us>
Sent: Thursday, April 17, 2003 9:40 PM
Subject: [CLUE-Talk] Wierd PHP4 + Stronghold-3 problem


> Google has been no help on this one, so hoping someone else here has run
> into this.
>
> I'm using Stronghold-3, and need to roll my own PHP4.  I've got the
> latest and greatest PHP4, and it configures and compiles just fine.  It
> also installs seeming correctly into Stronghold.  Stronghold restarts
fine,
> and phpinfo() shows I'm running on the new library.  All appears okay.
>
> Until I try to submit a form.  Anytime I try to POST a form that's
> hosted on this webserver, it just has the effect of reloading the form.
> Logs show nothing out of the ordinary.
>
> If I move the old libphp4.so back in place and restart, all works well.
> So I'm fairly convinced it's not an Apache config problem.
>
> Any ideas would be appreciated.
>
> Regards,
> Kirk
> _______________________________________________
> CLUE-Talk mailing list
> CLUE-Talk at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-talk
>




More information about the clue-talk mailing list