Go Back GameStrafe > Off-Topic > Programming and Web Development
Reply
 
LinkBack Thread Tools Display Modes
Old February 24th, 2007   #1 (permalink)
Sergeant First Class
 
VertigoSFX's Avatar
 
Join Date: Sep 2006
Location: Texas
Posts: 161
Send a message via AIM to VertigoSFX
Default Coding-Simple Idea, confusing approach

Okay guys,

I need help from anyone that can figure this out. It seems like it should be easy to do, but for some reason I can't figure out how to do it.

I know a guy that wants me to do this to his website, basically he has a simple web page, and has content on one of the pages that he wants to be able to edit easier than having to open it up in Word and edit it then upload it to the web server (his web designer told him to do it this way, I know word is the noobish way to do it )

Anyway, my idea was to take the page and make him be able to click like "Admin Login" somewhere on the page, and it would take him to the same page, but without the content, ther would be a textbox, where he could type in all the information he wants then press Submit, and it would output that into HTML on his webpage in the same location...I would prefer for it to be a passworded access into the edit box, but it doesn't need to be.

Basically it would be a very easy forum, because in forums we type stuff into the box and it outputs it onto the page we were visiting. That's what I want with this.

I'm sure it's an easy fix, but I have no knowledge in PHP or JavaScript really, liek I can't write it myself I can just do minor edits to it, and I can read it fairly well because I took a Java class last year.

Any ideas?? I appreciate the help.
__________________

Exodus Mod PR Manager
VertigoSFX is offline   Reply With Quote
Old February 24th, 2007   #2 (permalink)
Specialist
 
waTR's Avatar
 
Join Date: Sep 2004
Location: Ex Inferis
Posts: 17
Default Re: Coding-Simple Idea, confusing approach

why not just use .htaccess? It is much easier and no coding required.

Comprehensive guide to .htaccess- intro

Also, it allows you to do tons of other things in addition to password protection.

Otherwise, do a google search for =php password protection script=
waTR is offline   Reply With Quote
Old February 25th, 2007   #3 (permalink)
Sergeant
 
Random.Firework's Avatar
 
Join Date: Jan 2007
Location: West Yorkshire, UK
Posts: 86
Send a message via MSN to Random.Firework Send a message via Skype™ to Random.Firework
Default Re: Coding-Simple Idea, confusing approach

Quote:
Originally Posted by waTR View Post
why not just use .htaccess? It is much easier and no coding required.

Comprehensive guide to .htaccess- intro

Also, it allows you to do tons of other things in addition to password protection.

Otherwise, do a google search for =php password protection script=
Because htaaccess is easily hackable.(i'm a CIW and MCP btw )

What your wanna do is create a MySQL database to store usernames and passwords in, once thats setup do some simple code which then has a sign up/register script (not hard in php :P) and so once the admin/user signs up his name+password gets stored into the database now you create another simple login page using the username and passwords database so they can login in and do what they want to do.

CIW = Certified internet webmaste
MCP = Microsoft Certified Professional
Random.Firework is offline   Reply With Quote
Old February 25th, 2007   #4 (permalink)
Sergeant First Class
 
VertigoSFX's Avatar
 
Join Date: Sep 2006
Location: Texas
Posts: 161
Send a message via AIM to VertigoSFX
Default Re: Coding-Simple Idea, confusing approach

Alright, ya I believe I have some ideas of how to do that...thanks
VertigoSFX is offline   Reply With Quote
Old February 27th, 2007   #5 (permalink)
Specialist
 
waTR's Avatar
 
Join Date: Sep 2004
Location: Ex Inferis
Posts: 17
Default Re: Coding-Simple Idea, confusing approach

Quote:
Originally Posted by Random.Firework View Post
Because htaaccess is easily hackable.(i'm a CIW and MCP btw )

What your wanna do is create a MySQL database to store usernames and passwords in, once thats setup do some simple code which then has a sign up/register script (not hard in php :P) and so once the admin/user signs up his name+password gets stored into the database now you create another simple login page using the username and passwords database so they can login in and do what they want to do.

CIW = Certified internet webmaste
MCP = Microsoft Certified Professional
Thats absolutely true, however, in this case the poster seems to want a "non-coding" solution. If code is ok then absolutely use php with a db back-end. Although why not use sql-lite for the login info...much less headaches.
waTR is offline   Reply With Quote
Old February 28th, 2007   #6 (permalink)
Major
 
signa's Avatar
 
Join Date: Dec 2004
Location: Michigan
Posts: 1,409
Default Re: Coding-Simple Idea, confusing approach

check out php-update

i've been follow that guys project for a long time, its very simple and sweet. since its flat-file it only requires php. you can add in a wysiwyg editor, or if you search the forums, there is a better editor (tinymce) that requires a little more editing to install. its also template based, so it works well with most templates.

Last edited by signa : February 28th, 2007 at 08:48 PM.
signa is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:02 PM.