file icons

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
cho@
New php-forum User
New php-forum User
Posts: 39
Joined: Tue Aug 06, 2002 8:58 am
Location: UK

Mon Sep 08, 2003 8:31 am

Hi,

I wonder if anybody knows how to get the icon (in windows) corresponding to the file type...Cuz all my clients (browser) will be using windows

I dont knw if its possible because the server apache, php that I use is under Linux Debian 3.0 and as php is server side...
If you have some ideas

Thanks
francois

User avatar
swirlee
Moderator
Moderator
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Mon Sep 08, 2003 9:33 am

cho@ wrote:I wonder if anybody knows how to get the icon (in windows) corresponding to the file type...Cuz all my clients (browser) will be using windows


What are you talking about? File icons are setting on the client's machine, and you can't change those settings via their web browser.
Image

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Mon Sep 08, 2003 10:33 pm

One thing you can do is allow directory listing in Apache for the specific folder and then in httpd.conf file you can add the directive AddIcon for .php, you can see a lot many such directives given already, make sure you create your .gif or .jpg file and place it accordingly!
:lol:

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests