Breadcrumbs
Tag: "mime_type"
-
PHP: Determining MIME Type
- Author
- Date
- Mon 7 Apr 2008 at 13:54
- Type
- Blog Entry
PHP lacks a definite way to detect the MIME type of a file across each PHP version. Older versions of PHP use the mime_content_type() function, whereas more recent versions encourage the use of the Fileinfo set of functions. These variations present a difficulty when developing an application that must work across multiple versions and installations of PHP. In order to solve this problem, I use the following code to create a function to check the MIME type of a file regardless of the development environment: <?php // Setup replaceme…
-
Too Easy JavaScript - Introduction [1]
- Author
- Date
- Thu 5 May 2005 at 20:42
- Type
- Article
Begin your web design journey into the world of JavaScript! Learn the basic syntax of JavaScript and other fundamental concepts.
-
Too Easy XHTML - XHTML Syntax [2]
- Author
- Date
- Sat 12 Mar 2005 at 23:28
- Type
- Article
In Part 2 of the XHTML Guide, we look further into the XHTML document structure and basic XHTML syntax of tags and attributes. Ethan continues our XHTML lessons in Part 2 - XHTML Syntax.
