redirection to various html files based on IP list

2003-03-28 Thread Martin Hudec
Hello, I need to make script which will go through file with IP addresses (one IP per line), and then compare each line to $ENV{'REMOTE_ADDR'}, and if it is equal then it will load first html to browser, otherwise it will load second html. Can anyone help me with this please? -- Ma

Re[2]: script looking for expression in files

2003-01-08 Thread Martin Hudec
age RD> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Martin Hudec wrote: >> > >> > Hello, >> >> Hello, >> >> > I need to call a script which will be searching for string (posted >> > from PHP) in all files in

Re[2]: script looking for expression in files

2003-01-08 Thread Martin Hudec
tauri." by Douglas Adams Wednesday, January 8, 2003, 3:28:06 PM, you wrote: JWK> Martin Hudec wrote: >> >> Hello, JWK> Hello, >> I need to call a script which will be searching for string (posted >> from PHP) in all files in one directory and its su

script looking for expression in files

2003-01-08 Thread Martin Hudec
Hello, I need to call a script which will be searching for string (posted from PHP) in all files in one directory and its subdirectories and then it will print filenames in which it found the string to STDOUT Can anyone help me please with this script? -- Best regards, Martin

Re: Mail Problem. Can Anyone Help Me?

2002-10-24 Thread Martin Hudec
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hello Bootscat, well it looks like you are missing Mail::Sender library...use for example CPAN to find it and.$smtp_server = "localhost.com"; I just want to ask you...are you using this domain? because it looks to me like it is from source cod

Re[2]: Perl vs. PHP?

2002-10-23 Thread Martin Hudec
Hello Matthew, so Perl is also good that you can implement many more languages such as c++, also there are many modules at CPAN (swig) for this. If you want to see our perl implementation look at www.markiza.sk which was formerly running on PHP and his average load was around 10-20 with PHP, now

Re: Perl vs. PHP?

2002-10-23 Thread Martin Hudec
Hi all, well I use Perl and sometimes PHPdifferences for me are these... PHP is good for small web projects such as small e-commerce, guestbooks etc. applications. Perl is excellent for big web projects such as portals, mainly because it is more integrated into system than PHP, also you can