Jump to content

How to allow novice users to add data to my websites php files???


evBenji

Recommended Posts

Hi I have built a website for a football club.

 

It is made up of about 20 php files.

 

The club is a community and everyone want to add stuff.

 

Which is great and i want them to.

 

But by no way can i let them use ftp, or mess with code, or be administrators etc etc no way.

 

I do have cutenews running but its truly no good and its final appearance is poor.

 

Anyhow smply i got a guy who wants to add names to a "best players" table which sits in a css div

 

How can i let him without giving him access to everything else???

Use some Javascript. On double-click inside the div replace the content of the div with a form containing a textbox(or textarea) containing the content. Then just handle the form's submit and save the info to your database. If you don't have a database, you need one.

I definitly want a kind of editing area in the div.

 

Something like CKeditor would be great.

 

But how the hell does one actually integrate the editor???

 

im just getting past a being a beginner in php however my idea would be to

have a File MAnagement login script to files

 

select the file which opens the CKeditor make changes save and then its done.

 

thats the algorithm but any ips on where to start???

 

Javascript tip you'll have to expalin more mate.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.