Jump to content

Killing the page with echoing a message


rofl90

Recommended Posts

 

would this be ok?

if $offlinevariable == 1 {
die("http://www.mydomain.co.uk/offline.php")
}

 

Depends on exactly what you want that code to do.

 

I suggest you try it and see if does what you want it to do.

 

If it doesn't, come back, tell us what it should do, and then maybe we can help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.