PDA

View Full Version : php page error



valwilson
07-16-2009, 10:20 AM
I changed the page extensions on my website (www.ovariancystshealed.info (http://www.ovariancystshealed.info)) from html to php for tracking purposes, & republished. I then deleted the index.html file using the ftp manager.

The link to my home page was previously www.ovariancystshealed.info/index.html (http://www.ovariancystshealed.info/index.html) & is now www.ovariancystshealed.info/index.php (http://www.ovariancystshealed.info/index.php) but this brings up the following error message

Parse error: syntax error, unexpected T_STRING in /home/gvwltlx/public_html/ovariancystshealed.info/index.php on line 298

Any ideas what I have done wrong? Any help appreciated.

Val

Karen Mac
07-16-2009, 12:22 PM
Did you save as index.php? You need to save it as default.. index.bvp

Go to page properties and change it from html to php in the properties box.

Karen

valwilson
07-16-2009, 03:27 PM
Hi Karen,

thanks for your reply. I have saved it as index.bvp, and changed the file extension to .php in the properties box, so there must be some other problem.

Any other ideas?

Val

Collectors-info
07-16-2009, 07:13 PM
You need to make sure that the html index page has been deleted in your html_public directory/folder as any SE will look for this 1st.
The link to your home page should also be just www.ovariancystshealed.info (http://www.ovariancystshealed.info/index.html)
& not www.ovariancystshealed.info/index.php (http://www.ovariancystshealed.info/index.html)

travlinman
07-16-2009, 08:40 PM
You need to make sure that the html index page has been deleted in your html_public directory/folder as any SE will look for this 1st.
The link to your home page should also be just www.ovariancystshealed.info (http://www.ovariancystshealed.info/index.html)
& not www.ovariancystshealed.info/index.php (http://www.ovariancystshealed.info/index.html)

Hey Chris, Why is the index page being saved as php not html? ...she said in her initial question that she was doing this for tracking purposes.

Can you explain this, please.

valwilson
07-16-2009, 09:25 PM
Hi Chris,

I did delete the html index page in public.html. Before I did this it worked OK, but the html page showed in the browser, not the php (just as you said).

So with the index.html deleted, it does not work at all - any suggestions?

Val

travlinman
07-17-2009, 12:06 AM
have u published/republished index.php?

valwilson
07-17-2009, 08:27 AM
Yes, I've republished the php page, but was still not working so I also republished the html page so that the site is working in the meantime until I get this problem sorted.
If you go to www.ovariancystshealed.info/index.html (http://www.ovariancystshealed.info/index.html) it works, but www.ovariancystshealed/index.php (http://www.ovariancystshealed/index.php) does not.

Val

navaldesign
07-17-2009, 12:11 PM
This is a syntax error in your PHP code. Somehow you have messed the code.

Since PHP code is not visible through the browser, i can't tell you what the issue is. Post the code here and i will debug it for you.

valwilson
07-17-2009, 01:47 PM
Hi navaldesign,

Is this the code you mean? This is copied from 'Page html'

<?PHP
$omsid=$_GET['omsid'];
if ($omsid!=""){
setcookie('omsid', $omsid, time()+3600 * 24 * 30);
}
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Permanently Cure Ovarian Cysts and Achieve LASTING Freedom From PCOS Related Symptoms</title>
<meta name="KEYWORDS" content="permanently cure ovarian cysts, freedom from ovarian cysts, PCOS cure, review of Natural Ovarian Cyst Relief Secrets, Laura Hennings, conventional treatment of ovarian cysts, ovarian cyst surgery">
<meta name="DESCRIPTION" content="Permanently Cure Ovarian Cysts and Achieve LASTING Freedom From PCOS Related Symptoms - Laura Hennings' Natural Ovarian Cysts Relief Secrets">
<meta name="GENERATOR" content="Created by BlueVoda">
<style type="text/css">
div#container
{
width: 998px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</style>
<script type="text/javascript" src="./jscookmenu.js"></script>
<style type="text/css">
.MenuBarMenuBar2Menu,.MenuBarMenuBar2SubMenuTable
{
font-family: Century Gothic, arial, sans-serif;
font-size:16px;
color: #FFFFFF;
background-color: #FFFFFF;
background: url(blue sky picture cropped - freefoto.jpg);
font-weight: normal;
padding: 0;
border: 0;
cursor: pointer;
}
.MenuBarMenuBar2SubMenu
{
position: absolute;
visibility: hidden;
border: 0;
padding: 0;
}
.MenuBarMenuBar2SubMenuTable
{
border-top: 1px solid white;
}
.MenuBarMenuBar2Menu td
{
padding: 0px 3px 0px 3px;
}
.MenuBarMenuBar2SubMenuTable td
{
white-space: nowrap;
}
.MenuBarMenuBar2MainItem,.MenuBarMenuBar2MainItemH over,.MenuBarMenuBar2MainItemActive,
.MenuBarMenuBar2MenuItem,.MenuBarMenuBar2MenuItemH over,.MenuBarMenuBar2MenuItemActive
{
white-space: nowrap;
}
.MenuBarMenuBar2MainItemHover,.MenuBarMenuBar2Main ItemActive,
.MenuBarMenuBar2MenuItemHover,.MenuBarMenuBar2Menu ItemActive
{
color: #FFFFFF;
background-color: #FFFFFF;
font-weight: bold;
font-size: 16px;
}
td.MenuBarMenuBar2MenuSplit
{
overflow: hidden;
background-color: inherit;
}
div.MenuBarMenuBar2MenuSplit
{
height: 1px;
margin: 1px 0px 1px 0px;
overflow: hidden;
background-color: inherit;
border-top: 1px solid #FFFFFF;
}
.MenuBarMenuBar2MenuVSplit
{
display: block;
width: 1px;
margin: 0px 3px 0px 3px;
overflow: hidden;
background-color: inherit;
border-right: 1px solid #FFFFFF;
}
.MenuBarMenuBar2MainItemHover,.MenuBarMenuBar2Main ItemActive,
.MenuBarMenuBar2MenuItemHover,.MenuBarMenuBar2Menu ItemActive
{
background: url(blue sky picture cropped - freefoto.jpg);
}
</style>
<style type="text/css">
.MenuBarMenuBar3Menu,.MenuBarMenuBar3SubMenuTable
{
font-family: Century Gothic, arial, sans-serif;
font-size:16px;
color: #FFFFFF;
background-color: #FFFFFF;
background: url(blue sky picture cropped - freefoto.jpg);
font-weight: normal;
padding: 0;
border: 0;
cursor: pointer;
}
.MenuBarMenuBar3SubMenu
{
position: absolute;
visibility: hidden;
border: 0;
padding: 0;
}
.MenuBarMenuBar3SubMenuTable
{
border-top: 1px solid white;
}
.MenuBarMenuBar3Menu td
{
padding: 0px 3px 0px 3px;
}
.MenuBarMenuBar3SubMenuTable td
{
white-space: nowrap;
}
.MenuBarMenuBar3MainItem,.MenuBarMenuBar3MainItemH over,.MenuBarMenuBar3MainItemActive,
.MenuBarMenuBar3MenuItem,.MenuBarMenuBar3MenuItemH over,.MenuBarMenuBar3MenuItemActive
{
white-space: nowrap;
}
.MenuBarMenuBar3MainItemHover,.MenuBarMenuBar3Main ItemActive,
.MenuBarMenuBar3MenuItemHover,.MenuBarMenuBar3Menu ItemActive
{
color: #FFFFFF;
background-color: #FFFFFF;
font-weight: bold;
font-size: 16px;
}
td.MenuBarMenuBar3MenuSplit
{
overflow: hidden;
background-color: inherit;
}
div.MenuBarMenuBar3MenuSplit
{
height: 1px;
margin: 1px 0px 1px 0px;
overflow: hidden;
background-color: inherit;
border-top: 1px solid #FFFFFF;
}
.MenuBarMenuBar3MenuVSplit
{
display: block;
width: 1px;
margin: 0px 3px 0px 3px;
overflow: hidden;
background-color: inherit;
border-right: 1px solid #FFFFFF;
}
.MenuBarMenuBar3MainItemHover,.MenuBarMenuBar3Main ItemActive,
.MenuBarMenuBar3MenuItemHover,.MenuBarMenuBar3Menu ItemActive
{
background: url(blue sky picture cropped - freefoto.jpg);
}
</style>
</head>
<body bgcolor="#C0C0C0" text="#000000">
<div id="container">
<div id="bv_Shape1" style="position:absolute;left:63px;top:0px;width:875px;he ight:2383px;z-index:0" align="center">
<img src="bv01420.gif" id="Shape1" align="top" alt="" title="" border="0" width="875" height="2383"></div>
<div id="bv_Image1" style="overflow:hidden;position:absolute;left:62px;top:0p x;z-index:1" align="left">
<img src="blue sky picture cropped - freefoto.jpg" id="Image1" alt="" align="top" border="0" style="width:875px;height:120px;"></div>
<div id="bv_Text1" style="position:absolute;left:378px;top:126px;width:504px ;height:164px;z-index:2" align="left">
<font style="font-size:16px" color="#000000" face="Arial"><i>What Can &quot;Natural Ovarian Cyst Relief Secrets&quot; Do For You?</i> <b><br>
</font><font style="font-size:11px" color="#000000" face="Tahoma"><br>
</font><font style="font-size:27px" color="#000000" face="Tahoma">&quot;Naturally Cure Your Ovarian Cysts (Including PCOS) Within 2 Months, Without Drugs or Surgery, and Never Get Another Cyst Again.&quot;</b></font></div>
<div id="bv_Html1" style="position:absolute;left:132px;top:561px;width:254px ;height:25px;z-index:3" align="left">
<B>
<FONT style="FONT-SIZE:12pt" color="black" face="arial">
<script language="JavaScript">
<!--
var now = new Date();
var days = new Array(
'Sunday','Monday','Tuesday',
'Wednesday','Thursday','Friday','Saturday');
var months = new Array(
'January','February','March','April','May',
'June','July','August','September','October',
'November','December');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function fourdigits(number) {
return (number < 1000) ? number + 1900 : number;}
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear()));
document.write(today);
//-->
</script>
</FONT>
</B>
</div>
<div id="bv_Text6" style="position:absolute;left:76px;top:35px;width:383px;h eight:33px;z-index:4" align="left">
<font style="font-size:29px" color="#FFFFFF" face="Arial">OvarianCystsHealed.info</font></div>
<div id="bv_Image5" style="overflow:hidden;position:absolute;left:62px;top:22 61px;z-index:5" align="left">
<img src="blue sky picture cropped - freefoto.jpg" id="Image5" alt="" align="top" border="0" style="width:875px;height:120px;"></div>
<div id="bv_Text7" style="position:absolute;left:69px;top:2271px;width:383px ;height:33px;z-index:6" align="left">
<font style="font-size:29px" color="#FFFFFF" face="Arial">OvarianCystsHealed.info</font></div>
<div id="bv_Html2" style="position:absolute;left:79px;top:165px;width:263px; height:150px;z-index:7" align="left">
<script type="text/javascript" src="http://forms.aweber.com/form/34/994513334.js"></script></div>
<div id="bv_MenuBar2" style="position:absolute;left:70px;top:94px;width:1086px; height:25px;z-index:2008" align="left">
<script type="text/javascript">
<!--
var wbMenuMenuBar2 =
[
[null, 'HOME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'http://www.ovariancystshealed.info/index.html', '_self', 'HOME '],
[null, 'PRIVACY&nbsp;POLICY&nbsp;&nbsp;&nbsp;&nbsp;', 'http://www.ovariancystshealed.info/privacy_policy.html', '_self', 'PRIVACY POLICY ']
];
-->
</script>
<div id="MenuIDMenuBar2"></div>
<script type="text/javascript">
<!--
var cmMenuBarMenuBar2 =
{
mainFolderLeft: '',
mainFolderRight: '',
mainItemLeft: '',
mainItemRight: '',
folderLeft: '',
folderRight: '',
itemLeft: '',
itemRight: '',
mainSpacing: 0,
subSpacing: 0,
delay: 100,
offsetSubAdjust: [0, -1]
};
var cmMenuBarMenuBar2HSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar2MenuSplit"></div></td>'];
var cmMenuBarMenuBar2MainHSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar2MenuSplit"></div></td>'];
var cmMenuBarMenuBar2MainVSplit = [_cmNoClick, '<div class="MenuBarMenuBar2MenuVSplit">|</div>'];
cmDraw('MenuIDMenuBar2', wbMenuMenuBar2, 'hbr', cmMenuBarMenuBar2, 'MenuBarMenuBar2');
-->
</script>
</div>
<div id="bv_MenuBar3" style="position:absolute;left:71px;top:2355px;width:1086p x;height:25px;z-index:2009" align="left">
<script type="text/javascript">
<!--
var wbMenuMenuBar3 =
[
[null, 'HOME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'http://www.ovariancystshealed.info/index.php', '_self', 'HOME '],
[null, 'OVARIAN&nbsp;CYSTS&nbsp;ARTICLES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'http://ovariancystshealed.info/articles.php', '_self', 'OVARIAN CYSTS ARTICLES '],
[null, 'PRIVACY&nbsp;POLICY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'http://www.ovariancystshealed.info/privacy_policy.php', '_self', 'PRIVACY POLICY '],
[null, 'DISCLAIMER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'http://www.ovariancystshealed.info/disclaimer.php', '_self', 'DISCLAIMER '],
[null, 'CONTACT&nbsp;US', 'mailto:support@ovariancystshealed.info', '_self', 'CONTACT US']
];
-->
</script>
<div id="MenuIDMenuBar3"></div>
<script type="text/javascript">
<!--
var cmMenuBarMenuBar3 =
{
mainFolderLeft: '',
mainFolderRight: '',
mainItemLeft: '',
mainItemRight: '',
folderLeft: '',
folderRight: '',
itemLeft: '',
itemRight: '',
mainSpacing: 0,
subSpacing: 0,
delay: 100,
offsetSubAdjust: [0, -1]
};
var cmMenuBarMenuBar3HSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar3MenuSplit"></div></td>'];
var cmMenuBarMenuBar3MainHSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar3MenuSplit"></div></td>'];
var cmMenuBarMenuBar3MainVSplit = [_cmNoClick, '<div class="MenuBarMenuBar3MenuVSplit">|</div>'];
cmDraw('MenuIDMenuBar3', wbMenuMenuBar3, 'hbr', cmMenuBarMenuBar3, 'MenuBarMenuBar3');
-->
</script>
</div>
<div id="bv_Image6" style="overflow:hidden;position:absolute;left:741px;top:3 06px;z-index:10" align="left">
<a href="http://701d5pbjn0-xbtf0ll6b06nz4r.hop.clickbank.net/?tid=<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; }"><img src="natural ovarian cyst relief secrets book small.jpg" id="Image6" alt="" align="top" border="0" style="width:175px;height:218px;"></a></div>
<div id="bv_Text2" style="position:absolute;left:132px;top:592px;width:734px ;height:1300px;z-index:11" align="left">
<font style="font-size:16px" color="#000000" face="Arial"><b>Dear Ovarian Cysts Sufferer,</b><br>
<br>
Laura Hennings' story is one that you probably will be able to relate to all too well. Laura suffered from ovarian cysts for six long years. Like most women with this condition, she spent years going back and forward to dozens of different physicians, spending a lot of money, and still not getting any closer to being cured.&nbsp; <br>
<br>
Despite being in great pain, the first doctor told her to do nothing and come back in two months.<br>
<br>
He then prescribed some prescription medicine (which didn’t work), and then told her to take birth control pills - the standard conventional medicine approach. But these did not work either.<br>
<br>
After changing doctors, and getting multiple ’second opinions', she realized two things. Firstly, all conventional medical approaches simply treated the symptoms of ovarian cysts, and did nothing to address the underlying cause. This meant that even if the cysts did go away or were removed, they were very likely to come back again. Secondly, all doctors always ultimately told her the same thing - that surgery was her only option. <br>
<br>
But Laura did not want to undergo invasive and dangerous surgery. So she set out on a personal mission to learn first hand everything she could about ovarian cysts, determined to find a natural cure for herself.<br>
<br>
She read all the latest medical and scientific studies on ovarian cysts, learned what medicines had what effects, and talked to hundreds of researchers at universities and medical institutions.<br>
<br>
She investigated the claims made by homeopaths and natural physicians about herbs, vitamins and supplements and basically used herself as a guinea pig<br>
<br>
After literally years of trial and error, she finally discovered the combination that worked for her, and was able to <b>totally eliminate her ovarian cyst - only seven weeks after her treatment started</b>.<br>
<br>
To make sure that it was not a one off, she carried out an experiment with 23 other women who also suffered from ovarian cysts, and the results were amazing. <b>All 23 women</b> who followed her program were <b>fully cured of their cysts</b>, with the cysts beginning to shrink and the extreme pain disappearing after just a few days. <br>
<br>
Not only that, but <b>none</b> of the 23 women experienced a single cyst again. This was truly astonishing, as in so many conventionally treated cases, even if a cyst does disappear, it often just comes back again.<br>
<br>
Now Laura has written a book, <b><a href="http://701d5pbjn0-xbtf0ll6b06nz4r.hop.clickbank.net/?tid=<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; }">Natural Ovarian Cyst Relief Secrets</a></b>, which gives in great detail the program that Laura herself (and the other 23 ovarian cyst suffers) successfully followed to get rid of their cysts and be pain free for good. It is a step by step system of how Laura was able to eliminate her own ovarian cyst.<br>
<br>
The book tells you:<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
The methods contained in this book are effective for all types of ovarian cyst. Whether you are suffering from functional ovarian cysts (such as follicular cysts, or corpus luteum cysts) or abnormal ovarian cysts (including cystadenoma cysts, endometrial cysts, and chocolate cysts), or even polycystic ovarian syndrome (also known as PCOS), all of these can be treated and cured naturally, using this holistic method.<br>
<br>
This is not a quick fix program, but if you are willing to make the lifestyle changes necessary to achieve PCOS and ovarian cyst freedom, you will find <b>&quot;Natural Ovarian Cyst Relief Secrets&quot;</b> to be one of the best investments you ever make.<br>
</font></div>
<div id="bv_BulletedList2" style="position:absolute;left:161px;top:1415px;width:676p x;height:258px;z-index:12" align="left">
<table width="100&#37;" border="0" cellpadding="0" cellspacing="2" id="BulletedList2">
<tr>
<td align="left" valign="top" width="32" height="22"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="22"><font style="font-size:16px" color="#000000" face="Arial">How to restore your hormonal balance</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="22"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="22"><font style="font-size:16px" color="#000000" face="Arial">The things to avoid because they can actually encourage the growth of ovarian cysts</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="38"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="38"><font style="font-size:16px" color="#000000" face="Arial">7 things about the food you eat - ignore these and you will always be susceptible to ovarian cysts</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="22"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="22"><font style="font-size:16px" color="#000000" face="Arial">The treatment she discovered that worked to eliminate her cyst</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="38"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="38"><font style="font-size:16px" color="#000000" face="Arial">25 household products you should not use -&nbsp; they interfere with your body's natural hormonal balance</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="38"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="38"><font style="font-size:16px" color="#000000" face="Arial">How to avoid surgery - but if it's already scheduled, the things you need to ask your doctor in order to make sure your ovaries are not damaged</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="38"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="38"><font style="font-size:16px" color="#000000" face="Arial">3 things to do to cleanse your body of chemicals - these act like hormones and cause a hormonal imbalance</font></td>
</tr>
<tr>
<td align="left" valign="top" width="32" height="22"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="638" height="22"><font style="font-size:16px" color="#000000" face="Arial">A technique that relieves the root cause of ovarian cyst pain</font></td>
</tr>
</table></div>
<div id="bv_Shape2" style="position:absolute;left:304px;top:1890px;width:391p x;height:70px;z-index:13" align="center">
<a href="http://701d5pbjn0-xbtf0ll6b06nz4r.hop.clickbank.net/?tid=<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; }" target="_self"><img src="bv01466.gif" id="Shape2" align="top" alt="" title="" border="0" width="391" height="70"></a></div>
<div id="bv_Shape3" style="position:absolute;left:375px;top:479px;width:327px ;height:54px;z-index:14" align="center">
<a href="http://701d5pbjn0-xbtf0ll6b06nz4r.hop.clickbank.net/?tid=<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; }" target="_self"><img src="bv01467.gif" id="Shape3" align="top" alt="" title="" border="0" width="327" height="54"></a></div>
<div id="bv_BulletedList1" style="position:absolute;left:376px;top:300px;width:365px ;height:170px;z-index:15" align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="2" id="BulletedList1">
<tr>
<td align="left" valign="top" width="34" height="40"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="326" height="40"><font style="font-size:16px" color="#000000" face="Arial"><b>Start to shrink your cysts immediately - beginning today</b></font></td>
</tr>
<tr>
<td align="left" valign="top" width="34" height="40"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="326" height="40"><font style="font-size:16px" color="#000000" face="Arial"><b>Stop the unbearable pain caused by your ovarian cysts - within just a few days</b></font></td>
</tr>
<tr>
<td align="left" valign="top" width="34" height="40"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="326" height="40"><font style="font-size:16px" color="#000000" face="Arial"><b>Be totally free of cysts within 2 months - and never get them again</b></font></td>
</tr>
<tr>
<td align="left" valign="top" width="34" height="40"><font style="font-size:16px;" color="#000000" face="Symbol">&#183;</font></td>
<td align="left" valign="top" width="326" height="40"><font style="font-size:16px" color="#000000" face="Arial"><b>No more fertility worries - regain healthy ovaries allowing you to conceive naturally</b></font></td>
</tr>
</table></div>
<div id="bv_Text3" style="position:absolute;left:129px;top:2011px;width:730p x;height:92px;z-index:16" align="left">
<font style="font-size:16px" color="#000000" face="Arial"><b>P.S. </b>Laura is so sure that you will be able to completely cure your ovarian cysts using her methods that she is offering a full 2 month guarantee. Download a copy of &quot;Natural Ovarian Cyst Relief Secrets&quot;, and if you do not eliminate your cysts just as easily as thousands of other women already have, she will give you a <b>full 100% refund</b>, no questions asked. So you really have got nothing to lose by giving it a go (apart from your ovarian cysts).</font></div>
<div id="bv_Shape4" style="position:absolute;left:304px;top:2135px;width:391p x;height:70px;z-index:17" align="center">
<a href="http://701d5pbjn0-xbtf0ll6b06nz4r.hop.clickbank.net/?tid=<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; }" target="_self"><img src="bv01470.gif" id="Shape4" align="top" alt="" title="" border="0" width="391" height="70"></a></div>
</div>
</body>
</html>

navaldesign
07-17-2009, 06:01 PM
You code is wrong . Replace it with

<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; } ?>

Please copy it from here and paste it, with php code all in one line, it is easy to mistake a whitespace and it all messes up.

You have this code in many places, you need to replace it in all of them.

Or, even better, replace it with this:

<?PHP
if($omsid!=""){
echo $omsid;
}
else {
echo $_COOKIE['omsid'];
}
?>

valwilson
07-19-2009, 12:22 PM
Thanks for you reply.

Unortunately, I tried copying and pasting both these codes, but it still did not work. Just to check that I did it coprrectly, I replaced

<?PHP
$omsid=$_GET['omsid'];
if ($omsid!=""){
setcookie('omsid', $omsid, time()+3600 * 24 * 30);
}
?>

with

<?PHP if($omsid!=""){ echo $omsid; } else { echo $_COOKIE['omsid']; } ?>

but this gave the error message

Parse error: syntax error, unexpected T_STRING in /home/gvwltlx/public_html/ovariancystshealed.info/index.php on line 293

and when I tried

<?PHP
if($omsid!=""){
echo $omsid;
}
else {
echo $_COOKIE['omsid'];
}
?>

the error message is

Parse error: syntax error, unexpected T_STRING in /home/gvwltlx/public_html/ovariancystshealed.info/index.php on line 300


Am I missing something else?

navaldesign
07-19-2009, 06:51 PM
You have replaced wrong code. It is not the one in Start of page that you have mistaken and needed to replace, it is all the others!

valwilson
07-19-2009, 09:02 PM
At last, I've cracked it! That's it working now - thanks for all your help Navaldesign - really appreciated.

Val