?
Solved

Website not showing in any browser

Posted on 2009-02-12
42
Medium Priority
?
522 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!!
0
Comment
Question by:rafique12
  • 20
  • 14
  • 6
  • +2
42 Comments
 
LVL 6

Expert Comment

by:andeporter
ID: 23623339
Did you set your index/homepage accordingly within your web hosting app?
0
 
LVL 5

Expert Comment

by:-null-
ID: 23623466
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-
0
 
LVL 13

Expert Comment

by:Surone1
ID: 23623804
do the php scripts have execute permission on the server?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

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

Author Comment

by:rafique12
ID: 23624173
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
0
 

Author Comment

by:rafique12
ID: 23624344
Your right the source is not showing any php script! how do I go about rectifying that???
0
 

Author Comment

by:rafique12
ID: 23625167
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?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625173
>>>> 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.
0
 
LVL 13

Expert Comment

by:Surone1
ID: 23625187
it does seem to execute, or else it would have shown the code in the browser source
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625227
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.
0
 

Author Comment

by:rafique12
ID: 23625239
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

0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625296
I think you have a misplaced curly brace in the PHP and that's blanking out the rest of the page.
0
 

Author Comment

by:rafique12
ID: 23625307
php extensions enabled?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625318
To test, comment out lines 78 through 102
0
 

Author Comment

by:rafique12
ID: 23625398
do you mean place the code in single or double quotes (I don't understand the terminology "comment out) Sorryy! :-0
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625430
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

0
 

Author Comment

by:rafique12
ID: 23625538
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!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625573
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
0
 

Author Comment

by:rafique12
ID: 23625681
that isn't the problem its a simple flash banner!! I tried anyway but to no avail.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625772
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...
0
 

Author Comment

by:rafique12
ID: 23625844
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

0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23625890
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

0
 

Author Comment

by:rafique12
ID: 23626050
Okay you should be able to view the page at www.bidandplay.co.uk/test.php
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23626064
Okay, so the problem is definitely your PHP...that's what I removed and the rest of the page showed up
0
 

Author Comment

by:rafique12
ID: 23626113
I'm beggining to think that it has something to do with my host www.freeparking.com
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23626132
Unlikely.   Let's try to clean up that script a bit and see if we can get it to work.
0
 

Author Comment

by:rafique12
ID: 23626190
Okay I'm gonna make a glass of orange juice!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23626243
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

0
 

Author Comment

by:rafique12
ID: 23626546
Back to square one. Can you see it?
0
 
LVL 13

Expert Comment

by:Surone1
ID: 23626979
make a new page with only this in it and upload it to the server it may help.

<?php phpinfo() ?>

Open in new window

0
 

Author Comment

by:rafique12
ID: 23627015
Yeah www.bidandplay.co.uk/info is working fine. any suggestions!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23627054
I don't see the MySQL modules loaded...check with your host that MySQL is supported...
0
 

Author Comment

by:rafique12
ID: 23627100
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?
0
 
LVL 13

Expert Comment

by:Surone1
ID: 23627384
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.
0
 

Author Comment

by:rafique12
ID: 23627399
Okay thanks! I will leave the question open till the issue is resolved.
0
 
LVL 13

Expert Comment

by:Surone1
ID: 23627402
maybe an odbc connection is an option?
0
 

Author Comment

by:rafique12
ID: 23627776
how do I create an ODBC connection?
0
 

Author Comment

by:rafique12
ID: 23630811
I already have free mysql hosting so there should not be any pronlems with my wensite host!?!?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 23630821
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.
0
 

Author Comment

by:rafique12
ID: 23630913
They have an option for SQL server 2005 but I can't see anything relating to mysql
0
 

Author Closing Comment

by:rafique12
ID: 31546126
You are correct! I have switched my DNS to another host which supports php and mysql. www.bidandplay.co.uk is working!!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23636039
>> They have an option for SQL server 2005 but I can't see anything relating to mysql

Yep.  Windoze hosting strikes again :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question