We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Website not showing in any browser

Medium Priority
552 Views
Last Modified: 2013-11-19
Hi I have been trying to upload my website to the server but have come across a huge problem that i do not know how to fix!!

The website doesn't show all of its content. The only sections that are visible are
the container and body. Everything else is missing even the content and members login forms.

I have been previewing the site on my local host for weeks but now I have uploaded it to the public server the site won't show - anyone every come across this problem. I have written the site using php and there is a mysql database attached both currently have hosting. I just don't know!!
Comment
Watch Question

Did you set your index/homepage accordingly within your web hosting app?

Commented:
1. Do your test server and live server run the same version of PHP, and does the live server have all the extensions enabled that you need?

2. Have you reconfigured your connection details to work with the live server?

-null-

Commented:
do the php scripts have execute permission on the server?

Commented:
try to view the source of a document, if your php script is hidden in it then it's not being executed

Author

Commented:
I have used dreamweaver to successfully connect to my server however the site still isn't show!!
have a look http://www.bidandplay.co.uk

Author

Commented:
Your right the source is not showing any php script! how do I go about rectifying that???

Author

Commented:
I really don't want to start messing with the IIS settings unless I am sure of what I am doing can you give me som points on how to enable php scripts to be executed?
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
>>>> try to view the source of a document, if your php script is hidden in it then it's not being executed
>> Your right the source is not showing any php script!

PHP won't show in the browser.  It gets evaluated server side and any output is sent as HTML.

rafique12, please post the source code from Dreamweaver so we can get a sense of what you are trying to do.  If you have a lot of PHP on the page, it is likely you have a simple error somewhere and that's why the content isn't showing.

Also, since this is a Windows server, make sure PHP is enabled on the server.

Commented:
it does seem to execute, or else it would have shown the code in the browser source
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Sorry, meant to say "make sure all relevant PHP extensions are enabled"

Since we have no idea what the PHP is doing, that could be an issue.  Although one would assume a warning or error would be generated.

Author

Commented:
here is the code for index.php
<!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=iso-8859-1" />
 
<title>Lowest unique bid wins | reverse auction website</title>
<meta name="description" content="sms competitions and reverse auction website where the lowest unique bid wins, special offers on pc and console computer games for all formats, win prizes via sms competitions or download games, ebooks, movies, mobile appllications and software as well as music and purchase concert tickets" />
 
<meta name="keywords" content="what is reverse auction, lowest unique bid aution, lowest unique bid website, reverse auction website, what is a reverse auction, Jewelry, online auction, gold jewelry, jewelry sale,diamond jewelry,jewelry discount,Jewellery,silver jewelry,jewellery gold,ruby jewelry,ruby,inexpensive, auction sites,online jewelry shop,jewelry rings,Brand name Jewelry,sterling silver bands,white gold chain,emerald ring" />
 
 
<script language="javascript" type="text/javascript">
 
today  = new Date();
todayEpoch  = today.getTime();
 
target = new Date("1 march, 2009"); 
targetEpoch = target.getTime();
 
daysLeft = Math.floor(((targetEpoch - todayEpoch) / (60*60*24)) / 1000);
</script>
 
<style type="text/css">
<!--
a:link {
	text-decoration: none;
	color: #999999;
}
a:visited {
	text-decoration: none;
	color: #CCCCCC;
}
a:hover {
	text-decoration: none;
	color: #666666;
}
a:active {
	text-decoration: none;
}
-->
</style>
 
 
<link href="css/bidcss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="body">
<div class="banner"><img src="siteconstruction/bidlogo.png" /></div>
  <div class="affiliate">
<noscript>
	<a href='http://www.tkqlhce.com/click-3308911-10599239'>
		<img alt='' border='0' height='60' src='http://www.awltovhc.com/image-3308911-10599239' width='468'/></a>
</noscript>
<script src='http://www.ftjcfx.com/javascript/get_flash_html.js' type='text/javascript'>
</script>
<script type='text/javascript'>
 getFlashHtml('468x60TaiKai_£100_Free_Prize_Pot', 468, 60, 'http://www.tqlkg.com/flash-3308911-10599239?clickTag=http://www.tkqlhce.com/click-3308911-10599239', '', 'http://www.awltovhc.com/image-3308911-10599239', 'http://www.tkqlhce.com/click-3308911-10599239')
</script>
</div>
 
<div class="date">
  <?php 
echo date('l, F dS Y.'); 
?>
</div>
 
<div class="divide"></div>
 
<div class="signup">Sign up for email and sms text alerts.
  <?php
 
// Connects to your Database 
mysql_connect(" ", "", "") or die(mysql_error()); 
mysql_select_db("") or die(mysql_error()); 
 
//This code runs if the form has been submitted
if (isset($_POST['submit'])) { 
 
//This makes sure they did not leave any fields blank
if (!$_POST['firstname'] | !$_POST['lastname'] | !$_POST['email'] | !$_POST['mobile'] ){
die('You did not complete all of the required fields');
}
 
// now we insert it into the database
$insert = "INSERT INTO signup (firstname, lastname, email, mobile)
VALUES ('".$_POST['firstname']."', '".$_POST['lastname']."', '".$_POST['email']."', '".$_POST['mobile']."')";
$add_member = mysql_query($insert);
?>
    
    
  <h3>Registered</h3>
  <p>Thank you, you have registered - you will now recieve free text and email alerts for new auctions, competitions and special offers</p>
  
<?php 
} 
else 
{ 
?>
  
  <?php
}
?> 
  
  <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
  <table border="0">
  <tr><td><span class="style6">Firstname*</span></td>
  <td>
  <input name="firstname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">Lastname*</span></td>
  <td>
  <input name="lastname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">email*</span></td>
  <td>
  <input name="email" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">mobile*</span></td>
  <td>
  <input name="mobile" type="text" size="10" maxlength="20" />  </tr>
  <tr><td><span class="style6">I agree to the terms</span></td>
  <td>
  <input name="terms" type="checkbox" /></td></tr>
  <tr><th colspan=2><ol class="style6"><input type="submit" name="submit" value="Sign up"></ol></th></tr></table>
  </form>
  </div>
 
<div class="bodytext2">
search for products you wish to purchase in a reverse auction:
<form action="http://www.google.co.uk/cse" id="cse-search-box" target="_blank">
  <div>
    <input type="hidden" name="cx" value="partner-pub-4937814196550581:cqp1y5bzhmf" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="20" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<br />
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 120x240, created 2/8/09 */
google_ad_slot = "7700717296";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
 
<div class="content">
<div class="linkbar"><a href="http://www.bidandplay.co.uk/tickets.php">TICKETS</a> |<a href="http://wwwbidandplay.co.uk/dvd.php"> DVD </a>| <a href="http://www.bidandplay.co.uk/bluray.php">BLURAY</a> | <a href="http://www.bidandplay.co.uk/music.php">MUSIC</a> | <a href="http://www.bidandplay.co.uk/games.php">GAMES</a> | <a href="http://www.bidandplay.co.uk/mobile.php">MOBILE GAMES &amp; APPS</a> | <a href="http://www.bidandplay.co.uk/computing.php">COMPUTING</a> | <a href="http://www.bidandplay.co.uk/books.php">BOOKS</a> |<a href="http://www.bidandplay.co.uk/holidays.php" target="_blank"> HOLIDAY SEARCH</a> | <a href="http://www.bidandplay.co.uk/index.php">HOME</a></div>
  
<div class="bodytext">
  <h1>Lowest unique bid wins</h1>
We are giving away a brand new Sony playstation 3 and a Mac Book Pro in our <em>reverse auction</em>. 
This is a UK only <em>sms competition</em>, all you have to do is text the word 'wish' followed by your bid in pence to 82055. For example, if you would like to make a bid for &pound;1.17, just text 'wish 117p' to 82055 you will recieve a conformation message letting you know that your bid has been registered. If your bid is  the lowest and unique you will be able to purchase the product at your bid price. However, if someone else matches your bid you will need to make a higher or lower bid. Each message costs 1.50p over 18's only PLEASE GET THE BILL PAYERS PERMISSION before entering.
<br />
<h2>make a bid online</h2>
to recieve &pound;10 off your first auction - <a href="http://www.bidandplay.co.uk/swoopoandbid.php" target="_blank">click here!</a>
<br/>
<h3>Reverse auction text 'wish' and your bid in pence to 82055</h3>
This is a great opportunity to purchase products at their cheapest ever price. Last month in our December reverse auction we sold a brand new nintendo wii and wii fit sports game for just &pound;14.97p!!
<br />
<br />
<h2>Going Going Gone...</h2>
A 42 &quot; Plasma TV for pennies - Make a bid <a href="http://www.bidandplay.co.uk/bidandswoopo.php">here</a>
<p><h2>Search and win...</h2>
Use our finely tuned search engine to find a product of your choice that are currently being &quot;reverse&quot; auctioned. Plasma TV's, Games Consoles, Jewwelry, Cars and much much more...
</p>
</div>
  
<div class="ad">
  <object width="275" height="210">
    <param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" />
    <embed src="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" type="application/x-shockwave-flash" width="275" height="210"></embed>
  </object>
  </div>
 
<div class="timeleft">The bidandplay.co.uk reverse auction begins in
<script type="text/javascript">document.write(daysLeft);</script> days.</div>
  
  <div class="textlink">Designer <a href="http://www.tkqlhce.com/click-3284315-10412384" target="_blank">Watches</a> for men and women. Bid &amp; Win huge discounts.</div>
  
<div class="column">
<br />
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
<a href="http://www.anrdoezrs.net/p0117hz74z6MQPVRQOSMONSQTWOV" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">A Wii for &pound;9.17</a><br>
You've just missed this bargain, but don't miss the next live auction.<br>
Register for &pound;10 off your first win!
<img src="http://www.lduhtrp.net/8o121tkocig154A6537132758B3A" width="1" height="1" border="0"/>
<br />
<br />
Bet with UK's largest betting site and get your<a href="http://www.kqzyfj.com/click-3284315-10537232" target="_blank" onmouseover="window.status='http://www.betfair.com';return true;" onmouseout="window.status=' ';return true;"> GBP 25 free bet only at Betfair</a>
<img src="http://www.tqlkg.com/image-3284315-10537232" width="1" height="1" border="0"/>
<br />
<br />
<a href="http://www.kqzyfj.com/click-3284315-10536910" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">Going, Going, Gone...</a><br>
Bargain auctions ending soon, bidding starts at only 7p.<br>
Register today for &pound;10 off your first win!<br>
<img src="http://www.tqlkg.com/image-3284315-10536910" width="1" height="1" border="0"/>
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 250x250, created 1/28/09 */
google_ad_slot = "3749558478";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
<div class="logo"></div>
 
 
<div class="footer"><a href="http://www.jdoqocy.com/lg98zw41w3JNMSONLPJLKOLTRQQ" target="_blank">Links</a> | <a href="mailto:info@bidandplay.co.uk">Contact Us</a> | <a href="http://www.bidandplay.co.uk/terms.php">Privacy Policy </a>|<a href="http://en.wikipedia.org/wiki/Unique_bid_auction"> What Is Reverse Auction?</a> | <a href="http://www.bidandplay.co.uk/terms.php">Terms
</a></div>
</div>
</div>
</div>
</body>
</html>

Open in new window

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
I think you have a misplaced curly brace in the PHP and that's blanking out the rest of the page.

Author

Commented:
php extensions enabled?
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
To test, comment out lines 78 through 102

Author

Commented:
do you mean place the code in single or double quotes (I don't understand the terminology "comment out) Sorryy! :-0
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Like this:
/* if (isset($_POST['submit'])) { 
 
//This makes sure they did not leave any fields blank
if (!$_POST['firstname'] | !$_POST['lastname'] | !$_POST['email'] | !$_POST['mobile'] ){
die('You did not complete all of the required fields'); 
}
 
// now we insert it into the database
$insert = "INSERT INTO signup (firstname, lastname, email, mobile)
VALUES ('".$_POST['firstname']."', '".$_POST['lastname']."', '".$_POST['email']."', '".$_POST['mobile']."')";
$add_member = mysql_query($insert); */
?>
    
    
  <h3>Registered</h3>
  <p>Thank you, you have registered - you will now recieve free text and email alerts for new auctions, competitions and special offers</p>
  
<?php 
// } 
// else 
// { 
?>
  
  <?php
// }
?> 

Open in new window

Author

Commented:
The code turns green and I am unable to preview on the local host I get a http error. In addition i ftp the page and tried again but the page still won't display - sorry!
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Try removing this code:

<noscript>
      <a href='http://www.tkqlhce.com/click-3308911-10599239'>
            <img alt='' border='0' height='60' src='http://www.awltovhc.com/image-3308911-10599239' width='468'/></a>
</noscript>
<script src='http://www.ftjcfx.com/javascript/get_flash_html.js' type='text/javascript'>
</script>
<script type='text/javascript'>
 getFlashHtml('468x60TaiKai_£100_Free_Prize_Pot', 468, 60, 'http://www.tqlkg.com/flash-3308911-10599239?clickTag=http://www.tkqlhce.com/click-3308911-10599239', '', 'http://www.awltovhc.com/image-3308911-10599239', 'http://www.tkqlhce.com/click-3308911-10599239')
</script>


and see what happens

Author

Commented:
that isn't the problem its a simple flash banner!! I tried anyway but to no avail.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
It's content that's coming from an external site.  For simplicity, remove it and remove any chance that something is coming in from the external site that is breaking your page.

Repost your current source code from DW...

Author

Commented:
Banner removed!
<!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=iso-8859-1" />
 
<title>Lowest unique bid wins | reverse auction website</title>
<meta name="description" content="sms competitions and reverse auction website where the lowest unique bid wins, special offers on pc and console computer games for all formats, win prizes via sms competitions or download games, ebooks, movies, mobile appllications and software as well as music and purchase concert tickets" />
 
<meta name="keywords" content="what is reverse auction, lowest unique bid aution, lowest unique bid website, reverse auction website, what is a reverse auction, Jewelry, online auction, gold jewelry, jewelry sale,diamond jewelry,jewelry discount,Jewellery,silver jewelry,jewellery gold,ruby jewelry,ruby,inexpensive, auction sites,online jewelry shop,jewelry rings,Brand name Jewelry,sterling silver bands,white gold chain,emerald ring" />
 
 
<script language="javascript" type="text/javascript">
 
today  = new Date();
todayEpoch  = today.getTime();
 
target = new Date("1 march, 2009"); 
targetEpoch = target.getTime();
 
daysLeft = Math.floor(((targetEpoch - todayEpoch) / (60*60*24)) / 1000);
</script>
 
<style type="text/css">
<!--
a:link {
	text-decoration: none;
	color: #999999;
}
a:visited {
	text-decoration: none;
	color: #CCCCCC;
}
a:hover {
	text-decoration: none;
	color: #666666;
}
a:active {
	text-decoration: none;
}
-->
</style>
 
 
<link href="css/bidcss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="body">
<div class="banner"><img src="siteconstruction/bidlogo.png" /></div>
  <div class="affiliate">
</div>
 
<div class="date">
  <?php 
echo date('l, F dS Y.'); 
?>
</div>
 
<div class="divide"></div>
 
<div class="signup">Sign up for email and sms text alerts.
  <?php
 
// Connects to your Database 
mysql_connect(" ", "", "") or die(mysql_error()); 
mysql_select_db("bidders") or die(mysql_error()); 
 
//This code runs if the form has been submitted
 if (isset($_POST['submit'])) { 
 
//This makes sure they did not leave any fields blank
if (!$_POST['firstname'] | !$_POST['lastname'] | !$_POST['email'] | !$_POST['mobile'] ){
die('You did not complete all of the required fields'); 
}
 
// now we insert it into the database
$insert = "INSERT INTO signup (firstname, lastname, email, mobile)
VALUES ('".$_POST['firstname']."', '".$_POST['lastname']."', '".$_POST['email']."', '".$_POST['mobile']."')";
$add_member = mysql_query($insert); 
?>
    
    
  <h3>Registered</h3>
  <p>Thank you, you have registered - you will now recieve free text and email alerts for new auctions, competitions and special offers</p>
  
<?php 
 } 
 else 
 { 
?>
  
  <?php
 }
?>   
  <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
  <table border="0">
  <tr><td><span class="style6">Firstname*</span></td>
  <td>
  <input name="firstname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">Lastname*</span></td>
  <td>
  <input name="lastname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">email*</span></td>
  <td>
  <input name="email" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">mobile*</span></td>
  <td>
  <input name="mobile" type="text" size="10" maxlength="20" />  </tr>
  <tr><td><span class="style6">I agree to the terms</span></td>
  <td>
  <input name="terms" type="checkbox" /></td></tr>
  <tr><th colspan=2><ol class="style6"><input type="submit" name="submit" value="Sign up"></ol></th></tr></table>
  </form>
  </div>
 
<div class="bodytext2">
search for products you wish to purchase in a reverse auction:
<form action="http://www.google.co.uk/cse" id="cse-search-box" target="_blank">
  <div>
    <input type="hidden" name="cx" value="partner-pub-4937814196550581:cqp1y5bzhmf" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="20" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<br />
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 120x240, created 2/8/09 */
google_ad_slot = "7700717296";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
 
<div class="content">
<div class="linkbar"><a href="http://www.bidandplay.co.uk/tickets.php">TICKETS</a> |<a href="http://wwwbidandplay.co.uk/dvd.php"> DVD </a>| <a href="http://www.bidandplay.co.uk/bluray.php">BLURAY</a> | <a href="http://www.bidandplay.co.uk/music.php">MUSIC</a> | <a href="http://www.bidandplay.co.uk/games.php">GAMES</a> | <a href="http://www.bidandplay.co.uk/mobile.php">MOBILE GAMES &amp; APPS</a> | <a href="http://www.bidandplay.co.uk/computing.php">COMPUTING</a> | <a href="http://www.bidandplay.co.uk/books.php">BOOKS</a> |<a href="http://www.bidandplay.co.uk/holidays.php" target="_blank"> HOLIDAY SEARCH</a> | <a href="http://www.bidandplay.co.uk/index.php">HOME</a></div>
  
<div class="bodytext">
  <h1>Lowest unique bid wins</h1>
We are giving away a brand new Sony playstation 3 and a Mac Book Pro in our <em>reverse auction</em>. 
This is a UK only <em>sms competition</em>, all you have to do is text the word 'wish' followed by your bid in pence to 82055. For example, if you would like to make a bid for &pound;1.17, just text 'wish 117p' to 82055 you will recieve a conformation message letting you know that your bid has been registered. If your bid is  the lowest and unique you will be able to purchase the product at your bid price. However, if someone else matches your bid you will need to make a higher or lower bid. Each message costs 1.50p over 18's only PLEASE GET THE BILL PAYERS PERMISSION before entering.
<br />
<h2>make a bid online</h2>
to recieve &pound;10 off your first auction - <a href="http://www.bidandplay.co.uk/swoopoandbid.php" target="_blank">click here!</a>
<br/>
<h3>Reverse auction text 'wish' and your bid in pence to 82055</h3>
This is a great opportunity to purchase products at their cheapest ever price. Last month in our December reverse auction we sold a brand new nintendo wii and wii fit sports game for just &pound;14.97p!!
<br />
<br />
<h2>Going Going Gone...</h2>
A 42 &quot; Plasma TV for pennies - Make a bid <a href="http://www.bidandplay.co.uk/bidandswoopo.php">here</a>
<p><h2>Search and win...</h2>
Use our finely tuned search engine to find a product of your choice that are currently being &quot;reverse&quot; auctioned. Plasma TV's, Games Consoles, Jewwelry, Cars and much much more...
</p>
</div>
  
<div class="ad">
  <object width="275" height="210">
    <param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" />
    <embed src="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" type="application/x-shockwave-flash" width="275" height="210"></embed>
  </object>
  </div>
 
<div class="timeleft">The bidandplay.co.uk reverse auction begins in
<script type="text/javascript">document.write(daysLeft);</script> days.</div>
  
  <div class="textlink">Designer <a href="http://www.tkqlhce.com/click-3284315-10412384" target="_blank">Watches</a> for men and women. Bid &amp; Win huge discounts.</div>
  
<div class="column">
<br />
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
<a href="http://www.anrdoezrs.net/p0117hz74z6MQPVRQOSMONSQTWOV" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">A Wii for &pound;9.17</a><br>
You've just missed this bargain, but don't miss the next live auction.<br>
Register for &pound;10 off your first win!
<img src="http://www.lduhtrp.net/8o121tkocig154A6537132758B3A" width="1" height="1" border="0"/>
<br />
<br />
Bet with UK's largest betting site and get your<a href="http://www.kqzyfj.com/click-3284315-10537232" target="_blank" onmouseover="window.status='http://www.betfair.com';return true;" onmouseout="window.status=' ';return true;"> GBP 25 free bet only at Betfair</a>
<img src="http://www.tqlkg.com/image-3284315-10537232" width="1" height="1" border="0"/>
<br />
<br />
<a href="http://www.kqzyfj.com/click-3284315-10536910" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">Going, Going, Gone...</a><br>
Bargain auctions ending soon, bidding starts at only 7p.<br>
Register today for &pound;10 off your first win!<br>
<img src="http://www.tqlkg.com/image-3284315-10536910" width="1" height="1" border="0"/>
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 250x250, created 1/28/09 */
google_ad_slot = "3749558478";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
<div class="logo"></div>
 
 
<div class="footer"><a href="http://www.jdoqocy.com/lg98zw41w3JNMSONLPJLKOLTRQQ" target="_blank">Links</a> | <a href="mailto:info@bidandplay.co.uk">Contact Us</a> | <a href="http://www.bidandplay.co.uk/terms.php">Privacy Policy </a>|<a href="http://en.wikipedia.org/wiki/Unique_bid_auction"> What Is Reverse Auction?</a> | <a href="http://www.bidandplay.co.uk/terms.php">Terms
</a></div>
</div>
</div>
</div>
</body>
</html>

Open in new window

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Okay, just for kicks and giggles, try this code (new page, please).
<!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=iso-8859-1" />
 
<title>Lowest unique bid wins | reverse auction website</title>
<meta name="description" content="sms competitions and reverse auction website where the lowest unique bid wins, special offers on pc and console computer games for all formats, win prizes via sms competitions or download games, ebooks, movies, mobile appllications and software as well as music and purchase concert tickets" />
 
<meta name="keywords" content="what is reverse auction, lowest unique bid aution, lowest unique bid website, reverse auction website, what is a reverse auction, Jewelry, online auction, gold jewelry, jewelry sale,diamond jewelry,jewelry discount,Jewellery,silver jewelry,jewellery gold,ruby jewelry,ruby,inexpensive, auction sites,online jewelry shop,jewelry rings,Brand name Jewelry,sterling silver bands,white gold chain,emerald ring" />
 
 
<script language="javascript" type="text/javascript">
 
today  = new Date();
todayEpoch  = today.getTime();
 
target = new Date("1 march, 2009"); 
targetEpoch = target.getTime();
 
daysLeft = Math.floor(((targetEpoch - todayEpoch) / (60*60*24)) / 1000);
</script>
 
<style type="text/css">
<!--
a:link {
	text-decoration: none;
	color: #999999;
}
a:visited {
	text-decoration: none;
	color: #CCCCCC;
}
a:hover {
	text-decoration: none;
	color: #666666;
}
a:active {
	text-decoration: none;
}
-->
</style>
 
 
<link href="css/bidcss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="body">
<div class="banner"><img src="siteconstruction/bidlogo.png" /></div>
  <div class="affiliate">
</div>
 
<div class="date">
  <?php 
echo date('l, F dS Y.'); 
?>
</div>
 
<div class="divide"></div>
 
<div class="signup">Sign up for email and sms text alerts.
 
  <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
  <table border="0">
  <tr><td><span class="style6">Firstname*</span></td>
  <td>
  <input name="firstname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">Lastname*</span></td>
  <td>
  <input name="lastname" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">email*</span></td>
  <td>
  <input name="email" type="text" size="10" maxlength="40" />  </tr>
   <tr><td><span class="style6">mobile*</span></td>
  <td>
  <input name="mobile" type="text" size="10" maxlength="20" />  </tr>
  <tr><td><span class="style6">I agree to the terms</span></td>
  <td>
  <input name="terms" type="checkbox" /></td></tr>
  <tr><th colspan=2><ol class="style6"><input type="submit" name="submit" value="Sign up"></ol></th></tr></table>
  </form>
  </div>
 
<div class="bodytext2">
search for products you wish to purchase in a reverse auction:
<form action="http://www.google.co.uk/cse" id="cse-search-box" target="_blank">
  <div>
    <input type="hidden" name="cx" value="partner-pub-4937814196550581:cqp1y5bzhmf" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="20" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<br />
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 120x240, created 2/8/09 */
google_ad_slot = "7700717296";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
 
<div class="content">
<div class="linkbar"><a href="http://www.bidandplay.co.uk/tickets.php">TICKETS</a> |<a href="http://wwwbidandplay.co.uk/dvd.php"> DVD </a>| <a href="http://www.bidandplay.co.uk/bluray.php">BLURAY</a> | <a href="http://www.bidandplay.co.uk/music.php">MUSIC</a> | <a href="http://www.bidandplay.co.uk/games.php">GAMES</a> | <a href="http://www.bidandplay.co.uk/mobile.php">MOBILE GAMES &amp; APPS</a> | <a href="http://www.bidandplay.co.uk/computing.php">COMPUTING</a> | <a href="http://www.bidandplay.co.uk/books.php">BOOKS</a> |<a href="http://www.bidandplay.co.uk/holidays.php" target="_blank"> HOLIDAY SEARCH</a> | <a href="http://www.bidandplay.co.uk/index.php">HOME</a></div>
  
<div class="bodytext">
  <h1>Lowest unique bid wins</h1>
We are giving away a brand new Sony playstation 3 and a Mac Book Pro in our <em>reverse auction</em>. 
This is a UK only <em>sms competition</em>, all you have to do is text the word 'wish' followed by your bid in pence to 82055. For example, if you would like to make a bid for &pound;1.17, just text 'wish 117p' to 82055 you will recieve a conformation message letting you know that your bid has been registered. If your bid is  the lowest and unique you will be able to purchase the product at your bid price. However, if someone else matches your bid you will need to make a higher or lower bid. Each message costs 1.50p over 18's only PLEASE GET THE BILL PAYERS PERMISSION before entering.
<br />
<h2>make a bid online</h2>
to recieve &pound;10 off your first auction - <a href="http://www.bidandplay.co.uk/swoopoandbid.php" target="_blank">click here!</a>
<br/>
<h3>Reverse auction text 'wish' and your bid in pence to 82055</h3>
This is a great opportunity to purchase products at their cheapest ever price. Last month in our December reverse auction we sold a brand new nintendo wii and wii fit sports game for just &pound;14.97p!!
<br />
<br />
<h2>Going Going Gone...</h2>
A 42 &quot; Plasma TV for pennies - Make a bid <a href="http://www.bidandplay.co.uk/bidandswoopo.php">here</a>
<p><h2>Search and win...</h2>
Use our finely tuned search engine to find a product of your choice that are currently being &quot;reverse&quot; auctioned. Plasma TV's, Games Consoles, Jewwelry, Cars and much much more...
</p>
</div>
  
<div class="ad">
  <object width="275" height="210">
    <param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" />
    <embed src="http://www.youtube.com/cp/vjVQa1PpcFPN7bYfwuNJTVdxx9mpb0xzLbaBhhFmRgM=" type="application/x-shockwave-flash" width="275" height="210"></embed>
  </object>
  </div>
 
<div class="timeleft">The bidandplay.co.uk reverse auction begins in
<script type="text/javascript">document.write(daysLeft);</script> days.</div>
  
  <div class="textlink">Designer <a href="http://www.tkqlhce.com/click-3284315-10412384" target="_blank">Watches</a> for men and women. Bid &amp; Win huge discounts.</div>
  
<div class="column">
<br />
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
<a href="http://www.anrdoezrs.net/p0117hz74z6MQPVRQOSMONSQTWOV" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">A Wii for &pound;9.17</a><br>
You've just missed this bargain, but don't miss the next live auction.<br>
Register for &pound;10 off your first win!
<img src="http://www.lduhtrp.net/8o121tkocig154A6537132758B3A" width="1" height="1" border="0"/>
<br />
<br />
Bet with UK's largest betting site and get your<a href="http://www.kqzyfj.com/click-3284315-10537232" target="_blank" onmouseover="window.status='http://www.betfair.com';return true;" onmouseout="window.status=' ';return true;"> GBP 25 free bet only at Betfair</a>
<img src="http://www.tqlkg.com/image-3284315-10537232" width="1" height="1" border="0"/>
<br />
<br />
<a href="http://www.kqzyfj.com/click-3284315-10536910" target="_blank" onmouseover="window.status='http://www.swoopo.co.uk/?from=31';return true;" onmouseout="window.status=' ';return true;">Going, Going, Gone...</a><br>
Bargain auctions ending soon, bidding starts at only 7p.<br>
Register today for &pound;10 off your first win!<br>
<img src="http://www.tqlkg.com/image-3284315-10536910" width="1" height="1" border="0"/>
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4937814196550581";
/* 250x250, created 1/28/09 */
google_ad_slot = "3749558478";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
<div class="logo"></div>
 
 
<div class="footer"><a href="http://www.jdoqocy.com/lg98zw41w3JNMSONLPJLKOLTRQQ" target="_blank">Links</a> | <a href="mailto:info@bidandplay.co.uk">Contact Us</a> | <a href="http://www.bidandplay.co.uk/terms.php">Privacy Policy </a>|<a href="http://en.wikipedia.org/wiki/Unique_bid_auction"> What Is Reverse Auction?</a> | <a href="http://www.bidandplay.co.uk/terms.php">Terms
</a></div>
</div>
</div>
</div>
</body>
</html>

Open in new window

Author

Commented:
Okay you should be able to view the page at www.bidandplay.co.uk/test.php
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Okay, so the problem is definitely your PHP...that's what I removed and the rest of the page showed up

Author

Commented:
I'm beggining to think that it has something to do with my host www.freeparking.com
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Unlikely.   Let's try to clean up that script a bit and see if we can get it to work.

Author

Commented:
Okay I'm gonna make a glass of orange juice!
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Okay, add this back into the test page starting at line 60:


<?php
 
// Connects to your Database 
mysql_connect(" ", "", "") or die(mysql_error()); 
mysql_select_db("") or die(mysql_error()); 
 
 
//This code runs if the form has been submitted
if (isset($_POST['submit'])) { 
 
//This makes sure they did not leave any fields blank
if (!$_POST['firstname'] | !$_POST['lastname'] | !$_POST['email'] | !$_POST['mobile'] ){
die('You did not complete all of the required fields');
}
 
// now we insert it into the database
$insert = "INSERT INTO signup (firstname, lastname, email, mobile)
VALUES ('".$_POST['firstname']."', '".$_POST['lastname']."', '".$_POST['email']."', '".$_POST['mobile']."')";
$add_member = mysql_query($insert);
$message = "<h3>Registered</h3><p>Thank you, you have registered - you will now recieve free text and email alerts for new auctions, competitions and special offers</p>";
} ?>

Open in new window

Author

Commented:
Back to square one. Can you see it?

Commented:
make a new page with only this in it and upload it to the server it may help.

<?php phpinfo() ?>

Open in new window

Author

Commented:
Yeah www.bidandplay.co.uk/info is working fine. any suggestions!
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
I don't see the MySQL modules loaded...check with your host that MySQL is supported...

Author

Commented:
I have a seperate host for the mysql server which is seperate from the site host. is that what is causing this? should mysql be with the same host?

Commented:
the php server should at least support mysql for it to work on another host i think from jason's response.. i'm not an expert on server configuration.

Author

Commented:
Okay thanks! I will leave the question open till the issue is resolved.

Commented:
maybe an odbc connection is an option?

Author

Commented:
how do I create an ODBC connection?

Author

Commented:
I already have free mysql hosting so there should not be any pronlems with my wensite host!?!?
Don't talk to me.
CERTIFIED EXPERT
Commented:
rafique12,

When the edited PHP script was put back in, the site failed again, right?

This means that something is being returned by the script that is cutting off the rest of the HTML from rendering.  This could be due to an error message from the server with a closing </body> tag.  We want you to check with your main ISP to make sure that PHP is compiled with MySQL support.  If not, you have a big problem.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
They have an option for SQL server 2005 but I can't see anything relating to mysql

Author

Commented:
You are correct! I have switched my DNS to another host which supports php and mysql. www.bidandplay.co.uk is working!!
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
>> They have an option for SQL server 2005 but I can't see anything relating to mysql

Yep.  Windoze hosting strikes again :)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.