PHP Tutorial : File Upload (Part 1)
Uploader Comments (hdvidsonly)
All Comments (13)
-
Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs\Tutoriales\ima
geploud\process.php on line 54 -
Would be nice if we could download the php files somewhere
-
@killuaanda23 i hacked ur site lol and changed password to password lool
-
Hi, after completing all the scripts, when i click upload button nothing happens the specified image is not uploaded to that folder.
-
you guys who don't have phpmyadmin:
google how to set up a php and mysql locally on your computer
-
well. it was going great until you started using that localhost/phpmyadmin....
what is it? when i try typing what you typed into ur URL i get
'Unable to connect
Firefox can't establish a connection to the server at localhost * The site could be temporarily unavailable or too busy. Try again in a few moments.'
what do i do? im stuck now.
-
Pleseeeeee here is my error: Parse error: syntax error, unexpected T_STRING in /home/a9490936/public_html/Jsi
teTest/myPHP/fileUpload/upload .php on line 15 and here is the code on my dreamweaver: if($error>0) die("Error uploading file! code $error.); else { if($type == "image/png" || $size > 2000000) { die("Format not allowed or file size too big!"); }
hi
this is haider hussain
i am facing " Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in F:\x\xampp\htdocs\process.php on line 29
" please tell me what should i do now.
haider07071986 2 years ago
make sure you use ; at the end of you 29th statement
hdvidsonly 2 years ago
make sure ur $_FILES["file"]["size"] is < 10485760.(10 mb MAX)
hdvidsonly 2 years ago