Jump to content

Image Uploading and resizing


haseebmaqsood

Recommended Posts

Have you made any attempt at coding it yourself, if you have, can you post your code here.  If you haven't and are just looking for someone to write it for you then you should post in the Freelance board of this forum.

 

This is a help board, and as such, we provide help, suggestions and recommendations, we don't write if for you I'm afraid.

 

Regards

Huggie

Hi there,

 

When file get uploaded.. it goes the Temp Directory of the server.

the file information is available in server variable $_FILES.

 

Open the Help doc for $_FILES u will get all the info about uploaded file(s)...

there also one more function move_uploaded_file .....which moves the uploaded file from Temp directory to specified destination location on server... That Destination path u can save in the Database.

 

 

Use GD library for resizing the image...there are function available under GD library for resizing images....

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.