re: [PHP] Zip to postcode

2003-04-02 Thread Peter Hicks
Don't forget some London postcodes are Q1Q QQQ! Peter. On Wed, 2 Apr 2003, skate wrote: sorry, don't have anything to add for code, but just a note to remember that UK post codes can also be in the form... QQ11 1QQ Q1 1QQ Q11 1QQ QQ1 1QQ so it's a real pain to write an expression

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Peter Hicks
Nick, md5 is a hashing function, not an encryption function. You need anti-replay if you want the password transfer to be secure On Tue, 18 Feb 2003, Clarkson, Nick wrote: Would this pass both variables in clear text back to the server ? If so would it be better to do this; [cut] Would

[PHP] Compiling PHP against net-snmp 5.0.6

2002-10-11 Thread Peter Hicks
Hi everyone I'm having terrible trouble compiling PHP with net-snmp: /bin/sh /usr/local/src/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.2.3/ext/snmp -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3 -I/usr/local/apache/include

Re: [PHP] Header utilisation problem

2002-08-14 Thread Peter Hicks
Hi Christian I suspect act_create_new_compte.php is sending headers. Once HTTP headers have been sent, and HTML has started to be sent, you can send no more headers. Try using another method of causing the browser to reload - maybe a META tag? (urgh). Peter. On Wed, 14 Aug 2002, Christian

Re: [PHP] Self Destruct code

2002-05-07 Thread Peter Hicks
I back up Chris' comments about the legality of self-destructing code. Sort out contractual issues with lawyers. If you want to 'limit' your system until you get paid, what about deliberately putting a limit on a column in MySQL, e.g. the key column is a TINYINT rather than INT? Let the

[PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
All, I am having terrible difficulty trying to build 4.1.0 as an Apache shared module. Without SNMP support, all is well. However, as soon as I add --with-snmp=..., I get the following at compile time: gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory make[3]: *** [snmp.la]

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
Hi Brian On Mon, 24 Dec 2001, Brian Clark wrote: gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory Does libsnmp.so actually exist in /usr/local/snmp/lib? Yes (a symlink to another file, which exists), and SNMP is detected fine through 'configure'. I have two theories.

RE: [PHP] Logo proposal

2001-12-12 Thread Peter Hicks
Armin, It may be for your applications, and it may be for mine, but not everyone uses MySQL, and MySQL support is only part of PHP itself. Cater for the large 'minority' of people who don't use PHP + MySQL :) Peter. On 12 Dec 2001, Armin Hartinger wrote: Personally, I think it should be

[PHP] SNMP OID translation

2001-08-08 Thread Peter Hicks
. Is it possible to get PHP to translate textual OIDs in to numeric OIDs, and vice versa? Automatically? Peter. --- Peter Hicks e-mail: peter.hicks(at)poggs.co.uk Network Architect web: http://www.poggs.com/ Poggs Computer Services bobcode: K l E m2 C B-x O L S T A H b6 D1