Page 1 of 1

Set Icon for the Downloading File

Posted: Tue Nov 28, 2006 3:30 am
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:

Posted: Tue Nov 28, 2006 7:39 am
by feyd
There is no functionality to do that for a batch file without the user doing it.

Posted: Tue Nov 28, 2006 8:03 am
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?

Posted: Tue Nov 28, 2006 8:05 am
by JayBird
As said above, no there isn't