FB Posted July 28, 2007 Share Posted July 28, 2007 Hi php freaks Long read but genuine post so please read if you can help point me in the right direction. I know Frontpage, dreamweaver, Hard Html coding and a very small amount of java script. I am the first to admit I know nothing! I am making a site of my own that is quite complex but I dont have the money to pay someone as it would cost a fortune so I am going to learn php myself. I started doing all the pages and then thought hang on a second!!! When I install scripts, this may change the layout of my pages completely so I think I have to start with the php otherwise all my pages may need to be redone... I would like to tell you what I want and then if you can point me in the right direction to learn would be great. 1. I have about 100 pages (so far) on the site (not online yet) and each page I want to display a different set of images. So on the fishing pages, I want the php to grab the files from a fishing images database and insert them into the page where I specify. I have about 1000 images that will rotate and I need the script to grab 10 images for each 100 pages as they are all different for each page and change from time to time so its too hard to change each image on each page each week etc. I want to just load images in say 1-10 in each database for it to grab them. (saving me a lot of work or else I would be spending 120 hours a week constantly changing images) Best way I can explain it is as if it was advertising banners for each different page depending on the content. It is not advertising but thats the best way for me to explain it etc. 2. I have a phpbb2 forum done and I need on my homepage show "recent posts" and also show "recent fishing reports" etc so I need the homepage to grab the info off the forums in real time and display it on the homepage etc. 3. I am linking to a weather site that will send a feed (whatever its called) to my site where i specify and that way the weather is updated in realtime every 20 minutes etc otherwise I will be changing the weather for each suburb every 20 minutes lol. 4. People will post photos of scenery in the forums and I want to also grab some recent photos that were uploded to show on the homepage. 5. When someone clicks on the forum, I want the forum to load inside my template. Is this a pho script for that? In other words I dont want them to go to a complete new page with none of my links/logos etc. I want the forums link to open a new page but inside my template still so all my links/side bar nav and logos still appear as normal. I have the main template done in dreamweaver and wondering do I put the pho script in each individual page or in the template? I am guessing each page. 6. When someone comes back to my page, I would like to say hello "user" Now I know I have a lot of learning and study to do to make it work. :'( I am wondering what I need to set it all up and where to start learning? I read one site and there were so many programs to choose from but they said some dont support complex scripts. I want to start off properly. Any ideas on what I need to install and where to start learing so I can eventually make these type of scripts? Also, if you know any scripts like any that would do the above, then I would love to have a look at them and get some insight. Any help would be highly appreciated and I shall update you all as I go and get comments on how bad I am going with it I should add that I have hosting already and it has all the supports needed such as mysql/php/perl/cgi/apache? etc. A mate installed apache on my pc and my sql but I am really unsure what these do apart from helping you to check your progress without having to upload etc. IS this right? I guess what I want to know is what each thing does and how does it fit together. 7. I understand so far that php is a script/database but you need the html to make the page look good etc. Now what is mysql/apache/and the php programs like from php.net (what is the one I need as there are a few php programs?).One can be got from php.net and then there are others but which is the best? Thank You FB Quote Link to comment Share on other sites More sharing options...
AdRock Posted July 28, 2007 Share Posted July 28, 2007 I would ask the same questions in the phpBB forums Quote Link to comment Share on other sites More sharing options...
Goose87 Posted July 28, 2007 Share Posted July 28, 2007 Although it's complex, you could make the forum yourself, that would make it much easier to take out the recent posts and put them on your home-page. A bought a book that has a forum example, although I haven't done it yet, so i can't tell you how to do it exactly. I'm sure there are guides online though. Quote Link to comment 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.