Re: [PHP] Parse error: parse error, unexpected '='
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 20 Apr 2004 08:24, Lasse Motroen wrote: I have received some code and am trying to run it. However, I get the following error: *Parse error*: parse error, unexpected '=', expecting ')' It happens on this line when $args=array() is reached: function array_key_remove($args=array(), $keys=array(),$replacement=NULL) I have php-4.2.2-17 and Apache 2.0.40 installed, and am runnig RedHat 9. What's wrong, please help. IN PHP4 you can't have a default value for a parameter given by reference: $args=array() You will need to change that to a simple $args for it to work with PHP4. However, in PHP5 (any version from b1, I believe), you can have a default value for a parameter when given by referrence. Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 Error: quote_machine(): Dry humour detected. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAhO9vaIgMKkVlSLQRAgu5AKCubWfkqcopm7ZXWuUamdPiRiW3gwCfVidL 5ixcr8l+91g2km7+VAPvYRM= =6DUI -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Error compiling php-4.3.6 on Redhat 7.3 - need help please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Mike, On Tuesday 20 Apr 2004 20:46, Mike Ryerse wrote: Hi, I've been racking my brain on this for quite a while now. Any help at all is much appreciated (I might start going bald early at this rate of frustration!) When I compile php, ./configure (with options) runs w/o error, but when I make I get the following: main/network.lo: In function `php_stream_sock_ssl_activate_with_method': /root/install/php-4.3.6/main/network.c:750: undefined reference to `php_SSL_new_from_context' /root/install/php-4.3.6/main/network.c:784: undefined reference to `php_openssl_apply_verification_policy' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Here is my configure statement: './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-freetype-dir=/usr' '--with-expat-dir=/usr' '--enable-exif' '--with-exec-dir=/usr/bin' '--with-png-dir=/usr' '--with-openssl-dir=/usr/local' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-png' '--with-pspell' '--with-regex=system' '--enable-ftp' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-xml' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs' Your missing a `--with-openssl=/usr/local'. Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 Error: quote_machine(): Dry humour detected. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAhZtLaIgMKkVlSLQRAig4AJ4j91LIqwA0Bqhj5syg49FqmSIHlQCePjHM xDCiimK1wZ7QYkR1OBrApFs= =U6nL -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: php accelerator for php5rc1 ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello David On Monday 19 Apr 2004 08:34, David Herring wrote: Hi Thomas, Thanks for the correction. My current undertanding is that zend-acelerator, phpa, turck-mmache and apc do not support PHP5.0rc1 ? Is there any accelerator that does ? Although Turck MMCache doesn't yet officially support PHP5, it works (very well here). If your able to test it with PHP5 and send bugs when/if you get any problems, then it might be ready sooner. :) Elfyn Thomas Seifert wrote: On Sat, 17 Apr 2004 19:01:21 +0100 [EMAIL PROTECTED] (David Herring) wrote: The latest Zend optimiser - 3.60 does not support php 5 - is there any alternative accelerators which do ? uhm, afaik the optimiser is not an accelerator, more kind of a loader for encrypted files. You would have to use the zend-accelerator, phpa, turck-mmcache, apc or similar products. - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 Error: quote_machine(): Dry humour detected. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAg6a1aIgMKkVlSLQRAoPOAKCKtRqolmvH7zWWIgvQCSjCd1jdGgCgnHkC /w/ofhJWCaox6YmuCT2NUh0= =S7tI -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to disable browser's back- and refresh-Button
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Marco, On Monday 19 Apr 2004 16:39, Marco Schuler wrote: Hi Am Mo, 2004-04-19 um 17.18 schrieb John Nichel: Marco Schuler wrote: Hi I want to prevent the user to use the browser's back-/refresh-button in my multipage registration form (as well as in other forms). How can I do this? Thanks for your help! You can't with PHP. It's going OT in this case, sorry! But how to do it then? JavaScript? And if yes: how? I doubt this is even possible let alone portable accross different browsers. But if it is, Javascript would be the way to go. Where to look for examples? I don't know.. try Google. Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 Error: quote_machine(): Dry humour detected. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAg/3raIgMKkVlSLQRAkkrAJ42jS3hXotR4JUSqiOwcrsQU0cTLQCdGTEk +lbzpPO75dKAns0qZu6+5Z8= =7RSu -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Explanation of cookie behavior
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 18:18, John Nichel wrote: David A. Stevens wrote: Please remove my address from any future correspondence about PHP. Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If you're lucky, I won't post your email to any porn lists or USENET. But I might ;) - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgDJvaIgMKkVlSLQRAnKOAJ48FP60qgOpjGegMs2+UnUGDdbEYACfSjYS 8tLVxnY5/Si80AoJeS1M4Qw= =HjAU -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Unwanted e-mails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 19:19, Lester Caine wrote: Chris W. Parker wrote: David A. Stevens mailto:[EMAIL PROTECTED] on Friday, April 16, 2004 10:31 AM said: I have somehow, for reasons unknown to me, gotten onto some e-mail list that I don't want to or need to be on. Somebody please, at all the above addresses, do everything possible to get me off that list(s). DON'T MAKE AN AUTO-REPLY!! UNSUBSCRIBE YOURSELF!! Does not Fing work!! The unsubscribe process requires you to reply to the eMail that is sent. THAT email is bounced for many people who are trying to unsubscribe. SOMEBODY NEEDS TO GET THEIR ACT TOGETHER AND FIX THE SYSTEM SO THAT WE C*A*N* UNSBSCRIBE ! There is obviously an anti spam filter that processes many of these requests and prevent email IN while still sending it OUT to the banned addresses ! Chill out, or you'll see no help, OK? If for whatever reason you don't get that unsibscribe email, you need to contact the people who run this list: php-general-owner at lists dot php dot net But use that as a /last/ resort. Try the unsubscribe page on the PHP website first: http://www.php.net/unsub.php Coming on this list and swearing at everyone won't get you anywhere. :-) Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgECmaIgMKkVlSLQRAkR9AJ48QGZl4iwy+hPmbBNekD3F4lRZvQCgiKh/ JBY08qC2MFFNLvsXbv3hnuc= =4+dE -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Unwanted e-mails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 19:35, Lester Caine wrote: Elfyn McBratney wrote: Chill out, or you'll see no help, OK? If for whatever reason you don't get that unsibscribe email, you need to contact the people who run this list: php-general-owner at lists dot php dot net But use that as a /last/ resort. Try the unsubscribe page on the PHP website first: http://www.php.net/unsub.php Coming on this list and swearing at everyone won't get you anywhere. EVERY message posted to lists.php.net simply gets bounced, and every attempt to get a response on these lists has been ignored. YES there is an unsubscribe, BUT it will only work if the eMail server at PHP will actually accept the unsubscribers eMail. I am not the only person who has been having problems getting email responses - so arrogant replies of Read the messages tend to piss me off :) Have a look at the headers of this message. You'll see (or should see) a Return-path: header. Like this: Return-path: [EMAIL PROTECTED] You see this bit: elfyn=emcb.co.uk? That's the email address I subscribed with, and is the address I have to use to unsubscribe. Make sure that you use the correct address to 'try' and unsubscribe or, yes, ezmlm will ignore you. ELfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgEN3aIgMKkVlSLQRAjo1AKCLSRZmygBj/APT7mWn85kj/U13BwCgmmCB ucqissJNh/UJ3hUcAnLS37U= =NzG/ -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Unwanted e-mails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 20:35, Elfyn McBratney wrote: On Friday 16 Apr 2004 19:35, Lester Caine wrote: Elfyn McBratney wrote: Chill out, or you'll see no help, OK? If for whatever reason you don't get that unsibscribe email, you need to contact the people who run this list: php-general-owner at lists dot php dot net But use that as a /last/ resort. Try the unsubscribe page on the PHP website first: http://www.php.net/unsub.php Coming on this list and swearing at everyone won't get you anywhere. EVERY message posted to lists.php.net simply gets bounced, and every attempt to get a response on these lists has been ignored. YES there is an unsubscribe, BUT it will only work if the eMail server at PHP will actually accept the unsubscribers eMail. I am not the only person who has been having problems getting email responses - so arrogant replies of Read the messages tend to piss me off :) Have a look at the headers of this message. You'll see (or should see) a Return-path: header. Like this: Return-path: [EMAIL PROTECTED] You see this bit: elfyn=emcb.co.uk? That's the email address I subscribed with, and is the address I have to use to unsubscribe. Make sure that you use the correct address to 'try' and unsubscribe or, yes, ezmlm will ignore you. One important detail I missed is that you replace the '=' with an '@' to get the email address.. Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgEP7aIgMKkVlSLQRAq2eAJ4sC3ZVwoR9e+nT/wyi5Hpo6ad7mwCgk2Dp Lrgwtg6g7wO0/jcokEolkdg= =69BO -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] http header
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Gabe, On Friday 16 Apr 2004 19:48, Gabe wrote: Is the following code the best way to redirect someone to a different page using PHP? ?php header(Location: http://www.yahoo.com;); ? That's also known as breaking the back button, but is the only way to do it in PHP. A better way to redirect someone (and keep the back busson working) is to use the meta html tag. I looked for a redirect function of some kind and didn't come up with anything. Just curious what the consensus is... Thanks Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgEdkaIgMKkVlSLQRAnFsAKCQVkF5SUthf+f7hH0xSwaafvW4/wCeKlK0 oQkwLFAPpT8jjkd3LD9dhvs= =p4e2 -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Double mails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 17 Apr 2004 05:05, PHP Email List wrote: Sorry this was meant for Kaleb, My bad, see WAY TOO EARLY IN THE MORNING You mean late at night ;) [...] Every mail comes twice... Well, every mail from the list. I had this happen a year ago on a Wolf Conservation List that I belong too, I contacted the email administrator and they checked the database and I was in there twice. Some how (through no fault of my own, cuz I'm perfect) I got entered into the database twice. I unsubscribed and resubscribed and that fixed it. SO, worth a shot. worst that can happen is you miss a couple of emails and have to check the archives. Heaven forbid we do that though. Cuz that'd be like, ummm, following the rules of Newbie Law. Or so it's wrote. (enter more ramble cuz it's 12:00midnight and I have nothing better to do):: exit looney! Wolf. :) HTH - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgMlaaIgMKkVlSLQRAtICAKC3nFiAN0SOYD5CqI09BcIlKLn9pgCcDh0y jvxQw/lB3tJMo5mhsSSkA6U= =81OX -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Form variable can't transfer to web page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 13 Apr 2004 06:11, Morris Law wrote: Dear all PHP users, I have installed a new web server for PHP scripting. I wrote a PHP form page to submit some variables to another PHP pages. After submission, I found that the variables cannot be echoed out. The scripts are as simple like these, !-- hello2.php-- body ?php print form action=\hello.php\ method=\POST\\n; print Name: input type=\text\ name=\name\br\n; print input type=\submit\\n/form\n; ? Unless register_globals is off, you need to use the $_GET/$_POST super-globals to access request data. !-- hello.php-- body ?php echo(Hello, $name!\n); echo(p\nWhat a bbold/b move this is!\n); ? /body ..so this would become: ?php echo(Hello, {$_POST['name']}!\n); ? See the manual (http://www.php.net/manual/en/) if you don't understand any of the above constructs. What sort of problem relating to installation is it? Thanks for any inputs and advice. Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAe5XsaIgMKkVlSLQRAj7kAJ9G6NjjofohXAjYSQc7UZ2H6qeCdQCfXlBG eqykNp0EeSGn0oHlc+dXwx0= =ZkLv -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Web-Chat Software
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Galen, On Tuesday 13 Apr 2004 07:12, Galen wrote: Hi PHP people, I'm looking for PHP-based chat software. This is more of casual thing, otherwise I'd go out and write my own that works exactly the way I want, but I just don't have the time. I've tried several packages, and every single one has very significant browser problems. The problems go on and on and on... which chat programs (don't forget to mention the version you're using) have robust web-based chatting interfaces? I'd rather not try all of the hundreds of packages out there on several different browsers to find out! Also, this has gotta be PHP/MySQL only - no daemons please! The requirements are simple, so I don't need loads of complex stuff, simpler (interface-wise) is better here, but I most need something that plain works! I don't know of any 'mainstream' chat apps, but I have one I wrote for a client (gpl licensed) that's ~800 lines and uses SQLite as a data-source (would be simple to change to MySQL). If you want it, let me know and I'll put it up somewhere. But this is simple: the client refreshes every variable number of seconds (say 1), uses basic html (font, bold, italics, etc) and a bit of browser detection magic for frames and font depths. Something you could probably write in an hour ;) Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAe6S7aIgMKkVlSLQRAnNPAJ9CNK2zc5vgATMIWZrabWHc6rMadACeLq21 /+BIPzpNTu3mIIpuBaAotLU= =a7bf -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ATTN: List Admins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 11 Apr 2004 10:35, David Robley wrote: [EMAIL PROTECTED] (Elfyn McBratney) wrote in On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote: I'll second that ... keep getting this in response from them: Thank you !! Your message has been received; we will treat your message and get back to you as soon as possible. Besides the fact that mailman more or less makes this list useless for me ... this is just another annoyance... Rene At 16:19 09-04-2004, Ryan A wrote: Please take out these two addresses: Information Desk [EMAIL PROTECTED] Advance Credit Suisse Bank [EMAIL PROTECTED] everytime we post to the list we get their damn autoresponders. Yes, postmaster, please do. The spam mennaces hit me 10+ times on every post i make to php-general@ (yes, only three or four today :) Everybody - there is in the headers of every message to this list, an addres for the list maintainer. Please try directing your requests to those addresses where you are more likely to get help, rather than a bunch of 'Me too!'s that sem to follow any of these messages. Please check the headers of this post - Only List-{help,unsubscribe,post} are present (plus the -help address, which is not a human), there is not an address to contact the list admin.. postmaster@ seems perfectly fine to use in such a case. Also, most mail/newsreader apps these days have some form of filter Yes they do, but I'm still using dial-up, so am annoyed when I recieve variable-number-here of spam notes that still have to be downloaded.. These people need to unsubscribed, I shouldn't have to screen my mail because of some arseholes. 8) Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeWuVaIgMKkVlSLQRAi1XAKCq/bYhA4zyUSN3hOv5tyfNCe04jACgrT3k w2N+xPIpi6k9sTG5eZOKRCc= =MYdh -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] imap_open() fails with CouirerIMAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Saturday 10 Apr 2004 22:59, Pembo13 wrote: Hello, Does anyone have php's imap functions working with CourierIMAP as their imap server? Yes, as does IMP (see horde.org). What errors do you get? What code are you using (strip it down to something simple like connect/disconnect)? If you need help, theres examples in the manual: http://www.php.net/manual/en/ref.imap.php Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeI3UaIgMKkVlSLQRAlGJAJ40vHmcldx23hSFt9rpbYlEZ+MrigCgmRfz V1Pq2IrZz0RarH8RI3yPj/o= =ctL7 -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] imap_open() fails with CouirerIMAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 10 Apr 2004 23:42, Pembo13 wrote: Well I've setup a reltively simple code block: function mailboxmsginfo($mailbox='INBOX', $username, $password) { $username = $username.@dalive.com; $imap_stream = {localhost:143/notls}.$mailbox; $mbox = imap_open($imap_stream, $username, $password) or die(can't connect ($username with $password): . imap_last_error()); $check = imap_mailboxmsginfo($mbox); imap_close($mbox); return $check; } OK, can you try this: ?php $mbox = imap_open('{127.0.0.1:143/notls)INBOX', 'user', 'pass') or die(imap_last_error()); echo(Connected..\n); imap_close($mbox); ? (If courier isn't compiled with SSL/TLS support, drop the '/notls'.) Also have a look at the docs/comments here: http://www.php.net/manual/en/function.imap-open.php Client side I get (from imap_last_error): Can not authenticate to IMAP server: Authentication failed. Serverside, from Courier's logs i see the commands that differ from what normally comes from my mail clients. The normal mail client commands are of the format: imapd: Connection, ip=[:::192.168.100.11], command=LOGIN imapd: LOGIN: DEBUG: ip=[:::192.168.100.11], username=myusername imapd: LOGIN: DEBUG: ip=[:::192.168.100.11], password=mypassword imapd: LOGIN, [EMAIL PROTECTED], ip=[:::192.168.100.11], protocol=IMAP while the commands as a result of the PHP funcion are of the format: imapd: Connection, ip=[:::192.168.100.11], command=LOGIN imapd: LOGIN: DEBUG: ip=[:::192.168.100.11], command=AUTHENTICATE imapd: LOGIN: DEBUG: ip=[:::192.168.100.11], command=LOGOUT imapd: LOGOUT, ip=[:::192.168.100.11] hrmm..no.. anyone? 8) Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeJowaIgMKkVlSLQRAvAhAKCV+oLhJbjE6IrsPEA3SAq4+1cNHACfdu4t LHJsC3JzuVKeR8FeI0J8oWY= =fmBO -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] phpextdist and phpize
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 11 Apr 2004 00:22, [EMAIL PROTECTED] wrote: Hello, I have just installed PHP 5.0b4, and had a look into /usr/local/php5/bin. I have found these files: php You know :) pear Can be used to install/remove/update/etc pear/pecl packages php-config Gives you information on your install.. used by phpize.. phpextdist Can't remember.. Google is your friend :) phpize It bootstraps a directory for a standalone/out-of-tree module Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeKjIaIgMKkVlSLQRAnTVAJ9h+8+N8WkUo43rmybs8vFc/F+B3QCeLRoF DvEfjUAqGnaFEHsHsUuBkBU= =2csS -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ATTN: List Admins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [postmaster@ added to Cc:] Hello, On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote: I'll second that ... keep getting this in response from them: Thank you !! Your message has been received; we will treat your message and get back to you as soon as possible. Besides the fact that mailman more or less makes this list useless for me ... this is just another annoyance... Rene At 16:19 09-04-2004, Ryan A wrote: Please take out these two addresses: Information Desk [EMAIL PROTECTED] Advance Credit Suisse Bank [EMAIL PROTECTED] everytime we post to the list we get their damn autoresponders. Yes, postmaster, please do. The spam mennaces hit me 10+ times on every post i make to php-general@ (yes, only three or four today :) Thanks, Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAd1HXaIgMKkVlSLQRAgKbAJ9e+ZnqP9f9iass0XkMjsxuxeWtcACgqdRU WJRs+1YJWPcdvy1LvkJ6uVg= =Q5Ir -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Fwd: failure notice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello PHP group :) The qmail alias for ezmlm-postmaster seems broken. Please see the below message (apologies if I should have sent this elsewhere) Elfyn - -- Forwarded Message -- Subject: failure notice Date: Saturday 10 Apr 2004 00:47 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi. This is the qmail-send program at pb1.pair.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: That is not a valid email address. - --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 1390 invoked by uid 1010); 10 Apr 2004 00:47:50 - Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 1334 invoked from network); 10 Apr 2004 00:47:50 - Received: from unknown (HELO smtp-out4.blueyonder.co.uk) (195.188.213.7) by pb1.pair.com with SMTP; 10 Apr 2004 00:47:50 - Received: from london.i.emcb.co.uk ([62.30.188.142]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sat, 10 Apr 2004 01:47:50 +0100 From: Elfyn McBratney [EMAIL PROTECTED] Organization: EMCB To: [EMAIL PROTECTED] Subject: Re: [PHP] ATTN: List Admins Date: Sat, 10 Apr 2004 01:45:59 + User-Agent: KMail/1.6.1 Cc: -{ Rene Brehmer }- [EMAIL PROTECTED], [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 10 Apr 2004 00:47:51.0429 (UTC) FILETIME=[73C24B50:01C41E95] =2DBEGIN PGP SIGNED MESSAGE- Hash: SHA1 [postmaster@ added to Cc:] Hello, On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote: I'll second that ... keep getting this in response from them: Thank you !! Your message has been received; we will treat your message and get back to you as soon as possible. Besides the fact that mailman more or less makes this list useless for me ... this is just another annoyance... Rene At 16:19 09-04-2004, Ryan A wrote: Please take out these two addresses: Information Desk [EMAIL PROTECTED] Advance Credit Suisse Bank [EMAIL PROTECTED] everytime we post to the list we get their damn autoresponders. Yes, postmaster, please do. The spam mennaces hit me 10+ times on every po= st=20 i make to php-general@ (yes, only three or four today :) Thanks, Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAd1S/aIgMKkVlSLQRAm9rAJ9RNC3Qy+GxWs4Y+sxWDlUyp90vGgCeLDa0 D0UVtFnZUUfJmrMjxKWXlbs= =1F4n -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrade questions?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 09 Apr 2004 02:15, Wikie wrote: How to upgrade php form version 4.2.2 to 4.3.5?? Thanks Why, that depends. ;) If your using a distro-based OS (say Red Hat Linux) fetch the RPM's using up2date (or download them from ftp.redhat.com). It really depends what OS your using. See the manual at http://www.php.net/manual/en/ Elfyn - -- Elfyn McBratney, EMCB mailto:[EMAIL PROTECTED] http://www.emcb.co.uk/ PGP Key ID: 0x456548B4 PGP Key Fingerprint: 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 When I say something, I put my name next to it. -- Isaac Jaffee ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAdhb9aIgMKkVlSLQRAtnVAJ49X2xcIBPnmRZCIKxYe7QSfHPAaQCdFb6H YKxblycE9HnIVvfLJiek8/k= =FLwE -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-DEV] Re: PHP 5.0.0 Beta 1? better called alpha zero
On Wed, 2 Jul 2003, Jaaboo wrote: PHP5 Beta1? yesterday i have downloaded the bin version of php5 for windows. here are some problems that i have during my install / test. some of them i have solved but a few i can't figure out. 1. if you have installed apache1.3x and php4 before and want upgrade to apache 1.3.x and php5 then you must replace the entry in the httpd.conf from : LoadModule php4_module c:/php/sapi/php4apache.dll to LoadModule php5_module c:/php/sapi/php4apache.dll otherwise apache does not start. this is install.doc in the php distribution tells you to use the first statement. it seems that the docs need some work to reflect the new php5 config/install statements. PHP5 Beta 1 (Get it :) is a beta. How to install the stable version is documented, but beta's are intended, IMO, for developers and experienced users to try. 2. PHP5 comes without the clientlibs of mysql!!! i find it very confusing that there is no more info about this on www.php.net nor mysql.com so what with lamp and wamp (will it be lans and wans for the new sqlite) ok they don't budle mysql and php but how can we do it with php5 + mysql where is the info , the how to ? Due to the MySQL client library changing it's licensing terms from public domain to GPL it can no longer be included with PHP. A clause is being worked on to allow for this in the future. 3. PHP5 have a completely new domxml extension . where is it ? the recomended - php.ini in the distribution confuses you again with old module entries that doesn't work. what they meen with a complete new extension is it so new that we can't see it? ;-) In ext/domxml . Again it's beta. There are kinks to be ironed out. :) 4. i can't understand why they call it php5 beta1 , as long as mysql doesnt work it can only called php5 alpha zero. Erm, it's beta because it is a beta. It has a new engine and new structure and new... Please don't send this and other musings to all of the available user lists. Elfyn -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php