Re: How to redirect to webpage using perl?
Rocky Jr. wrote:
In php I can use:
header("Location http://www.mydom.com/");
How can i do same with Perl under Apache+BSD server.
By printing the very same HTTP header, of course, either directly
print "Location: http://www.mydom.com/\n\n";
or by using the CGI module, as others have mentioned.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
Relevant Pages
- ANNOUNCE: UnixODBC 0.31
... UnixODBC provides a toolkit for writing Perl ODBC clients. ... - Installing and Configuring the Bridge Server ... UnixODBC.pm provides Perl programs with a subset of the X/Open ... Bridge Server," below. ... (comp.lang.perl.modules) - POP3 Mail Client in PERL using IO::Socket module only and regular expressions
... I am writing a POP3 Client program in Perl. ... Server and have a running conversation with the mail server using ... print $socket "STAT",CRLF; ... (comp.lang.perl.misc) - Solved: Perl/NFS "Text File Busy" Error And Related Problems
... Â That means I am actually editing the Perl file on ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... apt-get install nfs-kernel-server ... (Debian-User) - Perl on Linux and SQL Server 2000 on Windows
... There was a time when I did a lot of searching on ways to use Perl ... sitting on Linux to connect SQL Server 2000 sitting on Windows. ... cpan> install DBI ... Install FreeTDS ... (comp.os.linux.misc) - SOLVED: "Text File Busy" And Other Frustrating NFS/Perl Errors
... Perl file on one computer, ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... searched newsgroups on Usenet and mailing lists and general Google searches ... (comp.lang.perl.misc) |
|