• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Hello, tell me how to properly load a file (any)? I turned to the manual and use 

PHP Code:

but it did not help, kept getting data about the file "NULL"...

It's embarrassing to ask you, lead or link to a working example.

I want to learn how to download a file (by specifying a location) and get some data about it, for example its size or type.

Thank you for understanding.

That is all standard PHP see the PHP Manual.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

(06-20-2018, 04:09 AM)InsiteFX. Wrote: That is all standard PHP see the PHP Manual.

Many thanks, really everything is much easier than I thought =)

Quote:Be sure your file upload form has attribute enctype="multipart/form-data" otherwise the file upload will not work.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.