![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
Need some php help. Please!
Ok, i'm trying to work on this random banner thing. And it all works fine..
Except for the onmouseover status window bit.. For example. IMG SRC works fine: src=\"$img\" and the Alt attribute works fine: alt=\"[$alt]\" now.. i've tried everything i can think of to put the $status_url into the code.. but i keep winding up with errors.. onmouseover="window.status='http://www.somewhere.com';return true;" Stuff i've tried already that doesn't work: onmouseover="window.status='$status_url';return true;" onmouseover="window.status=/'$status_url/';return true;" onmouseover=/"window.status='$status_url';return true;/" onmouseover=/"window.status=/'$status_ur/l';return true;/" Some help would be greatly appreciated! Thanks in advance. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Unless you made a typo, you are escaping the quotes backwards
onmouseover="window.status=/'$status_url/';return true;" onmouseover=/"window.status='$status_url';return true;/" onmouseover=/"window.status=/'$status_ur/l';return true;/" You have / instead of \
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
Yeah, that was a typo i made during the post, but not what i had done in the code. So just.. swap those around! :P
Any ideas on what i should be doing though, besides that? i'm really stumped! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
PHP Code:
![]() DynaMite ![]()
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
Thanks dude. But the http://www.somewhere.com isn't supposed to be there. i want the variable $status_url in there.
but no matter how i do it.. i get errors.. i've tried escaping every way i can think of! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
*bump*
i know that's an annoying thing to do, but i need this ASAP! :D A&H, come back! :P |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
hey. i figured it's not actually a problem with my escaping..
this is the line of the code i wanna change: list($img, $url, $alt) = explode("|", $line[$rIndex]); i wanna add anotehr category.. so i figured.. it'd be as simple as changing it to this: list($img, $url, $alt, $status_url) = explode("|", $line[$rIndex]); and then changing: blah.gif|http://blah.com|Teens 4 Free To blah.gif|http://blah.com|Teens 4 Free|http://www.statusurl.com What am i forgetting to do? This is the entire code by the way: ------------- PHP Code:
and the text file with the data ---------- image1.gif|http://somewhere.com/?wm=47887|Sexy Teens image2.gif|http://somewhere.com/?wm=47888|Sexy Lesbians image3.gif|http://somewhere.com/?wm=47889|Sexy Asians ----------- Once again, i'm fucking cluseless here! PS. After 23047 edits, i think i got this whore of a thing to display corrently |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
howdy do,
My first post but I don't really have anything to say other than chodadog, this sucker below works for me. PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
Thanks dude. Just figured out what the problem with the one i posted was. But thanks anyways ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |