Page 1 of 1

Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 12:41 pm
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)

Re: Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 12:57 pm
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.

Re: Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 1:06 pm
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..

Re: Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 1:18 pm
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.

Re: Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 2:28 pm
by unlimitedx
i only need the software right? for others (users) to see the page they don't need to?

Re: Need help creating PHP Calendar

Posted: Tue Jul 22, 2008 5:11 pm
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.

Re: Need help creating PHP Calendar

Posted: Wed Jul 23, 2008 2:41 pm
by unlimitedx
Thank you so much!

I am also looking for a register/login system. is this also php?

Re: Need help creating PHP Calendar

Posted: Wed Jul 23, 2008 5:10 pm
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.