![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Well, I'm not psychic, but it's returning a black image for your references..
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Shit... Fuck! What the Hell?
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.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
Quote:
![]() 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.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | ||
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
Quote:
Quote:
What..................? ![]() ![]() ![]() |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
You need to name it .phps or .txt so we can see the source.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
Quote:
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"> </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> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
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...
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
GFY's Halfpint
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
GFY's Halfpint
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
|
Quote:
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> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
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" ... ?> You might also consider testing with a: Code:
if (parse_url($site_link)) {... works } else { ... failed }
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
Quote:
![]() I have to do it the way it is being done now so it will work correctly will CCBTools... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
hes only a beginner haha dont confuse him
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Now choke yourself!
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.
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
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
![]()
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
North Coast Pimp
Join Date: Dec 2005
Location: 304-534-757
Posts: 9,395
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
best designer on GFY
Join Date: Mar 2003
Location: IALIEN.COM - High Definition Video and Photographic Productions -ICQ 78943384
Posts: 30,307
|
Echo?
Wazzat!
__________________
![]() ![]() NAKED HOSTING FTW!11 I'm On The INSANE PLAN $9.95/mo! | The Alien Blog Adult News Worth Reading Updated Daily | Content For Sale! 641 PICS 216 MINUTES OF VIDEO $350.00 |ICQ: 78943384 | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
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']);
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
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']));
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |