
david
Deleted
Apr 24, 2000, 4:05 PM
Post #1 of 2
(272 views)
|
|
stat() problem - very frustrated
|
Can't Post
|
|
Hi, I have been working on this for a couple of days without luck. I'm using lynx and trying to grab a graphic and it's values with stat(). Regardless of the graphic, I always get the same value for $size, 22814. Below is the code. Any help is greatly appreciated. ========== $tmpgif = "$tmp/$tmp_id.gif"; system("/usr/bin/lynx -dump $gif_url > $tmp/$tmp_id.gif"); if ($debug == 1){print `ls -l $tmp/$tmp_id.gif`; print "<br>";} ($dev,$ino,$md,$nl,$uid,$gid,$rdev,$size,$at,$mt,$ct,$blksz,$blk)=stat($tmpgif);
|