sqlexpertz.wordpress.com
wp_localize_script: Passing parameters from PHP to Javascripts in plugins | sqlexpertz
https://sqlexpertz.wordpress.com/2013/11/14/wp_localize_script-passing-parameters-from-php-to-javascripts-in-plugins
Just another WordPress.com site. Wp localize script: Passing parameters from PHP to Javascripts in plugins. November 14, 2013. A while back, I wrote a post detailing why it was a bad idea to generate Javascripts using PHP in WordPress plugins. In that post, I mentioned a couple of better ways to do it. At the time, I didn’t know about the third, and best way, to accomplish this. Mike’s comment over there reminded me of it. WordPress has it built in. How to do it:. 8217;foo ’ = ’bar ’,. What this will do ...
sqlexpertz.wordpress.com
mysql: Create external table using CSV engine and file | sqlexpertz
https://sqlexpertz.wordpress.com/2013/11/20/mysql-create-external-table-using-csv-engine-and-file
Just another WordPress.com site. Mysql: Create external table using CSV engine and file. November 20, 2013. One thing that the CSV engine allows for is the instantaneous data transfer from flat files to information accessible via SQL in MySQL. For example, imagine having the need to load a file containing 5 million records into a MySQL table that uses the MyISAM storage engine:. Thus, you’ve effectively loaded 5 million records instantaneously into MySQL. The great thing is the same effect woul...Worpres...
eaziweb.blogspot.com
Eazi Web: August 2013
http://eaziweb.blogspot.com/2013_08_01_archive.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Friday, August 30, 2013. Increase Max Upload File Size in WordPress. Posted by Shahzeb Farooq Chohan. Subscribe to: Posts (Atom). Increase Max Upload File Size in WordPress. There was an error in this gadget. Http:/ www.ecarobar.com/. Awesome Inc. template. Powered by Blogger.
eaziweb.blogspot.com
Eazi Web: October 2013
http://eaziweb.blogspot.com/2013_10_01_archive.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Wednesday, October 2, 2013. Magento – Can’t Retrieve Entity Config Solution. After a recent update of MAMP on my system, I was no longer able to load Magento sites on my localhost. The problem seems to be a PHP compatibilty issue and the solution is pretty simple. Loading up Magento sites on my local development server, I found myself greeted with a page saying:. And unzip the file.
eaziweb.blogspot.com
Eazi Web: October 2012
http://eaziweb.blogspot.com/2012_10_01_archive.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Monday, October 22, 2012. Memcached using php and perl. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Perl script for fetching a Memcached result. Use Cache: Memcached;. Use Digest: MD5;. Use Digest: MD5 qw(md5 md5 hex md5 base64);. My $memcli = new Cache: Memcached {. Memcach...
eaziweb.blogspot.com
Eazi Web: PHP N-tier: Introduction N-Tier Strategy
http://eaziweb.blogspot.com/2013/05/php-n-tier-introduction-n-tier-strategy.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Friday, May 31, 2013. PHP N-tier: Introduction N-Tier Strategy. PHP N-tier: Introduction N-Tier Strategy. General principle that we must consider if wants to build N-tier application:. Every layer must be independent physically. It doesn't mean every layer have to exist in separated computer. But, every layer can be distributed every where (separated computer or not). Business Logic, ma...
eaziweb.blogspot.com
Eazi Web: November 2012
http://eaziweb.blogspot.com/2012_11_01_archive.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Tuesday, November 27, 2012. Compare two files using linux comm command. Comm Command: (to use this command file must b first sorted like cat file sort file1). For Common : comm -1 -2 file1 file2. Comm -1 -2 file1 file2 = 3,4,5. Comm -1 -3 file1 file2 = 6,7. Posted by Shahzeb Farooq Chohan. Friday, November 2, 2012. Pregmatch for shell script. Matches any string of zero or more characters.
eaziweb.blogspot.com
Eazi Web: March 2013
http://eaziweb.blogspot.com/2013_03_01_archive.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Tuesday, March 26, 2013. Cell padding and cell spacing in HTML. We can beutify our page by simple cellspacing and cell padding. Just have a look at code and output at the bottom. Title cell Padding /title. Border: solid 1px #666;. Margin-bottom: 0.5em;. Font:Arial, Helvetica, sans-serif;. Table width="100%" style="background-color: #FFFFFF;". Posted by Shahzeb Farooq Chohan.
eaziweb.blogspot.com
Eazi Web: First Wordpress plugin
http://eaziweb.blogspot.com/2013/06/first-wordpress-plugin.html
Eaziweb is a simple blog where a web developer/computer professional will find the solution for his day to day problem. Thursday, June 13, 2013. Plugin Name: crud operation. Plugin URI: www.datum.com. Description: a plugin for performing basic crud operations. Author URI: www.datum.com. Function crud setUserCaps($param) {. Editor = get role(strtolower($param) ;. Editor- add cap('edit download item');. Editor- add cap('read download item');. Editor- add cap('delete download item');. Function set caps() {.
SOCIAL ENGAGEMENT