PHP - Dynamic web pages?

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
All I have to do is change 4 images, and I want to be able to do it with a script, so it doesnt take very long to change some images and text (all you need to do is select the image and the text and it uploads the html file itself...) I dont know if you understand..

Lets say he wants to sell 4 items at a cheaper price each week, he just logs on the the php site, and can change everything from there. Keeping in mind that he DOES NOT know HTML or anything like that!


Is there a way to do this fast? I dont feel like coding a script for a week, if thats what has to be done... Is there anything out there specifically for this?

Thanks
 

Modeps

Lifer
Oct 24, 2000
17,254
44
91
Fast? Hell no.
You're talking about an admin backend plus content management...
Is there any database associated with it or is it flat php? I guess if there was a DB and you're on apache, you could use htaccess and a quick update query form.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: Modeps
Fast? Hell no.
You're talking about an admin backend plus content management...
Is there any database associated with it or is it flat php? I guess if there was a DB and you're on apache, you could use htaccess and a quick update query form.

Thanks for the reply. I dont need a content mangement system. All I need is ONE html file to be changed, I once made a "geocities" type php script and im sure I could implement the php into that... It was able to log into ftp and everything, very cool. But now I only need to upload 4 files, and change the text underneath each file. Thanks all I need. Is it possible? Like, ive never really experimented with php "echoing" the html to a file..

I dont think they have a DB on their server, and it doesnt have to be ULTRA secure cause there wont be any links going to it, and all they will be able to do is change that one site,, unless they upload a php script to gain access some how, and run it.. hmmm,,, ideas?
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
it's pretty easy to support file upload and writing new text to a file. then you just have the php file use the new images and text. i'm not sure what's that hard. it doesn't require a full content management system.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: oog
it's pretty easy to support file upload and writing new text to a file. then you just have the php file use the new images and text. i'm not sure what's that hard. it doesn't require a full content management system.

Hmm! thats a good idea. Ill have the php website read from a file, and from the "admin" page it will just edit the txt file or what ever. Would be good enough for what they want..

Thanks!

Ill try and get this going.

Anyone know how to make a page read from a text file with php? Its been a LONG time, almost 2 years :(
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
Originally posted by: WarDemon666
Originally posted by: oog
it's pretty easy to support file upload and writing new text to a file. then you just have the php file use the new images and text. i'm not sure what's that hard. it doesn't require a full content management system.

Hmm! thats a good idea. Ill have the php website read from a file, and from the "admin" page it will just edit the txt file or what ever. Would be good enough for what they want..

Thanks!

Ill try and get this going.

Anyone know how to make a page read from a text file with php? Its been a LONG time, almost 2 years :(

file_get_contents(string filename)