Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    55

    Unanswered: PHP version of ColdFusion's "cfabort" instruction?

    I'm running an error check at the top of a page, if a duplicate file is found I am including an error message. I want the page to stop drawing after the error message.
    Can someone enlighten me?
    Thanks!

  2. #2
    Join Date
    Apr 2005
    Location
    Baltimore, MD
    Posts
    297
    exit($message); (link)
    I believe return; also works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •