Get server file location

verso9302329

New Member
YetiShare User
Mar 22, 2013
8
0
0
Hi,
I bougt Upload script, and i am verry happy with it.
I also wait for activation of a server:
I7 , 8GB DDR3, 2X2TB SATA 3 64 MBbuff, 1GB port, with plesk and more...
Is good for starting?

Sorry for off-topic:d My question is how to get server file location by database id of file...

Thanks!!!
 

jordan

Member
YetiShare User
Feb 3, 2013
48
15
8
Sounds like a nice server. How much did it cost you and from where?

For your question, I'm not entirely sure I understand. Your file location would usually be your root/files or w.e directory you set it as.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Easiest way to find the root path of your php files is to create a php file named file_root.php and put in the following
Code:
<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>
That will show on screen something like
Code:
/home/username/public_html
 

verso9302329

New Member
YetiShare User
Mar 22, 2013
8
0
0
Hi,
Server is located in Bucharest and cost 120 euro.
I configured a database query to get files with specified extension for make modification to uploaded file.
Cron job for convert video files. I will post it after finish.
Thanks for answers!