stupid PHP question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • x2dio
    Confirmed User
    • Jun 2003
    • 101

    #1

    stupid PHP question

    what would be syntax to do something like:


    if variable=x do nothing

    else "launch this url"
    <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
    203814376
  • JSA Matt
    So Fucking Banned
    • Aug 2003
    • 5464

    #2
    screw it.. smokey ruined the board.. can't even post PHP code now

    Comment

    • hornycash
      Confirmed User
      • Jun 2002
      • 2336

      #3
      PHP Code:
      <? if($variable hahahaha"x") { $do = "nothing"; } else { $do = "whatever"; } ?>

      Comment

      • biskoppen
        Confirmed User
        • Mar 2003
        • 5809

        #4
        if( $intMyValue = = 1 ){ die(); }
        Header("location:http://www.google.com");

        With no space between the ='s
        Submit my videos to make bank, tons of 5 minute videos offered right here

        Comment

        • hornycash
          Confirmed User
          • Jun 2002
          • 2336

          #5
          oh, i missed the "go to url" thing in your post........

          Comment

          • x2dio
            Confirmed User
            • Jun 2003
            • 101

            #6
            oh
            I don't need to type in ELSE or something?
            <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
            203814376

            Comment

            • x2dio
              Confirmed User
              • Jun 2003
              • 101

              #7
              burp
              <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
              203814376

              Comment

              • pornanza
                Confirmed User
                • Jul 2003
                • 238

                #8
                &lt;?php

                if ($variable != 'x') {
                header('Location: http://this.url');
                exit;
                }

                ?&gt;

                ryan
                Eskimo Hoe
                QuickWank
                Pornanza!

                Comment

                • - AFN -
                  Confirmed User
                  • Jun 2003
                  • 3101

                  #9
                  screw it i dont need to type
                  cat cash* | tr -d '\r' | tr -s '/n' > money

                  Comment

                  Working...