Jump to content

what am I doing wrong?


cavendano

Recommended Posts

I need to get a script to post the file size of different files as they are created in the script.

I think the problem lies in the dir_url_mp4 when i had it echoed it comes out as:

/hsphere/local/home/removed/removed.com/tones/temp/L84q172Jq.m4a

 

$sname is a file variable that will tell the script what file I am wanting to get the information for and it works as you can see from the echo on top it echoed the variable L84q172Jq.

 

the url_mp4 works great so its mainly the get_size_mp4 that will not display the file size

$dir_url_mp4 = $root.'/temp/'.$sname.'.m4a';
$get_size_mp4 = filesize($dir_url_mp4,Bytes);
$url_mp4 = $root_url."/temp/".$sname.".m4a";

 

Thanks!

When I had

Link to comment
https://forums.phpfreaks.com/topic/68098-what-am-i-doing-wrong/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.