grab our rss feed  WarpConduit on Facebook
WarpConduit.Net

Entries for the ‘Web Design & Development’ Category

PHP’s in_array() vs. jQuery’s inArray()

This one stumped me for a bit when i was trying to use jQuery to populate checkboxes with a list of items pulled from a database using PHP. The fact of the matter is that PHP’s in_array() returns a boolean whereas jQuery’s inArray() returns the index of the matching element, or if the element is [...]

RewriteRule and Trailing Slashes

Just a quick post today, i needed to redirect a URL with and without a trailing slash to the same destination, but didn’t want to create two separate rules, so I did some searching and found that it is very simple. RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^video(/)?$ http://video.somedomain.com [R=301,L] The (/)? is the key to matching [...]

mailto: Email Link Obfuscation (Hiding)

After searching for a good email link obfuscation script that allows the address to be seen as normal text i came upon a webpage that had a good solution, so i did a little reverse engineering and created this PHP script to output the same code, enjoy! <?php /** * @author Josh Hartman * @copyright [...]

Simple Standalone PHP Web Counter

In my search for a simple PHP web counter it was difficult to find one that wasn’t somehow connected to an external host and didn’t write IP addresses to a file and then use resources to search the file later.  With all the NAT firewalls out there counting visitors based on IP address just doesn’t [...]

Page 5 of 6« First...23456