Re: Help with the code please

2002-07-31 Thread zentara

On Tue, 30 Jul 2002 08:18:27 -0700, [EMAIL PROTECTED] (Soheil Shaghaghi)
wrote:

Can anyone please help me?

It is really hard to tell what you want to do from the
information you sent. Your cgi-script dosn't print out
any html, nor does it print a location to go to. What do you
want?

Post the whole working script, or else we can't even guess.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Help with the code please

2002-07-30 Thread Soheil Shaghaghi

Hello everyone,
I want to be able to pass some variables from the page to a recommend it
script, so I made a few adjustments like the following:
use CGI;
$q = new CGI;
# $MAXNUM=5;
$MAXNUM = $q-param('MAXNUM');

So, I pass the number of referrals from the URL, like:
A HREF=/cgi-bin/referit.cgi?MAXNUM=10
Tell your friends about this page/A!

Problem:
Everything works the way it's supposed to, but after the user sends the
form, the page reloads instead of going back to the referred page.

It looks like the problem is the following:
use CGI;
$q = new CGI;
But I don't know why, or how to fix it.

Can anyone please help me?

Thanks so much,
Soheil



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]