Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-23 22:42:22

rubaduckie
New Member
From: California, United States
Registered: 2005-09-03
Posts: 5

How do I throw a 404 error?

Is there a way or a command to throw a 404 error in a plugin?

Offline

#2 2006-01-23 22:51:13

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I throw a 404 error?

See txp_die() in txplib_misc.php. grep for examples of it in use.


Alex

Offline

#3 2006-01-23 23:01:00

rubaduckie
New Member
From: California, United States
Registered: 2005-09-03
Posts: 5

Re: How do I throw a 404 error?

Works like a charm. Thanks for the fast reply!

Offline

Board footer

Powered by FluxBB