This part all works just fine.
#!/usr/bin/perl -Tw
require "/home/jaredmg/public_html/cgi-bin/formprocessor.cgi";
&ReadParse (*input);
$name= $input{'name'};
$codeemail= $input{'email'};
use DBI;
$dbh = DBI->connect("DBI:mysql:jaredmg_form:localhost","jaredmg_jaredmg","springer")...
Sorry, I thought it was more straightforward than that. My bad.
I'm using the DBI module. I don't get any error messages, interesting enough. It just won't display on the page. It displays the first names just fine but it won't print the email list. Weird huh?
Have I supplied enough...
On a small note for html attributes and formatting, I dug up an extremely useful site: bignosebird.com. They cover many of the elements and attributes.
Also be careful when using html in perl. I don't know how many times I type a line like this:
print "<table width=" and so on
and forget...
(Assuming STFW means search the F'n web)
Ouch. Geez, it's not like I didn't try it. I was just wondering if somebody hadn't seen one that was a little more to the point, I've looked up several tutorials and none seemed of any use. Either too complicated or so much obviousness it took getting...
I would like to learn how to use Mysql seeing as how it would be so extremely useful, especially since my databases have been printing information out to html tables. Yeah, not secure, and very unprofessional. Does anybody have some advice on a good online tutorial to look up? I know a little...
Another note on double quotes verses single quotes...
To make things simple, I'll use an onclick command that would write something to the window status bar (does not work in FF, IE works okay. If you use FF,let me know and I can help you with something more browser friendly)
<a...
Okay, thanks for the idea! I used your idea with another code and came up with something that worked out okay. I can't wait until I get broke into the feel of javascript, I'm still pretty new to it.
Here's my code:
<script language="javascript">
function passit(){...
Okay, thanks cLFlaVA, I'll give it a shot. I understood the code part, but not your "imgainary questions" part! LOL Thanks for the info, it really helps.
Nice to know another Cradle of Filth fan. I have a wide appreciation for any music with talent. I love the melodies that Cradle...
I think it might. I'm seeing it create future complications though... I'm already seeing the problem that if I need to change something else in the script that is on a different line, it may not work due to the fact that too much information would create two lines, therefor throwing off the...
Yes, thank you. I must have gotten ahead of myself while pasting the information from the original script.
I'll break down my script some more.
Note that this script is dependent on information from the "name" field in the html document.
You may visit the page at...
Hmmm... I think I need to entirely rewrite my program. So far, these methods would work in other cases, but this one would be very problematic and complicated. I'd better think of a new way of doing things...
What I'm trying to do is create a guestbook script. Yes, I know that there are...
Also, with the tie::file, I get a really weird error on the file that I just appended. The server refuses to let me view it. The Chmod's are all okay, in fact I put it on 777 (overkill doesn't hurt at this point). The URL is correct, but the server still won't let me view it. When I look up...
Well, I got it to work, but it's still not quite what I wanted. I got it write in the middle of the document, but I need it to append to the information that is already there. Think of a guestbook script. This would work, except it writes over the previous entry. What would be a good method...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.