Re: Pointers on security sought for CGI

2006-05-03 Thread Charlie Somerville
sent across the world, you really should look into a better webserver. * Have a look at this: http://www.grc.com/pw/FBIAnnouncement.htm and this: http://www.grc.com/pw/patchwork.htm Charlie Somerville -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Execute an external script

2004-03-03 Thread Charlie somerville
Well, it returns null because when you try to escape in that string, that's perls escape that your using, not XP's excape. A way around this might be (i dunno, never tried this before): system("cd C:/Program Files/GNU/Octave/2.1.50/"); $result= `bin -q my_script.m`; If that doesn't work then setu

Re: Include Files in Perl?

2004-02-13 Thread Charlie somerville
annot open $filename: $!\n"; > while (){ > print $_; > } > close FH; > } > > > > On Tue, 3 Feb 2004 19:37:54 +1100 > "Charlie somerville" <[EMAIL PROTECTED]> wrote: > > > just use this code: > > > > ===START CODE=== &

Re: Win to Unix ftp'ing

2004-02-03 Thread Charlie somerville
Yeah, tried doing that, except all it did was endlessly loop it self. (Oh and Perl_guru has changed to Charlie Somerville) "Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Check to make sure that the script does not have control-M's a

Re: Determining different computers with the same IP

2004-02-03 Thread Charlie somerville
Your best shot would be to send a temporary cookie and then in each cgi script, call it and tada, there u have it. "Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I heard that it is possible to differentiate 2 computers of 2 different web > page visitors

Re: Include Files in Perl?

2004-02-03 Thread Charlie somerville
just use this code: ===START CODE=== $filename="my_file"; #Set the filename open(A,$filename) || die "Waaah! The open didn't work: $!"; #Open the file in $filename or do what MSWindows always does @a=; #Put the filehandle A in the array @a; print "Content-Type: text/html\nPragma: No-cache\n\n"; #T

Just wondering

2004-01-02 Thread Charlie somerville
I know that this isn't a really appropiate place to post with this question but I don't know anywhere else to post (im a newbie to usenet) Anyway, here's the question: Is anyone here using like a DOS interface to read/post this newsgroup? Thanks for your time Charlie -- To unsubscribe, e-mail:

Re: Free hosting for CGI?

2004-01-02 Thread Charlie somerville
Tripod supports CGI, only prob is that they don't have the cgi module <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Perl BG Group-(PBG)" & all people in "Bulgarian Perl Forum-(BPF)" > is needed for free hosting on Linux or Unix server to put professional > perl cgi script in /cgi-

Re: Re:Hit counter

2003-12-25 Thread Charlie somerville
You don't need to get that from a database! All you havve to do is put a lock on a file read the file, increment it write the file and take the lock off, easy! "Parvez Mohamed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Plaese use http://www.scriptarchive.com/readme/counter.html#

Re: php testing in my pc

2003-12-25 Thread Charlie somerville
POST TO THE DAMN PHP NEWSGROUP NOT THIS ONE! "Daniel Hurtado Brenner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi friends: > I use activeperl for for run and testing my cgi script in my PC. It's fine. > Well... if i want to run and testing my PHP script and my Msql in my PC...

Getting a users IP addy

2003-12-25 Thread Charlie somerville
I'm trying to get a users IP address but when i test it, it always returns "192.0.0.0" which is not my IP. I can't tell you which %ENV key i'm using as i forgot. Please help me. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: free site hosting that supports CGI

2003-12-25 Thread Charlie somerville
Yeah, tripod lets you, only prob is they don't have the CGI module but you can work around that with $ENV{'QUERY_STRING'} <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >Does anybody knows where I can find free site hosting that supports CGI? > JP, from Brazil. > > you must s

Re: Help with PPM install

2003-12-25 Thread Charlie somerville
  Shouldn't you bbe posting to perl.scripts? i mean, cross posting is rude so don't do it   "Ash Singh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... I am trying to install Text-CSV from my dos prompt. I downloaded the ppd from activestate perl. I get this erro

Re: Bad referrer!

2003-12-25 Thread Charlie somerville
Some computers have special security settings to hide the refferer, you need to find a way to disable the security setting. "Sara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There was a script which people were using remotely, so I have to add this > simple subroutine > to check

Re: Calling JavaScript from Perl

2003-12-25 Thread Charlie somerville
Not neccisarily, javascript can be a server side for example in ASP you can set the <%@ Language=""%> bit to <%@ Language="javascript" %> "Wiggins D Anconia" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > Hi, > > Does anyone know is it possible to call javascript from perl? C