PDA

View Full Version : PHP/SHTML Server Side Include Question



HecticMedia
February 5th, 2007, 08:15 AM
Hey all,

I'm doing a site for someone who's bought hosting on a site that doesn't support PHP. I was going to use the .shtml extension to use server side include (for the template system).

If I had (for example) a random image generator script using PHP.. Could I run that from my server and server side include it into their page? Or, because it's being included into their site, would it depend on their server having php?

Thanks for anyone who helps!

Ben

bwh2
February 5th, 2007, 12:03 PM
you could do it as long as on your server you:
1) output content-type image
2) allow hotlinking