Javascript Icon

PHP Functions in Javascript with php.js

Ever wished Javascript had similar extensive functionality as PHP? Well now you can use many of the PHP functions you’re use to using in Javascript with php.js. It’s a Javascript framework which has implemented many of the popular PHP functions so you can use them in Javascript. Take a look at the function list to see which functions they have implemented. You can either copy the Javascript code for the function you need for use in your own code or you can include their entire framework so you can access any function. It’s very useful for any Javascript intensive apps or for any PHP programmers that aren’t familiar with Javascript.

PHP Code

PHP: Ban Bad Bots

The love and hate of bots. They index, spam, scrape, hack, probe and who knows what else people program them to do. They eat up resources which can greatly reduce the performance of your web site. We need the good ones to index our site and bring us visitors so how do we separate the bad ones from the good ones?

Read more

PHP Code

PHP: Pipe Bounce Emails

Another great use for email piping is parsing bounce emails. This is very useful if you have a mailing list and need to remove any invalid or old email addresses. Sending emails to invalid addresses can land you on domain blacklists for possible spamming so it is definitely beneficial to trim any mailing lists you send out to.

Read more