5, July 2008

this is such a newb question, but whats wrong with this code - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: this is such a newb question, but whats wrong with this code
« previous next »
Pages: [1] Print

Author Topic: this is such a newb question, but whats wrong with this code  (Read 737 times)
aka J Love
Moderator
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« on: Jan 03, 2006, 08:24:57 AM »

when the form submits for submitting a link, 1 field never shows up in the email, "title". i have split the areas where the form starts and ends:

Code:
<html>

<head>
<meta name="keywords" content="web design,hosting,tools,webmaster,free downloads,users,graphics,pixels,free templates,gallery,free layouts,free images,jlove, j love,jlovewd,justinlove.net, free scripts, free images, free web hosting, free hosting, ad-free hosting, free cgi scripts, php, free php scripts">
<meta name="description" content="A network site of J Love Web Design. Visit the original site at justinlove.net.">
<link href="sft.css" rel="stylesheet" type="text/css">
<title>Sleek Pixel : A network site of J Love Web Design</title>
<script language="javascript" src="scripts.js"></script>
</head>

<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0">

<table cellpadding="0" cellspacing="0" border="0" height="844">
<tr>
<td rowspan="10" width="50%" height="844" background="images/bg1222.jpg" style="background-position:right top; background-repeat:repeat-y">
</td>
<td rowspan="10" width="1" bgcolor="#000000" height="844"></td>
<td colspan="2" height="82" bgcolor="#FFFFFF">
<p align="center"><font face="Verdana">&nbsp;
<a href="http://sleekpixel.net/">SleekPixel.net</a> -
<a href="http://www.sleekpixel.net/">www.SleekPixel.net</a></font></p>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><font face="Verdana">
<a title="Click to go back to the home page" href="index.php">
<img src="http://sleekpixel.net/logo.jpg" width="200" height="69" border="0"></a></font></td>
<td valign="top"><center><font face="Verdana">
<script language="JavaScript" type="text/javascript" src="http://justinlove.net/phpads/adx.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://justinlove.net/phpads/adjs.php?n=" + phpAds_random);
   document.write ("&amp;clientid=2&amp;target=_top");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</script>
<noscript>
<a href="http://justinlove.net/phpads/adclick.php?n=afe2e973" target="_top">
<img src="http://justinlove.net/phpads/adview.php?clientid=2&n=afe2e973" border="0" alt="">
</a></noscript></font></center><font face="Verdana"><br>
<br>
</font></td>
</tr>
</table>
</td>
<td rowspan="10" width="1" bgcolor="#000000" height="844"></td>
<td rowspan="10" width="50%" height="844" background="images/bg1223.jpg" style="background-position:left top; background-repeat:repeat-y">
</td>
</tr>
<tr>
<td valign="top" height="687" bgcolor="#C0C0C0" background="images/bg051.gif">
<table cellpadding="0" cellspacing="0" border="0" height="645">
<tr>
<td height="39" background="images/cap01.jpg">
<p align="center"><font size="2" color="#FFFFFF" face="Verdana">
<b>Submit your Link</b></font></p>
</td>
</tr>
<tr>
<td width="179" height="91" background="images/bgform.gif" valign="top">
Code:
<form method="POST" action="cgi-bin/formmail/formmail.cgi">
<input type="hidden" name="recipient" value="webmaster@sleekpixel.net">
<input type="hidden" name="subject" value="Link Application">
<input type="hidden" name="redirect" value="index.php?open=2">
<INPUT type="hidden" name="required" value="email,paypal,title,url">
<INPUT type="hidden" name="missing_fields_redirect" value="index.php?open=3">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="180" id="table2" height="64">
<tr>
<td width="31%">
<font face="Verdana" style="font-size: 8pt">E-mail
</font></td>
<td width="69%">
<input type="text" name="email" size="16" onfocus="this.style.borderColor='#CC3300';" onblur="this.style.borderColor='black';"></td>
</tr>
<tr>
<td width="31%">
<font face="Verdana" style="font-size: 8pt">URL</font></td>
<td width="69%">
<input type="text" name="url" size="16" value="http://www." onfocus="this.style.borderColor='#CC3300';" onblur="this.style.borderColor='black';"></td>
</tr>
<tr>
<td width="31%">
<font face="Verdana" style="font-size: 8pt">Site
Title</font></td>
<td width="69%">
<input type="text" name="title" size="16" onfocus="this.style.borderColor='#CC3300';" onblur="this.style.borderColor='black';"></td>
</tr>
<tr>
<td width="31%">
<font face="Verdana" style="font-size: 8pt">PayPal</font></td>
<td width="69%">
<input type="text" name="paypal" size="16" onfocus="this.style.borderColor='#CC3300';" onblur="this.style.borderColor='black';"></td>
</tr>
</table>
<center>
<input class="img" type="image" src="images/enter.jpg" border="0" width="27" height="24" name="submit"></center>
</form>
Code:
</td>
</tr>
<tr>
<td height="45" background="images/cap02.jpg" bgcolor="#C0C0C0">
<p align="center"><font size="2" color="#FFFFFF" face="Verdana">
<b>Sponsored Links</b></font></p>
</td>
</tr>
<tr>
<td width="169" height="454" background="images/bg051.gif" valign="top" style="padding-top:10px;padding-bottom:10px;padding-left:3px;" bgcolor="#C0C0C0" rowspan="2">
<font face="Verdana" size="1">
<img border="0" src="images/w.gif" width="18" height="12"><a href="http://www.viralphp.com"><font size="1">Viral
PHP</font></a></font><font face="Verdana"><font size="1"><br>
<img border="0" src="images/w.gif" width="18" height="12"></font><span style="font-size: 9pt"><a href="http://www.columbushairsystems.com"><font size="1">Columbus
Hair Systems</font></a></span><font size="1"><br>
<img border="0" src="images/w.gif" width="18" height="12"></font><span style="font-size: 9pt"><a href="http://codr.justinlove.net"><font size="1">Cut
Out Da Radio</font></a><font size="1"><br>
<img border="0" src="images/w.gif" width="18" height="12"></font><a href="http://brittney.justinlove.net"><font size="1">Brittney&#39;s
Website</font></a><font size="1"><br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here<br>
<img border="0" src="images/w.gif" width="18" height="12">Your Link
Here</font><br>
<br>
<center>
<script language="javascript">
<!--
var _plugin_ws_w = "", _plugin_ws_h = "", _plugin_ws_c = "";
//-->
</script>
<script language="javascript1.2">
<!--
_plugin_ws_w = screen.width; _plugin_ws_h = screen.height; _plugin_ws_c = navigator.appName.indexOf("Microsoft") >= 0 ? screen.colorDepth : screen.pixelDepth;
//-->
</script>
<script language="javascript">
<!--
document.write("<a target='_blank' href='http://counter.plugin.ws/details.php?id=sleekpixel'><img width=88 height=31 border=0 src='http://counter.plugin.ws/count.php?id=sleekpixel&width=" + _plugin_ws_w + "&height=" + _plugin_ws_h + "&color=" + _plugin_ws_c + "&referer=" + escape(document.referrer) + "' alt='PlugIn.ws - Free Hit Counter, Web Site Statistics, Traffic Analysis'></a>");
//-->
</script>
<noscript><br>

<br>

<a target="_blank" href="http://counter.plugin.ws/details.php?id=sleekpixel">
<img width="88" height="31" border="0" src="http://counter.plugin.ws/count.php?id=sleekpixel" alt="PlugIn.ws - Free Hit Counter, Web Site Statistics, Traffic Analysis">
</a>
</noscript></center></span></font></td>
</tr>
</table>
</td>
<td valign="top" height="687">
<table cellpadding="0" cellspacing="0" border="0" height="657">
<tr>
<td colspan="2" height="15">
<div align="center">
<form method="get" action="http://www.google.com/custom" target="_top">
</form>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="601" id="table3" height="25" background="images/cap04.jpg">
<tr>
<td><font face="Verdana">
<!-- Search Google --></font><center>
<table height="45">
<tr>
<td nowrap="nowrap" valign="top" align="left" height="32">
<font face="Tahoma">
<input type="text" name="q" size="31" maxlength="255" value onfocus="this.style.borderColor='#CC3300';" onblur="this.style.borderColor='black';"></font><font face="Verdana"></input>
</font><font face="Tahoma">
<input type="submit" name="sa" value="Search"></font><font face="Verdana"></input>
</font><font face="Tahoma">
<input type="hidden" name="client" value="pub-1487376069803241">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="forid" value="1">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="ie" value="ISO-8859-1">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="oe" value="ISO-8859-1">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="safe" value="active">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="cof" value="GALT:#1E6DBA;GL:1;DIV:#1E6DBA;VLC:1E6DBA;AH:center;BGC:FFFFFF;LBGC:393939;ALC:5B5B5B;LC:5B5B5B;T:5B5B5B;GFNT:5B5B5B;GIMP:5B5B5B;FORID:1;">
</font><font face="Verdana"></input></font>
<font face="Tahoma">
<input type="hidden" name="hl" value="en">
</font><font face="Verdana"></input></font>
</td>
</tr>
</table>
</center><font face="Verdana">
<!-- Search Google --></font></td>
</tr>
<form>
</form>
</table>
</div>
</td>
</tr>
<tr>
<td width="328" height="642" background="images/bg051.gif" valign="top" style="padding-bottom:15px;padding-left:20px;">
<p align="center"><font face="Verdana"><br>
</p>
<center><font size="1" face="verdana">
<div class="date" id="Clock">
<script type="text/javascript">
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday')
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December')
//-->
</script>
<script type="text/javascript" src="liveclock.js"></script>
</div>
</font></center>
<p align="center"><?php 
$open 
$_GET['open'];
ini_set('display_errors'1);
switch(
$open) { 
 case 
"3": include('missing.php'); 
              break;
 case 
"2": include('thanks.php'); 
              break;
 default: include(
'home.php'); 
            break;
?>
<br>
&nbsp;</font></p>
<p align="center">&nbsp;</p>
</td>
<td width="241" height="642" background="images/bg052.gif" valign="top" style="padding-bottom:15px;padding-left:12px;">
<font face="Verdana">
<img border="0" src="images/w.gif" width="18" height="12"><font style="font-size: 9pt"><b>Live
Support<br>
&nbsp;</b></font><br>
<center>
<!-- BEGIN Help Center Live Code, Copyright © 2005 UberTec Ltd. All Rights Reserved -->
<div id="div_initiate" style="position:absolute; z-index:1; top: 40%; left:40%; visibility: hidden;">
<a href="javascript:Live.initiate_accept();">
<img src="http://tlove2.com/hcl/templates/G/images/initiate.gif" border="0"></a><br>
<a href="javascript:Live.initiate_decline();">
<img src="http://tlove2.com/hcl/templates/G/images/initiate_close.gif" border="0"></a></div>
<script type="text/javascript" language="javascript" src="http://tlove2.com/hcl/class/js/include.php?live&departmentid=1"></script>
<!-- END Help Center Live Code, Copyright © 2005 UberTec Ltd. All Rights Reserved -->
</center><br>
<img border="0" src="images/w.gif" width="18" height="12"><b><span style="font-size: 9pt">Sponsored
Advertising</span></b></font><p align="left"></p>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-1487376069803241";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "CBCBCB";
google_color_bg = "CBCBCB";
google_color_link = "CC3300";
google_color_url = "000000";
google_color_text = "ffffff";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</center>
<p align="left"><font face="Verdana">
<img border="0" src="images/w.gif" width="18" height="12"><b><span style="font-size: 9pt">Sponsored
Advertising</span></b></font><br>
&nbsp;</p>
<center>
<script language="javascript" src="http://www.linkbox.ws/serve.php?2900"></script>
<br>
<a target="_blank" href="http://www.linkbox.ws/refer.php?3060">LinkBox.ws
- Link Box Exchange</a></center></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" height="39" background="images/bgmenu.gif" align="center" class="menu">
<font face="Verdana" size="1">Page Last Updated :
<!--webbot bot="Timestamp" s-type="EDITED" s-format="%m/%d/%Y" startspan -->01/02/2006<!--webbot bot="Timestamp" endspan i-checksum="12522" --><br>
©2006. SleekPixel.net is a network affiliate of J Love Web Design.
</font></td>
</tr>
<tr>
<td colspan="2" height="36" background="images/footer.gif" align="center" style="color:#ffffff">
<font face="Verdana" style="font-size: 9pt"><b>Network</b>: [</font><a href="http://www.jlovewebdesign.net"><font face="Verdana" style="font-size: 9pt">J
Love Web Design</font></a><font face="Verdana" style="font-size: 9pt">]
| [</font><a href="http://www.tlove2.com"><font face="Verdana" style="font-size: 9pt">J
Love Premium Hosting</font></a><font face="Verdana" style="font-size: 9pt">]
| [</font><a href="http://www.betterautoelectric.com"><font face="Verdana" style="font-size: 9pt">Better
Auto Electric</font></a><font face="Verdana" style="font-size: 9pt">] |
[</font><a href="http://www.mob-rules.com"><font face="Verdana" style="font-size: 9pt">Mob-Rules</font></a><font face="Verdana" style="font-size: 9pt">]</font></td>
</tr>
</table>

</body>

</html>

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7931
40535 credits
Members referred : 3



« Reply #1 on: Jan 03, 2006, 08:51:21 AM »

I am not sure, but propably this is a problem with the mailform cgi.

Your code looks fine

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
aka J Love
Moderator
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #2 on: Jan 03, 2006, 08:54:09 AM »

thats what i thought i shouldnt have any problems with html been doin that way to long..hmmm i will examine formmail.cgi and maybe post it to and see what that prob is

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=1122
Tags : php google html Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: this is such a newb question, but whats wrong with this code
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 05, 2008, 11:33:30 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.533
Total Topics: 7.344
Total Members: 3.647
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: pawan

19 Guests, 3 Users online :

15 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.