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 04-22-2008, 08:34 PM   #1
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Need some php help... Got a minute?

I am am trying to set up some galleries..

Can you view the source and tell me what is wrong and also tell me what I add to the link in question to add the affilaite code and carry it over..

http://www.freepornnut.com/xtremeint...y-01/index.php

Thanks...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:37 PM   #2
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Well, I'm not psychic, but it's returning a black image for your references..
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:40 PM   #3
qxm
Confirmed User
 
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
mon ... each and every image uploaded is linked to a black placeholder........

http://www.freepornnut.com/xtremeint...gall-01_03.jpg
__________________

ICQ: 266990876
qxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:45 PM   #4
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
I am guessing you are trying to replace the pa=xxxxxx

http://www.freepornnut.com/xtremeint....php?pa=xxxxxx

something like that.. doesnt seem to work thou, you might be missing the php code in the source of the gallery link..
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:47 PM   #5
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by Fucksakes View Post
I am guessing you are trying to replace the pa=xxxxxx

http://www.freepornnut.com/xtremeint....php?pa=xxxxxx

something like that.. doesnt seem to work thou, you might be missing the php code in the source of the gallery link..
Correct...

If you look at the source of the page all the php is there, but I do not think it is in the right place...


Thanks..
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:48 PM   #6
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by GrouchyAdmin View Post
Well, I'm not psychic, but it's returning a black image for your references..
Quote:
Originally Posted by qxm View Post
mon ... each and every image uploaded is linked to a black placeholder........

http://www.freepornnut.com/xtremeint...gall-01_03.jpg

What..................?


































I have not loaded images yet... I am trying to get the linking to work correctly first...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:49 PM   #7
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
You need to name it .phps or .txt so we can see the source.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:54 PM   #8
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by GrouchyAdmin View Post
You need to name it .phps or .txt so we can see the source.
Sorry bud, I figure you could right click and see...

Code:
<html>
<head>
<title>pic-gall-01</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	background-color: #B6B6AC;
}
-->
</style></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table id="Table_01" width="770" height="1286" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_01.jpg" width="770" height="359" alt=""></td>
      </tr>
      <tr>
        <td colspan="3"><img src="images/pic-gall-01_02.jpg" width="76" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_03.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_04.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_05.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_06.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_07.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_08.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_09.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_10.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_11.jpg" width="120" height="180" alt=""></td>
        <td colspan="2"><img src="images/pic-gall-01_12.jpg" width="74" height="180" alt=""></td>
      </tr>
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_13.jpg" width="770" height="6" alt=""></td>
      </tr>
      <tr>
        <td colspan="3"><img src="images/pic-gall-01_14.jpg" width="76" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_15.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_16.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_17.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_18.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_19.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_20.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_21.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_22.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_23.jpg" width="120" height="180" alt=""></td>
        <td colspan="2"><img src="images/pic-gall-01_24.jpg" width="74" height="180" alt=""></td>
      </tr>
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_25.jpg" width="770" height="12" alt=""></td>
      </tr>
      <tr>
        <td colspan="14"><table width="770" height="47" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td background="images/pic-gall-01_26.jpg">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_27.jpg" width="770" height="12" alt=""></td>
      </tr>
      <tr>
        <td colspan="3"><img src="images/pic-gall-01_28.jpg" width="76" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_29.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_30.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_31.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_32.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_33.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_34.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_35.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_36.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_37.jpg" width="120" height="180" alt=""></td>
        <td colspan="2"><img src="images/pic-gall-01_38.jpg" width="74" height="180" alt=""></td>
      </tr>
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_39.jpg" width="770" height="5" alt=""></td>
      </tr>
      <tr>
        <td colspan="3"><img src="images/pic-gall-01_40.jpg" width="76" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_41.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_42.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_43.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_44.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_45.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_46.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_47.jpg" width="120" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_48.jpg" width="5" height="180" alt=""></td>
        <td><img src="images/pic-gall-01_49.jpg" width="120" height="180" alt=""></td>
        <td colspan="2"><img src="images/pic-gall-01_50.jpg" width="74" height="180" alt=""></td>
      </tr>
      <tr>
        <td colspan="14"><img src="images/pic-gall-01_51.jpg" width="770" height="9" alt=""></td>
      </tr>
      <tr>
        <td colspan="2"><img src="images/pic-gall-01_52.jpg" width="36" height="53" alt=""></td>
        <td colspan="11">
        <?php 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=&HTML=http://www.xtremeinterracial.com/splash_a.html"; 
if(isset($_GET['ccbill_id'])){ 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=" . $_GET['ccbill_id'] . "&HTML=" . $_GET['site_link']; 
} 
?><a href="<?php echo $site_link; ?>"><img src="images/pic-gall-01_53.gif" width="697" height="53" alt="" border="0"></a></td>
        <td><img src="images/pic-gall-01_54.jpg" width="37" height="53" alt=""></td>
      </tr>
      <tr>
        <td><img src="images/pic-gall-01_55.jpg" width="17" height="62" alt=""></td>
        <td colspan="13"><img src="images/pic-gall-01_56.jpg" width="753" height="62" alt=""></td>
      </tr>
      <tr>
        <td><img src="images/spacer.gif" width="17" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="19" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="40" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="120" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="5" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="120" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="5" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="120" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="5" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="120" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="5" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="120" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="37" height="1" alt=""></td>
        <td><img src="images/spacer.gif" width="37" height="1" alt=""></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:55 PM   #9
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
This is the area of question...
Code:
        <?php 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=&HTML=http://www.xtremeinterracial.com/splash_a.html"; 
if(isset($_GET['ccbill_id'])){ 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=" . $_GET['ccbill_id'] . "&HTML=" . $_GET['site_link']; 
} 
?><a href="<?php echo $site_link; ?>"><img src="images/pic-gall-01_53.gif" width="697" height="53" alt="" border="0"></a></td>
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 08:57 PM   #10
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
I know, it is all fucked up, lmao, but I want to learn how to make it correct, that is why I am asking...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:00 PM   #11
halfpint
GFY's Halfpint
 
halfpint's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
dont know if this is what you mean

Code:
<a href="http://www.youraffliate.com"><img src="images/pic-gall-01_03.jpg" width="82" height="31" width="120" height="180" alt=""></td>
__________________

Get FREE website listings on Cryptocoinshops.net
halfpint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:05 PM   #12
halfpint
GFY's Halfpint
 
halfpint's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
Quote:
Originally Posted by halfpint View Post
dont know if this is what you mean

Code:
<a href="http://www.youraffliate.com"><img src="images/pic-gall-01_03.jpg" width="82" height="31" width="120" height="180" alt=""></td>
lol left out some code forget the top one


Code:
<td><a href="http://www.youraffliate.com"><img src="images/pic-gall-01_03.jpg" width="82" height="31" width="120" height="180" alt=""></a></td>
__________________

Get FREE website listings on Cryptocoinshops.net
halfpint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:09 PM   #13
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by halfpint View Post
lol left out some code forget the top one


Code:
<td><a href="http://www.youraffliate.com"><img src="images/pic-gall-01_03.jpg" width="82" height="31" width="120" height="180" alt=""></a></td>
lol, you are way off mang...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:24 PM   #14
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
why don't you just make it an .shtml file and use an echo query?
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:31 PM   #15
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
http://www.freepornnut.com/xtremeint...ccbill_id=asdf
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:33 PM   #16
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
http://www.freepornnut.com/xtremeint...link=fucksakes
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:34 PM   #17
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by Jon Clark View Post
This is the area of question...
Code:
        <?php 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=&HTML=http://www.xtremeinterracial.com/splash_a.html"; 
if(isset($_GET['ccbill_id'])){ 
$site_link = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=" . $_GET['ccbill_id'] . "&HTML=" . $_GET['site_link']; 
} 
?><a href="<?php echo $site_link; ?>"><img src="images/pic-gall-01_53.gif" width="697" height="53" alt="" border="0"></a></td>
You're missing a hell of a lot, dude.

Here's just an example to make it 'work':

Code:
<?php
$link = isset($_GET['site_link']) ? $_GET['site_link'] : "http://www.xtremeinterracial.com/splash_a.html";
$site_link = isset($_GET['ccbill_id']) ? "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=" . $_GET['ccbill_id'] . "&HTML=$link"   : "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=935991&PA=&HTML=$link"
... 
?>
This will test for site_link being set, and if ccbill_id is set, will construct, accordingly. ccbill_id is kind of a nobrainer, but I'm lazy, and not getting paid for this.

You might also consider testing with a:
Code:
if (parse_url($site_link)) {... works } else { ... failed }
construct, so if someone's too retarded to set a proper URL, you get credited.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:36 PM   #18
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by Fucksakes View Post
Thanks bro... That is just what I needed


Quote:
Originally Posted by aico View Post
why don't you just make it an .shtml file and use an echo query?
I have to do it the way it is being done now so it will work correctly will CCBTools...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:37 PM   #19
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
hes only a beginner haha dont confuse him
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:53 PM   #20
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by Fucksakes View Post
hes only a beginner haha dont confuse him
What he said...



I appreiciate the help...
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 09:54 PM   #21
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Well, do what I said, and it'll help more, because you're assuming site_link is set if ccbill_id is set.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 10:00 PM   #22
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
for $200 per hour I will get you exactly what you want
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 10:00 PM   #23
Jon Clark - BANNED FOR LIFE
North Coast Pimp
 
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
Quote:
Originally Posted by GrouchyAdmin View Post
Well, do what I said, and it'll help more, because you're assuming site_link is set if ccbill_id is set.
Ok, I will see if I can get it worked out, lol...

Do you know of any simple docs on php that are easy for a clown like me to learn from?
Jon Clark - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2008, 10:14 PM   #24
AlienQ - BANNED FOR LIFE
best designer on GFY
 
AlienQ - BANNED FOR LIFE's Avatar
 
Join Date: Mar 2003
Location: IALIEN.COM - High Definition Video and Photographic Productions -ICQ 78943384
Posts: 30,307
Echo?

Wazzat!
AlienQ - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-23-2008, 08:39 AM   #25
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Always sanitize your php variables or some bad guy can come across and do whatever he/she wants with it. You can also cause problems/exploit other (unprotected) systems which you're sending the variables to.
Code:
$site_link = mysql_real_escape_string($_GET['ccbill_id']);
ALWAYS
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-23-2008, 08:41 AM   #26
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Forgot to add:

Or if you're not using any dbase or mysql:
Code:
$site_link = addslashes(trim($_GET['ccbill_id']));
Just examples.

Last edited by Nookster; 04-23-2008 at 08:42 AM..
Nookster 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.