HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
html link to php
Post new topic   Reply to topic    HTML Help Forum Index -> PHP
View previous topic :: View next topic  
Author Message
gcampbell0409



Joined: 13 Jun 2009
Posts: 1

PostPosted: Sat Jun 13, 2009 1:40 pm     html link to php Reply with quote

Hi folks,
I am building a site on SiteBuildIt and they do not support php on their site. I have set up a subdomain on another host (BlueHost) that does handle php & mysql. I am planning on my home page to have 10 thumbnail photos (which are selected from my mysql database).
What I need to do is set up my index.html at the SiteBuildIt homebase to do nothing except link (pass control) to my index.php at the BlueHost server so that it can produce all of my web page(s) from there.
I am very green at html and I know how to set up a link to do this if it is clicked upon. But I want this link to happen unconditionally with no clicking involved. Help!!!

George Campbell
golf-course-showcases.com
sticks464



Joined: 31 Dec 2006
Posts: 2309

PostPosted: Sat Jun 13, 2009 4:08 pm     Reply with quote

Create an iframe to hold your site. Adjusting height will be the big issue to make sure all of your pages are displayed correctly.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
* {
padding:0;
margin:0;
}
body {
background:#000;
}
#container {
width:100%;
height:1200px;
overflow:auto;
}
</style>
</head>

<body>
<iframe id="container" src="http://yourSite.com" frameborder="0"  marginwidth="0" marginheight="0" scrolling="no"></iframe>
</body>
</html>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> PHP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial