The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
When I create a site I can change pretty much anything with CSS, but if I want to change big chunks of the site layout I have to alter every single page which is not good. So my question is, should I have studied php all those years ago? Is there anything out there that can do all this form me for free so I dont have to change 100s of webpages individually? Or maybe there's a new programming language in development thats better than ASP and PHP, in which case should I start learning now?
Its okay, this wont affect my current site, but I need to know for future projects. Freeola is done in php right? it cant be that difficult. Could I be able to master it within a week?
Thanks for your help guys, I appreciate it.
Thank you very much Garin. Although I just realised, is this set to my server clock or my computer clock? My server is in California, but I want it set to GMT. Is that possible do you know?
You can try something like..
<?php putenv('TZ=Europe/London');echo date('l F j, Y');?>
Although whether that works will depend on php security settings. PHP 5 has built in functions for setting the timezone but dunno if you're running 5 or not.
Digi
Update - just did a wee test and if I saved a page as .htm it didnt work, but saved both pages with .php ext ad yeah ot worked so i would need to rename all our pages with .php right?
Digi
Same for an SSI - the page needs to be .shtml
Search Freeola Chat
Digi
I've just read through this thread and thought I'd chip in for what it's worth:
Apparently there is a school of thought which say you should only use pure php by echoing your HTML statements throughout your php page code but I've found there is little you can't achieve with a php statement strategically lashed in amongst your HTML - although it's really worth commenting your code well to avoid getting lost (use single quote within the php tags like
Anyway back the issue of includes, through trial an error I've found it's usually best to use becaue if you use on several pages and then include more than one of those pages on a single page you will get an error message.
I hope that makes sense.
can anyone tell me if dreamweaver is helpin me make things simple or should i be using some other process.
It is confusing and the code is not very good to learn from (often it's very messy and includes a lot of stuff you don't need).
The best way to learn PHP or ASP is to write the code yourself using a good text editor like Notepad++ or PSPad. Dig around on Google, there are loads of PHP tutorials sites.
Regarding ASP, Freeola do not support this as it is a scripting language that runs on Microsofts web server software. We run Unix on our servers, which do not support ASP.