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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.