|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
FTP or File functions.
Hi all.
I am working in a small WEB Content Management System (an application that let you work on files online without using any WYSIWYG or FTP client) but the browser. I don't know which way should I follow, FTP functions or the File functions. Or should I depend on both.? FTP function in PHP can't do everything. For example, there is no FTP function that do change mode (chmod). On the other hand, if you choose to work with the file functions, you have choosen the harder way. Can anybody guide me? Thx. Last edited by truedos : January 28th, 2003 at 02:11 AM. |
|
#2
|
|||
|
|||
|
$_FILE[] = hard???
copy($path, $file); man that was hard,... ![]()
__________________
-- Jason |
|
#3
|
|||
|
|||
|
Hi!
You can use the file mode (I've included a class that I've made for handling files...) but I suggest you to keep the content in a database, like MySQL, PostgreSQL, MS-SQL... By doing this you will have a more organized structure and will need to look in just one place...
__________________
Regards, Ramiro Varandas Jr. |
|
#4
|
|||
|
|||
|
thx,
I think I don't need to store the files information in the database since this is realy hard if somebody has more than 5000 files in his site (I am doing a public application CMS). It is possible in MySQL but this will reduce the load time of the site... One more thing, is there is any disadvantages or security holes for using the FTP functions? I think if I do authintication, everything would be secure, right? Thank you.. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > FTP or File functions. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|