Search found 3 matches

by highway81
Sun Apr 12, 2009 3:08 am
Forum: PHP - Code
Topic: PHP upload file usng mkdir()
Replies: 3
Views: 159

Re: PHP upload file usng mkdir()

Hi,

Thanks for your response. How do I go about setting this? I cant change permissions directly on the directory as I then get an internal server error due to wordpress.

Any ideas?

Thanks
by highway81
Fri Jun 06, 2008 8:51 am
Forum: PHP - Code
Topic: uploading files
Replies: 3
Views: 331

Re: uploading files

apologies:     <?php if(isset($_POST['submit'])){     if(is_uploaded_file($_FILES['image']['tmp_name'])){         if ($_FILES['image']['type'] == "image/gif" ||             $_FILES['image']['type'] == "image/jpeg" ||             $_FILES['image']['type'] == "image/pjpeg"...
by highway81
Fri Jun 06, 2008 8:27 am
Forum: PHP - Code
Topic: uploading files
Replies: 3
Views: 331

uploading files

hello, i am making a simple cms which allows admin users to upload images to their database. i have used this particular file before but upon trying to implement it earlier i am getting the following error: File Upload Failed, Debug Info: Array ( ) the code (which is quite weighty) is as follows: <?...