Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

PHP Question: Local File Functions (Move, Delete, Copy etc.)

 
   Database Help (Home) -> PHP RSS
Next:  How to build the relation of fields in microsoft ..  
Author Message
smacpher1

External


Since: Jan 31, 2005
Posts: 1



(Msg. 1) Posted: Sun Feb 20, 2005 12:33 am
Post subject: PHP Question: Local File Functions (Move, Delete, Copy etc.)
Archived from groups: alt>php (more info?)

Hello

I use PHP for web design but have not got into many of its advanced
features other than using it with MySQL a bit. I was wondering if PHP
is powerful enough to be able to move / copy / delete files locally in
directories? Make directories, and delete them as well?

Thanks for your help!

Shaun

 >> Stay informed about: PHP Question: Local File Functions (Move, Delete, Copy etc.) 
Back to top
Login to vote
News Me

External


Since: Feb 03, 2005
Posts: 18



(Msg. 2) Posted: Sun Feb 20, 2005 12:39 am
Post subject: Re: PHP Question: Local File Functions (Move, Delete, Copy e [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote:
 > Hello
 >
 > I use PHP for web design but have not got into many of its advanced
 > features other than using it with MySQL a bit. I was wondering if PHP
 > is powerful enough to be able to move / copy / delete files locally in
 > directories? Make directories, and delete them as well?
 >
 > Thanks for your help!
 >
 > Shaun
 >

See section "XXX: Filesytem Functions" in the PHP manual.

--
convert UPPERCASE NUMBER to a numeral to reply

 >> Stay informed about: PHP Question: Local File Functions (Move, Delete, Copy etc.) 
Back to top
Login to vote
Armando Padilla

External


Since: Feb 17, 2005
Posts: 13



(Msg. 3) Posted: Sun Feb 20, 2005 10:40 am
Post subject: Re: PHP Question: Local File Functions (Move, Delete, Copy e [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

News Me wrote:

 >
  >> Hello
  >>
  >> I use PHP for web design but have not got into many of its advanced
  >> features other than using it with MySQL a bit. I was wondering if PHP
  >> is powerful enough to be able to move / copy / delete files locally in
  >> directories? Make directories, and delete them as well?
  >>
  >> Thanks for your help!
  >>
  >> Shaun
  >>
 >
 > See section "XXX: Filesytem Functions" in the PHP manual.
 >
Hey,

yea PHP is very powerful for a scripting language. Php can delete
folders using rmdir(), create directories using mkdir(), and can delete
a file using unlink(), copy a file/dir using copy(). As suggested you
might want to check out the manual at php.net
<a rel="nofollow" style='text-decoration: none;' href="http://us2.php.net/manual/en/ref.filesystem.php" target="_blank">http://us2.php.net/manual/en/ref.filesystem.php</a> and see for yuorself.
but just to tell you how powerful this language is, people have done
windows applications using its GUI based GTK, and have created
Artificial intelligence apps with it.
 >> Stay informed about: PHP Question: Local File Functions (Move, Delete, Copy etc.) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
using php to move rows from text file into mysql table - Hello Can anyone point me in the right direction for the way to read a text file a line at a time and separate the fields on that line and use them as data in an INSERT to add a record to a mysql table. Then read the second line in text file and repeat. ...

Selecting a file in our webspace from our local system - How to read a file which is in our webspace from localsystem in php. please give me ideas or any code if anybody has it will be helpful

PHP Zip File Functions - The Zip files functions allows you to read ZIP files.http:// webprogramming123.blogspot.com/2008/08/php-zip-file-functions.html

Modifying functions.php of wordpress file - I'm trying to modify the functions.php file of a wordpress theme that I have. The theme I have has two sidebars. The original code for my functions.php is as follows: <?php if ( function_exists('register_sidebar') ) register_sidebars(2); ?> I h...

question about arrays and functions - $sql = "DELETE FROM " . $mosConfig_dbprefix . "foo WHERE foo_id = '" . mosGetParam($_POST, 'cid', '' )[$a] . "'"; was throwing errors and I fixed it be doing this: $cidx = mosGetParam( $_POST, 'cid', '' ); $sql = "DE...
   Database Help (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]