It's my understanding that you cannot display more than one HTML page in a Perl script. So, it looks like what's really happening is that the second page you're sending is simply being added to the first page. Resending HTML, HEAD, and so forth does not start another page.
I've run into the same problem and handled it by converting the number to a string and concatenating a "0". Though it works, it wasn't a satisfying approach. Anyone out there know of a direct way to resolve this problem?<br>
<br>
-- Heidi
When you generate an HTML page with perl, you really just send HTML from inside the perl script to the default output. To generate a popup window, you need to use JavaScript. So, what you do is include JavaScript for a popup window within the HTML, which is within the perl script.<br>
<br>
-- Heidi
I'm not completely sure, but suspect that if you comment out:<br>
<br>
<br>
<br>
if(!($FORM{'mailto'})) {<br>
&bounce($instructions_url);<br>
exit 0;<br>
}<br>
<br>
then it wouldn't kick the user...
You may need to add:<br>
<br>
info.lname.select()<br>
<br>
to the script. I've found that using focus isn't enough, you must also select it.<br>
<br>
-- Heidi
I think that the problem is simply that you used frames. What's happening is that the new <br>
page comes up in the same frame. In your call to the new page, include "target=_top", and <br>
you won't have that problem.<br>
<br>
-- Heidi
Are you talking about full processing - that is, checking for card validity? If so, you definitely need a credit card clearing house. If not, that is, the site owner will provide validation, then you would probably write the information to a file on the server.<br>
<br>
You are using security...
Thanks, fellow newbie. I had tried that, but still ran into the same problem. By the way, FILENAME and FILEHANDLE should be the same. Also, the parentheses are a no-no. (I don't want to admit to how long it took me to figure that one out!)<br>
<br>
You're into the ISP group? It's quite...
I found the error of my ways. The problem was that I was reading past the end of the file. Funny - Perl didn't like that (for some odd reason). Nothing in the script that I showed above would indicate that fact, though.<br>
<br>
-- Heidi
I'm having a problem with a Perl script that reads a file. Here's an outline of it:<br>
<br>
open FILENAME, "<problemfile"); #Open password file.<br>
until (eofFILENAME)<br>
{<br>
$FileString = <FILENAME>; #Read line of data from file.<br>
&SplitString($FileString); #Split file...
You must first determine whether you're going to send the data as GET or POST. This is determined in the HTML. GET sends as a command line argument, and POST as an environment string. POST is generally the better choice, since there is virtually no limit to the amount of data you can send...
Thanks! That sounds like a good idea. Of course, now that I've been messing with it, it no longer works in Netscape, either. Arrrgh!<br>
<br>
Here's something else you might know more about: Netscape does not require semi-colons at the ends of statements. It seems that IE does. Do you know...
Yes, you can use JavaScript to roll images over in IE. I've done so many times - including in the website I'm referring to. The problem seems to be associated with how I'm calling the page that the code is on.<br>
<br>
It was not possible in IE3, but IE4 added the Image object.<br>
<br>
Does IE...
Help! Here's a call, encased in a body tag, to do an image rollover in another frame:<br>
<br>
onLoad="parent.Menu.changeOnClick(7)"<br>
<br>
It works just fine in Netscape (4.5), but IE 5 burps on it. Can anyone tell me how to specify code from another frame in IE?
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.