php-general Digest 16 May 2007 03:09:57 -0000 Issue 4793
php-general Digest 16 May 2007 03:09:57 - Issue 4793 Topics (messages 254976 through 255002): Re: Bounty, NOW! 254976 by: Robert Cummings 254980 by: Daniel Brown Re: PHP sorting csv array output 254977 by: Anna Vester Re: Question 254978 by: Alister Bulman 254982 by: Robert Cummings PHP 5.2 array() == null 254979 by: dominic.letz.berlin.de 254981 by: Edward Kay 254983 by: Robert Cummings Re: Resources for plugin based frameworks 254984 by: Guillaume Theoret 254989 by: Jim Lucas 254990 by: Jim Lucas 254992 by: Guillaume Theoret PHP debugger 254985 by: Miles Thompson 254986 by: tg-php.gryffyndevelopment.com 254993 by: Emil Ivanov problem with string floats in PHP 254987 by: Pablo Luque 254988 by: Richard Davey 254996 by: Emil Ivanov Re: problem with string floats in PH 254991 by: Dave Goodchild error_reporting(E_ALL) doesn't show anything 254994 by: Afan Pasalic 254995 by: Stut 254997 by: Stut 254998 by: Afan Pasalic 254999 by: Jim Lucas 255000 by: André Medeiros Re: Feisty Fawn and apt-get 255001 by: Børge Holen Cannot connect to an MySQL database using Named Pipes 255002 by: John Comerford Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- ---BeginMessage--- On Tue, 2007-05-15 at 09:37 -0300, Martin Marques wrote: Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Yeah, and I bet those IP are from Kathmandu. :-D Did he even post the value of the bounty? I mean we're mostly all technically inclined people here... we can generally do math and we'd hardly chase a bounty having the value of his weekly allowance from his Mummy. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' ---End Message--- ---BeginMessage--- On 5/15/07, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2007-05-15 at 09:37 -0300, Martin Marques wrote: Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Yeah, and I bet those IP are from Kathmandu. :-D Did he even post the value of the bounty? I mean we're mostly all technically inclined people here... we can generally do math and we'd hardly chase a bounty having the value of his weekly allowance from his Mummy. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php An interesting side note it's a federal crime to identify oneself as a federal employee or to misrepresent current or prior governmental or military service. The penalties are pretty stiff, too. Which is why, as a government contractor, I'm always DAMN sure not to say that I am with [unnamed Department of Justice organization], but that I am a private contractor hired by the agency. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 ---End Message--- ---BeginMessage--- Yep, that would be the perfect solution, but, unfortunately, database is not an option for this project. Thanks for looking! I did get a solution though from another list. Here is a working version: http://veanndesign.com/sorting.php compare it to the not working one: http://veanndesign.com/test.php Anyways, thanks again! Anna On 5/13/07, Richard Lynch [EMAIL PROTECTED] wrote: If you are going to sort it by various fields, I'd just throw it into a database... That said, http://php.net/usort should be able to do whatever you want. On Thu, May 10, 2007 2:18 pm, Anna Vester
Re: [PHP] Enough games, password changed, need a php make it happen person
Okay, but the password doesn't work! On 5/14/07, Brad Sumrall [EMAIL PROTECTED] wrote: Same as earlier posting. Had some fun with my over sight on the password posting, but snort took care of that. But seriously folk! Who can poop a program on a bounty! Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty
Brad Sumrall wrote: The bounty still applies Need a sharp php programmer on the fly. No joke! I think you've pretty much pissed off the whole list so good luck. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty
I was honestly surprised by the number of knuckle heads who would try there luck! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:08 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty Brad Sumrall wrote: The bounty still applies Need a sharp php programmer on the fly. No joke! I think you've pretty much pissed off the whole list so good luck. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty
I am honestly surprised by your lack of understanding. Trying to get a freelancer by pissing them off may not really be the smartest thing to do. ;o) - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: 'Chris' [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, May 15, 2007 8:16 AM Subject: RE: [PHP] RE: Bounty I was honestly surprised by the number of knuckle heads who would try there luck! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:08 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty Brad Sumrall wrote: The bounty still applies Need a sharp php programmer on the fly. No joke! I think you've pretty much pissed off the whole list so good luck. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty
One problem: the PASSWORD DOES NOT WORK! On 5/14/07, Brad Sumrall [EMAIL PROTECTED] wrote: As a person who has come here in the recent past asking free lancer help and received nothing but near-useless references even though I was asking specific php coding related questions. Now I com to the list offering legit funding to my supposed php friends for their expertise and received nothing but low end hacker repossesses. What would you think? I am simply trying to support the list, and all I get is hate. I cannot help it if I am properly guarded. Attack me, and I have proper defensives. Respond professionally and I bare rewards.. Sincerely, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Bounty, NOW!
Yes, I do still need legit help. But obviously I needed to make a point to all the script kiddies out there that you are playing with fire if you even attempt to miss use an admin password or access a server that does not belong to you. As a prior USMC Network Admin and DoD network security specialist. Back off Big brother is watching! I come to the list as a legit person seeking intelligent minds. Not games. So yes, respond to me as a professional or an up and coming and let's talk business! Brad -Original Message- From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:32 AM To: Brad Sumrall Subject: Re: [PHP] Bounty, NOW! If you still need serious help with this, get in touch with me. I can help you with this I believe. Brad Sumrall wrote: My good friend dropped the ball! Here is the gig, and less than 48 to get it done. For those whom know phpbb and php, this should be a cake walk! Easy cash. http://www.123yachtdayworkers.com http://www.123yachtdayworkers.com ftp user = onetwou9 ftp pass = garvitos accessing the mysql is through cpanel at http://www.bluehosting.com http://www.bluehosting.com ? maybe? Using ftp password and domain name? Use my servers mysql if needed http://www.boatcrafts.net http://www.boatcrafts.net brads andreasd This guy is going to have a lot of stuff for us. We are slightly over budget, but he is very happy thus far. When I walk into this one, he had a basic page and going crazy trying to write a basic DB query. I hooked him up with phpbb and some how to get it don instruction and now he needs this piece of customer code. Concept: Joe worker logs in and says I am available on yaddy yah days (calendar mod is kind of works?) along with his description etc. Joe Captain pays 10 buck to select 5 workers over the course of a month or has to pay more. He views (without last name, email, or phone number) Joe worker, selects days he is need based on available days on calendar. Email is sent to Joe Captain with all of worker contact info and Joe receives email notice as well. Record of transaction is keep in a DB table, a count =5 should be stored in a table in case Joe Captain does not use his 5 picks up to 30 days. Hence Flowchart: Collect Calendar dates and user id variable for FORM data On SUBMIT, POST Db 1 for count Captain Email Worker email DB record Goal: If I provide a basic submit button which emails Joe Worker and Joe Captain with user profile info and a record in the database. i.e grab the variable from a selected profile and submit = 2 emails and count = 5 or error. We are golden! If you have any tricks with the calendar. People will be very happy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty
Yeah, knuckle heads spoiled the fun! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:38 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty One problem: the PASSWORD DOES NOT WORK! On 5/14/07, Brad Sumrall [EMAIL PROTECTED] wrote: As a person who has come here in the recent past asking free lancer help and received nothing but near-useless references even though I was asking specific php coding related questions. Now I com to the list offering legit funding to my supposed php friends for their expertise and received nothing but low end hacker repossesses. What would you think? I am simply trying to support the list, and all I get is hate. I cannot help it if I am properly guarded. Attack me, and I have proper defensives. Respond professionally and I bare rewards.. Sincerely, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] RE: Bounty FYI
Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse!
Re: [PHP] RE: Bounty FYI
Lets also add: Respect mailing lists Respect communities On Tue, 2007-05-15 at 02:55 -0400, Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
You forgot one: Don't spam! Regards, Chris - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 15, 2007 8:55 AM Subject: [PHP] RE: Bounty FYI Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
No, I just think you are an ass! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
ROFL... you really made my day... it's about 9am, been working for 2 hours now, and the day is great already! Worked for the DoD and stuff like that, and still doesn't know how to behave. You remind me of a 14 years old guy I knew from Bahrain... always trying to mess with the big boys. Go play outside :o) Mr DoD *ROFL* - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: 'Christian Haensel' [EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 9:06 AM Subject: RE: [PHP] RE: Bounty FYI When did I request money? Go hit your Webster's schmuck! -Original Message- From: Christian Haensel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:01 AM To: Brad Sumrall; php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI You forgot one: Don't spam! Regards, Chris - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 15, 2007 8:55 AM Subject: [PHP] RE: Bounty FYI Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
Kinda says it all really. Oh - one other point. I don't think a supposed DoD network security specialist would ever *really* post server login details to a mailing list - do you? Hmm. Anyway. Brad Sumrall wrote: What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
Silly rabbit, Tricks are for kids! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all really. Oh - one other point. I don't think a supposed DoD network security specialist would ever *really* post server login details to a mailing list - do you? Hmm. Anyway. Brad Sumrall wrote: What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
Just having fun with the kids! -Original Message- From: Christian Haensel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:18 AM To: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI ROFL... you really made my day... it's about 9am, been working for 2 hours now, and the day is great already! Worked for the DoD and stuff like that, and still doesn't know how to behave. You remind me of a 14 years old guy I knew from Bahrain... always trying to mess with the big boys. Go play outside :o) Mr DoD *ROFL* - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: 'Christian Haensel' [EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 9:06 AM Subject: RE: [PHP] RE: Bounty FYI When did I request money? Go hit your Webster's schmuck! -Original Message- From: Christian Haensel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:01 AM To: Brad Sumrall; php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI You forgot one: Don't spam! Regards, Chris - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 15, 2007 8:55 AM Subject: [PHP] RE: Bounty FYI Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
Oh, come on, come to daddy! What cha got! Late night in Fort Lauderdale! Hehehehehehehe -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all really. Oh - one other point. I don't think a supposed DoD network security specialist would ever *really* post server login details to a mailing list - do you? Hmm. Anyway. Brad Sumrall wrote: What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
Your are layer 7 I am layer 2-3 You are WAY outside of your expertise with me my friend. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all really. Oh - one other point. I don't think a supposed DoD network security specialist would ever *really* post server login details to a mailing list - do you? Hmm. Anyway. Brad Sumrall wrote: What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: You're an idiot! Yeh - thanks for making my point. Now everyone knows the sort of person they are dealing with. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! Err - can you stop flooding the list with this crap? While you might think it's funny, you're just going to piss everyone off even more. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
Christian Haensel wrote: Stuff +---+ .:\:\:/:/:. | PLEASE DO NOT |:.:\:\:/:/:.: | FEED THE TROLLS | :=.' - - '.=: | | '=(\ 9 9 /)=' | Thank you, | ( (_) ) | Management | /`-vvv-'\ +---+ / \ | |@@@ / /|,|\ \ | |@@@ /_// /^\ \\_\ @x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ == Cheers -- David Robley An elephant: A mouse built to government specifications. Today is Setting Orange, the 62nd day of Discord in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty FYI
that's great :D if you don't mind I posted it on my blog http://www.syntaxerror.hu/index.php?page=indexcmd_div=szovegcmd=showcmd_arg=65 (the post's intro text in Hungarian means something like this: I just received this from the php-general mailing list after someone sent numerous idiot mails (names and emails deleted by me)) greets Zoltán Németh 2007. 05. 15, kedd keltezéssel 17.31-kor David Robley ezt írta: Christian Haensel wrote: Stuff +---+ .:\:\:/:/:. | PLEASE DO NOT |:.:\:\:/:/:.: | FEED THE TROLLS | :=.' - - '.=: | | '=(\ 9 9 /)=' | Thank you, | ( (_) ) | Management | /`-vvv-'\ +---+ / \ | |@@@ / /|,|\ \ | |@@@ /_// /^\ \\_\ @x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ == Cheers -- David Robley An elephant: A mouse built to government specifications. Today is Setting Orange, the 62nd day of Discord in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Bounty, NOW!
At 5/14/2007 11:51 PM, Brad Sumrall wrote: Yes, I do still need legit help. But obviously I needed to make a point to all the script kiddies out there that you are playing with fire if you even attempt to miss use an admin password or access a server that does not belong to you. That you posted to a listserve. As a prior USMC Network Admin and DoD network security specialist. I guess prior must be the key word there. Seriously, would you show this thread to an IT professional in the Marines or the Department of Defense? Either: a) you deliberately posted the username password of an FTP account in order to entrap people responding to your post (regardless of whether they were trying to help you), or b) you foolishly and unthinkingly posted same and, embarrassed, are trying to cover for your gaffe so clumsily that you actually threaten people who responded by invoking 'Federal offense', or c) you are so bored that you're trying to entertain yourself by wasting our time. I prefer to believe b). I am enough of an optimist that I prefer to see the human capacity for stupidity and embarrassment than to see evil. I come to the list as a legit person seeking intelligent minds. Not games. That would be a start. Your strategy for seeking intelligent minds isn't working the way you wanted, but stopping the game-playing is a great idea right about now. So yes, respond to me as a professional or an up and coming and let's talk business! Whoa. Let's consider the term professional. Please go back and re-read this thread from the beginning, dispassionately, and tell me if you would be either brave enough to foolish enough to walk into a legal contract with a developer who posts a client's FTP login information to a listserve with thousands of users worldwide. And then laughs at and then threatens those who attempt to use them. Seriously, why on earth would you risk working with someone like that? How could you trust them? Brad, any way you cut it, you really screwed up here. If I were in your position I'm not sure how I would pull my ass out of the fan blades. You could try this: Wipe the grin off your face. Stop making jokes. Stop posturing -- you've already shown everyone your underwear and you aren't going to persuade anyone that it didn't happen. Get really fucking serious. You just shit on your professional reputation in public, in a very large room packed with your peers. Joking about it, denying it happened, and acting like anyone who saw you do it is out to get you are just more games. Nobody who's read this thread is going to believe you did anything but shit your pants on stage. I think you just have to relax and admit you screwed up. Get humble, stay that way, and maybe people will be more willing to listen to you next time. At this point, I don't know. There might be someone willing to work with you on this project, say someone so desperate for work that they'd risk a lawsuit or whatever your next trick might be. The only way I'd be willing to get involved in this project would be if I could deal directly with the client and not with you. Please understand that I'm not saying this just to be mean. I don't know you, you're probably a perfectly harmless guy, maybe even a nice guy. But you crossed a line. It's like, you go a party and some guy suddenly starts yelling and waving a knife at people, then laughs. Well, sure, ha ha, but you aren't too likely to go up and start a business relationship with him, are you? This discussion is obviously WAY off topic for PHP. I'm posting this message to the list not to embarrass you further but because things have gone so far off the road the we need to talk some serious blunt truth here to get back on track. I feel compassion for you. You probably really do need help with the phpBB problem, but you've asked in such a disfunctional way that you've alienated one of the best pools of potential helpers you could find. You might try asking for help in the phpBB forum (where you really should have started), but when you do I urge you to stay calm, be sedate, don't joke, don't threaten, be cool, and be respectful. Good luck, man. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RE: Bounty FYI
Cheers! -Original Message- From: David Robley [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 4:02 AM To: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Christian Haensel wrote: Stuff +---+ .:\:\:/:/:. | PLEASE DO NOT |:.:\:\:/:/:.: | FEED THE TROLLS | :=.' - - '.=: | | '=(\ 9 9 /)=' | Thank you, | ( (_) ) | Management | /`-vvv-'\ +---+ / \ | |@@@ / /|,|\ \ | |@@@ /_// /^\ \\_\ @x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ == Cheers -- David Robley An elephant: A mouse built to government specifications. Today is Setting Orange, the 62nd day of Discord in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: Bounty
Brad Sumrall wrote: As a person who has come here in the recent past asking free lancer help and received nothing but near-useless references even though I was asking specific php coding related questions. Now I com to the list offering legit funding to my supposed php friends for their expertise and received nothing but low end hacker repossesses. Killfile, meet Brad. He's got mental stability issues and likes clogging up technical lists with threads of pure fuckwit quality. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk Never trust a computer you can't throw out of a window -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Making code public -- What steps to take? GPL?
Howdy, I just wanted to say, to all who responded, many many thanks for the help. I greatly appreciate it. I have not made my decision just yet, but it has been great hearing the advice and reading about all the different options available... Well, anyay, thanks! This list has been a life saver. :) Cheers, Micky -- Wishlists: http://snipurl.com/1gqpj Switch: http://browsehappy.com/ BCC?: http://snipurl.com/w6f8 My: http://del.icio.us/mhulse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Timezones
After my last week's email on timezones I have come to the decision that it is far more sensible to cease using fixed offsets from UTC (e.g. +2:00) and to use the proper zones e.g. Europe/London. After doing some reading up on the subject as I am not too familiar with it, I understand that it is necessary to keep the local DB up-to-date, for PHP this comes in the form of PECL's timezonedb. Since we distribute PHP as a part of a larger product, we would be responsible for keeping this up-to-date - so what I need to know is: * where does the php_timezonedb.dll need to be located and does it need to be in php.ini - I can't find mention of the file in the default installation * how often would we actually need to update the DB - PECL says You should only install this extension in case you need to get a later version of the timezone database than the one that ships with PHP. - does this imply that we might actually be fine to continue using the default installed DB for the foreseeable future? I'd appreciate any guidance on this - TIA. --rob
Re: [PHP] Bounty, NOW!
Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Yeah, and I bet those IP are from Kathmandu. :-D -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Bounty, NOW!
On Tue, 2007-05-15 at 09:37 -0300, Martin Marques wrote: Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Yeah, and I bet those IP are from Kathmandu. :-D Did he even post the value of the bounty? I mean we're mostly all technically inclined people here... we can generally do math and we'd hardly chase a bounty having the value of his weekly allowance from his Mummy. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP sorting csv array output
Yep, that would be the perfect solution, but, unfortunately, database is not an option for this project. Thanks for looking! I did get a solution though from another list. Here is a working version: http://veanndesign.com/sorting.php compare it to the not working one: http://veanndesign.com/test.php Anyways, thanks again! Anna On 5/13/07, Richard Lynch [EMAIL PROTECTED] wrote: If you are going to sort it by various fields, I'd just throw it into a database... That said, http://php.net/usort should be able to do whatever you want. On Thu, May 10, 2007 2:18 pm, Anna Vester wrote: Hello all, I have a question concerning .CSV array sorting. I have tried googling for an answer and have tried different techniques, but nothing seems to works as I would like it to work. Here is my situation: Test file is located here: http://veanndesign.com/test.php I would like to be able to sort the output by the Time Zone (or any other fields). Here is how my code looks like: http://veanndesign.com/test.html I believe that I need to get all the data from the .csv file dumped into 1 array, and I guess I am struggling at that point. I have tried using foreach inside of the while loop, but it doesn't seem to work. So what is the best and/or right way to sort this type of data? Hopefully, this email makes sense. Thanks in advance. -- Anna Vester Web Designer http://www.veanndesign.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- Anna Vester Web Designer http://www.veanndesign.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question
On 13/05/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-05-12 at 23:03 -0500, Richard Lynch wrote: You may find this entertaining, and even useful: http://richardlynch.blogspoot.com I'm sure Richard meant http://richardlynch.blogspot.com Unless he's trying to promote bondage and SM :) Well, I found this entertaining. As for useful? I'll say no. Alister -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 5.2 array() == null
Hi people i was just curios to ask whether array() == null should always return true. and then why i'm testing this with php 5.2.2 greetings dominic letz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Bounty, NOW!
On 5/15/07, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2007-05-15 at 09:37 -0300, Martin Marques wrote: Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Yeah, and I bet those IP are from Kathmandu. :-D Did he even post the value of the bounty? I mean we're mostly all technically inclined people here... we can generally do math and we'd hardly chase a bounty having the value of his weekly allowance from his Mummy. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php An interesting side note it's a federal crime to identify oneself as a federal employee or to misrepresent current or prior governmental or military service. The penalties are pretty stiff, too. Which is why, as a government contractor, I'm always DAMN sure not to say that I am with [unnamed Department of Justice organization], but that I am a private contractor hired by the agency. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107
RE: [PHP] PHP 5.2 array() == null
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 16:48 To: php-general@lists.php.net Subject: [PHP] PHP 5.2 array() == null Hi people i was just curios to ask whether array() == null should always return true. and then why i'm testing this with php 5.2.2 greetings dominic letz According to Table Q.2 at http://www.php.net/manual/en/types.comparisons.php, array() == NULL will always return TRUE. Remember == is a loose comparison. I think this is a result of the following: array() == FALSE is TRUE (because it's empty?) FALSE == NULL is TRUE thus array() == NULL is TRUE Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question
On Tue, 2007-05-15 at 16:57 +0100, Alister Bulman wrote: On 13/05/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-05-12 at 23:03 -0500, Richard Lynch wrote: You may find this entertaining, and even useful: http://richardlynch.blogspoot.com I'm sure Richard meant http://richardlynch.blogspot.com Unless he's trying to promote bondage and SM :) Well, I found this entertaining. As for useful? I'll say no. Thanks for the feedback. We'll use the information you've provided that explains what you didn't find useful to help us improve our free services for future visitors. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP 5.2 array() == null
On Tue, 2007-05-15 at 17:27 +0100, Edward Kay wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 16:48 To: php-general@lists.php.net Subject: [PHP] PHP 5.2 array() == null Hi people i was just curios to ask whether array() == null should always return true. and then why i'm testing this with php 5.2.2 greetings dominic letz According to Table Q.2 at http://www.php.net/manual/en/types.comparisons.php, array() == NULL will always return TRUE. Remember == is a loose comparison. I think this is a result of the following: array() == FALSE is TRUE (because it's empty?) Yes, being empty is why it is equivalent to boolean false. It makes it simple and self explanatory to do code like the following: ?php if( $array ) { // do something since it's not empty } else { // sorry nothing was found. } ? This is preferable to using the count() function since no function overhead is incurred. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Resources for plugin based frameworks
This is mostly for anyone that could later read this thread, (probably when searching) but I found an excellent article titled Developing a Plugin Architecture for PHP Applications in the april 2006 issue of the php|architect magazine. On 5/14/07, Greg Donald [EMAIL PROTECTED] wrote: On 5/14/07, Guillaume Theoret [EMAIL PROTECTED] wrote: I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be developed as an individual plugin and then just added into the portal/main page. Does anyone know of any php-specific resources (either online or paper format, both are fine) that would be helpful? If PHP is required I would suggest Drupal. It's a really good CMS with a solid plugin/module architecture. The API is very well documented. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP debugger
I am trying to load a PHP debugger in our most recent build of PHP 5.2.1. The debugger which I am trying to set up is the free, pre-compiled Linux version of dbg ( DBG 2.15.5 dbg modules), from http://dd.cron.ru/dbg/, and all of the instructions have been followed as posted on the NuSphere site. Yes, Apache has been stopped and restarted!! There is no difference in the output from phpinfo(). The line with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://dd.cron.ru; does not appear. PHP is compiled without debugging, but I did consider that was for the purpose of debugging PHP itself, not scripts. Suggestions will be most welcome. Also, I'm not married to this, so if anyone thinks there is a better debugger, please jump in. Regards - Miles Thompson PS Why are we doing this? Because we are getting tired of debugging with Javascript alert() boxes. /mt PPS And we are using those because of Joomla! Some things are buried so deeply we cannot use print() or echo(). /mt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP debugger
Don't know if it'll do what you want it to do...and if you're using Joomla, it might be tricky (or not... havn't messed with Joomla enough to know) to insert it into the system in a meaningful way.. but check out this: FirePHP: http://www.firephp.org/ Works with Firebug Firefox extension to give some PHP debugging and profiling data. I'm sure there are a dozen other solutions that people will offer up, just wanted to get that one in there :) -TG = = = Original message = = = I am trying to load a PHP debugger in our most recent build of PHP 5.2.1. The debugger which I am trying to set up is the free, pre-compiled Linux version of dbg ( DBG 2.15.5 dbg modules), from http://dd.cron.ru/dbg/, and all of the instructions have been followed as posted on the NuSphere site. Yes, Apache has been stopped and restarted!! There is no difference in the output from phpinfo(). The line with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://dd.cron.ru; does not appear. PHP is compiled without debugging, but I did consider that was for the purpose of debugging PHP itself, not scripts. Suggestions will be most welcome. Also, I'm not married to this, so if anyone thinks there is a better debugger, please jump in. Regards - Miles Thompson PS Why are we doing this? Because we are getting tired of debugging with Javascript alert() boxes. /mt PPS And we are using those because of Joomla! Some things are buried so deeply we cannot use print() or echo(). /mt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem with string floats in PHP
Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data to a function which prints a graphic with them. When I read the data I save it in an array and the numbers are in this format: 5.812E-08. I have read the php documentation about it, and I have use the example given there to check which type is the data saved in the array. The response I got is $vectorIc[1]== 5.812E-08 type is string I dont understand why. In the documentation it is clear that this kind of data should be considerer float, or thats what I understood. I cant continue with my web designing if I dont get to turn the vector elements into float numbers, because the function that prints the graphic gives errors when recieving strings. I would be very thankful if you could help me trying to solve this. In using PHP 4.4.7 and Apache 2.0.59. Thank you very much! _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with string floats in PHP
Hi Pablo, Tuesday, May 15, 2007, 7:44:52 PM, you wrote: Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data to a function which prints a graphic with them. When I read the data I save it in an array and the numbers are in this format: 5.812E-08. I have read the php documentation about it, and I have use the example given there to check which type is the data saved in the array. The response I got is $vectorIc[1]== 5.812E-08 type is string I dont understand why. In the documentation it is clear that this kind of data should be considerer float, or thats what I understood. I cant continue with my web designing if I dont get to turn the vector elements into float numbers, because the function that prints the graphic gives errors when recieving strings. I would be very thankful if you could help me trying to solve this. In using PHP 4.4.7 and Apache 2.0.59. Data stored in text files are ALWAYS strings. If you are reading it in with something like fgets() then it'll be a string by default, unless you cast it otherwise. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk Never trust a computer you can't throw out of a window -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Resources for plugin based frameworks
Guillaume Theoret wrote: This is mostly for anyone that could later read this thread, (probably when searching) but I found an excellent article titled Developing a Plugin Architecture for PHP Applications in the april 2006 issue of the php|architect magazine. On 5/14/07, Greg Donald [EMAIL PROTECTED] wrote: On 5/14/07, Guillaume Theoret [EMAIL PROTECTED] wrote: I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be developed as an individual plugin and then just added into the portal/main page. Does anyone know of any php-specific resources (either online or paper format, both are fine) that would be helpful? If PHP is required I would suggest Drupal. It's a really good CMS with a solid plugin/module architecture. The API is very well documented. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php now, since you were just there, why didn't you include a link??? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Resources for plugin based frameworks
Guillaume Theoret wrote: This is mostly for anyone that could later read this thread, (probably when searching) but I found an excellent article titled Developing a Plugin Architecture for PHP Applications in the april 2006 issue of the php|architect magazine. On 5/14/07, Greg Donald [EMAIL PROTECTED] wrote: On 5/14/07, Guillaume Theoret [EMAIL PROTECTED] wrote: I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be developed as an individual plugin and then just added into the portal/main page. Does anyone know of any php-specific resources (either online or paper format, both are fine) that would be helpful? If PHP is required I would suggest Drupal. It's a really good CMS with a solid plugin/module architecture. The API is very well documented. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php nm, stupid of me to not search and find out why first :( -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with string floats in PH
What function(s) are you using to read the file contents? How are you inserting them into the array? Code examples please...
Re: [PHP] Resources for plugin based frameworks
Yeah, sadly it's not free. When I found it I asked my manager if we could subscribe and it turns out he already subscribes so we went to his place at lunch and brought his copies over here. Now we're getting a subscription for the office. On 5/15/07, Jim Lucas [EMAIL PROTECTED] wrote: Guillaume Theoret wrote: This is mostly for anyone that could later read this thread, (probably when searching) but I found an excellent article titled Developing a Plugin Architecture for PHP Applications in the april 2006 issue of the php|architect magazine. On 5/14/07, Greg Donald [EMAIL PROTECTED] wrote: On 5/14/07, Guillaume Theoret [EMAIL PROTECTED] wrote: I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be developed as an individual plugin and then just added into the portal/main page. Does anyone know of any php-specific resources (either online or paper format, both are fine) that would be helpful? If PHP is required I would suggest Drupal. It's a really good CMS with a solid plugin/module architecture. The API is very well documented. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php nm, stupid of me to not search and find out why first :( -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP debugger
Currently I'm Using PDT/XDebug on daily basis and works just fine. You can get Xdebug from www.xdebug.org, PDT from www.eclipse.org/pdt and the plugin for PDT to add support to the PDT is https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408 In the plugin precompiled package you'll find a pdf with instruction how to get things working. On the Xdebug site there's a lot of information how to setup PHP and XDebug. Note that the precompiled binary of the support for PDT will work for you, as it's written in Java and you don't need to compile it. Regards, Emil Ivanov Miles Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to load a PHP debugger in our most recent build of PHP 5.2.1. The debugger which I am trying to set up is the free, pre-compiled Linux version of dbg ( DBG 2.15.5 dbg modules), from http://dd.cron.ru/dbg/, and all of the instructions have been followed as posted on the NuSphere site. Yes, Apache has been stopped and restarted!! There is no difference in the output from phpinfo(). The line with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://dd.cron.ru; does not appear. PHP is compiled without debugging, but I did consider that was for the purpose of debugging PHP itself, not scripts. Suggestions will be most welcome. Also, I'm not married to this, so if anyone thinks there is a better debugger, please jump in. Regards - Miles Thompson PS Why are we doing this? Because we are getting tired of debugging with Javascript alert() boxes. /mt PPS And we are using those because of Joomla! Some things are buried so deeply we cannot use print() or echo(). /mt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] error_reporting(E_ALL) doesn't show anything
hi, in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? thanks. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error_reporting(E_ALL) doesn't show anything
Afan Pasalic wrote: in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? Check the display_errors setting. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: problem with string floats in PHP
?php$var = '5.812E-08';var_dump($var);$var = (float)$var;var_dump($var);var_dump($var + 2);?Outputs:string(9) 5.812E-08 float(5.812E-8) float(2.0005812) All you need is to cast it (float) to float, (int) to int. Regards, Emil Ivanov Pablo Luque [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data to a function which prints a graphic with them. When I read the data I save it in an array and the numbers are in this format: 5.812E-08. I have read the php documentation about it, and I have use the example given there to check which type is the data saved in the array. The response I got is $vectorIc[1]== 5.812E-08 type is string I dont understand why. In the documentation it is clear that this kind of data should be considerer float, or thats what I understood. I cant continue with my web designing if I dont get to turn the vector elements into float numbers, because the function that prints the graphic gives errors when recieving strings. I would be very thankful if you could help me trying to solve this. In using PHP 4.4.7 and Apache 2.0.59. Thank you very much! _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error_reporting(E_ALL) doesn't show anything
Please include the list in replies. Afan Pasalic wrote: Stut wrote: Afan Pasalic wrote: in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? Check the display_errors setting. -Stut I'm sorry, my bad. I was thinking one thing and writing other. :-) error_reporting is on (E_ALL ~E_NOTICE ~E_STRICT) and display_errors = off But, the result is the same: blank screen. :-) Try ini_set('display_errors', '1'); -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error_reporting(E_ALL) doesn't show anything
Stut wrote: Please include the list in replies. I'm sorry. Clicked on wrong Reply button :-) Afan Pasalic wrote: Stut wrote: Afan Pasalic wrote: in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? Check the display_errors setting. -Stut I'm sorry, my bad. I was thinking one thing and writing other. :-) error_reporting is on (E_ALL ~E_NOTICE ~E_STRICT) and display_errors = off But, the result is the same: blank screen. :-) Try ini_set('display_errors', '1'); -Stut Yup. It works. Thanks Stut ;-) -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error_reporting(E_ALL) doesn't show anything
Afan Pasalic wrote: hi, in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? thanks. -afan make sure you have display_error = On either in your php.ini -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error_reporting(E_ALL) doesn't show anything
Either that, or ini_set('display_errors', '1'); On 5/15/07, Jim Lucas [EMAIL PROTECTED] wrote: Afan Pasalic wrote: hi, in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to overwrite php.ini but it doesn't work. still can't see anything. what am I doing wrong? thanks. -afan make sure you have display_error = On either in your php.ini -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Feisty Fawn and apt-get
On Tuesday 08 May 2007 00:56, Richard Lynch wrote: On Sat, May 5, 2007 9:27 pm, Mike Shanley wrote: Davi wrote: First: use aptitude instead apt-get... =] Second: use an debian-list to debian's questions instead an php-list... =] Third: Go Feisty!!! Fourth: Go http://www.listentofeist.com/ A bit late cuz of the Eco Shell marathon, but for gods sake make a fifth... fifth would look like: skip first. Why would anyone use aptitude. :-) -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- --- Børge http://www.arivene.net --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Cannot connect to an MySQL database using Named Pipes
Hi Folks, I have a database running on Window XP, that I want to disable network connections to and enable 'named pipes'. I am running MySQL 5.0.27 and my.ini looks like... [client] #password= your_password port= 3306 socket= /tmp/mysql.sock [mysqld] #port= 3306 socket= /tmp/mysql.sock #Allow connections via named pipes (Windows NT+ only). Note: you can specify a pipe name on the advanced network page, if required. enable-named-pipe #Don't allow connections via TCP/IP. skip-networking I can connect to the DB using the MySQL GUI tools if I set my pipe name to '/tmp/mysql.sock' using the login dialog box. However when I try and connect using PHP I get an error. I have tried several variants of the connect command and I get various errors but all are along the lines of: Unknown MySQL server host '/tmp/mysql.sock' (11004) or Can't connect to MySQL server on 'localhost' (10061) I have tried $mysqli = new mysqli(null, $username,$password, $database); $mysqli = new mysqli(localhost:/tmp/mysql.sock, $username,$password, $database); $mysqli = new mysqli(localhost, $username,$password, $database,3306,/tmp/mysql.sock); $mysqli = new mysqli(localhost, $username,$password, $database,/tmp/mysql.sock); $mysqli = new mysqli(/tmp/mysql.sock, $username,$password, $database); I have also tried the above commands using mysqli_connect ? I have done a few searches of the web but seem to always come up with something like the above? Anybody have any ideas why it won't connect in PHP ? TIA, JC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with string floats in PHP
If you need precision with floats or doubles you can use BCMath Arbitrary Precision Mathematics Functions. http://www.php.net/manual/en/ref.bc.php Andy Pablo Luque wrote: Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data to a function which prints a graphic with them. When I read the data I save it in an array and the numbers are in this format: 5.812E-08. I have read the php documentation about it, and I have use the example given there to check which type is the data saved in the array. The response I got is $vectorIc[1]== 5.812E-08 type is string I dont understand why. In the documentation it is clear that this kind of data should be considerer float, or thats what I understood. I cant continue with my web designing if I dont get to turn the vector elements into float numbers, because the function that prints the graphic gives errors when recieving strings. I would be very thankful if you could help me trying to solve this. In using PHP 4.4.7 and Apache 2.0.59. Thank you very much! _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php