HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

html link to php
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> PHP
View previous topic :: View next topic  
Author Message
gcampbell0409



Joined: 13 Jun 2009
Posts: 1

Posted: Sat Jun 13, 2009 1:40 pm     html link to php  

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: 2624

Posted: Sat Jun 13, 2009 4:08 pm      

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>
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> PHP
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group