Is the a way of letting some one edit a live webpage from the internet.
I only want the body to get editted. I dont want to have to have a DB
Is the a way of letting some one edit a live webpage from the internet.
I only want the body to get editted. I dont want to have to have a DB
You mean, allowing someone, with the appropriate rights of course, to edit the website without using a database? Of course, you can use PHP to edit flat HTML files...
Thou com'st in such a questionable shape
Hamlet, Act 1, Scene 4
Yes I want some one to beable to edit a page how do I make that happen and what is a flat file?
First of all, you'll have to learn an in-depth amount of PHP (Or ASP, but personally, I prefer PHP). It's a server-side language that allows dynamic functions to be added to normally, unless aided with client-side scripting like JavaScript, undynamic websites. I suggest going to the library and getting out some books on it, googling, and then starting with some simple scripts before you tackle a project like a CMS (content management system), which, depending on the intensity, may take a lot of experience and/or knowledge.
If you have any questions in regards to PHP, ask them in the PHP section of this forum.
Thou com'st in such a questionable shape
Hamlet, Act 1, Scene 4
I seen a post you made CMS Questions - Just Brainstorming Why cant I use that. I would still need a bit of help understanding but seem like what I want to do "I think" Im not looking for full proof security just a way to edit a webpage
Ok, well, here are some main points you'll want to learn in PHP, then:
1. Login/logout: you may not need top-level security, but a simple login using sessions would be good.
2. Opening html or text files with php and then rewriting them with new information.
3. Simple PHP statements: if, else if, else; while; and for. Also, commonly used PHP built-in functions.
Thou com'st in such a questionable shape
Hamlet, Act 1, Scene 4
Because you said in the first post:Why cant I use that.
There a re a few ways to do this, but a lt depends on what you are exactly trying to do. I understand "edit a web page" but what is being edited? A calendar of events? News and information? a newsletter? What exactly, and how often? Is this only on one page or on multiple pages? THese answers will help us help you get just what you need.I dont want to have to have a DB
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
What being edited is just a plain webpage with text, possably pic and links. no navication type bar, or menus. below is basicly my wish.
Something like this post to thread box would be cool
When things drip hes here to help. you can find someone else over at this link when you just have to have things done right.
See how its got the text, image, and link thats how I would like it to work. I realize the thread reply box is DB driven, but something simular as far as how the edited page might work or look. I can add a way to upload images to a folder so the images would be on the net for those links. If text effects ie bold, unline and such isnt posable so be it.
Plain text is fine. I could do a style for page maybe
The main reason I need it NOT use a DB is because the hosting doesnt provide that I need it to be pretty self contained with in the site itself some how
Last edited by big-dog1965; 02-18-2008 at 06:10 PM.
So is there no way to do this or what?
Do you have php or some other server side language available on the server? If so, let us know what language is available and we could probably write up something to take the contents of a form and write it to a file. I have done this in the past for a few of my friend's websites where they didn't have a database on there server, but had PHP installed.
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Bookmarks