[PHP] calling php files from within shtml files

2003-06-14 Thread Kwgoins1
I have a error page in shtml (must stay that way)
but I have a cool one page php script, that acts as a 
errorpage generator...and a automatic email of all errors
to admin...script...

in order to make it work correctly...
an ".htaccess" file must be in
the public_html root...
with the following lines:

ErrorDocument 000 /ErrorDocs/phpErrorDoc.php?000
ErrorDocument 400 /ErrorDocs/phpErrorDoc.php?400
ErrorDocument 401 /ErrorDocs/phpErrorDoc.php?401
ErrorDocument 403 /ErrorDocs/phpErrorDoc.php?403
ErrorDocument 404 /ErrorDocs/phpErrorDoc.php?404
ErrorDocument 500 /ErrorDocs/phpErrorDoc.php?500

however, my servers customised error pages are activated
thru a CPanel , and it saves them in shtml format...

I wish to implement the great one page php script
from with in the shtml pages...so that the script will email me
on all errors, (as the script is supposed to do)

HOW do I accomplish this?

I tried to add the following line to the shtml page:


but it won't work...it doesn't email me...can someone help me with this?


[PHP] need working php.ini under apache 1.3.27 and redhat 7.2

2003-06-15 Thread Kwgoins1
doe anyone quickly have a working
4.3.1 "php.ini" file,  under apache 1.3.27 and redhat 7.2

that I could take a look at...for reference...
you see, I think ours is missing some lines...
of commands or something...it just doesn't look right
something is missing...I think.

so I need a good one that works for comparing.