Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2007
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Read Uploaded File

    Well I need to find a way to read a file's content sent by a form without first moving it.

  • #2
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,169
    Thanks
    19
    Thanked 65 Times in 64 Posts
    This is purely a guess but I would imagine you can read $_FILES['userfile']['tmp_name'] the same as any other file. Its worth a try at least. Its only temporary but it does exist in some location on the server, there shouldnt be a problem reading its contents.


  •  

    Posting Permissions

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