Jump to content

[SOLVED] Copy File Located In Server Root To Subdirectory


TecTao

Recommended Posts

I am writing a member application (worldboxingnetwork.com) where the members are allowed to upload images and video.

 

The second stage of the signup is uploading a primary image.  Part of the upload function is to create a subdirecty with the folder name a unique number which is the same as the unique Member ID number created when the member info is submitted.

 

I use an image magik image applicaton to alter and resize images.  I call it glick.php so that an image might be gick.php/<? //echo $img_file ?>?resize(300x300)

 

since the new subdirectories are created on submission with mkdir function, I need to copy glick.php in the root up to the new subdirecory.

 

Any ideas or help is appreciated, thanks in advance.

Mike

TecTao Designs

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.