Trying to make a basic news manager/poster (Im new at PHP)
Posted: Thu Feb 26, 2004 7:09 pm
I guesse this is PHP theory. I am new to PHP and have a few questions about something i may use PHP for (depending on how hard it is to do what i want to do with PHP). As I said I am new to PHP yet im familiar with java and I understand how programming works.
With that said here is what I want to do:
A login page (does not have to be completely secure...as it wont be a super used site or a vulnerable one)
So someone logs in
And depending on there administration level they have several different options.
I want to start small so Say Person A logs in
They want to update the news So they click on update news. From there they can add news in , edit current news, or delete news.. ( This so called news all being placed on a web site [Im familair with HTML aswell]). So say they want to add news, this brings them to a form where they enter in subject, title, and the actual news. This gets displayed on the website. So how hard is this to do in PHP?
I remember making some old PHP things before where you wrote to a text file and it was quite easy. Would that be a good to manage the news? Im not exactly sure on that and that is another question. Now i've worked with databases a small bit in java and i think a text file would be to simple for something like what im trying to do.. I have used MS Access and have linked to it and manipulated it in java.. is it any harder in PHP?
Really right now I just want to know what i should do =]. Any good tutorials that would help me out? Or really just tell me what i need to do and im sure i can find out how to do it online somewhere.
One other little thing: does anyone know where there is a good free web server that hosts PHP? for testing my scripts????????? Or do i have to go through dreaded setting up my own server? (you dont need to tell me how to do that im sure its been asked 100000 times and i can search it).
Well thanx for any help at all =]
Actually.. 1 more thing.. i know this is a PHP forum but... could i do what i just asked in Javascript? (Would i be better in JScript with a background in java then in PHP? )
Again thx for any help =]
[/php_man]
With that said here is what I want to do:
A login page (does not have to be completely secure...as it wont be a super used site or a vulnerable one)
So someone logs in
And depending on there administration level they have several different options.
I want to start small so Say Person A logs in
They want to update the news So they click on update news. From there they can add news in , edit current news, or delete news.. ( This so called news all being placed on a web site [Im familair with HTML aswell]). So say they want to add news, this brings them to a form where they enter in subject, title, and the actual news. This gets displayed on the website. So how hard is this to do in PHP?
I remember making some old PHP things before where you wrote to a text file and it was quite easy. Would that be a good to manage the news? Im not exactly sure on that and that is another question. Now i've worked with databases a small bit in java and i think a text file would be to simple for something like what im trying to do.. I have used MS Access and have linked to it and manipulated it in java.. is it any harder in PHP?
Really right now I just want to know what i should do =]. Any good tutorials that would help me out? Or really just tell me what i need to do and im sure i can find out how to do it online somewhere.
One other little thing: does anyone know where there is a good free web server that hosts PHP? for testing my scripts????????? Or do i have to go through dreaded setting up my own server? (you dont need to tell me how to do that im sure its been asked 100000 times and i can search it).
Well thanx for any help at all =]
Actually.. 1 more thing.. i know this is a PHP forum but... could i do what i just asked in Javascript? (Would i be better in JScript with a background in java then in PHP? )
Again thx for any help =]