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

winzip icon

PHP Calendar Class (Updated)

Email
Submitted on: 1/5/2006 8:16:12 AM
By: Pol Oducado 
Level: Intermediate
User Rating: By 4 Users
Compatibility: PHP 3.0, PHP 4.0, PHP 5.0
Views: 12039
author picture
(About the author)
 
     Dynamic calendar class with flatfile database connectivity.

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :PHP Calendar Class (Updated)
//**************************************
This source code is free of use for non-commercial applications.
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 Intermediate 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

1/6/2006 9:23:52 AMLennart Ericson

Dear Mr Oducado, Again, conngratulations to a very fine piece of code! I notice this version of your code is using a flat file. Will there, in the near future, be a code available using a database coupled to it instead of the flat file? Such a version would be very much appreciated.

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

 
1/6/2006 11:19:15 AMWebCommST

Great, 5 globes from me. Lennart, build off his code and make it database driven. Please don't be lazy by asking everyone to do all the work for you. This community is for sharing code for others to view and learn from. Not a place to beg people to build you code.
(If this comment was disrespectful, please report it.)

 
1/7/2006 7:57:15 AMPol Oducado

For the code with the support to MySQL backend, please see my other code submission. I have it uploaded months ago and was a winning piece. Thank you for using the PHP calendar class. Expect further enhancements in the future!
(If this comment was disrespectful, please report it.)

 
1/8/2006 10:39:53 PMRob W

Looks like a great update! but i get this error when i try to use it

Fatal error: Call to undefined function: cal_days_in_month() in /home2/user/public_html/calendar/kalindario.class on line 250

im not sure why im getting it, or how to fix it. im using php 4.4.0
(If this comment was disrespectful, please report it.)

 
2/2/2006 5:02:42 PMMike Z

Hi P.O.

Great work on the code man, I got V1 going great but i'm stuck on V1.2 , all I get is a black dot in top left corner, could you assist ? what m I doing wrong ?
(If this comment was disrespectful, please report it.)

 
2/9/2006 1:28:30 AMRob W

i solved my own problem. cal_days_in_month() needed to be compiled into php. Now the script works great.
Thanks Pol Oducado for the great script.
(If this comment was disrespectful, please report it.)

 
2/10/2011 10:24:14 PMchirysharing

Thank you for you sharing!
Also I found some free php calendar scripts listed on :http://www.phpkode.com/scripts/category/php-calendars/
(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.