Help with Block I created for my php site

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Help with Block I created for my php site
snip12
CZ Newbie
snip12 has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Dec 27, 2004
0.00 posts per day
Posts: 23
Points: 1,160
   
I have a block on my web site [ Register or login to view links on this board.]
It is the block on the bottom of the site called we support.
I have one image in there when u click on it it takes you to the web site of the inage, How can i put multiple images in there with there links. here is the code im useing.
Any help would be greatly appreciated i am still a noob to the php world LoL ( if you can edit my code to show me that would be great Thanks


<?php
if (eregi("block-WeSupport.php",$PHP_SELF)) {
Header("Location: index.html");
die();
}
$ufurl = "http://www.dsops.com/aasalink.gif";
$content = "ufurl: $ufurl<br>";
$imagefile = "http://www.dsops.com/aasalink.gif";
if (!($textfile = fopen( "$ufurl", "r"))) {
$content .= "$ufurl<br> could not be opened<br>";
die();
}
while (!feof($textfile)) {
$line = fgets($textfile, 1500);
if (eregi( ".*<IMG ALT=\"aasalink.gif\".*SRC=\"(.*)\">.*", $line, $out)) {
$imagefile = $out[1];
break;
}
}
fclose($textfile);
$content = "<p align=center>";
$content .= "<A HREF=\"http://www.aaserveradmins.com\" target=\"_blank\">
<IMG SRC=\"$imagefile\" alt=\"aasalink.gif\"></A>";



Back to top Reply with quote
#2   re: Help with Block I created for my php site
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
This might help you:
[ Register or login to view links on this board. ]



Back to top Reply with quote
#3   re: Help with Block I created for my php site
snip12
CZ Newbie
snip12 has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Dec 27, 2004
0.00 posts per day
Posts: 23
Points: 1,160
   
Yes it did thanks alot



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum