![]() |
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... |
Well, I'm not psychic, but it's returning a black image for your references..
|
mon ... each and every image uploaded is linked to a black placeholder........
http://www.freepornnut.com/xtremeint...gall-01_03.jpg |
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.. |
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.. |
Quote:
Quote:
What..................? :Oh crap :1orglaugh I have not loaded images yet... I am trying to get the linking to work correctly first... :thumbsup |
You need to name it .phps or .txt so we can see the source.
|
Quote:
Code:
<html> |
This is the area of question...
Code:
<?php |
I know, it is all fucked up, lmao, but I want to learn how to make it correct, that is why I am asking... :)
|
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> |
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> |
Quote:
|
why don't you just make it an .shtml file and use an echo query?
|
|
|
Quote:
Here's just an example to make it 'work': Code:
<?php You might also consider testing with a: Code:
if (parse_url($site_link)) {... works } else { ... failed } |
Quote:
Quote:
|
hes only a beginner haha dont confuse him
|
Quote:
I appreiciate the help... |
Well, do what I said, and it'll help more, because you're assuming site_link is set if ccbill_id is set. :thumbsup
|
for $200 per hour I will get you exactly what you want :)
|
Quote:
Do you know of any simple docs on php that are easy for a clown like me to learn from? |
Echo?
Wazzat! |
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']); |
Forgot to add:
Or if you're not using any dbase or mysql: Code:
$site_link = addslashes(trim($_GET['ccbill_id'])); |
All times are GMT -7. The time now is 10:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123