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???

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.