Jump to content


Photo

Issue with linking php to text documents


  • Please log in to reply
4 replies to this topic

#1 jdulmage

jdulmage
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 25 February 2006 - 06:42 PM

My website, www.reginabridge.com has issues with PHP and linking them to text documents.

Our PHP script worked fine on our old hosting provider which had PHP Version 4.3.1.

This new hosting provider uses PHP version 5.1.2, Apache 1.3.34 Unix

The piece of code is:

<a href="index.php?topic=where&amp;title=Where%20Are%20We">

This would reload the menus and side bars for the index.php but the "topic=where" would load where.txt contents in the middle of the page.

What it does now is just reloads the main page and the viewer never gets to see where.txt

All of the files are in the main directory on the FTP.

Any suggestions?

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 25 February 2006 - 07:04 PM

Please post your code.

Ken

#3 jdulmage

jdulmage
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 25 February 2006 - 07:07 PM

There's quite a bit, but here it is, I'll bold what I think is relevant information:

<?php
// Turn off all error reporting
error_reporting(0);
?>
<?php if (is_null($topic)) {
$topic="index";
$title="Welcome to Duplicate Bridge!";
} elseif ($topic=="index") {
$title="Welcome to Duplicate Bridge!";
}
?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR...ml4/loose.dtd">

<html><head><title>RDBC and Bridge Resource Capital</title>



<meta http-equiv=content-type content="text/html; charset=windows-1252">
<meta name="description" content="Database of duplicate bridge conventions, systems, rules, play, columns and more! Hosted by a local club based out of Regina, Saskatchewan, Canada">
<meta name="keywords" content="bridge, duplicate bridge, bridge tournaments, laws of bridge, bridge columns, handouts, IMPs, MPs, systems, bridge games, conventions, club, masterpoints, results, Regina, Saskatchewan">



<style type="text/css">
A {
TEXT-DECORATION: none
}
A:hover {
COLOR: #01458f
}
TD {
font-size: 9pt;
}
</style>
</head>

<body vlink=#0066cc alink=#0066cc link=#0066cc bgcolor=#000000 leftmargin=0 marginwidth=0
topmargin=0 marginheight=0>
<p><br></p>

<center>
<table cellspacing=0 cellpadding=0 width=774 border=0>
<tbody>
<tr>
<td>
<table cellspacing=0 cellpadding=0 width=778 bgcolor=#000080 border=0>
<tbody>
<tr>
<td width=181><img height=55 src="images/4symbols.gif"
width=150 border=0 alt="Bridge Logo"></td>
<td width=160><img height=55 src="images/rdbcbrc.gif" width=350 border=0 alt="Bridge Logo"></td>
<td width=443 bgcolor=#000080>&nbsp;</td>
</tr></tbody></table></td></tr>
<tr>
<td bgcolor=#3870b6 height=23>
<p align=right><b>
<script src="datescript.js">
</script>
<img height=1 src="images/10by1.gif" width=10
border=0 alt=""></b></p></td></tr>
<tr>
<td width="100%" bgcolor=#0066cc height=2><img height=1
src="images/1x1pix.gif" width=1 border=0 alt=""></td></tr></tbody></table></center>

<table cellspacing=0 cellpadding=0 width=750 bgcolor="#ffffff" border=0 align="center">
<tbody>
<tr>
<td valign=middle width="100%" bgcolor=#808080 height=53 align=center><font size=4 face='Tahoma' color=#ffffff><b>
<?php echo $title; ?>
</b></font></td>
<td valign=top rowspan=2>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td bgcolor=#808080 colspan=2 height=19>&nbsp;</td></tr>
<tr>
<td width=20 bgcolor=#808080 height=20><font face=tahoma size=1.5><img
height=20 src="images/upcorn.gif" width=23 border=0 alt=""></font></td>
<td bgcolor=#0285d2>&nbsp;</td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="http://www.reginabri...idge.com"><font
color=#ffffff>Return to Main Page</font></a></font></b></td></tr>
<tr>
<td bgcolor=#f3f3f3 colspan=2 height=1><font face=tahoma size=1.5><img
height=1 src="images/1X1PIX.gif" width=1
border=0 alt=""></font></td></tr>
<tr>
<td width=20 bgcolor=#3870b6 height=20>&nbsp;</td>
<td bgcolor=#3870b6 height=20><b><font face=tahoma color=#ffffff
size=1.5>THE CLUB</font></b></td></tr>


<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=where&amp;title=Where%20Are%20We"><font
color=#ffffff>Where Are We?</font></a></font></b></td></tr>


<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=contacts&amp;title=Contacts"><font
color=#ffffff>Contact Us</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=executive&amp;title=Executive"><font
color=#ffffff>Executive Minutes</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=newsletters&amp;title=Newsletters"><font
color=#ffffff>Newsletters</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=pictures&amp;title=Pictures"><font
color=#ffffff>Pictures</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=history&amp;title=History%20Of%20RDBC"><font
color=#ffffff>RDBC History</font></a></font></b></td></tr>

<!--
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=sponsors&amp;title=Sponsors"><font
color=#ffffff>Sponsors/Affiliates</font></a></font></b></td></tr>

-->

<tr>
<td bgcolor=#f3f3f3 colspan=2 height=1><font face=tahoma size=1.5><img
height=1 src="images/1X1PIX.gif" width=1
border=0 alt=""></font></td></tr>
<tr>
<td width=20 bgcolor=#3870b6 height=20>&nbsp;</td>
<td bgcolor=#3870b6 height=20><b><font face=tahoma color=#ffffff
size=1.5>THE RDBC OFFERING</font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=games&amp;title=Games"><font
color=#ffffff>Our Bridge Games </font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=results&title=Bridge%20Game%20Results"><font
color=#ffffff>Game Results</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=specials&title=Special%20Games"><font
color=#ffffff>Special Events</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=upcoming&amp;title=Bridge%20Tournaments"><font
color=#ffffff>Bridge Tournaments</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=partners&amp;title=Bridge%20Partnerships"><font
color=#ffffff>Partnerships</font></a></font></b></td></tr>
<tr>
<td bgcolor=#f3f3f3 colspan=2 height=1><font face=tahoma size=1.5><img
height=1 src="images/1X1PIX.gif" width=1
border=0 alt=""></font></td></tr>



<tr>
<td width=20 bgcolor=#3870b6 height=20>&nbsp;</td>
<td bgcolor=#3870b6 height=20><b><font face=tahoma color=#ffffff
size=1.5>INTERACTIVE</font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=askbarry&title=Ask%20Barry"><font
color=#ffffff>Ask Barry </font></font></a></font></b></td></tr>


<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=bhands&title=Bridge%20Columns"><font
color=#ffffff>Bridge Columns</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=handouts&title=Bridge%20Handouts"><font
color=#ffffff>Helpout Handouts</font></font></a></font></b></td></tr>


<tr>
<td bgcolor=#f3f3f3 colspan=2 height=1><font face=tahoma size=1.5><img
height=1 src="images/1X1PIX.gif" width=1
border=0 alt=""></font></td></tr>





<tr>
<td width=20 bgcolor=#3870b6 height=20>&nbsp;</td>
<td bgcolor=#3870b6 height=20><b><font face=tahoma color=#ffffff
size=1.5>RESOURCE CAPITAL </font></b></td></tr>


<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=why&amp;title=Why%20Play%20Bridge"><font
color=#ffffff>Why Play Bridge?</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=conventions&title=Bridge%20Conventions"><font
color=#ffffff>Bridge Conventions</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=systems&title=Bridge%20Systems"><font
color=#ffffff>Bridge Systems</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=rules&title=Laws%20Of%20Bridge"><font
color=#ffffff>Laws of Bridge </font></font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=masterpoints&amp;title=Masterpoints"><font
color=#ffffff>Masterpoints Info</font></a></font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=impsvsmps&amp;title=IMPs%20vs%20MPs"><font
color=#ffffff>IMPs vs. MPs</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="http://www.quantumns...umns.com"><font
color=#ffffff>Quantum Net Solutions</font></a></font></b></td></tr>




<!--
<tr>
<td width=20 bgcolor=#3870b6 height=20>&nbsp;</td>
<td bgcolor=#3870b6 height=20><b><font face=tahoma color=#ffffff
size=1.5>BRIDGE LESSONS</font></b></td></tr>
<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=easybridge&amp;title=Easybridge%20for%202004/2005"><font
color=#ffffff>Easybridge!</font></a></font></b></td></tr>

<tr>
<td
onmouseover="this.style.cursor='hand';this.style.backgroundColor='808080';"
onmouseout="this.style.backgroundColor='0285D2';" bgcolor=#0285d2
colspan=2 height=20><b><font face=tahoma color=#ffffff size=1.5><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=1 src="images/10by1.gif" width=10 border=0 alt=""><img
height=9 src="images/block.gif" width=14 border=0 alt=""><a
href="index.php?topic=lessons2004&amp;title=Club Series%20for%202004/2005"><font
color=#ffffff>Club Series</font></a></font></b></td></tr>
-->



<tr>
<td valign=top height=17><img height=17
src="images/botcorn.gif" width=23 border=0 alt=""></td>
<td width="100%" bgcolor=#0285d2 height=17><img height=1
src="images/1X1PIX.gif" width=1 border=0 alt=""></td></tr></tbody></table></td></tr>




<tr>
<td valign=top width="100%" height="100%">
<table cellspacing=0 cellpadding=0 width=625 bgcolor=#ffffff border=0>
<tbody>
<tr>
<td width=4 bgcolor=#3870b6 height=851>&nbsp;</td>
<td valign=top width=212>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td width="100%">
<table cellspacing=10 cellpadding=0 width="90%" border=0>
<tbody>
<tr>
<td width="100%">
<form method=post action="http://www.yourmaili...?reginabridge">
<table border=0>
<tr>
<td colspan=2><font face=arial size=2>Click <a href="http://www.yourmaili...<b>here</b></a>
for archived copies of the <b>Annoucements and Updates</b> that we have sent out related to bridge, club events and more!
To receive emails of this Club newsletter and other annoucements, subscribe with your email address!</font></td>
</tr>
<tr>
<td><input type=text name="YMP[0]" size=20 maxlength=50 alt="email address"></td>
<td><input type=submit value=Submit name=submit alt="email address"></td>
</tr>
<tr>
<td colspan=2><font size=2 face=arial><input type=radio name=action value=subscribe CHECKED alt="subscribe"> Subscribe<input type=radio name=action value=unsubscribe alt="unsubscribe">Unsubscribe</font></td>
</tr>
<tr>
<td colspan=2><font size=2 face=arial><a href="http://www.yourmaili...tprovider.com/" target="_top">Powered by YMLP.com </a></font></td>
</tr>
</table>
</form>
</td></tr>
<tr><td><pre>
<?php include("leaders.txt"); ?>
</pre></td></tr>
</tbody></table></td></tr>


<tr>
<td width="100%">
<table cellspacing=10 cellpadding=0 width="100%" border=0>
<tbody>
<tr><td>
</td></tr></tbody></table></td></tr></tbody></table></td>

<td valign=top width=300>
<table cellspacing=0 cellpadding=3 width=300
border=0>
<tbody>
<tr>
<td valign=top width="100%" height=28>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td valign=top width=385><font face=arial size=2>
<br><br>
<?php include("$topic.txt"); ?>
<br>
</font></td></tr></tbody></table></td></tr></tbody></table></td></tr>
<tr>
<td width=4 bgcolor=#3870b6 height=10>&nbsp;</td>
<td width=645 colspan=2
height=10>&nbsp;</td></tr></tbody></table></td></tr></tbody></table>
<div align=center>
<center>
<table cellspacing=0 cellpadding=0 width=778 border=0>
<tbody>
<tr>
<td bgcolor=#3870b6 height=6>
<p align=center><font face=verdana color=#f3f3f3 size=1.5>&copy 1995 - 2006 Regina Duplicate Bridge Club, All Rights Reserved.</font></p></td></tr></tbody></table></center></div>
<a target="_top" href="http://w.extreme-dm....m/?login=rdbc">
<img name=im src="http://w1.extreme-dm.com/i.gif" height=38
border=0 width=41 alt=""></a><script type="text/javascript" language="javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src=\"http://w0.extreme-dm.com",
"/0.gif?tag=rdbc&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(d.referrer)+"\" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script><script type="text/javascript" language="javascript1.2"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script type="text/javascript" language="javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script><noscript><img height=1 width=1 alt=""
src="http://w0.extreme-dm...=n"></noscript>



<!-- Begin Web-Stat code -->
<script type="text/javascript">
<!--
var page_name = '';
var invisible = '';
function sE(){return true;}window.onError=sE;var base=document;
if(framed=='yes'){base=top.document;}var rn=Math.random();
var ui='reginabridge';var al='site statistics';var framed='no';
var qry=ui+':2::'+escape(base.referrer)+'::'+screen.width
+'x'+screen.height+'::'+screen.colorDepth+'::'+escape(page_name)
+'::'+invisible+'::'+rn+'::'+escape(base.URL);
document.write('<a href="http://www.web-stat.com/stats/');
document.write(ui+'.htm"><img src="http://server3.web-stat.com/count.pl?');
document.write(qry+'" border="0" alt="'+al+'"/><\/a>');
//-->
</script><noscript><a href="http://www.web-stat.com">
<img src="http://server3.web-s...::NoJavaScript"
alt="site statistics" border="0"/></a></noscript>
<!-- End Web-Stat code -->




</body></html>

#4 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 25 February 2006 - 11:05 PM

At the very top of your page, put in the following:

<?php
$topic = urldecode($_GET['topic']);
$title = urldecode($_GET['title']);
?>


#5 jdulmage

jdulmage
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 26 February 2006 - 05:52 AM

[!--quoteo(post=349422:date=Feb 25 2006, 07:05 PM:name=hitman6003)--][div class=\'quotetop\']QUOTE(hitman6003 @ Feb 25 2006, 07:05 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
At the very top of your page, put in the following:

<?php
$topic = urldecode($_GET['topic']);
$title = urldecode($_GET['title']);
?>
[/quote]

thanks very much, but it will load all of the pages now except the main page, lol. Almost got it fixed here, but the main page "index" isn't being loaded anymore. (main page)

EDIT: Nevermind, I added in an "if" statement that said if $topic==null, then to assume it was the main page and same for $title==null to put the correct title in. Everything worked out.

Thanks again.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users