Jump to content

Search the Community

Showing results for tags 'upload error variable'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. hi everybody... i cant explain why i have this error.... i do this upload files thing many times but now... i have 2 php files one is like this: ***************** <form id="form1" name="form1" method="post" action="go_upload.php"> <table width="900" border="0" cellspacing="0" cellpadding="0"> <tr> <td><p>Imagen de Muestra: <input name="filename1" type="file" id="filename1" value="..." size="60" /> </p> bla bla bla <input type="submit" name="button" id="button" value="Upload File" /> </form> the other file is like this go_upload.php *********************** $target = "models_bags/"; $target = $target . basename( $_FILES['filename1']['name']) ; <- line 55 $ok=1; if(move_uploaded_file($_FILES['filename1']['tmp_name'], $target)) <- line 57 { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your file."; } THE ERROR WHEN I RUN THE FILES IS: Notice: Undefined index: filename1 in C:\Mywebsites\bagsite\go_upload.php on line 55 Notice: Undefined index: filename1 in C:\sitiosweb\imprebolsa\go_upload.php on line 57 Sorry, there was a problem uploading your file. tnx for help me plssss
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.