Expert help needed

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

8 replies · 540 views · started 17 years ago · 1 min read

3 participants
slowy Senior · 357 posts #1

echo ""; $thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file); $thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg'; if(is_file($thumb)){ echo "External image (may be gone) "; } echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).") <a style='color:orange;' href='".$file."'>Download File</a>";

i want to include z.php in place of <a style='color:orange;' href='".$file."'>Download File</a> plz help

subzero Super moderator Fellow · 3,954 posts #2

Please Place this in your css style.css

a.vb:link {
color : FF6600; 
} 
echo "<div class='fileList'>";
$thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
$thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg';
if(is_file($thumb)){
echo "<img src='$thumb' /><br/>";
}
echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/><a class='vb'  href='".$file."'>Download File</a></div>";

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #4

you want z.php to replace your link ?

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #6

Try this

include("z.php?link=$file");

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

slowy Senior · 357 posts #7

In z.php link is already there. See z.php contains following code

<script type='text/javascript'> function focusWindow() { open('<?php echo $mob_ad_link;?>'); } </script>

<a style='color:orange;' href='".$file."' onclick='focusWindow()'>Download Above File</a>

Anshul Senior · 296 posts #8
<script language="JavaScript" type="text/javascript"> function focusWindow() { open('<?php echo $mob_ad_link;?>'); } </script>
echo "<div class='fileList'>";
$thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
$thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg';
if(is_file($thumb)){
echo "<img src='$thumb' /><br/>";
}
echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/>";  
echo"<a class=\"vb\"  href=\"".$file."\" onclick=\"focusWindow()\">Download File</a></div>";

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close