Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Seth1969 #1
PHP Newbie - Header.inc. files
Good afternoon; I'm trying to avois using html frames with my real estate
website that I designed. So I decided to go the PHP route through Dreamweaver
MX , using a header php file and the outsourced "IDX/MLS Listings" Service in
the "main window" area. I must admit that I am a bit confused.....the
tutorials that I read say take your header/navbar html code and create a file
called "header.inc" ...... I've also seen "header.inc." with a period after inc
...... which is correct??? Also in DW MX, I attempt to "Save As" >
"header.inc" and/or "header.inc." > "File Type" > "server include" to no
avail.........any suggestions or corrections.
Regardless; this is in reference to page:
[url]http://www.realestatehook.com/listings.php[/url]
I just made the file in my root directory for header.php and it worked.
Here's my code:
My other question the service is outsourced for IDX......when someone accesses
the page on the WWW for [url]http://www.realestatehook.com/listings.php[/url] ........ new
code for the IDX is generated.....obviously to pull the MLS Data from MySQL
from their end........I like that a visitor is staying within my page to view
MLS........is there any possible way for me to keep the "search results" in a
similar format ..... "header.inc." format and "search results" on a same page
from my side.....or would this simply not be possible without me running the
MySQL and Form Method=_Post, etc from my side????? Anyway...if there is a
possible solution to this without me resorting to frames/framesets with that
remote IDX/MLS URL and stay within PHP that would be great. Is this
possible??? And how or what would be a good tutorial link if there is one.
Sorry for the long post, I hope my question is clear and many thanks in
advance to those who take the time to respond.
[url]http://www.realestatehook.com/listings.php[/url]
<?php
include('header.php');
if(!$_SERVER['QUERY_STRING']) { ?>
<html>
<head>
<title>Seth Hook - Your Upstate South Carolina Real Estate Buyer's
Agent</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="Upstate, South Carolina, SC, Greenville,
Mauldin, Simpsonville, Greer, Travelers Rest, Anderson, Easley, Powdersville,
Greenville County, Spartanburg County, real estate, property, properties,
buyer's agent, listing, listings, FSBO, For Sale By Owner, home finder,
homefinder, home finder, Coldwell Banker, Coldwell Banker Caine, Caine Company,
Homes And Land, homesandland, Real Estate Book, realestatebook, realestatehook,
The Real Estate Book, therealestatehook, ICAR, International Center For
Automotive Research">
<meta name="description" content="Seth Hook strives to be the premier Real
Estate Agent for Buyers and Sellers in Upstate SC, keeping the client's best
interests first and foremost.">
<meta http-equiv="pragma" content="no-cache">
<meta name="copyright" content="2006">
<meta name="language" content="English">
<meta name="distribution" content="Global">
<meta name="rating" content="General">
<meta name="expires" content="Never">
<meta name="robots" content="Index, Follow">
<meta name="revisit-after" content="7 Days">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="760" height="100%" border="1" align="center" cellpadding="20
" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td align="left" valign="top" bordercolor="#333333">
<? }
include('http://greenville-sc.carolina-idx.com/idx_search.php?z=0f5fb2fc77ab1cb8
21f1bcbbb12d8b85'); ?>
</td>
</tr>
</table>
</body>
</html>
Seth1969 Guest
-
Can't find header files for Ruby
Hi, I am trying to install the libneural library onto my Linux desktop (Mandrake 9.1). I get the error "can't find header files for ruby" $... -
Is there a file where I can specify the location of my header files??(like that of ld.so.hints)
Hi, I think I did something horrible with my machine. I cannot complete a "make" anywhere in ports. For example, I'm compiling iperf and got this... -
Newbie Needs Help - Flash web header
Dear all, Please forgive me if I'm being stupid here but I'm new to Flash and am having a few issues with a web page header. The aforesaid header... -
header/include files and compilers
Hi everyone, When writing a program (say, work.c), I could simply include header files using, for example: #include <stdio.h> and "gcc... -
header location newbie
Hi, I'm doing a relative URL redirect using this: <? header("Location: ../research/index.php?current=34"); ?>



Reply With Quote

