use LWP::Simple;
and then a print command such as:
print "http://www.yahoo.com\n";;
No one will ever know where the page really is since the URL in the browser never
changes, the cgi just pulls in the HTML from the real page.
>>> Rhen Hernandez <[EMAIL PROTECTED]> 07/08/02 05:42PM >>>
Hi
Hi Everyone!
Thank you all for all of your help...
Rhen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Everyone!
Thank you all for all of your help...
Rhen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
important.
Regards,
David
- Original Message -
From: "zentara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 8:10 AM
Subject: Re: Username & Password Question
On Wed, 3 Jul 2002 08:30:35 -0700, [EMAIL PROTECTED] (Rhen Hernandez) wrote:
&
On Wed, 3 Jul 2002 08:30:35 -0700, [EMAIL PROTECTED] (Rhen Hernandez) wrote:
>hi everyone!
>
>I created a password and username for my website. My question is how can i direct
>the user to the homepage or main page of the website. Right now, the code is set for
>"Permission Granted..." I wan
--- Rhen Hernandez <[EMAIL PROTECTED]> wrote:
> here's my code:
>
> #!/usr/bin/perl
>
> use CGI qw/:standard/;
>
> my $username = param(USERNAME);
> my $password = param(PASSWORD);
>
> open(FILE, "data.txt") ||
>die "The database could not be opened";
>
>while()
>{
> @data
I might have suggested doing authentication a little bit differently, as it
appears that you are using a plain text file with unencrypted
username/password data. But if you just want to redirect based on what
you've got and you're not extremely concerned about security in this
instance, this shoul
Change access granted to be:
sub accessgranted
{
print>>End
http://www.page.com/entrypage.html";>
End
print header;
print>>Body
Thank You
Permission has been granted $username.
Enjoy the site.
If the page doesn't take you there in 5 seconds, please http://www.page.com/
sub gotoMainScreen()
{
print "";
}
#
=
Original Message Follows
From: Rhen Hernandez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Username & Password Question
Date: Wed, 3 Jul 2002 08:30:35 -0700
hi