Archive for the ‘PHP’ Category
PHP FAQs
Sunday, August 21, 2011 3:59 No CommentsWhat is PHP? PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. What does PHP stand for? PHP stands for PHP: Hypertext Continue Reading »
Php Frameworks
Friday, August 19, 2011 22:31 2 CommentsPhp Frameworks Zend http://www.zend.com/en/ Code Igniter http://codeigniter.com/ Yii http://www.yiiframework.com/ CakePHP http://cakephp.org/ Symfony http://symfony.com/ Silex http://silex-project.org/ FuelPHP http://fuelphp.com/ Kohana http://kohanaframework.org/ ThinkPHP http://www.thinkphp.cn/ (Chinese) phpRaise http://code.google.com/p/phpraise Tlalokes http://tlalokes.org
PHP vs. Ruby on Rails
Tuesday, February 1, 2011 6:28 1 CommentIs it really worth my while to compare Ruby on Rails(RoR) and php? They are completely different technologies. PHP is a glorified scripting language. Ruby on Rails is a frame work for the Ruby language. The question should be Ruby vs PHP or RoR Vs CakePhP/ZEND/Yii. PHP logo RoR logo PHP and Ruby on Rails Continue Reading »
How to check Link popularity or back links for a domain in php
Tuesday, April 20, 2010 5:06 1 CommentHow to check Link popularity or back links for a given domain in php? Link popularity is a measure of the quantity and quality of other web sites that link to a specific site on the World Wide Web. It is an example of the move by search engines towards off-the-page-criteria to determine quality content. Continue Reading »
Get a domain name’s IP address with PHP
Friday, April 9, 2010 7:36 No CommentsHow to get Domain name’s IP address with PHP ?. It’s very easy to get the IP address for a domain name using PHP. We have two powerful functions in php to get the IP address of a domain name. Those functions are gethostbyname() gethostbynamel() The first one will return IP address corresponding to a Continue Reading »
How to know Mysql Version Using PHP
Thursday, April 8, 2010 2:11 No CommentsHow to know Mysql Version Using PHP ?. We can know the mysql version in the phpinfo. But if we want to display the mysql version in any web page dynamically, how we are you going to deal with that ?. A little bit logic and a liitle bit manipulation on the phpinfo information we Continue Reading »
How to connect to FTP and upload file using php code?
Saturday, April 3, 2010 3:15 No CommentsHow to connect to FTP and upload file using php code? The following code will connect to the ftp and upload the file to the server using php code <?php $ftp_server=â€HOST NAMEâ€; $ftp_user_name=â€USER NAMEâ€; $ftp_user_pass=â€PASSWORDâ€; $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, “$ftp_user_nameâ€, “$ftp_user_passâ€); if ((!$conn_id) || (!$login_result)) { echo Continue Reading »
Display all PHP Errors and Warnings
Saturday, March 20, 2010 1:14 No CommentsHow do i display errors in php if error display setting is off in my server configuration? Here are the two simple things to display errors even if the error display setting is off in server. error_reporting(E_ALL); ini_set(‘display_errors’, ’1′);
How to Redirect from Your Root Domain to the WWW Subdomain
Wednesday, February 17, 2010 2:14 No CommentsHow to Redirect from Your Root Domain to the WWW Subdomain and Vice Versa Using mod_rewrite? Most websites stick to one form of their domain name when they refer to their own site, be it the plain domain name, like example.com, or the www form, like www.example.com. Unfortunately others linking to you don’t always follow Continue Reading »
404 redirect using htaccess
Wednesday, February 17, 2010 2:05 No CommentsHow do I make it so instead of a 404, the home page or any specified page comes up? Here is simple trick for that .. You will probably want to create an error document for codes 404 and 500, at the least 404 since this would give you a chance to handle requests for Continue Reading »