ganich Posted September 11, 2006 Share Posted September 11, 2006 Hello, I need some help from you guys!The problem is that when somebody hotLinks to my site pages it opens like this http://gaming-nm.com/games/playstation_2/index.htmlhttp://gaming-nm.com/index.html < the main layout things don't appear with the page, i want to use a PHP script which should attach index.html (.php wtever) with other pages..like when i open http://gaming-nm.com/games/playstation_2/index.html it should open with full layout but orignally the page should only contain the current info but it should open with index.html page..Please guide me step by step what should i do..which script should i use! Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/ Share on other sites More sharing options...
ober Posted September 11, 2006 Share Posted September 11, 2006 We're not a script factory and I don't think anyone is going to lead you through this step-by-step. Do you have any PHP experience? Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-89922 Share on other sites More sharing options...
ganich Posted September 11, 2006 Author Share Posted September 11, 2006 Not much..the links become like this after the code > index.php?affiliates/index ..if you want to help thts great if you dont want to its ok Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-89928 Share on other sites More sharing options...
ober Posted September 11, 2006 Share Posted September 11, 2006 It's not that I don't want to help. We're here to help when you run into snags with scripts you wrote. Not to write them for you. I suggest you start by trying something yourself and asking questions when you get stuck. Either that, or head over to the main site or to somewhere like hotscripts to grab one that is pre-made. Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-89929 Share on other sites More sharing options...
perezf Posted September 11, 2006 Share Posted September 11, 2006 what is it that you exactly need now i was a bit confusedbecause if i can help i will Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-89954 Share on other sites More sharing options...
ganich Posted September 12, 2006 Author Share Posted September 12, 2006 I have a website which is fully made in HTML. I have used frames. You can visit it www.gaming-nm.com, all the pages open in one frame. Try opening some links there. Now whenever somebody directlinks to my pages it only opens the content page but not with layout because the layout is only available in Index.html.Now in PHP i heard that you can remove frames and can us (include wtever.php type of code).i want such system in PHP by which i can create alot of pages with content but whenever somebody will open it ..it will open with the full layout..i hope you get me...my other questionis that can i have such links for my navigation. www.gaming-nm.Com/index.php?home ... Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90283 Share on other sites More sharing options...
perezf Posted September 12, 2006 Share Posted September 12, 2006 so you are talking about includeswhere the you make a lot of pages that are just textbut have the full layout Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90290 Share on other sites More sharing options...
ganich Posted September 12, 2006 Author Share Posted September 12, 2006 yes dude! can ya help? Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90447 Share on other sites More sharing options...
HuggieBear Posted September 12, 2006 Share Posted September 12, 2006 What you're looking for is JavaScript. I used to use something similar that did the opposite. If somone loaded my page inside a frame, my page detected it was in the frame and broke out. Yours needs to check if it's in a frame, and if it isn't to frame itself.A google for [url=http://www.google.co.uk/search?q=Javascript+%2Bframes+%2Bbreakout]javascript +frames +brakeout[/url] may point you in the right direction, even if it's not quite what you want.I attach a zip file containing the following.frameset.htmheader.htmnav..htmpage 1.htmpage 2.htmpage 3.htmlink.htmIf you open page2.htm or page3.htm directly they will load the frameset and themselves into the main frame.RegardsRich[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90461 Share on other sites More sharing options...
ganich Posted September 12, 2006 Author Share Posted September 12, 2006 Thanks, All Hands Up! do you have any idea on how to use Css Layout! Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90586 Share on other sites More sharing options...
HuggieBear Posted September 12, 2006 Share Posted September 12, 2006 You should really be asking this in the Layout forum, not the PHP Help forum.Did the code I posted help at all?RegardsRich Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90590 Share on other sites More sharing options...
honeyboy_20 Posted September 12, 2006 Share Posted September 12, 2006 ...........? Quote Link to comment https://forums.phpfreaks.com/topic/20411-need-a-script/#findComment-90595 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.