Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-17-11, 22:25
BOD Member
 
Join Date: Aug 2011
Posts: 76
Default Uploading files from URL and other functions - HELP!

I want to get a file from a url and copy it to a directory on my server. Not only that but i want to be able to get the file size of the actual file before it is really copied to my server.

I know about the Copy() function but how would i get a the file size or type before the script actually puts it on my server? This would be useful if i did not want people to upload .html files and such.

Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 08-18-11, 09:46
BOD Member
 
Join Date: Jul 2011
Posts: 68
Default

I think, you should have to look at following two urls:

Reply With Quote
  #3 (permalink)  
Old 08-18-11, 10:07
BOD Member
 
Join Date: Jul 2011
Posts: 59
Default

To OP

Can you provide a script example which you are currently using?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.