•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 373,564 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,820 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
•
•
•
•
•
•
•
•
This is a very simple statistics script that provides for services on/offline, memory info, server load averages and uptime and lastly drive info.
Its easily customised and i have usef <font> alot where you could have set come css and have it all done easily and look a bit more tidy than mine. (View Snippet)
Ok, this is about as simple as it gets. This is a hit counter for your page that stores the count in a simple text file of your choosing. No need for a database, MySQL or otherwise. No complicated rubbish. Just one single function and one single file to store the count. Thats it. (View Snippet)
If you have done a PHP based website, chances are you have dynamic content called by variables and so on.
As many people use a main page (index.php) and use code within that page to dictate what content is displayed, either with if or switches or whatever.
Thing is, Google and other search engines... (View Snippet)
This tutorial shows how to greet your visitors depending on what time of day it is. If it's morning, it greets your visitor with "Good Morning!" If it's afternoon, it greets them with "Good Afternoon!" Magic? Noooo! Just PHP!
We will start by looking at the entire script and then dissecting it... (View Snippet)
Allows a user to login to an ftp and upload files. (View Snippet)
Hello.
I know that there are many ways to convert date in PHP, but i use those to two convert from/to MySQL DB. (View Snippet)
Hi, this is my first post here, just wanted a place to post some PHP code for a Savant2 plugin I created. I hope that's ok.
If you've never heard of Savant/Savant2, you should definitely visit its website. Savant is a very elegant template solution for PHP that stands out for its... (View Snippet)
Alrighty! My goal here is to add the specified information into a MySQL database, but then also include a script that goes back and checks to make sure that the entrie given does not already exist. If you have any corrections, or any ideas on how to do this, I'd really appreciate it. I posted... (View Snippet)
You've seen those sites that say how many seconds it took to parse the page and how many database queries comprised the page. Well heres the database query bit... (View Snippet)
Do you work with datasheets regularly ? Always getting .pdf files open in your browser and having to wait EONs for them to download/display ? Well here is a resolve for that most frustrating of problems with Adobe's "Handy file intercept" feature. Use this script to FORCE the browser to download... (View Snippet)