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:

Re: [PHP] Re: Uploading Photos to MySQL

2001-09-12 Thread Sean C. McCarthy
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!! Sean C

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 file in list six, so I couldn't verify

Re: [PHP] Accessing pdf file thru php

2001-09-12 Thread Sean C. McCarthy
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: Are you

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 problem

[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] Stripslashes question.

2001-09-10 Thread Sean C. McCarthy
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 - From: Sean C

Re: [PHP] The future of PHP

2001-09-06 Thread Sean C. McCarthy
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 that is something else. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) -- PHP General Mailing List (http://www.php.net

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 there are some functions to manipulate

Re: [PHP] Re: EDI with PHP?

2001-09-03 Thread Sean C. McCarthy
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 of order, etc

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 generated

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 -Jnumber or name', 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 SCI

Re: [PHP] The future of PHP

2001-08-24 Thread Sean C. McCarthy
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.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] The future of PHP

2001-08-23 Thread Sean C. McCarthy
at 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-22 Thread Sean C. McCarthy
not 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 is just there for you

[PHP] register_globals odd behaviour?

2001-08-20 Thread Sean C. McCarthy
on Linux 2.2.18 and Apache1.3.9 . Does this bogus behaviour 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

[PHP] Object members dynamic access?

2001-08-15 Thread Sean C. McCarthy
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) -- PHP General

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

2001-08-15 Thread Sean C. McCarthy
. 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; echo ($vartest); // should be 'hello' This should work, but i had no time to test

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! Actually, you're not... Sorry. The fact

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 looks

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] 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 have problems in PHP support

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sean C. McCarthy
/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 commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sean C. McCarthy
to source code has very little to do with being Open Source. Access to source code is 1 out of 9 requirements for something to be open source. Please see http://www.opensource.org/docs/definition.html -Rasmus Ok sorry about that. I read open source and not Open Source as OSD ;-) Sean C

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: http://www.apache-ssl.org

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

2001-08-08 Thread Sean C. McCarthy
was doing that stuff with just functions and not a class. Hope it's useful for you. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Mark Garcia wrote: Greetings, I'm having a puzzling time trying to figure out how to work around the issue of the session_id not existing after making

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) Dr

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 desktop to my server which hosted

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 regards At 18:11 07/08

[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