1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP / HTML Upload script help

Discussion in 'All other topics' started by miketrev, Feb 19, 2011.

  1. miketrev

    miketrev Regular member

    Joined:
    Feb 1, 2009
    Messages:
    3,210
    Likes Received:
    0
    Trophy Points:
    46
    Hi All,

    Hoping someone can help, Ive setup my own Ubuntu server mainey for sharing files for the family. I have setup a apache2 webserver, installed PHP etc and created a index.html web front end for it.

    The problem is that I have the following error with my upload.php script for file uploads.

    The file uploads still works, so im sure its not a permissions errors and has to be something with the code.

    Also, could anyway help me sort it so that after the php script has uploaded the file the page returns to index.html

    This is the relevent part of the index.html file

    This is my whole upload.php file

    Thanks

    Mike
     
    Last edited: Feb 19, 2011
  2. miketrev

    miketrev Regular member

    Joined:
    Feb 1, 2009
    Messages:
    3,210
    Likes Received:
    0
    Trophy Points:
    46
    Its OK, I fixed it by changing

    to

     

Share This Page