> Why is the content-type not sent? What errors or warnings does PHP > display? What content-type _is_ sent? What problems does Firefox have? > > Some possible reasons for this script not to work: > - headers are already sent out by PHP; > - one ore more conditions are too narrow or wide (especially if regular > expressions are used, as in the above example); > - your application conflicts with the output buffering in the script.
Thanks for your feedback. I put it into a test site to try it out - I've actually tried a lot of these scripts but not gotten any of them to work satisfactorily yet! I have now gone back and spotted a mistake that I made and it now seems to be working fine! Alan ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************