Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Flash - Perl! The nightmare continues |
From: | Jeffrey Fitzgerald |
Date: | Mon, 24 Apr 2000 12:56:17 +0100 |
Are you getting the "not authorised to view" error? (what I got). This
is almost always a permissions problem. Looks like you are doing
the win32 thing? Make sure the script is executable and that "the world"
has the proper permissions to see it...
At 02:05 PM 4/21/00 +0100, Paul Steven wrote:
>Hi all
>
>I am having major problems sending a highscore to a text file located on my
>ISP's server using a simple perl script.
>As an experiment I have just created a form to send the data to the perl
>script and I am getting the following msg
>
>see: http://www.clubinlondon.co.uk/Form.html
>
>This is the html of the form:
>
>
>
>First Name
>
>Last Name
>
>E-Mail Addr
>
>
>
>
>
>And my perl script is
>
>#!/win32app/perl/bin
>
>
># Get the input
>
>read(STDIN, $temp, $ENV{'CONTENT_LENGTH'});
>
># Split the name-value pairs
>
>@pairs = split(/&/, $temp);
>
>foreach $item (@pairs){
>
> ($key,$content)=split(/=/,$item,2);
> $content=~tr/+/ /;
> $content=~s/%(..)/pack("c",hex($1))/ge;
> $fields{$key}=$content;
>
>}
>
>print "Content-type:text/html\n\n";
>
>print "<HTML>\n";
>print "<BODY BGCOLOR=#FFFFFF>\n";
>print "<CENTER>\n";
>print "THANK YOU<BR>\n";
>print "$fields{fname} $fields{lname}</BR>";
>print "I will write<BR>\n";
>print "you at<BR>\n";
>print "$fields{email}<BR>\n";
>print "</CENTER>\n";
>print "</BODY></HTML>";
>
>Please can anyone shed some light on why I am getting this error
>
>Thanks
>
>Paul Steven
Thanks, Jeff
============================================================
Jeffrey L.
Fitzgerald
jlfitzuu [dot] net
UUNET Sales Development Engineer, @multimedia
22001 Loudoun County Parkway, C2-2-512A (703)
886-8596
Ashburn, Virginia 20147
============================================================
($3d, $streaming_media, $digitalvideo, $webdev) = @multimedia ;
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]