Re: [PHP] PHP Security

2001-09-13 Thread Sean C. McCarthy
Hi, I don't think there is any other way, at least so easy to extend. The only improvement will be to combine the system with calls to NIS or a Kerberos/RADIUS server. If you have such a server (or maybe LDAP ???) you should combine it for administration easiness. [EMAIL PROTECTED] wrote: > > T

Re: [PHP] Accessing pdf file thru php

2001-09-12 Thread Sean C. McCarthy
what PHP are u running. Mine PHP4.0.3pl1 on Linux+Apache Sean C. McCarthy SCI, S.L. (www.sci-spain.com) PS: I know I should upgrade when having funny problems, but actually we are almost finishing a project a we cant stop to recompile and reinstall. Matthew Loff wrote: > &

Re: [PHP] Re: Uploading Photos to MySQL

2001-09-12 Thread Sean C. McCarthy
Mike Gifford wrote: > > Hi Sean, > > Sean C. McCarthy wrote: > > If you mean http://www.webtechniques.com/archives/1998/02/lerdorf/ what > > inserts in the DB is just the image's name, but not the file itself. > > I had trouble opening up the upload.php3 fil

Re: [PHP] Re: Uploading Photos to MySQL

2001-09-12 Thread Sean C. McCarthy
e the addslashes function. As I have seen in this code it also uses it. Your problem is with getting corrupt data from the DB? If it is this use base64_encode and base64_decode. This is a tip Chris (only know his name) gave me as no solution for addslashes was given... Thanks again Chris!! S

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Sean C. McCarthy
Dear All, Please I beg you not to start a discussion over this. It is a very sad moment, and I think everybody agrees with me. I send my condolences to all the people who has family in these tragic terrorism acts. Sean C. McCarthy Clint Tredway wrote: > > I am sorry, but the p

Re: [PHP] Stripslashes question.

2001-09-10 Thread Sean C. McCarthy
as I know it should have converted back from \\ to a single \. By the way I am running 4.0.3pl1 Linux Thanks. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jason Bell wrote: > > try addslashes instead. You might have better luck. > > - Original Message

[PHP] Stripslashes question.

2001-09-10 Thread Sean C. McCarthy
Hi all, What will be the way to convert binary information into a string which will get into an SQL query for MySQL? I tried stripcslashes but I got stucked with it. Any help? Thanks in advance. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) -- PHP General Mailing List (http

Re: [PHP] Sterilize user input function

2001-09-09 Thread Sean C. McCarthy
Hi, You might want to have a look at http://www.thewebmasters.net/php/Validator.phtml is a class for validating serveral things. It is a PHP class. You can have a look at the regexps they have used. But as stated before it would be better to check the syntax instead... if it is not a phone numbe

Re: [PHP] The future of PHP

2001-09-06 Thread Sean C. McCarthy
and another operating system. Too bad. Where did you get that thing about EU being more open source that the US??? Is it your personal experience or what??? It is not my own experience... maybe what you mean is that the US is more in the bussines of making money with the open source than the EU, but

Re: [PHP] Undefined class name 'parent'

2001-09-04 Thread Sean C. McCarthy
Hi Again, Maybe you are using "parrent" instead of "parent" (one 'R')? If it is not that no clue? It works perfect for me. Have you tried chapter 13 of the manual? Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jeroen Olthof wrote: > > w

Re: [PHP] adding functions to a class

2001-09-04 Thread Sean C. McCarthy
Hi, What you are looking for is the OOP class extension. Look for "extends". Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jeroen Olthof wrote: > > hi, > > picture I have a class with some variable holding the information of this > class. Now th

Re: [PHP] Re: EDI with PHP?

2001-09-03 Thread Sean C. McCarthy
x27;t look at it. Also you can keep the logic more organized with the object structure. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jon Farmer wrote: > > No, we would have to spend around £24,000 sterling to get the modules. We > already have modules that allow importing

Re: [PHP] generate random ascii string

2001-09-01 Thread Sean C. McCarthy
Hi, If you have random string including symbols just take them of with regexp. Look at the manual for regular expresion functions. Hope it helps. Sean C. McCarthy SCI, s.L. (www.sci-spain.com) bill wrote: > > How can a random string of only letters and numbers be gen

Re: [PHP] PHP to fax

2001-08-31 Thread Sean C. McCarthy
Hi Ari, If you are using Linux (if not you should! really) You can use lprfax which will let you use 'lpr -Pfax -J', mgetty-fax, efax or something like that. If you use one of those programs dump the information to file and use exec() from PHP. Sean C. McCarthy

Re: [PHP] The future of PHP

2001-08-24 Thread Sean C. McCarthy
hain, from transportation to food and goods. And BTW most companies that caused this were startups not really big companies. Much more information on this can be found on the Wall Street Journal. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) -- PHP General Mailing List (http://www

Re: [PHP] wget

2001-08-24 Thread Sean C. McCarthy
Hi, use '-o /dev/null' with this you will get no output at all. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Augusto Cesar Castoldi wrote: > > Hi. > > I'm using "wget -q -o /home/httpd/html/temp/logs.txt > http://localhost/script.php

Re: [PHP] The future of PHP

2001-08-23 Thread Sean C. McCarthy
java.apache.org on the Jakarta project. Also Motorola and other companies are working hard to integrate Java into small devices set-top boxes and devices like that. I guess that there are places to use PHP and others to use Java, you decide what will suit better your needs. Sean C. McCarthy

Re: [PHP] Re: register_globals odd behaviour?

2001-08-23 Thread Sean C. McCarthy
use data missing or becoming corrupt. Thanks. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Richard Lynch wrote: > > > What is the reason that I should not use the array? Is there any problem > > doing it that way? > > They array is simply not designed for y

Re: [PHP] Re: register_globals odd behaviour?

2001-08-22 Thread Sean C. McCarthy
use the array? Is there any problem doing it that way? Thanks in advance. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) PS: By the way I couldn't find this bug in the bug database. Richard Lynch wrote: > > I think you should still use $count++ > > The array

[PHP] register_globals odd behaviour?

2001-08-20 Thread Sean C. McCarthy
viour happen with higher versions too? Thanks in advance. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

Re: [PHP] Re: Object members dynamic access?

2001-08-15 Thread Sean C. McCarthy
c. Thanks. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Cerel wrote: > > Try this : > > class foo { > var $var1="hello"; > var $var2="world"; > } > ... > ... > $fooinstance = new foo; > $vartest=$fooinstance->var1; > e

[PHP] Object members dynamic access?

2001-08-15 Thread Sean C. McCarthy
now this doesn't work, and have searched the manual and haven't found anything on it. I doubt it since this is more or less the work of the Arrays and not the way a class should behave. Anyway any ideas? thanks in advance. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) --

Re: [PHP] session security issue

2001-08-14 Thread Sean C. McCarthy
Hi, For security use SSL and get the SSLSession ID instead. This cannot be fooled since it is based in PK handshake and with simetric encryption. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Christian Dechery wrote: > > I have pages that uses session for security that

Re: [PHP] Re: Storing Credit Card Numbers, etc.

2001-08-14 Thread Sean C. McCarthy
. Hope this helps Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Richard Lynch wrote: > > > I'm new to PHP and to e-commerce. Needless to say, I've done a lot of > > studying over the last few weeks and I'm ready to dive in head first! > > Actua

Re: [PHP] Determining browser encryption strength

2001-08-10 Thread Sean C. McCarthy
encryption. If you do not have a strong know-how at SSL I recommend you these two links: Intro to SSL http://developer.netscape.com/docs/manuals/security/sslin/index.htm Apache-SSL doc http://www.apache-ssl.org/docs.html Hope this helps you. Sean C. McCarthy SCI, S.L. (www.sci

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sean C. McCarthy
t that. I read "open source" and not Open Source as OSD ;-) Sean C. McCarthy SCI, S.L. (www.sci-spain.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sean C. McCarthy
//www2.linuxjournal.com/lj-issues/issue85/index.html Sean C. McCarthy SCI, S.L. (www.sci-spain.com) BTW: I use Linux for work and home, and I like things like PHP ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] MySQL connection

2001-08-09 Thread Sean C. McCarthy
(unix chown and chmod, more info 'man chmod' and 'man chown'). If you are using W9x/ME you're out of luck. Hope this helps. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) BRACK wrote: > > I have tested again what I said yesterday and found that if I ha

Re: [PHP] session problems when calling within a class.

2001-08-08 Thread Sean C. McCarthy
is with variable scope. Even with register_globals and track_vars the code didn't work for me. If you find out something please post it (or at least send me a message with your findings) because actually I was doing that stuff with just functions and not a class. Hope it's useful for

Re: [PHP] SSL encryption type in PHP?

2001-08-08 Thread Sean C. McCarthy
Hi, Use getenv() since it is a CGI variable. Look at the manual. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) "Dr. Evil" wrote: > > > You can tell it using the variables from the server. Using Apache you > > can access the variables specs at:

Re: [PHP] ICMP Ping

2001-08-07 Thread Sean C. McCarthy
Hi All, You meant: http://www.PHPClasses.UpperDesign.com/ didn't you? Sean C. McCarthy SCI, SL (www.sci-spain.com) hassan el forkani wrote: > > look for icmp at > http://phpclasses.upperdesigns.com i beilive there is a class that does > just that > >

Re: [PHP] Am I being Hacked ???

2001-08-07 Thread Sean C. McCarthy
lots of this? If just a few I wouldn't say its an attack but a problem from the person making the request. Sean C. McCarthy SCI, SL (www.sci-spain.com) Mark Lo wrote: > > Hi, > > My apache log files contains the following log info sending from my > deskto

Re: [PHP] SSL encryption type in PHP?

2001-08-07 Thread Sean C. McCarthy
Hi, You can tell it using the variables from the server. Using Apache you can access the variables specs at: http://www.apache-ssl.org/docs.html With Apache SSL is SSL_CIPHER returns the variable about SSL/TLS ciphersuite. Sean C. McCarthy SCI, SL (www.sci-spain.com) &qu

[PHP] Session problems..

2001-08-06 Thread Sean C. McCarthy
the class works. Is it a scope problem? Any help will be appreciated. Thanx. Sean C. McCarthy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL