Category : PHP

142 posts

TOP 5 Classified Ads Scripts in PHP- If you want to create a classified website like OLX, Quicker then Here I have complied some best Classified Ads Scripts in PHP. You can install these script in your website sub domain or main domain to list others ads on your website with fully functional Classified Ads …
Top 5 Online Hotel Booking Script in PHP- If you are working on project where you need to integrate online hotel booking system in your project then here I have compiled best free and paid hotel booking script in PHP. which you can download and integrate in your project to quickly integrate online hotel booking …
If you want to calculate number of days in specific month year then In php there is pre-define function called cal_days_in_month which return the number of days in a month for a given year and calendar. Copy Paste below function in your PHP file and use it to calculate days in a month. function getDays($month, …
IF You want to extract links of any web page using php script and store in your database or simply create url extractor to analyse any website then in this tutorial i am going to share simple php function which help you to extract all links of any web page, you only need to pass …
If you want to import mysql tables on run time of php application then here I am going to show you how you can easily restore mysql tables using PHP. Generally you use to import mysql database from PHPMyAdmin, It is one of the easiest method to import mysql database but if You are looking …
In this post I am going to share quick PHP Function to Convert Seconds into Years, Months, Days, Hours, Minutes and Seconds. It’ll convert total number of seconds into human readable format Years, Months, Days, Hours, Minutes and Seconds (eg: 246395678 seconds = 7 Years, 9 months, 21 days, 19 hours, 14 minutes and 38 …
You can simply use PHP predefined variable $_SERVER to get the full current page URL in PHP. The $_SERVER is a superglobal variable in PHP, $_SERVER is an array containing information such as headers, paths, and script locations. In below script first determine server protocol(http or https) then hostname and URI, and merge all these …
How to parse url and get URI segment in PHP In this quick post I’ll will show you How to parse url and get URI segment in PHP, The URL segments are used for many purposes in the web based application. for parsing URL segment easily you can use parse_url() function in PHP. Below I’ll …
PAGE TOP