Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Flash - Perl! The nightmare continues
From: Paul Steven
Date: Fri, 21 Apr 2000 20:24:25 +0100

Thanks for your response

If i create a perl script just to print somethin to the text file that works
if I call that from Flash but it is when I try to send variables to it from
flash and have the perl script write these to the external file it doesn't
work. Is there a possibility the permissions are such that this would
happen?

Thanks

Paul Steven

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of
ericsatpromediagroup [dot] com
Sent: Friday, April 21, 2000 3:45 PM
To: flasheratchinwag [dot] com
Subject: RE: FLASH: Flash - Perl! The nightmare continues


I got a 403 Error. If that's the error you're getting, its probably a
permissions problem. If you created the scripts directory, the directory
probably doesn't have scripting permissions. Your ISP probably has a
directory where you should place your scripts. If you are using the
directory that the ISP specified, then you should call them and find out why
you are getting a 403 error when you access that directory. You can try to
upload a regular HTML page to the directory to see if you can view it. If
you can, the directory permissions are most likely set to only allow read
access from the Internet user. This is pretty much just a guess, but I hope
it helps.

Thanks,

Eric Scott
Multimedia Specialist
the ProMedia Group
812 948-6214 ext. 36
ericsatpromediagroup [dot] com (mailto:ericsatpromediagroup [dot] com)

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Paul
Steven
Sent: Friday, April 21, 2000 9:05 AM
To: Flasher
Subject: FLASH: Flash - Perl! The nightmare continues


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:

<HTML>
<BODY>
<FORM METHOD="POST" ACTION="/scripts/test.pl">

<PRE>
First Name <INPUT TYPE="text" NAME="fname" MAXLENGTH=15 SIZE=15>

Last Name <INPUT TYPE="text" NAME="lname" MAXLENGTH=20 SIZE=20>

E-Mail Addr <INPUT TYPE="text" NAME="email" MAXLENGTH=35 SIZE=35>

<INPUT TYPE="submit" VALUE="Send Mail!">
<INPUT TYPE="reset" VALUE="Clear Form">

</PRE>
</FORM>
</BODY>
</HTML>

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


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 helpatchinwag [dot] com


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.134 / Virus Database: 63 - Release Date: 3/20/00
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.134 / Virus Database: 63 - Release Date: 3/20/00



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 helpatchinwag [dot] com



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 helpatchinwag [dot] com


Replies
  Re: FLASH: Flash - Perl! The nightmare c, Cheri Harder

Replies
  RE: FLASH: Flash - Perl! The nightmare c, erics

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]