Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 39
- Joined: Tue Aug 06, 2002 8:58 am
- Location: UK
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
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
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.
- php-forum Super User
- Posts: 1280
- Joined: Sat Mar 22, 2003 9:42 am
- Location: Mumbai, India
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!
Return to “PHP coding => General”
Who is online
Users browsing this forum: Google Feedfetcher, Yahoo [Bot] and 4 guests