Some ActiveState ASP-perl examples don't work

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Some ActiveState ASP-perl examples don't work

Postby said_fox » 29. July 2006 16:16

Hello,
Examples of scripts available by ActiveSate perl distribution for windows don't work, specially, those related with Request Object. I will list some of theses examples file's names and paths through the distribution:

    \eg\aspsamples\qstring.asp
    \eg\aspsamples\response.asp
    \eg\aspsamples\wform.asp
    eg\aspsamples\qstring.asp

Of course The ADO examples files didn't work properly until I had deleted the footer scripts which contains Request Object
Code: Select all
<!-- +++++++++++++++++++++++++++++++++++++
here is the standard showsource link -
   Note that PerlScript must be the default language --><hr>
<%
   $url = $Request->ServerVariables('PATH_INFO')->item;
   $_ = $Request->ServerVariables('PATH_TRANSLATED')->item;
   s/[\/\\](\w*\.asp\Z)//m;
   $params = 'filename='."$1".'&URL='."$url";
   $params =~ s#([^a-zA-Z0-9&_.:%/-\\]{1})#uc '%' . unpack('H2', $1)#eg;
%>

Also, I'd like to mention that I have copied the contents of aspsamples\ folder to XAMPP\htdocs\modperlasp\s.
I'm Windows XP user. I have already installed ActiveState Perl 5.6.
Best->Regards()
Said<-Bakr
User avatar
said_fox
 
Posts: 11
Joined: 26. July 2006 23:00
Location: Egypt
Operating System: Ubuntu 11.10

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 126 guests