Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-07-2004, 12:45 PM   #1
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
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
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 12:46 PM   #2
JSA Matt
So Fucking Banned
 
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
screw it.. smokey ruined the board.. can't even post PHP code now
JSA Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 12:48 PM   #3
hornycash
Confirmed User
 
Join Date: Jun 2002
Location: far beyond reality
Posts: 2,336
PHP Code:
<? if($variable hahahaha"x") { $do = "nothing"; } else { $do = "whatever"; } ?>
hornycash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 12:48 PM   #4
biskoppen
Confirmed User
 
Join Date: Mar 2003
Location: Very small penis
Posts: 5,809
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
biskoppen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 12:49 PM   #5
hornycash
Confirmed User
 
Join Date: Jun 2002
Location: far beyond reality
Posts: 2,336
oh, i missed the "go to url" thing in your post........
hornycash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 12:56 PM   #6
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
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
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 01:22 PM   #7
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
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
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2004, 01:23 PM   #8
pornanza
Confirmed User
 
Join Date: Jul 2003
Location: East Village
Posts: 238
&lt;?php

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

?&gt;

ryan
__________________
Eskimo Hoe
QuickWank
Pornanza!
pornanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 06:11 AM   #9
- AFN -
Confirmed User
 
Join Date: Jun 2003
Location: NYC Baaaabeee
Posts: 3,101
screw it i dont need to type
__________________
cat cash* | tr -d '\r' | tr -s '/n' > money
- AFN - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.