Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    85

    Image uploader script

    http://levade.homeip.net/fszone/img.html

    thats the page, when I try and upload something it says-

    Notice: Undefined variable: img1_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 23

    Notice: Undefined variable: img1_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 26

    Notice: Undefined variable: img2_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 57

    Notice: Undefined variable: img2_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 60

    Notice: Undefined variable: img3_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 90

    Notice: Undefined variable: img3_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 93

    Notice: Undefined variable: img4_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 123

    Notice: Undefined variable: img4_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 126

    Notice: Undefined variable: img5_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 158

    Notice: Undefined variable: img5_name in C:\Inetpub\wwwroot\fszone\do_upload.php on line 161

    I configured it and everything, but I can't get it to work

    I got this from the zachwhite scripts.

  2. #2
    Join Date
    Aug 2003
    Location
    Twin Cities Area
    Posts
    5,651
    it gives you all the line numbers for the errors
    if you haven't considered chapter 7 bankruptcy, maybe you should.
    eliminate your debt, keep the property you want, most people qualify.
    contrary to popular belief - no attorney is necessary!

  3. #3
    Join Date
    Jan 2004
    Location
    Toronto, ON
    Posts
    1,100
    turn off your error reporting.. it means you have variables that aren't declared in your script, but your form is requesting them.

    turn off all error reporting, and that will go away!
    I specialize in neck beards
    Latest: Reach for Android

  4. #4
    Join Date
    Feb 2004
    Posts
    85
    ok...

    it doesn't error report, but it still doesn't work

    Log:
    No file selected for upload 1
    No file selected for upload 2
    No file selected for upload 3
    No file selected for upload 4
    No file selected for upload 5


    Line 23: //checks if file exists

    Line 26: }

    Line 57://checks if file exists

    Line 60: }

    Line 90: }

    Line 93: }

    Line 123:}

    Line 126: }

    Line 158: (nothing)

    Line 161: }

    I don't know anything about this :huh:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •