This specific post was one that I decided to do, only because I thought I would never use it. This specific tool worked out great and allows users to have there SQL databases emailed to them. Now you are wondering why would somebody use this. Well it’s simple. I needed this specific tool only to [...]
While talking about chat application, these days people hate those kind application made in PHP which need page refreshing. In this post, I’ll show you six different free Ajax chat applications which might be very useful if you’ve to use Ajax based chat application. Depending upon the requirement of your chat application, you can use [...]
One of the more efficient ways to handle current navigation highlighting is to give each of your navigation items a unique class name. Then give each page a unique ID on the body element. Then CSS can control what each navigation item looks like based on that body ID. But what if you are using a CMS like WordPress which includes that body tag as part of a template? In this case, we can use PHP to
In this post, I’ll show you how can you download the multiples files in a zip archive using PHP. I’ve made a function in PHP where you’ve to pass the parameters the array of files to be zipped, the second parameter is file name as which zip archive file has to be downloaded and finally [...]
Here it is, a post after so long!
We see “Search” feature on almost all websites. Some employ third-party
tools (like Google Custom Search) while others, mostly CMS based websites, have
their own Search feature. The question now is, How do Search Feature Work? Answer
is, it (almost always) uses MySQL (or database server’s capability. You
all might be knowing that CMS
I expect that the previous post regarding to the file upload becomes beneficial to you. Now let us become more specific. You may like to restrict user in many circumstances. So, today I am going to deal with the restriction made to the file size during the file uploads. There may be many solutions. [...]
Parsing the XML has been a tough task among the programmer of PHP. I frequently get questions from my friend and via email “How can we parse XML in an easy way? It seems to be a tough task”. If SimpleXML extension is loaded in PHP then it’s not a tough task. But, keep in [...]
Directory Listings, list files and subfolder using php
This is the simple example to list contents of any Directory. To do this we are going to def1 Vote(s)
I’ll eventually get the whole thing up here, but I’ve been working on a simple server info script to help me and the other members of the system admin team keep up with the gazillion servers we have and all their different configurations. One of the reasons it’s taking so long (aside from my recent alcohol binges) is that it has to be portable to every server without the need for specific modifications, regardless of their setup. This eventually calls for using a simple if statement and empty() function to decide what info to output. Really, it’s so easy that I don’t even know why I’m posting it, but it kinda supplements this and this.
I’ll take the Ruby example I used earlier to find out what version of Ruby is installed:
$rubyver = exec("ruby -v |awk {'print $2'}"); ?>
Most of our servers don’t have Ruby installed, so I instead of getting an ugly ass error or nothing at all, I’d rather the script gracefully output its ab
Chad show us how to make a simple flash video jukebox using PHP. Check his tutorial, and download...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
These days everybody wants to have fresh content on their web site. Search engines like to see dynamic web pages, where the content is updated on a regular basis. Static pages that have information that doesn’t change are not only boring, but less likely to be visited by a search engine spider than a page [...]
The aspiring small-scale entrepreneur wanting to go global and online from a small regional business would invariably need a website the website needs to be functional, accessible and attractive so as to encourage the potential customers. The php-shopping cart is the need of the hour - regardless of whether the potential customer wants to add, [...]