php in shtml page

driveflexfuel

New Member
Messages
159
Reaction score
0
Points
0
Before you say rename it to a php file hear me out. With the payed services I can make my own error pages such as 404.shtml however I wish to use a script i made to email me the errors with current url and referring url

Is there a way that I can insert php scripting into my shtml files.
 

mephis

New Member
Messages
39
Reaction score
0
Points
0
Someone correct me if I'm wrong, but you can make any file type PHP parseable using Add Type.
In your case it would be:
Code:
AddType application/x-httpd-phpv2 .shtml
(just replace v2 for the x10hosting PHP version you have:
v1=basic, v2=intermediate,...)
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
that is correct.

=}

I'm not correcting you because you are right (does that make sense?)
 

compwhizii

Banned
Messages
779
Reaction score
0
Points
0
I wish to use a script i made to email me the errors with current url and referring url

Unless you're not counting 404 errors that's a VERY bad idea. If someone where to find that out you would get flooded with emails and you could be suspended for spamming.
 

Scoochi2

New Member
Messages
185
Reaction score
0
Points
0
Unless you're not counting 404 errors that's a VERY bad idea. If someone where to find that out you would get flooded with emails and you could be suspended for spamming.
:/
I doubt anyone would send a single email out for each and every error. More likely that an email would be sent out once a day containing a list of all the errors...
 

compwhizii

Banned
Messages
779
Reaction score
0
Points
0
:/
I doubt anyone would send a single email out for each and every error. More likely that an email would be sent out once a day containing a list of all the errors...

Now that would be a much better idea.
 
Top