Jump to content

Relevancy

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.searchenginerelevancy.com

Profile Information

  • Gender
    Not Telling

Relevancy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It also looks like they use some free scripts that call data from somewhere else.. is that a problem too? Thanks for the help sKunKbad and everyone.
  2. Are there much better ways to do most of the prgramming on the site?
  3. Here is the index php code. Let me know if you need the additional files that load in the mess. Basically the problem is that I handle the marketing and some web/graphical work and we outsourced some programming for a new design and they are saying this is pretty much as fast as it gets for the site?!?!? <?php require_once("include/config.php"); require_once("include/common.inc"); require_once(_WWWROOT."/common/lib/header.php"); //require_once("common/lib/header.php"); require_once("include/BLGetWeather.php"); ?> <TABLE cellSpacing=0 cellPadding=0 width=780 border=0 align="center"> <TR><TD bgColor=#ffffff height=10></TD></TR> <TR> <TD style="PADDING-RIGHT: 1px" bgColor=#ffffff height=25> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR><TD align=right height=25><? require_once("common/lib/topTextLink.php"); ?></TD></TR> </TABLE> </TD> </TR> <TR> <TD align="center" bgColor=#ffffff> <TABLE cellSpacing=0 cellPadding=0 width=763 border=0> <TR><td><? require_once("common/lib/dropDownMenu.php");?></TD></TR> <TR><td><? require_once("common/lib/headerPhotoGraph.php");?></TD></TR> <TR bgColor=#ffffff> <TD height=20> <TABLE cellSpacing=0 cellPadding=0 width=763 border=0> <TR> <TD> <TABLE cellSpacing=0 cellPadding=0 width=761 border=0> <TR bgColor=#d6e8f5> <TD height=24> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff><TD align=left width=762 height=11></TD></TR> <TR bgColor=#ffffff> <TD height=20> <table cellspacing=0 cellpadding=0 width="100%" border=0> <tr> <td valign=top width="72%"> <? require_once("common/lib/discoverHawii.php");?> <? require_once("common/lib/islandPreview.php"); ?> </td> <td valign=top align=right width="28%"></td> <td valign=top align=right width="28%"> <? require_once("common/lib/searchform.php");?> <? require_once("common/lib/freeNewLetter.php");?> </td> </tr> </table> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <TR> <TD bgColor=#ffffff> <table cellspacing=0 cellpadding=0 width="100%" border=0> <tr> <td colspan=4 height=22><? require_once("common/lib/specificTypeVacation.php");?></td> </tr> <tr> <td colspan=4 height=22><? require_once("common/lib/blueFooter.php");?></td> </tr> <tr> <td colspan=3><? require_once("common/lib/whiteFooter.php");?></td> </tr> </table> </TD> </TR> </TABLE> </CENTER> <div id="time" style="height:40px; width:88px; position:absolute; top:450px; background-image:url(images/time_border.gif); z-index:1; padding-top:6px; background-repeat:no-repeat;" align="center"> <font class="text" style="color:#8D8D71; font-weight:bolder;">Hawaii Time <br> <iframe src="http://free.timeanddate.com/clock/ihdhs77/n103/fn17/fs11/fc8d8d71/ftb/ts1" frameborder="0" width="49" height="18"></iframe> </font> </div> <div id="time1" style="height:40px; width:88px; position:absolute; top:450px; z-index:10; padding-top:6px;"> <img src="images/spacer.gif" height="40" width="88"> </div> <script language="JavaScript" type="text/javascript"> function make_visible(passval) { mainpos = 330; // Distance between table start and div tag oH = document.body.clientHeight; oW = document.body.clientWidth; if(oW > '780'){ addval = (oW - 780)/2; } else { addval = 0; } mainpos = mainpos + addval; document.getElementById(passval).style.left = mainpos + 'px'; } make_visible("time"); make_visible("time1"); window.onresize = make_hide_all; function make_hide_all() { make_visible("time"); make_visible("time1"); } </script> <script src=http://www.google-analytics.com/urchin.js type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-31326-1"; urchinTracker(); </script> </BODY>
  4. Can anyone tell me why this site is loading so slow? Is the the php code or is it the flash mp3 player or something completely different? http://www.greathawaiivacations.com/
  5. Hello all. I am not a php programmer at all, but I need to find a simple solution to the forms I use. They are all way to easy to get crawled by spammers. First problem is my email address is in the form code. How do I hide it? Second how do I do a verification code? Thrid: How do I require all fields to be filled in? I need something easy. This is the way I have it now... very basic send data php script http://www.onlinecomputertips.com/ PHP Script: <?php $contents = $HTTP_SERVER_VARS['REMOTE_ADDR'] . " just entered this data into the form: " . $HTTP_POST_VARS['pageName'] . "\n\n"; //get the contents of the form from a post while(list($key, $value) = each($HTTP_POST_VARS)) { if($key == "sendto"){ $sendto = $value; } elseif($key == "redirectpage"){ $redirectpage = $value; } elseif($key == "subject"){ $subject = $value; } else { $contents .= "$key \t = \t $value \n"; } } //get the contents of a form from a get while(list($key, $value) = each($HTTP_GET_VARS)) { if($key == "sendto"){ $sendto = $value; } elseif($key == "redirectpage"){ $redirectpage = $value; } elseif($key == "subject"){ $subject = $value; } else { $contents .= "$key \t = \t $value \n"; } } //attach footer message $from_header = "From: Online Computer Tips"; if($contents != "") { //send mail - $subject & $contents come from surfer input mail($sendto, $subject, $contents, $from_header); // redirect back to url visitor came from header("Location: $redirectpage"); } else { print($contents); print("<HTML><BODY>Error, no data was submitted!"); print("</BODY></HTML>"); } ?>
  6. Wonderful! I love you! Is that too much to say? jk Thanks.. it worked great.
  7. Ok I have several sites using this send data script, but a new site got put on a server that has php5 and now the script is not working. It sends blank emails and doesnt not include the field data from the form. Here is the page with the form [a href=\"http://www.beyondfossilfuel.com/promote.html\" target=\"_blank\"]http://www.beyondfossilfuel.com/promote.html[/a] Here is the php code for the send data script: [code]<?php $contents = $HTTP_SERVER_VARS['REMOTE_ADDR'] . " just entered this data into the form: " . $HTTP_POST_VARS['pageName'] . "\n\n"; //get the contents of the form from a post while(list($key, $value) = each($HTTP_POST_VARS)) {          if($key == "sendto"){         $sendto = $value;     }     elseif($key == "redirectpage"){         $redirectpage = $value;     }     elseif($key == "subject"){         $subject = $value;     }     else     {         $contents .= "$key \t = \t $value \n";     } } //get the contents of a form from a get while(list($key, $value) = each($HTTP_GET_VARS)) {     if($key == "sendto"){         $sendto = $value;     }     elseif($key == "redirectpage"){         $redirectpage = $value;     }     elseif($key == "subject"){         $subject = $value;     }     else     {         $contents .= "$key \t = \t $value \n";     }      } //attach footer message $from_header = "From: Beyond Fossil Fuel"; if($contents != "") {    //send mail - $subject & $contents come from surfer input    mail($sendto, $subject, $contents, $from_header);    // redirect back to url visitor came from    header("Location: $redirectpage"); }   else {    print($contents);        print("<HTML><BODY>Error, no data was submitted!");    print("</BODY></HTML>"); } ?>[/code] What do I need to change? I am not a php programmer at all. help!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.