Need help creating PHP Calendar

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
unlimitedx
Forum Newbie
Posts: 4
Joined: Tue Jul 22, 2008 12:38 pm

Need help creating PHP Calendar

Post by unlimitedx »

Hi everyone,

I want to create a calendar on a webpage so that any user browsing it can add entries to the calendar. the calendar would then display those entries.

Is there code available for this that is free that does this? (amateur web designer)
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Re: Need help creating PHP Calendar

Post by mattinahat »

Hey,

there are a few free scripts available, obviously what you go for depends on how much customisation you want to do - which usually involves javascript, php and mysql.

but a pretty simple calender can be found here, might be good to have a look at the source code and see if you can figure out how it's built.

http://www.phpf1.com/download.html?item=10


you can customise the look with CSS.


Sure plenty of people will be able to recommend others.
unlimitedx
Forum Newbie
Posts: 4
Joined: Tue Jul 22, 2008 12:38 pm

Re: Need help creating PHP Calendar

Post by unlimitedx »

A stupid question... how do I open php files correctly? I'm opening it thru IE and Firefox and it displays the code..
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Re: Need help creating PHP Calendar

Post by mattinahat »

To actually view a PHP file in operation you'll need Apache/IIS and PHP installed on your machine (XAMPP is a good one), or you'll need to upload it to your web host (assuming they support PHP).

If you don't have PHP installed on your machine or on the websever you'll just see the code.
unlimitedx
Forum Newbie
Posts: 4
Joined: Tue Jul 22, 2008 12:38 pm

Re: Need help creating PHP Calendar

Post by unlimitedx »

i only need the software right? for others (users) to see the page they don't need to?
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Re: Need help creating PHP Calendar

Post by mattinahat »

Yep, you'll just need a web host that supports PHP. Try uploading a PHP file to your web host and see if it works. You're probably best just doing it this way for now rather than installing loads of software on your computer.
unlimitedx
Forum Newbie
Posts: 4
Joined: Tue Jul 22, 2008 12:38 pm

Re: Need help creating PHP Calendar

Post by unlimitedx »

Thank you so much!

I am also looking for a register/login system. is this also php?
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Re: Need help creating PHP Calendar

Post by mattinahat »

It can be done with PHP and an SQL database...

However, would strongly recommend you read about php/mysql security before attempting to build a login system, especially if you are thinking about storing personal data.

Some free downloadable login scripts or beginner created login scripts are completely insecure and can easily be hacked, leaving you responsible!

One thing you may want to read about is 'SQL Injection'.

I would advise that if you get a login script you post it on the forum so we can tell you if its secure or not before you use it.
Post Reply