+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP uploading

  1. #1
    Ultimate Member
    Join Date
    Feb 2003
    Location
    Pittsburgh, PA
    Posts
    2,711

    PHP uploading

    Ok, I am trying to make a php uploading script work for our web-site. It uploas files fine, however, whenever someone tried to upload an archive file (.zip, .sit) it errors out and says that the document contains no data. The majority of the uploaded files are going to be archives.

    I have attached the file. Can someone tell me what I need to do to make this work, or if it can even be done.

    Thanks

    BTW, the file extension needs to be changed from txt to php.
    Attached Files

  2. #2
    Ultimate Member
    Join Date
    Feb 2003
    Location
    Pittsburgh, PA
    Posts
    2,711
    never mind, it appears to be an issue on the host with php scripts that take longer than 60 seconds to complete. Obvioulsy if it is a large file, it is going to take longer than 60 seconds.

    Now I need to figure out how to get that chaged.

  3. #3
    Senior Member CompGeek01's Avatar
    Join Date
    Aug 2002
    Location
    Next to an XServe Cluster
    Posts
    938
    Live by it: RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

  4. #4
    Ultimate Member
    Join Date
    Feb 2003
    Location
    Pittsburgh, PA
    Posts
    2,711
    Actually, it appears to be less time related now, then it is file size related. It appears to be an issue with files larger than 10 MB, even though I have set the php.ini settings to 60M

  5. #5
    Senior Member CompGeek01's Avatar
    Join Date
    Aug 2002
    Location
    Next to an XServe Cluster
    Posts
    938
    Are you still getting a message that says the function/script timed out?
    Live by it: RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

  6. #6
    Ultimate Member
    Join Date
    Feb 2003
    Location
    Pittsburgh, PA
    Posts
    2,711
    Well, the error I get is "The file contains no data" and then the uploading stops completely.

Bookmarks

Posting Permissions

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







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke