On Monday, April 26, 2004, at 10:30 AM, Frank Leahy wrote:


You look at the first response header, it should look like

HTTP/1.1 200 OK
and if there's a 404 it will be
HTTP/1.1 404 File Not Found
You look for the status code, not the status string.
You can see this using the form at http://www.delorie.com/web/headers.html


-- Frank

That's a nice bit of coding:


#!/bin/perl
# -*- perl -*-
#
# Copyright (c) 1997, 2000 DJ Delorie, All Rights Reserved. NO WARRANTEE.
# [snip]...

This works nicely


Mark

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to