 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
DGr8Mack

Joined: 08 Jul 2006 Posts: 26
|
Posted: Sat Jul 08, 2006 3:16 am CGI / Perl coding problems setting code |
|
|
|
Hi e1, I hope that y'all can help me. Since I don't exactly know the problem, I'll tell you everything. 1st off CGI/Perl dummie here...I get by on my HTML especially with the help of these forums - Tanks e1...
Now, I downloaded an "E-Card" program. walked my way through the limited instructions it gave me. I used their template, to create my page, at thelordsflock/karaokecares.com/ecards.html
I put all the files where they're supposed to go, (I think) and I finally get the page pulling up, the images showing, but when you select one the click the "next" button, it brings you back to the same page...over and over and over.
If you don't want to "view source" here is the code I'm using:
<html>
<head>
<style>
<!--
body {color: black; background-color: white}
a {color: #003399}
p.small {font: 10px verdana, helvetica, sans-serif}
td {font: bold 13px verdana; text-align: center; vertical-align: bottom}
th {font: bold 19px verdana, helvetica, sans-serif}
-->
</style>
<title>Send An E-Card</title>
</head>
<body>
<body bgcolor="#ffffff" text="#000000" link="#0000a0" vlink="#000000" alink="#000000" background="clouds3.jpg">
<center>
<table border=0 cellpadding=0 cellspacing=0>
<form method=post>
<input type=hidden name=command value="edit">
<tr>
<th colspan=5>
Choose An E-Card
</th>
</tr>
<tr><td height=16></td></tr>
<tr>
<td><img width=120 src="cards/images/thumbnails/1.jpg"><br><input type=radio name=card value="1.jpg" checked> 1</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/2.jpg"><br><input type=radio name=card value="2.jpg"> 2</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/3.jpg"><br><input type=radio name=card value="3.jpg"> 3</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/4.jpg"><br><input type=radio name=card value="4.jpg"> 4</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/5.jpg"><br><input type=radio name=card value="5.jpg"> 5</td>
</tr>
<tr><td height=16></td></tr>
<tr>
<td><img width=120 src="cards/images/thumbnails/6.jpg"><br><input type=radio name=card value="6.jpg" checked> 6</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/7.jpg"><br><input type=radio name=card value="7.jpg"> 7</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/8.jpg"><br><input type=radio name=card value="8.jpg"> 8</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/9.jpg"><br><input type=radio name=card value="9.jpg"> 9</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/10.jpg"><br><input type=radio name=card value="10.jpg"> 10</td>
</tr>
<tr><td height=16></td></tr>
<tr>
<td><img width=120 src="cards/images/thumbnails/11.jpg"><br><input type=radio name=card value="11.jpg" checked> 11</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/12.jpg"><br><input type=radio name=card value="12.jpg"> 12</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/13.jpg"><br><input type=radio name=card value="13.jpg"> 13</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/14.jpg"><br><input type=radio name=card value="14.jpg"> 14</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/15.jpg"><br><input type=radio name=card value="15.jpg"> 15</td>
</tr>
<tr><td height=16></td></tr>
<tr>
<td><img width=120 src="cards/images/thumbnails/16.jpg"><br><input type=radio name=card value="16.jpg" checked> 16</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/17.jpg"><br><input type=radio name=card value="17.jpg"> 17</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/18.jpg"><br><input type=radio name=card value="18.jpg"> 18</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/19.jpg"><br><input type=radio name=card value="19.jpg"> 19</td>
<td width=16></td>
<td><img width=120 src="cards/images/thumbnails/20.jpg"><br><input type=radio name=card value="20.jpg"> 20</td>
</tr>
<tr><td height=16></td></tr>
<tr>
<td colspan=5>
<input type=submit value="Next >>">
</td>
</tr>
</form>
</table>
<p class=small>
Powered by <a target=_blank href="http://www.cgibiz.com/">E-Cards 1.0</a>
</center>
</body>
</html>
In the " <form method=post><input type=hidden name=command value="edit"> " line, I've tried changing value to edit.html, cards/edit, cards/edit.html to see if that would direct me to the next page, which is supposed to be (I think) thelordsflock.karaokecares.com/edit.html
Please, PLEASE, Please make your answer as DUMMIE friendly as possible, as I don't know a lot of the terminology. Thanks so much and God bless
*****Addition*****
I have tried a couple of different things, 1: I found out that if I add an "action" in the form area, I can get it to leave the page and go to the next one, BUT it does not carry over the "selected" information with it. I went and checked the "test" code from the programmers and looked at their "veiw source" code, Their code works and does NOT modify the form area with an "action" segment...
My webhost DOES support Perl and CGI in fact this is their provided information to help me(you) maybe...
Hosting OS Proprietary *nix
PHP version 4.4.1
Perl version 5.8.4
MySQL version 4.0.24
MySQL hostname if this is needed, let me know I edited it out
Perl path /usr/bin/perl
Sendmail path /usr/sbin/sendmail (SMTP is disabled for your hosting account)
CGI-BIN path not required (You can run CGI, Perl scripts from any domain/subdomain folder)
I hope this additional information helps.... |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|