Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Why bump and oldddd thread?



    Why don't you just do it the easy and better way, :\

    PHP Code:
    <?php
    exit( "Oops, failure." );
    ?>
    Because that is my preference
    Back for a while.

  2. #12
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    Because that is my preference
    Why? Explain that.. it's stupid.

  3. #13
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    PHP Code:
    <?php

    echo "Oops, failure";

    exit();

    ?>
    You can put strings and functions inside the exit/die functions so you could just do

    die("Dead");
    Lets set the stage on fire, and hollywood will be jealous.

  4. #14
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Why use die? It's not going to stop immediately, it still has to go through cleanup procedures.

    If you want it to immediately stop, exit() is your man.

    Edited by Flisker (Forum Moderator): Posts merged due to forum lag.
    Last edited by Flisker; 23-09-2008 at 08:24 PM.

  5. #15
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    OmG DOUBLE POST, dat lyk turns me on Caleb bbi

    There isnt a perfence in echoin' before exiting, its pure stupidity.

    its lyk that guy who made a func called "delete" and put in unlink inside.
    Hi, names James. I am a web developer.

  6. #16
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,989
    Habbo
    HotelUser

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Why bump and oldddd thread?
    [/php]
    Because I can and it's free..

    Quote Originally Posted by Dentafrice View Post
    Why use die? It's not going to stop immediately, it still has to go through cleanup procedures.

    If you want it to immediately stop, exit() is your man.
    Erm...is it relevant? It's how he likes to do it.
    Last edited by HotelUser; 22-09-2008 at 09:06 PM.
    I'm not crazy, ask my toaster.

  7. #17
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Why? Explain that.. it's stupid.
    It's just how I do it?
    Back for a while.

  8. #18
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by HotelUser View Post
    Because I can and it's free..



    Erm...is it relevant? It's how he likes to do it.
    Quote Originally Posted by Excellent2 View Post
    It's just how I do it?
    Yeah, but you shouldn't do that..?

    PHP has to output it, then exit (while checking for a message inside of it), when you could easily just save the process of outputting it (and storing it to the buffer) and just do them both at once.

  9. #19
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,989
    Habbo
    HotelUser

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Yeah, but you shouldn't do that..?

    PHP has to output it, then exit (while checking for a message inside of it), when you could easily just save the process of outputting it (and storing it to the buffer) and just do them both at once.
    No offense but once again, it's irrelevant, and you're just trying to sound like a know-it-all. I don't think he was being 100% serious when he said that either.....
    I'm not crazy, ask my toaster.

  10. #20
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by HotelUser View Post
    No offense but once again, it's irrelevant, and you're just trying to sound like a know-it-all. I don't think he was being 100% serious when he said that either.....
    Yet I'm not a "no-it-all", when someone else agreed with me?

    It's stupid, and I'm pointing it out.

    Don't like it, get over it? That's the way it works here.

    You don't have a clue what we are talking about anyway, so don't try to get involved.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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