![]() |
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?
|
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. |
Thanks for your help, Lycanthrope. I see they put iframe tag in out.php, so can you tell me more details about it?
|
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> |
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> |
I got it, thank you very much!
|
| All times are GMT -7. The time now is 05:31 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123