Important alert: (current site time 7/15/2013 11:16:12 AM EDT)
 

winzip icon

PHP Clalendar Class w/ MySQL Backend

Email
Submitted on: 7/27/2005 9:31:38 PM
By: Pol Oducado 
Level: Advanced
User Rating: By 16 Users
Compatibility: PHP 3.0, PHP 4.0
Views: 10995
author picture
(About the author)
 
     Due to numerous request to upload my PHP calendar class with support to MySQL backend. Here it is, hope this will help. Please read additional instructions attached part of the zip file. Thank you (please don't forget to vote).

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

7/29/2005 4:28:34 AMChristophe HUMBERT

Nice piece of code ! Thanks for sharing. Five globes for me.
(If this comment was disrespectful, please report it.)

 
8/19/2005 12:40:22 PMGustavo Arcila

This is the best simplest calendar I've found until today. congratulations and tanks for share (MUCHAS FELICITACIONES Y GRACIAS POR COMPARTIR). Sorry 4 my english, I just learning ;-)
(If this comment was disrespectful, please report it.)

 
8/25/2005 1:25:26 AMRob W

Once i converted all the styling to valid xhtml (eg adding # symbols to colors, using valid styles for the tables, etc...) it came out to be a very useful calendar script. Some suggestions for the script would be adding handling for multiple events for the same day, and maybe adding the ability to change the month to see future events.
Thank you for creating this calendar system, it integrated very well into my site, and my vistors are loving it :)
(If this comment was disrespectful, please report it.)

 
10/4/2005 12:21:19 PMKurt Koenig

Nice calendar. Unfortunately it's hard to adjust the class to display another month if you don't have much php experience. There seems to be a little bug in october 2005, I didn't see this in other months but in october day 30 is displayed twice (don't know if this has something to do with my local settings)
(If this comment was disrespectful, please report it.)

 
11/2/2005 5:19:47 PMEmilio

in each october 2005,2006,... the last sunday is displayed twice. i can`t find the mistake :(
(If this comment was disrespectful, please report it.)

 
11/8/2005 2:30:11 PMCrusader

How do you get it to display another month?
(If this comment was disrespectful, please report it.)

 
11/8/2005 3:15:00 PMCrusader

I see if you add 1 to the year
$year = $arraydates['year'] + 1;
It goes to the next year. But I still can figure out the month.
(If this comment was disrespectful, please report it.)

 
8/12/2006 3:18:13 AMBadru Syamsi

Nice Thx ..
(If this comment was disrespectful, please report it.)

 
3/29/2007 8:52:07 AMpixie

looks really nice
(If this comment was disrespectful, please report it.)

 
5/17/2007 5:35:45 PMLuís Antunes

So many errors for me :(:(:(:(:(:(

Notice: Undefined index: 18 in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 171

Notice: Undefined property: weeknameborder in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 194

Notice: Undefined property: weeknameborder in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 194

Notice: Undefined property: weeknameborder in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 194

Notice: Undefined property: weeknameborder in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 194

Notice: Undefined property: weeknameborder in c:\programas\easyphp1-8\www\webhost\admin\modules\calendar\kalindario.class on line 194

And many many more :(:(:(:(:(:(
(If this comment was disrespectful, please report it.)

 
12/11/2007 1:32:48 PMSteven

As Emilio commented about the last sunday displayed twice in october 2005, 2006 it also appears that duplicate dates occur in November 2007, 2008, 2009 and possibly more. With November it is the first sunday of each month that is duplicated. Has anyone fixed this bug?
(If this comment was disrespectful, please report it.)

 
1/12/2009 10:00:58 AMTylee

Would love to be able to navigate calendar forward/backwards. Other than that it looks great!
thanks,
(If this comment was disrespectful, please report it.)

 
10/25/2009 9:26:40 PMshanie

i still didn't get the output..
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.