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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 08-01-2007, 09:25 AM   #1
ideamon
Registered User
 
Join Date: Jun 2006
Posts: 45
Question about script

Does anyone in here know outgoing script like youramateurporn.com/out.php. How to do this? And youramateurporn.com has some advertise space between entries, I know that is a wordpress plugin but don't know what is it name. Anybody can help me?
ideamon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 08-01-2007, 09:40 AM   #2
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
In its simplest form, an "out.php" or "out.cgi" script is nothing more than a redirect. Click on it and you get redirected to a designated place:
<?php
header('Location: http://www.site.com/page.html') ;
?>
They are typically used in conjunction with a tradescript and / or are used to pass other variables to the trade script and / or target site. Trade scripts all have their own syntax.
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 08-01-2007, 10:02 AM   #3
ideamon
Registered User
 
Join Date: Jun 2006
Posts: 45
Thanks for your help, Lycanthrope. I see they put iframe tag in out.php, so can you tell me more details about it?
ideamon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 08-01-2007, 11:29 AM   #4
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Well, in a case like that, they include some html to load their top frame and use a variable "q", which is the url they display in the main frame. I'm not real good with frame anymore so you are going to have to figure out the columns, rows, frame border, etc, but it would be something like this: (this is all one file - "out.php")

<?php

$q = $_SERVER["QUERY_STRING"];


?> // this grabs the variable "q" which is the various pages they are linking to and must be placed before the html tag

<html>
<head>
<title>My Page</title>
</head>
<frameset>
<frame src="myframe.html" />
<frame src="<?php echo('$q'); ?>" /> // loads the url called in the variable
</frameset>
</html>
__________________

Last edited by Lycanthrope; 08-01-2007 at 11:30 AM.. Reason: comments
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 08-01-2007, 11:35 AM   #5
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Actually I messed that up... this is simplified

link to out.php?http://www.gallery.url

<?php

$q = $_SERVER["QUERY_STRING"];

?> // this grabs the variable

<html>
<head>
<title>My Page</title>
</head>
<frameset>
<frame src="myframe.html" />
<frame src="<?php echo('$q'); ?>" /> // loads the url called in the variable
</frameset>
</html>
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 08-01-2007, 11:37 PM   #6
ideamon
Registered User
 
Join Date: Jun 2006
Posts: 45
I got it, thank you very much!
ideamon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
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.