Hi,
I didn't have any problem with uploading , text and image but I keep getting error when I try to upload html file.
move_uploaded_file(/myfolder/my.html): failed to open stream: No such file or directory
URL www.my.net/folder/my_add.php
Error file /home/my/public_html/myfolder/mydatabase_add.php
Error line 140
SQL query insert into `my database` (`field3`, `field4`) values ('my file', 'http://my.net/folder/my.html';)
What I did:
created table with 4 field
file id
filename
url(varchar)
html field(blob,binary).
Question:
Database file - choose this type if you use this field to hold binary files. Click on Change ... to choose a field to store filename field.
This is where I get confused.
Is this field- blob field-is. where I'll upload the html file?
or stored file_url?
what am I missing here?