ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Help wanted (Community)
Help wanted // Communityjacob the m heroFeb 15, 2004, 4:00pm
I need Help: IMG(number) a Picture might be somewhere to put <?PHP
if (file_exists ('superfirejacob2005.t35.com/TV/')) { $Basename = 'tv.php'; } else { $fd = opendir('./'); $aPics = array(); while (($part = at readdir($fd)) == true) if ( eregi("(jpg|jpeg)$",$part) ) $aPics[] = $part; $i = time(5)%sizeof($aPics); $Basename = $aPics[$i]; } $Filename = './'.$Basename; Header ('Content-type: image/jpeg'); Header( 'Content-Disposition: attachment; filename='.$Basename ); readfile ($Filename); ?> here r i c h a r dFeb 15, 2004, 8:18pm
I dont think we should even bother trying to understand this question from
our lil jacob... brockFeb 15, 2004, 8:22pm
i suggested trying my script at www.iceflare.net/dl.html but it confused
him.....i couldnt even help him because i didnt understand him. -- Brock, IceFlare Network Founder/Administrator http://www.iceflare.com/ http://www.iceflare.net/ [View Quote] |