PHP Newbie!
Posted: Fri Oct 25, 2002 4:24 pm
First of all I want to say thanks Chris for the download counter script you posted in the general forum. I will add that to my list of scripts to put on my site.
Second: I have this idea for my website and PHP but, I want to make sure it will work before I start programming it and run into some sort of snag.
Basically I want to have my page layout change either randomly or each day of the week or something like that.
The core of the idea comes from the avatar script that Chris has. The only catch is I want to apply this to the entire page. So, would it be easier for a newbie PHP programmer to write it to randomly grab from one of say...ten html documents, or just change colors images etc....
Eventually I want to set up a check box and drop down box page that I can go to and change the settings from there. Also, in relation to this I want to set up a news page and be able to update it from another page on the web. I know how to make it write to a .txt document and then how to grab that text and convert it to a string and THEN post it to a html page...but, is there any way I can write directly to the html document instead? Or even a way to change the .txt documents extension to a .html?
thanks,
-junc
Second: I have this idea for my website and PHP but, I want to make sure it will work before I start programming it and run into some sort of snag.
Basically I want to have my page layout change either randomly or each day of the week or something like that.
The core of the idea comes from the avatar script that Chris has. The only catch is I want to apply this to the entire page. So, would it be easier for a newbie PHP programmer to write it to randomly grab from one of say...ten html documents, or just change colors images etc....
Eventually I want to set up a check box and drop down box page that I can go to and change the settings from there. Also, in relation to this I want to set up a news page and be able to update it from another page on the web. I know how to make it write to a .txt document and then how to grab that text and convert it to a string and THEN post it to a html page...but, is there any way I can write directly to the html document instead? Or even a way to change the .txt documents extension to a .html?
thanks,
-junc