Pleseeeeee here is my error:
Parse error: syntax error, unexpected T_STRING in /home/a9490936/public_html/JsiteTest/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.
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/JsiteTest/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!”);
}
make sure you use ; at the end of you 29th statement
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.
make sure ur $_FILES["file"]["size"] is < 10485760.(10 mb MAX)
can you help me? I can’t upload sized larger than 2Mb. i modified the php.ini max upload filesize and max post but nothing is happening. pls help me
[...] the original post here: PHP Tutorial : File Upload (Part 1) | PHP Blog Share and [...]