We now support CodePen embeds! While our page editor strips out most HTML tags, including <script> tags, we've made a special provision to support tags specifically from CodePen. All you need to do is paste the embed code directly from CodePen into the page editor.
Sometimes you need to do preg_replace on user input. Don't forget to escape all special characters or you'll get funny results. Here is how:
As the title states, this is just a small class I've written to represent a Matrix object as seen every so often in various disciplines of mathematics. Matrices are, in programming terms, basically a two dimensional array of integers that can represent anything from trigonometric angles, and vectors; to any number of notable applications including tracking network paths, and applying cryptography calculations,..
If you have a form which ob being filled, you would like the user to be redirected to another page. In these cases if you try to post to $_SERVER['PHP_SELF'], this will not work.
This will run nl2br on everything inside a string except for what is between the opening and closing tags. For example you can add 's to a comment that contains [ code ] tags without touching the code itself:
This code is a basic simplistic script designed for 1.0+ versions of the new and unique PITC IRC Client written in pure PHP. It has a fantastic API. Try it out yourselves. Has some humor in it. Don't take my try on the actual product =p. Love PHP.
Grabs & formats a new version of tvrage's myrss.php file daily, from here it'd be easy to insert items to mysql ... Mobbed @ 08:00 pm ( 2012-07-14 ) [ S01E07 ] You're Fired http://www.tvrage.com/Mobbed My Cat From Hell @ 08:00 pm ( 2012-07-14 ) [ S03E03 ] Kitty Dearest http://www.tvrage.com/My_Cat_From_Hell NYC 22 @ 08:00 pm ( 2012-07-14 ) [ S01E07 ] Block Party http://www.tvrage.com/The_2-2 ...
This is an easy to maintain method for creating clean urls without any file extensions. It's very good for hiding your underlying programming language and offers a more user friendly experience. It only uses a single series of mod_rewrite rules then all the rest of the logic can be accomplished within your script. You'll need mod_rewrite enabled and you can put these rules into your .htaccess or..
This script give your Google Voice a SIP Number (as well as a Skype number), which people can call without calling through real telephones. It also allows you to add phone number aliases (even International numbers) to your GV number so people in other areas can call your GV number as a local call, or at least without International calling fees.
This script lets you forward to any SIP (or regular) number using a US number that you choose as a forwarding phone. I also added the ability to record outgoing calls, and automatic GV number verification, which can be used for people who don't have any US numbers to verify their new GV accounts. Also you can use this script to forward to numbers with extensions.