On Sun, May 02, 2004 at 06:28:38PM -0400, Linda Jen wrote:
> I have been trying to find a way to get the absolute path for the url
> returned in HTTP_REFERER. The url may referce an alias, virtual host,
> or simply some subdirectory but will not be defined by DOCUMENTROOT in
> httpd.conf. I have looked at faq but found nothing. Help anyone?
Hi Linda,
Check out the pod for CGI.pm. It has several useful methods for
retrieving the script's url[1].
William
[1]
http://search.cpan.org/~lds/CGI.pm-3.05/CGI.pm#OBTAINING_THE_SCRIPT'S_URL
--
Knowmad Services Inc.
http://www.knowmad.com
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.