Searching the domain information through command line. You can search the domain using the Linux command. #whois google.com using the following command you can find the all domain information. If you want check when domain created then use following command. … Continue reading
Category Archives: PHP
Checking directory and deleting the all one day old files from folder through php
If you want to find the old files from your system or server then you can use the following code. I used the following code for deleting the old files form system. For deleting the old files from system I … Continue reading
convert the wma files through php script in linux
When we use the mobile download we always get the wma files as song file. If you want to convert wma files to mp3 file. For that I written the simple PHP sciprt for converting the wma files through php … Continue reading
how to create virtual host in wamp server
Many PHP developers use the wamp server for development. For creating the virtual host just open the httpd.conf file from following location. C:\wamp\bin\apache\Apache2.2.11 Then uncomment the following line # Virtual hosts Include conf/extra/httpd-vhosts.conf Than open the httpd-vhosts.conf file from following … Continue reading
How optimize the all tables using php script
Optimizing tables is very necessary for database. That will improve the your website performance. Optimize command is helpful to manage database files in right manner. This command will optimize the size of file size of database files. If you want … Continue reading
How to decode and encode the string in php
Many times php developers want to encode there php or important HTML,CSS or Javascript code. In this article I will show you the very simple encoding with using base64_encode method. Here is working example. you can create your own antilogarithm … Continue reading
How to use mongodb with php
If you want to use the mongodb with php then you need to install pecl libraries. Mongo extension is not bundled with PHP. For installing the Mongo use following URL: If you dont have pecl installed on your linux machine … Continue reading
Post message to another server through fopen and fsockopen in php
When this comes to sending data to server to server we need to post the data using web services. Many people want to use the curl php method but there are serious issues with that. So I recomond to use … Continue reading
Convert unix time to UTC time php script
If you want to convert the unix time formart in simple readable format. If you got Unix time from some where and you need to convert to simple format then use following code. <?php $unix_timestamp = 1280225046; $date = date(“r”,$unix_timestamp); … Continue reading
Different today's date formats in php
Using Date function we can get the current date from server. Many times we need to store or display the current date. You can use following code format for showing date. <?php // Assuming today is Jul 10th, 2010, 5:16:18 … Continue reading






