|
-
Mar 17th, 2011, 11:02 PM
#8
Re: get Filesize using a network path
I'm developing an interface that takes data from a MySql database in a given server and it creates an output file also in that server all this is done using MySql, now the part i need to do using PHP is opening this file, see how many bytes it is, writing that number to other file (a control file) and finally zipping it to gz. All this is already done and working but to make it work i had to copy that output file generated by MySql to my computer and then running my php file. I wanted to simplify my developing a bit by making my php file work directly with the file in the server, and this file was in a shared folder in the server.
But: I'm thinking that this PHP file i'm working with locally, will be in that server when all this becomes productive, since this interface will run scheduled most of the times with a CRON task.
Why do they use PHP? maybe they want to call this via web? i don't know. I just know this is how they want these interfaces and i'm now just learning about all this web stuff since most of my experience has been desktop applications till now.
Marking thread resolved, Thank you all.
Last edited by jcis; Mar 17th, 2011 at 11:10 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|