+ 1

File upload php help

I have two pages, one html and one php. When i access the html file directly by clicking on it and then i upload a file and click submit, the file does not move to the folder i want it to move to (the php connected to the html file is such that it mus move a file the user uploads to a certain folder i made) and on top of that, the browser displays the php code. When i access the html file through localhost/8080 and then upload a file through the form, it gives me the following error "Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. " Even though the php code works as the uploaded file is moved to the proper destination when access through localhost:8080 How do i fix this?

13th Feb 2018, 7:14 PM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
1 Answer
+ 1
Its okay , i figured it out.
13th Feb 2018, 7:36 PM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar