jpratt Posted October 10, 2006 Share Posted October 10, 2006 I am using the meta tag redirect in my html like so:<meta http-equiv="refresh" content="5; url=http://www.newsite.com">I need the user to be able to have the choise to be able to go to the new site or go to the old htm page they were pointed to. I can not take down the old site. Any php solutions? Most users come in through google to specific pages. Is there a way to do this with php without renaming my old htm files? Quote Link to comment Share on other sites More sharing options...
Firemankurt Posted October 10, 2006 Share Posted October 10, 2006 I am not sure what you are after but I know you can include html pages into php pages like:[code]<html><head></head><body><?phpecho "some PHP content";?><IFRAME SRC="recipe.html" TITLE="The Famous Recipe"><!-- Alternate content for non-supporting browsers --><H2>The Famous Recipe</H2><H3>Ingredients</H3>....</IFRAME></body></html>[/code]You would save this as a php file.You could also insert php into an html page like:HtmlPageWithPhpInside.htm [code]<html><head></head><body><?phpecho "some PHP content";?>html... blah... blah...</body></html>[/code]and then include this in a php doc.New.php[code]<?phpinclude ('HtmlPageWithPhpInside.htm');?>[/code]Anyway... If you give me more info I can see if there is more I can help with. 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.