RE: [PHP-WIN] problem solved
| From: | Dash McElroy | Date: | Wed, 01 May 2002 18:43:15 +0000 |
| Subject: | RE: [PHP-WIN] problem solved | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13463@lists.php.net to get a copy of this message | ||
Erik,
I'm having lots of luck with the 'import_request_variables' command
(www.php.net/import_request_variables). It's a rather lazy way to do it, but
I don't want to rewrite all of my PHP code to do the 'register_global=off'
compliant method.
p.s. I have my servers set up to parse .html files as well - I've found it
immensely helpful sometimes to be able to add a bit of PHP to a file without
having to relink every page that links to it...
-Dash
-----Original Message-----
From: Erik [mailto:sky50637@skynet.be]
Sent: Wednesday, May 01, 2002 11:43 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] problem solved
hi,
all the trouble i had it with php has been solved php is up and running
without errors now.Mike you where wrong my code was correct but
register_globals was not set to on in php.ini and this caused the problem
also the user authentication issue has been fixed i installed php as apache
module and moved "php4ts.dll" to winnt\system 32 and
LoadModule php4_module c:/php/sapi/php4apache.dll
AddMdule mod-PHP4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
that solved all the trouble i had after reading the php manual it says
register_globals=on can cause securty issues but if i said it to off nothing
works anymore.
cheers
Erik
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php