Set Icon for the Downloading File

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
sakthi
Forum Newbie
Posts: 12
Joined: Wed Apr 12, 2006 1:13 am
Location: Mumbai-India
Contact:

Set Icon for the Downloading File

Post by sakthi »

hi everybody,

Good Morning.

i am using the header() function to download(which is being created in run time) a file from the server.

this is a DOS Batch file. i want to set my icon for that file instead of system default icon.

This is a problem in windows OS+PHP.

i don't know weather we can achieve it by Javascript.

is it possible in PHP?

is there any function is there like setICON() in MSVisualBasic.

please help me... :cry:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There is no functionality to do that for a batch file without the user doing it.
User avatar
sakthi
Forum Newbie
Posts: 12
Joined: Wed Apr 12, 2006 1:13 am
Location: Mumbai-India
Contact:

Post by sakthi »

is there any other solution to achieve it?

While downloading the file, we are using the header() function by force-download type.

i don't know, weather that function have any properties to set to the file like loadIcon property.

can anybody give solution for this problem?
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

As said above, no there isn't
Post Reply