You are here: File Downloads « PHP Programming Language « IT news, forums, messages
File Downloads

Posted by robin on 09/21/06 18:38

If a user is is downloading a file from the server via a php
link...there are 2 ways I can do it..

1. Create a symlink to the file and .. redirect user to it and delete
the symlink later

OR

2. Just send appropriate headers to the browser and read the file to
it.

I was wondering which of these 2 approaches will take more resources.
Is there a way to benchmark this?

Regards,
Robin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация