> The reason I remarked them out was to get around the msg "Fatal error:
Call
> to unsupported or undefined function ...". The server I am on atm (and
not
> for long I hope) is not recognizing either get_magic_quotes_gpc() or
> ignore_user_abort(). I have to admit that I do not know where they should
> be. I have done some testing. It doesn't look like magic_quotes_gpc
being
> out is going to cause a problem, but user aborts will.
>
> Are these php functions or apache? Are they recent additions to code and
> possibly not working here because of version level? Also, I don't know
how
> to anything with apache beyond setting up directory access and file
> permissions.
>
> I feel like a putz for not know these things. Have tried looking them up
> here (Apache Server Bible and Core PHP) but I am not finding anything.
Chuck,
get_magic_quotes_gpc and ignore_user_abort were both added in the past
year, so they didn't make it into the book. They probably weren't added
until about version 3.0.8. I'm not really sure.
You can safely take out the block of code that tests for magic quotes, but
you still need to make sure it's set correctly. If you add a file inside
your
Web tree called .htaccess, Apache will look in it for any directives. They
will be applied to the current directory an any underneath. Minimally,
you can add this line:
php3_magic_quotes_gpc 0
I've had to do the same thing for someone else who's hosting a site on a
shared server.
Leon
Leon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]