A2xA Posted January 24, 2008 Share Posted January 24, 2008 I have been working on a simple image upload script that is hosted on one of my sites right now. it can be viewed here: http://wiicharged.com/10 I need to know how to make it look better? If i should just put the actual html inside the index.php or use some sort of template system? Thanks! All help is greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/ Share on other sites More sharing options...
teng84 Posted January 24, 2008 Share Posted January 24, 2008 if that is the only one page i guess yes. but when i'm working on a site that has lots of pages i separate html pages form php so i have this folder on all my project images template <-html files css <--styles lib <-- classess and functions Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/#findComment-447414 Share on other sites More sharing options...
A2xA Posted January 24, 2008 Author Share Posted January 24, 2008 Well no, it will have many pages. And it will have different sections. I'm going to end up making it into a gallery type deal with search and tags and stuff. Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/#findComment-447416 Share on other sites More sharing options...
A2xA Posted January 24, 2008 Author Share Posted January 24, 2008 how exactly would I incorpirate an template system into my index? Or other pages? Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/#findComment-447417 Share on other sites More sharing options...
teng84 Posted January 24, 2008 Share Posted January 24, 2008 here what i always do.. sample i have pages like.. index.php, contact.php, about.php etc.. I placed them outside the folders.. so i will end something like this image<---folder classess<--folder templates<-- folder css<-- folder index.php contact.php save.php edited.. incase you dont know includes and require this are what you need in this kind data organization Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/#findComment-447419 Share on other sites More sharing options...
A2xA Posted January 24, 2008 Author Share Posted January 24, 2008 ah okay thanks. I get it now. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/87477-solved-best-way-to-make-script-have-a-good-look-template-system/#findComment-447421 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.