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 06-04-2007, 05:39 PM   #1
fetishblog
Confirmed User
 
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
Get laid tonight with this amazing PHP script!

Can't get laid any other way? Try this amazing PHP script and have sex tonight!

Code:
<?php
function findsex(){
  $human = new human;
  $tonight = new night;
  $excuses = array('Headache','Migraine','Not Today','Menstration');
  $num_girl = random(0,count($human->girl));
  if ($human->girl[$num_girl]=="stupid")
  {
    $tonight->sex = true;
  }
  else
  {
    $tonight->sex = undefined;
    $result=trygetsex();
    if ($result==true){
      $tonight->sex = true;
    }
    else
    {
      $tonight->sex = false;
      $number = random(0,count($excuses));
      echo $excuses[$number]."<br/>";
    }
  }
  if($tonight->sex = true)
    echo "<b>Operation Successful!</b>";
    return 0;
  else
    findsex();
}
?>
__________________

Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!
fetishblog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 05:45 PM   #2
The Sultan Of Smut
Confirmed User
 
The Sultan Of Smut's Avatar
 
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
Doesn't work I'm still sitting here lonely staring at the parse error
The Sultan Of Smut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 05:49 PM   #3
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,494
I'm gonna modify that random number generator to be between 3 and 20 and have a great time tonight!
WG
__________________
I play with Google.
WiredGuy is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 05:50 PM   #4
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
ROFLMAO

__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 05:59 PM   #5
tiger
Confirmed User
 
tiger's Avatar
 
Industry Role:
Join Date: Apr 2002
Location: Los Angeles
Posts: 6,986
HA, nice coding.
__________________

tiger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 06:08 PM   #6
fetishblog
Confirmed User
 
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
I fixed the parse error!

Code:
<?php
function findsex() {
  $human = new human;
  $tonight = new night;
  $excuses = array('Headache','Migraine','Not Today','Menstration');
  $num_girl = random(0,count($human->girl));
  if ($human->girl[$num_girl]=="stupid")
  {
    $tonight->sex = true;
  }
  else
  {
    $tonight->sex = undefined;
    $result=trygetsex();
    if ($result==true){
      $tonight->sex = true;
    }
    else
    {
      $tonight->sex = false;
      $number = random(0,count($excuses));
      echo $excuses[$number]."<br/>";
    }
  }
  if ($tonight->sex = true) {
    echo "<b>Operation Successful!</b>";
    return 0;
  }
  else
    findsex();
}
?>
If all you get is a blank screen, then you're not getting lucky.
__________________

Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!
fetishblog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 06:11 PM   #7
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
Quote:
Originally Posted by fetishblog View Post
I fixed the parse error!

Code:
<?php
function findsex() {
  $human = new human;
  $tonight = new night;
  $excuses = array('Headache','Migraine','Not Today','Menstration');
  $num_girl = random(0,count($human->girl));
  if ($human->girl[$num_girl]=="stupid")
  {
    $tonight->sex = true;
  }
  else
  {
    $tonight->sex = undefined;
    $result=trygetsex();
    if ($result==true){
      $tonight->sex = true;
    }
    else
    {
      $tonight->sex = false;
      $number = random(0,count($excuses));
      echo $excuses[$number]."<br/>";
    }
  }
  if ($tonight->sex = true) {
    echo "<b>Operation Successful!</b>";
    return 0;
  }
  else
    findsex();
}
?>
If all you get is a blank screen, then you're not getting lucky.
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 06:35 PM   #8
ucv.karl
Confirmed User
 
Join Date: Jul 2006
Location: Phx,Az
Posts: 498
I think I am going to wait till version 2.0 comes out.

That trygetsex() function could create issues.

Here's a temporary fix.


Code:
<?php
function findsex() {
  $human = new human;
  $tonight = new night;
  $excuses = array('Headache','Migraine','Not Today','Menstration');
  $num_girl = random(0,count($human->girl));
  if ($human->girl[$num_girl]=="stupid")
  {
    $tonight->sex = true;
  }
  elseif($human->man)
  {
    $tonight->sex = false;
  }
  else
  {
    $tonight->sex = undefined;
    $result=trygetsex();
    if ($result==true){
      $tonight->sex = true;
    }
    else
    {
      $tonight->sex = false;
      $number = random(0,count($excuses));
      echo $excuses[$number]."<br/>";
    }
  }
  if ($tonight->sex = true) {
    echo "<b>Operation Successful!</b>";
    return 0;
  }
  else
    findsex();
}
?>
__________________
It's better when you can Switch.
ICQ: 263079754
ucv.karl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 06:37 PM   #9
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
Quote:
Originally Posted by The Sultan Of Smut View Post
Doesn't work I'm still sitting here lonely staring at the parse error
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2007, 07:15 PM   #10
fetishblog
Confirmed User
 
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
Nice mod, thanks. ;)
__________________

Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!
fetishblog 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.