Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
Server side Scripting and Database Support
»
PHP, Perl, ASP, JSP, CFM
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Jorge Solis
,
nothingGrinder
) »
How to cut and paste folder ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to cut and paste folder ? (Read 2420 times)
cliffcc
Server what's that
Posts: 23
How to cut and paste folder ?
«
on:
02/04/11, 10:20 »
I want to cut folder and its files from one location and then paste it in other location (by php code) ? How to write the code? Thanks?
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re: How to cut and paste folder ?
«
Reply #1 on:
02/05/11, 07:08 »
You need to copy your files using copy
http://php.net/manual/en/function.copy.php
then you should delete the original using unlink
http://www.php.net/manual/en/function.unlink.php
but be sure thet PHP have write/read access to the specific locations
Jorge
Logged
Twitter
http://twitter.com/solisarg
jacob11
Server what's that
Posts: 1
Re: How to cut and paste folder ?
«
Reply #2 on:
05/27/12, 17:46 »
as in an interface using php or are you actually looking for the php code to copy, cut and create files in a directory? If your loooking for php code that allows you to copy and cut files then use the links below to read more about options relating to fopen.
http://ca3.php.net/m...ction.fopen.php
Logged
Life has
new used cars
us that love does
where houses for rent in orlando florida
not consist each
yo busco como vender por internet
.
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
Server side Scripting and Database Support
»
PHP, Perl, ASP, JSP, CFM
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Jorge Solis
,
nothingGrinder
) »
How to cut and paste folder ?