• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PHP - Dynamic web pages?

WarDemon666

Platinum Member
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
 
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.
 
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?
 
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.
 
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 🙁
 
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)
 
Back
Top