PHP Timezones selector
Long time a go I wrote about how to get timezones selector. Well here there’s an improve way to get this select, with few options. Result: Adak Anchorage Anguilla Antigua Araguaina Argentina –...
View ArticlePHP – Garbage Collector
Memory cleanup for long-running scripts. gc_enable(); // Enable Garbage Collector var_dump(gc_enabled()); // true var_dump(gc_collect_cycles()); // # of elements cleaned up gc_disable(); // Disable...
View ArticlePHP Hook System
You know the hooks for WordPress? So here you have a simple workaround to achieve a similar aproach to what WordPress does. Usage and instuctions //Adding action to a hoook:...
View ArticleHelp Wanted: Open Classifieds 2.0.
Hello Friends, Since long time a go I’ve been thinking in the future of OC and we need to move forward to grow more ;) I think right now OC is a great product and is helping a lot of people, more than...
View ArticleSimple email function for PHP
Simple function to send an email in PHP, and that actually works ;) Just be aware that I added a Hook (check the PHP Hook class). /** * Simple function to send an email * * @param string $to * @param...
View ArticleDomain name sales
Hello, Since I don’t have much time to keep many of these domains, I decided to sell them to the best bidder. Classifieds sites: ocaku.com / ocacu.com - classifieds community. 13K web sites, 759K...
View ArticleCross-site Request Forgery prevention in PHP
Simple way to prevent Cross-site Request Forgery in php. //trying to prevent CSRF attacks function checkCSRF($key=''){ //correct referer or empty sent by browser, checkign the form if (...
View ArticlePHP class to export MySQL tables and optimize them
Hello, Today I am going to share a helpful library that I use some times to perform backups of the schema from a DB. It will create a unique file with the schema for each table you have in your DB for...
View ArticleGoogle Charts API – PHP Class
This class can embed charts in a Web page with Google Charts API. It can generate HTML and JavaScript to make calls to the Google Charts API to display several types of charts in a Web page. Currently...
View ArticlePHP BBcode to HTML parser
Just another class to convert from a BBcode to HTML. It has all the BBcode basics and also converts youtube video. It’s developed to be compatible with the nice WYSIWYG JQuery BBcode SCEditor Usage: if...
View ArticleGoogle Drive client for Linux
UPDATE 30/07/2012,a client developed by insync was released few days a go, wonderful ;) Wtih Grive you can easily download your Google Docs/Drive to your computer. To install it in Ubuntu just follow...
View ArticlePHP developers needed in Barcelona
Do you speak fluent English, you are a good PHP developer and want to work in Barcelona? We are seeking for several PHP profiles to start working with us! Requirements: Fluent English speaker Software...
View ArticleElasticemail Class
I like a lot how works Elasticemail.com , perfect to send emails using an external provider with tracking and really good price. I did an small class to easily send email using their system with PHP....
View ArticleRedirect Form – PHP
You want to redirect a form with all his data? This is a simple solution to use with php. Paste this code where was your original form: foreach($_POST as $key=>$value) { $fields_string .=...
View ArticlePHP SEO Report
With this class you will be able to get this information from a domain: Metas (description, keyword, title, language) Alexa Rank and Links Google PageRank, page speed, pages and links WOT ranking...
View ArticleChange live CSS with JS and PHP
We are going to use a simple methos to change the css of your site live. So for example you can let your users choos the template or color that they like the most. I used twitter bootstrap and the...
View ArticleUltra Light Captcha for PHP
So I was searching and searching and nothing really good was found… I just needed a captcha that didn’t weight too much, so no extra fonts, or images etc. So I took a different aproach, generating the...
View ArticleSan Francisco next 30 days (Until 19th Nov ’12)
Hello, I will be at San Francisco for 33 days since tomorrow (Until 19th Nov ’12), so if you fell for meeting for a drink let me know! Also I may not be around the forum as much as I wish. Regards
View ArticleOnline Tools
A list of useful links ;) Brainstorming & mind mapping http://mind42.com/ https://bubbl.us/ UML & Diagrams http://www.gliffy.com/ http://yuml.me/ Taskmanager https://trello.com/ https://do.com/...
View ArticleDate range PHP
You know Range from PHP? so this function does same but with given dates ;) Usage: //normal $dates = date_range(strtotime('-1 month'), time()); //advanced, using all parameters $dates =...
View Articleremodel, PHP models for redis
PHP CRUD for redis. You will need predis to make it work ;) Hope you enjoy still loads of things todo and to improve, but it does the work. Small example: ///MODEL EXAMPLE class Model_Post extends...
View ArticleHow to get a free classifieds web?
Of course Open Classifieds is your perfect solution! But what about the hosting? no problem we got that covered also ;) 1. Free Download Open Classifieds is for free, you will love it! it has...
View ArticleGit command line shortcuts
Here a short cheat sheet of common commands I use with git/github: #To stage any modified file, including deleted ones. git add -u #stage all new files git add . # Commit any local change in...
View Article
More Pages to Explore .....