You are here: Re: Can I use PHP to create a desktop icon? « PHP Programming Language « IT news, forums, messages
Re: Can I use PHP to create a desktop icon?

Posted by Alvaro G. Vicario on 06/12/06 20:38

*** laredotornado@zipmail.com escribió/wrote (12 Jun 2006 10:56:16 -0700):
> Using PHP 4 and a custom icon (.ico) file, how could I create a file
> users download to their machine such that clicking on it launches their
> default web browser with a particular URL?

I guess you have *.url files in mind. If you open one of them in your
favourite text editor, you'll realize the format is pretty straightforward:

[InternetShortcut]
URL=http://www.google.com

I can think of two issues:

1) It isn't cross-platform
2) You can't store the icon or specify what icon explorer should display


There's a simple multiplaform alternative: a simple HTML file with a
redirection (META tag or JavaScript). It doesn't solve the icon issue
though.



--
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro
--

 

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

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