Create a file to upload pictures or files in php

Create a file to upload pictures or files in php

  If you want to creat a php file to upload pictures copy and paste the code below into a file and call this upload pics.

Create a directory to store your pictures in and change this in the code, the code is called photodirectory but change this to be whatever directory you have called yours.

Once you have created your directory you will need to change the permissions, set these so that everyone can write to the directory.

Thats it should all work now.



Turbo Charge your business

We put our money where our mouth is. Our mission is to help any business anywhere get back on track.

If we don't bring you new customers you pay us nothing. We take nothing up front and there is no contract. We trust you implicitly. And it is literally if you don't pay us for bringing in new customers, then we stop brining them in.

You decide how much you are willing to pay for a customer and you pay once we bring them to you.

Simple, easy nothing else to explain.

If you would like us to help you get your business or products booming email us at

Speak soon.