My Blog
My Personal Blog
Now viewing all posts in linux

December 12th 2009

For all you geeks, finding an extension, cross platform, because application/type doesn’t always work with $_FILES['file']['type'] cross platform.
The mime information is read differently, I ran into this problem on unix when somebody uploaded a pdf edited on a windows machine.
function findExt($f) {
$var = $f;
$explode = explode(‘.’, $var);
$num = count($explode);
$ext = strtolower($explode[$num - 1]);

return $ext;
}
Then call [...]

Read On No Comments

How to install your Linksys WMP110 wireless card on linux

September 8th 2008

I run Ubuntu, but I imaging it would probably be the same for most distributions.
Install ndiswrapper, use your repos package search. On Ubuntu it is already installed.

yum search ndiswrapper

or

aptitude search ndiswrapper.

If you need to build from source, check out this post.
Download the driver files here. You can also snag them from the cd [...]

Read On No Comments


Recent Comments