Archive

Recently two of my articles reached the Digg frontpage at the same day. My web server isn't state of the art and it had to handle gigantic amounts of traffic. But still it served pages to visitors swiftly thanks to a lot of optimizations. This is how you can prevent heavy traffic from killing your server.

In Ubuntu Feisty I've been using compiz-fusion from Treviño’s Ubuntu Repository in combination with a nVidia driver provided by Envy like in this how-to. Running those cutting edge Feisty versions allowed me to have all the nice features that were being developed and lose some bugs that persisted in stable versions, like black windows & strange borders.

But two months ago I upgraded to Gutsy and you will be happy to know that Ubuntu Gutsy has got every awesome feature & bugfix in it's own standard software. So t...


Licensing Since the project is really kicking off and we're almost at 100 ported functions, I thought it was probably time to think about licensing. So I did a little bit of research, and I think the MIT license might be what we're looking for.

Everyone knows PHP can be used to create websites. But it can also be used to create desktop applications and commandline tools. And now with a class called System_Daemon, you can even create daemons using nothing but PHP. And did I mention it was easy?

Recently I've seen a lot of screencasts in the Planet Ubuntu RSS feed. A screencast is an embeded flash video of your desktop, often used in tutorials instead of screenshots. I wondered if I could make these online flash videos myself; turns out, it's pretty easy! So in this article I will cover how to install the video capturing tool, how to use it, how to convert the video to a flash video (flv) file, and finally how to embed a flash player in your site just like YouTube. Create your own screencasts in 5 easy steps!

It's no secret I like Ubuntu the best. But what strikes me as odd, is that it does not come standard with a good tool to change the display settings. Sure, you can change the Screen Resolution, but what about cloning to another device, extending the desktop to a second screen, changing the driver, or adjusting the refresh rates to enable more resolutions? There currently is no graphical way to do this in GNOME, so for this you had to manually change the X config file, or run a third party tool like nvidia-settings. But now I found a great GTK tool that can do it for you.

A good way for sites or articles to get known is submitting to social bookmarking sites, so submitting should be as easy as possible for your visitors. But gathering information on the best social bookmarking sites, their icons, submission URLs, and ranking is quite a pain. And so I did it for you. I'll also give you a PHP example of how to integrate social bookmarking sites in your website.

It's always a good idea to backup important data. Your files and settings can easily be archived. But how can you backup & restore all applications that you've installed over the last couple of years? Here's an easy trick that works for both desktops & servers, and that can also be used to synchronize installed packages in a web cluster, making all the servers run the same software.

Everyone knows that RAM is so much faster than a hard disk. To illustrate, while a current SATA disk has peak transfer rates of 375 MB/s, current RAM can do a mind blowing 12,500 MB/s! Normally only the system itself makes use of this ultra fast storage, but we can also access this space directly. And that opens a great window of opportunity.

Synchronizing files from one server to another is quite awesome. You can use it for backups, for keeping web servers in sync, and much more. It's fast and it doesn't take up as much bandwidth as normal copying would. And the best thing is, it can be done with only 1 command. Welcome to the wonderful world of rsync.

This is a Javascript version of the PHP function: basename.

Every time a request hits your server, PHP has to do a lot of processing, all of your code has to be compiled & executed for every single visit. Even though the outcome of all this processing is often identical for both visitor 21600 and 21601. So why not save the flat HTML generated for visitor 21600, and serve that to 21601 as well? This will relieve resources of your web server and database server because less PHP often means less queries.

If you're like me and you're interested in the stats of your website or blog, you might also want to know how many Diggs all of your articles have received. But that can become quite a pain when you have more and more articles, pages or blog posts. So why not let PHP retrieve the Digg count of your articles so you can use it in graphs or other statistic tools?

If you've got a website that's heavy on your web server, you might want to run some processes like generating thumbnails or enriching data in the background. This way it can not interfere with the user interface. Linux has a great program for this called cron. It allows tasks to be automatically run in the background at regular intervals. You could also use it to automatically create backups, synchronize files, schedule updates, and much more. Welcome to the wonderful world of crontab.

Writing code requires two important things: creativity & discipline. The creativity to create the unknown, unexplored, exciting parts of software. And the discipline to create the dull & all-too-well-known parts of software / documentation.
You may come up with new ways (or use frameworks) to reduce repetitive work. Effectively beating discipline with creativity. But boring stuff will still always be there in some form. And on days when creativity is low, you may need to tap into that jar of discipline so you can still be productive, by doing things you never feel like.
But every now & then, there is a day when bot...


This is a Javascript version of the PHP function: md5.

This is a Javascript version of the PHP function: strrpos.

This is a Javascript version of the PHP function: wordwrap.

A couple of years ago when everyone still had giant CRT monitors, resolutions of 1600x1200 were pretty common. Nowadays however 19" TFT monitors often cannot scale higher than 1280x1024. So how can we still fit more on one screen? DPI can help!

Running compiz-fusion for some time, one thing started to annoy me. Snapping windows. The first thing I obviously looked for was the Snapping Windows Plugin. But that was already disabled. I'm blogging the setting that controls this behavior because it took me some time to find it, I think other people may find it contra productive as well.

Thanks to a lot of extra effort by Michael White (http://crestidg.com) there now is a namespaced version of PHP.JS available for your coding pleasure.

Hello good people. Our little project is going strong and thanks to Felix Geisendörfer there are a couple of new developments that I want to share with you. I'll limit this article to SVN though.

Good testing will result in better code. If you have to wait endlessly for on SVN commits, uploads or compile steps, you will simply produce less inventive code. This has to do with: patience, creativity flow, will, and of course time. Constantly being interrupted breaks concentration. If there's one thing I've really learned, it's invest in a good testing environment. Rapid review of code results will pay off (I promise).
So it's OK to spend some time on learning a good IDE, and another trick to improve the speed & quality of development, is to virtualize your production pl...


Following Alan Pope and Christer Edwards, I too felt the need to log everything I that I setup right after an Ubuntu Desktop install. It ranges from customizing the user interface to setting up a programmers IDE. It's mainly for future reference by myself, but may bring you on a couple of ideas as well.

Making sure your system is up to date is a key attribute to it's security. Furthermore Ubuntu releases updates pretty often and you probably don't want to miss out on added stability and features. You could run updated manually, but why not schedule the updates in the background to make sure you are always running the latest stable versions, without ever having to worry about it.

With SSH you can securely login to any Linux server and execute commands remotely. You can even use SSH to transfer and synchronize files from one server to another. Automating these tasks can make your life easier, but normally SSH prevents that because it requires you to login every time. Well, not anymore, in this article I will show you how to connect to SSH without a password.

I recently faced a programming challenge that almost broke my brain. I needed to create a function that could explode any single-dimensional array into a full blown tree structure, based on the delimiters found in it's keys. Tricky part was size of the tree could be infinite. I called the function: explodeTree. And maybe it's best to first look at an example.

This is a Javascript version of the PHP function: chr.

This is a Javascript version of the PHP function: intval.

CDs and DVDs don't have the eternal life, so you might want to back them up as ISO images. All the files and properties of the original disc, stored in a single file. You can also create ISO images and store them on your network for easy distribution of software installations. Here's how to create and mount ISO images on Linux.

I scourged the web today looking for the very best (and free) tips on increasing a site's PageRank, and I figure it basically comes down to these simple tips.

When you've written an article that benefits other surfers, you want them to know, right? One way to go about this is to publish your article at Digg. Making it to their FrontPage would be totally awesome. Good content is the main thing there, but there are some other tips that can help you. I did quite a bit of research - so you don't have to -  and this is my top 5.

Deleting a file or reformatting a disk does not destroy your sensitive data. The data can easily be undeleted. That's a good thing if you accidentally throw something away, but what if your trying to destroy financial data, bank account passwords, or classified company information. What if you want to clean your computer before selling it for instance?

I've been programming a lot with Quanta which is a leightweight kdevelop based IDE. It did the trick for quite some time, but recent developments in my coding life like SVN brought me on a Quest for my new ultimate PHP IDE.

Or: How to convert multipage TIFF to PDF in PHP. Let's say you have a fax with multiple pages that has been stored as a TIFF and you want to convert it to PDF using PHP for digital document flow. In this article I will show you a tiff2pdf function for PHP, because it cannot be done directly with ImageMagick.

Let's say your site is becoming a big success and as a result it's becoming slower and slower. There are several things you do without buying additional hardware.

Let's say you want your local restricted users to be able to restart specific services. On linux you'd probably type visudo. In Windows I found, you have to dig a little deeper into the system and really do your research. I needed several sites, programs and articles. So I thought it might be useful to others if I'd bundle all the required information in one place. Here it is.

I recently had to install a couple of squid servers to act as reverse proxies for a webcluster. You can teach the squid server to stand in between in the end users and the webservers, and to store all the static content ( .jpg .flv .css .htm for example ) in the RAM. This saves a lot of I/O and bandwidth on the webservers, and it can really speeds up a site. And the end of the road the webservers' load dropped with 92%. But before all this worked, I had to run through a massive config file and since the squid config file is their manual at the same time, it's about 5000 lines long. So I had to find out a way to filter only the important settings from the config file.

If you're running Squid to cache your website, you can use an htaccess file to control what kind of files should be cached, and for how long.

Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practicle or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up.

This is a Javascript version of the PHP function: print_r.

Readable URLs are nice. A well made website will have a logical layout, with intelligent folder and file names, and as few technical details as possible. In the most well designed sites, readers can guess at filenames with a high level of success. Clean URLs are great because they.

IDs are often numbers. Unfortunately there are only 10 digits to work with, so if you have a lot of records, IDs tend to get very lengthy. For computers that's OK. But human beings like their IDs as short as possible. So how can we make IDs shorter? Well, we could borrow characters from the alphabet as have them pose as additional numbers.... Alphabet to the rescue!

This is a Javascript version of the PHP function: implode.

This is a Javascript version of the PHP function: serialize.

I tried to do some Image Magick with PHP recently on an Ubuntu Feisty machine, and even though I had the required package: 'php5-imagick' installed, and I updated my php.ini with imagick.so, I kept getting the error Class 'Imagick' not found. This is how I eventually fixed it.

Ever wanted to change the crontab of a server, but got an editor on screen that you're totally unfamiliar with? There are a lot of causes for this annoyance, but one is that somebody recently installed or used midnight commander (mc) which for whatever reason seams to overrule your session's default editor.

I ran accross php value, php flag, php admin value and php admin flag in a couple of .htaccess files, and I've used them sometimes as well by just pasting an example, but I've never really understood why there was such a great diversity. Couldn't php_setting X Y just handle it, and if not, what do the admin, value and flag attributes mean?

You want your website to be as safe as possible. So you'll typically want Open Basedir and Safe Mode to be on. When you're in a shared hosting environment, you'll find that any server administrator with a good sense of security will also have these restrictions in place. However security pretty much always limits functionality and this case is no different. Because what if you are caged in a restricted environment, and you would still like to use shared libraries like the ones provided by PEAR?

Last friday, PHP announced the end of life of version 4 of their popuplair scripting language.

This is a Javascript version of the PHP function: date.

Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to 28,000 inserts per second. Checkout my late night benchmarking adventures.

I had some difficulties playing Flash videos lately. Problems ranged from lagging sound, to ugliness, to idling black screens, to strange gray Play buttons that didn't do anything. The following solved my Flash issues on Ubuntu.

If you are in IT professionally (coding or sysadmin) you will be staring at monospaced fonts for many many hours a day. So it's probably justified to spend 2 minutes picking a very good one. It can make your work (typing ; ) just a little bit more pleasing.

I used to use Dean Edwards Javascript Packer a lot to compress my Javascript sources. Libraries of 100kB could easily shrink to 30kB and that saves load times & bandwidth. A good writeup by Julien Lecompte made me realize that there were better ways.

This is a Javascript version of the PHP function: htmlspecialchars.

Recently I had to migrate all MySQL databases from one server to another. This was a one time only operation, so setting up replication wasn't an option. And restoring a backup on the new server involved more downtime than strictly necessary. I figured the most ideal way would be to dump the active MySQL directly into the new MySQL instance. And that's what I did.

Pictures say more than a thousand words. This is true for your data as well. With Google Chart you can now easily generate charts of your data. No expertise required. Just make sure you format your data correctly, add it to the Google Chart URL, and it will return a nice graph.

In PHP, sessions can keep track of authenticated in users. They are an essential building block in today's websites with big communities and a lot of user activity. Without sessions, everyone would be an anonymous visitor. In system terms, PHP sessions are little files, stored on the server's disk. But on high traffic sites, the disk I/O involved, and not being able to share sessions between multiple webservers make this default system far from ideal. This is how to enhance PHP session management in terms of performance and shareability.

This is a Javascript version of the PHP function: strncasecmp.

This is a Javascript version of the PHP function: runkit_method_remove.

This is a Javascript version of the PHP function: acos.

This is a Javascript version of the PHP function: runkit_method_rename.

This is a Javascript version of the PHP function: acosh.

This is a Javascript version of the PHP function: runkit_superglobals.

This is a Javascript version of the PHP function: asin.

This is a Javascript version of the PHP function: convert_uuencode.

This is a Javascript version of the PHP function: asinh.

This is a Javascript version of the PHP function: localeconv.

This is a Javascript version of the PHP function: atan.

This is a Javascript version of the PHP function: nl_langinfo.

This is a Javascript version of the PHP function: atanh.

This is a Javascript version of the PHP function: quoted_printable_decode.

This is a Javascript version of the PHP function: ceil.

This is a Javascript version of the PHP function: quoted_printable_encode.

This is a Javascript version of the PHP function: cos.

This is a Javascript version of the PHP function: str_getcsv.

This is a Javascript version of the PHP function: cosh.

This is a Javascript version of the PHP function: str_word_count.

This is a Javascript version of the PHP function: exp.

This is a Javascript version of the PHP function: strcoll.

This is a Javascript version of the PHP function: floor.

This is a Javascript version of the PHP function: substr_compare.

This is a Javascript version of the PHP function: log.

This is a Javascript version of the PHP function: substr_replace.

This is a Javascript version of the PHP function: pi.

This is a Javascript version of the PHP function: get_resource_type.

This is a Javascript version of the PHP function: pow.

This is a Javascript version of the PHP function: is_binary.

This is a Javascript version of the PHP function: sin.

This is a Javascript version of the PHP function: is_buffer.

This is a Javascript version of the PHP function: sinh.

This is a Javascript version of the PHP function: is_resource.

This is a Javascript version of the PHP function: sqrt.

This is a Javascript version of the PHP function: is_unicode.

This is a Javascript version of the PHP function: tan.

This is a Javascript version of the PHP function: var_dump.

This is a Javascript version of the PHP function: tanh.

In another article I've told you about how I would like to see one rule removed from the PEAR Coding Standards. This rule would allow developers a bit more flexibility, while staying true to the convention.

This is a Javascript version of the PHP function: fmod.

This is a Javascript version of the PHP function: deg2rad.

This is a Javascript version of the PHP function: rad2deg.

PHP 5.3 is a big leap forward for PHP and brings of a lot of neat features. However, big leaps can also mean big changes and potentially big breakage when it comes to backwards compatibiltiy. I did some experimenting with running a big legacy application and a CakePHP application on PHP 5.3 and would like to share my findings with you. Here are a couple of tips to prepare your code for PHP 5.3

This is a Javascript version of the PHP function: dechex.

This is a Javascript version of the PHP function: hexdec.

This is a Javascript version of the PHP function: decbin.

This is a Javascript version of the PHP function: decoct.

If you store application data in memcache, you may want to invalidate it once you deploy a new version to avoid corruption or weird results. There are several ways to do this but I recently tried one using nothing but BASH, and I like it.

This is a Javascript version of the PHP function: base_convert.

This is a Javascript version of the PHP function: bindec.

Today I've moved all of my SVN repositories over to GitHub. 5 private reps and 4 public ones. Two of which you may know: PHP.JS and System_Daemon.

This is a Javascript version of the PHP function: octdec.

When migrating projects over to GitHub, I found there were still some passwords inside my SVN repositories. Obviously it's not good practice to store your passwords in a code repository - let alone at a remote location, so I wanted to replace all passwords. Not only in the current version, but in all commits that have been made over the past 3 years. Luckily with Git - you can.

This is a Javascript version of the PHP function: getrandmax.

This is a Javascript version of the PHP function: hypot.

Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib - a collection of code snippets too small or unfinished to deserve their own repository. But I find working with this class so pleasant, I thought I'd share the fun.

This is a Javascript version of the PHP function: is_finite.

This is a Javascript version of the PHP function: array_replace.

This is a Javascript version of the PHP function: is_infinite.

This is a Javascript version of the PHP function: array_replace_recursive.

This is a Javascript version of the PHP function: is_nan.

This is a Javascript version of the PHP function: bcadd.

This is a Javascript version of the PHP function: lcg_value.

This is a Javascript version of the PHP function: bccomp.

This is a Javascript version of the PHP function: mt_getrandmax.

This is a Javascript version of the PHP function: bcdiv.

This is a Javascript version of the PHP function: mt_rand.

This is a Javascript version of the PHP function: bcmul.

This is a Javascript version of the PHP function: is_bool.

This is a Javascript version of the PHP function: bcround.

This is a Javascript version of the PHP function: sleep.

This is a Javascript version of the PHP function: bcscale.

Hi folks. As you may or may not know, I have a love/hate relationship with my IDE: Eclipse PDT. For times and times we get along well. But once every while it gets messed up, and it's a pain to straighten it out again. Or at least, it was.

This is a Javascript version of the PHP function: bcsub.

One error that has bugged my Eclipse PDT for a long time, was org.eclipse.emf.ecore.util.EcoreEMap $DelegateEObjectContainmentEList. A vague error, not much to go on, not many hits on google either. Turned out it had to do with the version of my Java Runtime Environment I was using.

This is a Javascript version of the PHP function: class_alias.

This is a Javascript version of the PHP function: log10.

This is a Javascript version of the PHP function: error_get_last.

This is a Javascript version of the PHP function: get_html_translation_table.

This is a Javascript version of the PHP function: error_reporting.

Hi there. I'm making use of RSS feeds more than I did before. This has to do with Google Reader - which is very neat - and a lack of time. Having sites keep ME up to date, is way more relaxed than scouring the web myself. So I figured I might want to return the favor and make my blog a bit more accessible by introducing two new feeds.

This is a Javascript version of the PHP function: trigger_error.

Recently I needed ogg123 on an Ubuntu server to convert some media. Naturally, I wanted to use aptitude to install it, but I didn't know what package it was in. Now, you can always google of course, but you can also use system commands to find the package you need.

This is a Javascript version of the PHP function: user_error.

This is a Javascript version of the PHP function: escapeshellarg.

This is a Javascript version of the PHP function: forward_static_call.

This is a Javascript version of the PHP function: forward_static_call_array.

This is a Javascript version of the PHP function: array_slice.

This is a Javascript version of the PHP function: i18n_loc_get_default.

This is a Javascript version of the PHP function: file_exists.

This is a Javascript version of the PHP function: i18n_loc_set_default.

This is a Javascript version of the PHP function: filesize.

This is a Javascript version of the PHP function: get_extension_funcs.

This is a Javascript version of the PHP function: array_fill_keys.

This is a Javascript version of the PHP function: get_include_path.

This is a Javascript version of the PHP function: array_filter.

This is a Javascript version of the PHP function: restore_include_path.

This is a Javascript version of the PHP function: array_merge.

This is a Javascript version of the PHP function: set_include_path.

This is a Javascript version of the PHP function: array_merge_recursive.

This is a Javascript version of the PHP function: version_compare.

This is a Javascript version of the PHP function: chunk_split.

This is a Javascript version of the PHP function: stream_context_create.

This is a Javascript version of the PHP function: stream_context_get_default.

This is a Javascript version of the PHP function: constant.

This is a Javascript version of the PHP function: stream_context_get_options.

This is a Javascript version of the PHP function: define.

This is a Javascript version of the PHP function: stream_context_get_params.

This is a Javascript version of the PHP function: chop.

This is a Javascript version of the PHP function: stream_context_set_default.

This is a Javascript version of the PHP function: quotemeta.

This is a Javascript version of the PHP function: stream_context_set_option.

This is a Javascript version of the PHP function: get_headers.

This is a Javascript version of the PHP function: stream_context_set_params.

This is a Javascript version of the PHP function: getdate.

This is a Javascript version of the PHP function: stream_get_contents.

This is a Javascript version of the PHP function: microtime.

This is a Javascript version of the PHP function: stream_get_line.

This is a Javascript version of the PHP function: each.

This is a Javascript version of the PHP function: stream_is_local.

This is a Javascript version of the PHP function: gettype.

This is a Javascript version of the PHP function: metaphone.

This is a Javascript version of the PHP function: is_double.

This is a Javascript version of the PHP function: money_format.

This is a Javascript version of the PHP function: is_float.

This is a Javascript version of the PHP function: is_integer.

This is a Javascript version of the PHP function: is_long.

The core of our new project runs on Node.js. With Node you can write very fast JavaScript programs serverside. It's pretty easy to install Node, code your program, and run it. But how do you make it run nicely in the background like a true server?

This is a Javascript version of the PHP function: is_scalar.

At our company we have a lot of uses for a solid API. We can use it to distribute config files, have servers report in, let customers edit DNS records using their own interface, etc. Now that I'm converting all of our legacy code to a big CakePHP application, the API needed a revisit as well. I chose to use REST as a standard, read about everything related to Cake & REST, and started hacking on a reusable plugin. The idea is that you can drop it in any application and unlock existing functionality to REST with minimal changes to your code.

This is a Javascript version of the PHP function: array_splice.

This is a Javascript version of the PHP function: func_get_arg.

I still got sites running Apache, but all new projects are launched with Nginx. I don't need many of the features that Apache offers, and the speed gain of Nginx is just tremendous. Once you've experienced it, I doubt you'll want to go back.

This is a Javascript version of the PHP function: func_get_args.

This is a Javascript version of the PHP function: func_num_args.

This is a Javascript version of the PHP function: get_defined_functions.

This is a Javascript version of the PHP function: strspn.

This is a Javascript version of the PHP function: class_exists.

This is a Javascript version of the PHP function: method_exists.

This is a Javascript version of the PHP function: property_exists.

This is a Javascript version of the PHP function: strtotime.

This is a Javascript version of the PHP function: call_user_func.

This is a Javascript version of the PHP function: get_defined_vars.

This is a Javascript version of the PHP function: die.

This is a Javascript version of the PHP function: function_exists.

This is a Javascript version of the PHP function: exit.

This is a Javascript version of the PHP function: trim.

This is a Javascript version of the PHP function: current.

This is a Javascript version of the PHP function: base64_decode.

This is a Javascript version of the PHP function: key.

This is a Javascript version of the PHP function: base64_decode.

This is a Javascript version of the PHP function: next.

This is a Javascript version of the PHP function: is_array.

This is a Javascript version of the PHP function: pos.

This is a Javascript version of the PHP function: ord.

This is a Javascript version of the PHP function: prev.

This is a Javascript version of the PHP function: pathinfo.

This is a Javascript version of the PHP function: str_pad.

This is a Javascript version of the PHP function: extract.

This is a Javascript version of the PHP function: setrawcookie.

This is a Javascript version of the PHP function: str_shuffle.

This is a Javascript version of the PHP function: explode.

This is a Javascript version of the PHP function: strrchr.

This is a Javascript version of the PHP function: addslashes.

This is a Javascript version of the PHP function: strtok.

This is a Javascript version of the PHP function: stripslashes.

This is a Javascript version of the PHP function: strtr.

This is a Javascript version of the PHP function: vsprintf.

This is a Javascript version of the PHP function: crc32.

This is a Javascript version of the PHP function: array_intersect.

This is a Javascript version of the PHP function: is_numeric.

This is a Javascript version of the PHP function: array_intersect_assoc.

This is a Javascript version of the PHP function: nl2br.

This is a Javascript version of the PHP function: array_intersect_key.

This is a Javascript version of the PHP function: array_uintersect.

This is a Javascript version of the PHP function: strtolower.

This is a Javascript version of the PHP function: strval.

This is a Javascript version of the PHP function: strtoupper.

This is a Javascript version of the PHP function: lcfirst.

This is a Javascript version of the PHP function: ucwords.

This is a Javascript version of the PHP function: strcspn.

This is a Javascript version of the PHP function: str_replace.

This is a Javascript version of the PHP function: array_diff_uassoc.

This is a Javascript version of the PHP function: str_rot13.

This is a Javascript version of the PHP function: array_diff_ukey.

This is a Javascript version of the PHP function: soundex.

This is a Javascript version of the PHP function: array_intersect_uassoc.

This is a Javascript version of the PHP function: strip_tags.

This is a Javascript version of the PHP function: array_intersect_ukey.

This is a Javascript version of the PHP function: ltrim.

This is a Javascript version of the PHP function: array_udiff.

This is a Javascript version of the PHP function: rtrim.

This is a Javascript version of the PHP function: array_udiff_assoc.

This is a Javascript version of the PHP function: include.

This is a Javascript version of the PHP function: array_udiff_uassoc.

This is a Javascript version of the PHP function: include_once.

This is a Javascript version of the PHP function: array_uintersect_assoc.

This is a Javascript version of the PHP function: utf8_decode.

This is a Javascript version of the PHP function: array_uintersect_uassoc.

This is a Javascript version of the PHP function: utf8_encode.

This is a Javascript version of the PHP function: arsort.

This is a Javascript version of the PHP function: array_combine.

This is a Javascript version of the PHP function: asort.

This is a Javascript version of the PHP function: uksort.

This is a Javascript version of the PHP function: get_meta_tags.

This is a Javascript version of the PHP function: array_pop.

This is a Javascript version of the PHP function: rawurldecode.

This is a Javascript version of the PHP function: array_push.

This is a Javascript version of the PHP function: rawurlencode.

This is a Javascript version of the PHP function: array_search.