User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,637 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 2,275 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
Contribute Code
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)
This function distributes mail to a mailing list, out of an array. Wether the array is plundered from a database, a file, or from the code, the function only takes a prepared one. Also, this function is only good for HTML messages. The array's syntax is to be: array("recipent's... (View Snippet)
Hello, this code snippet is a function used to manage an unlimited amount of hit counters with a text file. It is crucial that each page will only be displayed once. The text file syntax: page_name.php:0 page_name.php:0 An example of a text file that was just set-up (not used by code, yet): (View Snippet)
This class will allow you to take an RSS feed (local or remote) and "export" it to an easily managed/viewed array. Below is an example of it usage: <?php include("exportrss.php"); // Parse XML/RSS 2.0 feed $feed = new ExportRSS("test.xml", "2.0"); $channel = $feed->get_channel_data(); echo... (View Snippet)
Just copy and paste the snippet into a file and save. You need to save this under the web root, not in a web accessible folder. For example, on linux you could save it in your home directory. Say your user is "joe" then save it in /home/joe/ . Ify saved the file as interactive.php then you would... (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)
1. mod_rewrite se friendly pages for vBulletin Here is a seo hack for vBulletin developed by Danielle Horowitz. You can find original text at http://www.daniweb.com/techtalkforums/thread9379.html I have remade her instructions in the phpBB mod like format. You can read them here... (View Snippet)
this script, made by me, lets you resize an image propotionally! (View Snippet)
This function is usefull for peoples with a link directory where the links are stored inside a (MySQL) database. The PHP script is easy to use to find out if a reciprocal link still exists on the corresponding webpage. It takes care about the trailing slash in urls and can be used with (almost)... (View Snippet)
Well like my previous snippet but completing the collection i suppose, this snippet counts how long it takes to parse the page and displays it somewhere.. (View Snippet)
Contribute Code
All times are GMT -4. The time now is 2:13 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC