Free PHP, HTML, CSS, JavaScript editor (IDE) – Codelobster PHP Edition

PHP
  For significant work on making of locales, you require a decent agreeable editorial manager essentially. There are many requiring paid items, for this reason, however, we might want to choose for nothing out of pocket extremely useful and in the meantime of straightforward in the utilization manager - Codelobster PHP Version. Give us a chance to think of some as imperative potential outcomes and focal points of this program: All code features relying upon a sort, the additionally blended code is subsequently upheld, so the region of HTML will be featured as HTML, PHP as PHP, and Javascript as Javascript in a similar document. There is the probability of decision from shading plans, including well known IDEs. Powerful autocompletion for HTML, PHP, CSS and Javascript, including HTML5 and CSS3.…
Read More

Five Reasons Why You Should Go With PHP

PHP
Reasons simply incline us to believe in our decisions. They tend us to work hard to prove our decision as the productive ones. Therefore, you should give reasons to yourself before taking any decision that affects the future of your business organization. So, if you are going to use PHP in your website as a lead programming language or any Web Development Company then you should give at least five reasons that are tending you to pick PHP out of dozens of other programming languages. These reasons will help you in evolving your website with openness of this programming language. Well, you will be aware with its open source nature and other aspects but you will read about the special opportunities that can be availed with these aspects in upcoming lines. Open…
Read More

5 Tips that’ll insure Your PHP Outsourcing from Fraudulent Developers

PHP
Well, it is common to meet with unauthentic web developers over web. There are millions of web developers and you cannot check everyone. So, you will be looking for some tips and tricks to insure your outsourcing project from all possible hurdles. If it is so then you have reached on a right web post. Here are some tips to help you in finding right web developers, hiring them under appropriate models, and keeping them by your side for long-term support. These tips will help you in availing offshore PHP Development in a productive & safe manner. Find Your Developers with Google Usually, business owners do not prefer to use Google for finding their offshore coding agents. Up to some extents, it is ok but when you go for big…
Read More

Enable GZip Compression

PHP
Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today's Internet traffic through browsers that claim to support gzip. Gzip is a server process that essentially compresses your files on the fly before transmission to the user. It is primarily used to compress text files such as HTML, CSS, and JavaScript with impressive results. GZip method was used in earlier version of apache (before apache 1.3). But after that apache introduced deflate method which is not much effective as Gzip (But still it is very good). But GZip is no more supported after apache 1.3. So in now a days you must have Apache greater than 1.3 and if not you must upgrade to latest version.…
Read More

Recursive Delete Function

PHP
Sometimes we need to delete any particular directory or all files and sub directory in one specific directory. People who have computer repair training may need to do this from time to time. The following function is useful if you wish to clear out all files and folders in one particular directory. [php] <?php function DELETE_RECURSIVE_DIRS($dirname) { // recursive function to delete // all subdirectories and contents: if(is_dir($dirname))$dir_handle=opendir($dirname); while($file=readdir($dir_handle)) { if($file!="." && $file!="..") { if(!is_dir($dirname."/".$file))unlink ($dirname."/".$file); else DELETE_RECURSIVE_DIRS($dirname."/".$file); } } closedir($dir_handle); rmdir($dirname); return true; } ?> [/php] [JWD-Web-Development]
Read More

Read xml data in php

PHP
PHP: Hypertext Preprocessor programming language, a popular dynamic web page scripting language, features the built-in SimpleXML extension, which simplifies reading and using XML in your PHP scripts. Read an RSS feed, XML office documents, or your own custom XML document. Here we use SimpleXML library, which is not only the best for converting string to XML object but is also built into PHP core so there is no need to install it. Once you have the URL of the XML feed that you are going to use, you need to have PHP load the contents of the feed into a string variable. Using file_get_contents, you could fetch the XML file like so: How to Read an XML File With PHP [php] <?php $xmlStr = file_get_contents('http://www.youdomain.com/feeds/news.xml'); $xmlObj = simplexml_load_string($xmlStr); $arrXml =…
Read More

Check youtube video is still valid

PHP
Check youtube video is still valid using youtube's API Manytimes youtube user can decide to delete their video.So I would like to periodically run a script to check that the youtube video is still valid or not. Suppose your Youtube url is : http://www.youtube.com/v/jc0rnCBCX2c So here your Youtube video Id is jc0rnCBCX2c $vid[video Id] posible format/sintax: 1. http://www.youtube.com/watch?v=[ID]&feature=…&… 2. http://www.youtube.com/watch?v=[ID] 3. www.youtube.com/watch?v=[ID] 4. youtube.com/watch?v=[ID] 5. http ://www.youtube.com/v/[ID] 6. www.youtube.com/v/[ID] 7. youtube.com/v/[ID] 8. [ID] 9. …. and any valid youtube video url [php]<?php function checkYoutubeId($id) { if (!$data = @file_get_contents("http://gdata.youtube.com/feeds/api/videos/".$id)) return false; if ($data == "Video not found") return false; return true; } ?> [/php] http://gdata.youtube.com/feeds/api/videos/jc0rnCBCX2c if it does not exist then you will get a page with "Invalid id" if it exists, will return an XML feed having various info…
Read More

iDeal Payment Integration

PHP
What is iDEAL? iDEAL is a standardised payment method for making secure online payments directly between bank accounts. To offer iDEAL as a payment method in an online store, a direct link is established with the systems of participating banks. In other words, this one connection to iDEAL enables each webshop’s visitor with access to online banking of ABN AMRO, ASN Bank, Friesland Bank, ING, Rabobank, RegioBank, SNS Bank, Triodos Bank or Van Lanschot Bankiers to make payments in this way. No other payment product offers this facility. iDEAL is steadily gaining a reputation as a trusted online payment method. Already more than half of all Dutch online shoppers use iDEAL. How does iDEAL work? iDEAL is easy to use and requires just a few simple steps on the part…
Read More