You are here: 404 header « PHP Programming Language « IT news, forums, messages
404 header

Posted by GT on 12/27/06 18:07

If I write a script like so:

<?php
header("HTTP/1.x 404 Not Found");
?>

and run it through IE or FF why don't I get the browser's page not
found message? I can see the header on liveheaders in FF but I don't get
the 404 I expect in the browser.

The whole script is to deliver rescaled jpegs, but I want a 404 if the
parameters are wrong, or it can't open the file etc..

Any help very much appreciated.

--
GT

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация