Re: [PHP] Cannot connect to an MySQL database using Named Pipes (resolved)

2007-05-15 Thread John Comerford
I got as reply on another forum which resolved this issue. The command should be: $mysqli = new mysqli(".", $username,$password, $database,null,"/tmp/mysql.sock"); NB. host is a dot John Comerford wrote: Hi Folks, I have a database running on Window XP, that I want to disable network con

Re: [PHP] problem with string & floats in PHP

2007-05-15 Thread Andrei
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 dat

[PHP] Cannot connect to an MySQL database using Named Pipes

2007-05-15 Thread John Comerford
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= 330

Re: [PHP] Feisty Fawn and apt-get

2007-05-15 Thread Børge Holen
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

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread André Medeiros
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.

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Jim Lucas
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" ph

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Afan Pasalic
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 e

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Stut
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 t

[PHP] Re: problem with string & floats in PHP

2007-05-15 Thread Emil Ivanov
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 (number

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Stut
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

[PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Afan Pasalic
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

[PHP] Re: PHP debugger

2007-05-15 Thread Emil Ivanov
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

Re: [PHP] Resources for plugin based frameworks

2007-05-15 Thread Guillaume Theoret
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: Guillau

Re: [PHP] problem with string & floats in PH

2007-05-15 Thread Dave Goodchild
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

2007-05-15 Thread Jim Lucas
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 PRO

Re: [PHP] Resources for plugin based frameworks

2007-05-15 Thread Jim Lucas
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 PRO

Re: [PHP] problem with string & floats in PHP

2007-05-15 Thread Richard Davey
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

[PHP] problem with string & floats in PHP

2007-05-15 Thread Pablo Luque
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,

Re: [PHP] PHP debugger

2007-05-15 Thread tg-php
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 giv

[PHP] PHP debugger

2007-05-15 Thread Miles Thompson
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.

Re: [PHP] Resources for plugin based frameworks

2007-05-15 Thread Guillaume Theoret
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/0

RE: [PHP] PHP 5.2 array() == null

2007-05-15 Thread Robert Cummings
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 w

Re: [PHP] Question

2007-05-15 Thread Robert Cummings
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 m

RE: [PHP] PHP 5.2 array() == null

2007-05-15 Thread Edward Kay
> -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

Re: [PHP] Bounty, NOW!

2007-05-15 Thread Daniel Brown
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

[PHP] PHP 5.2 array() == null

2007-05-15 Thread [EMAIL PROTECTED]
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] Question

2007-05-15 Thread Alister Bulman
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 bond

Re: [PHP] PHP sorting csv array output

2007-05-15 Thread Anna Vester
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/tes

Re: [PHP] Bounty, NOW!

2007-05-15 Thread Robert Cummings
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 mostl

Re: [PHP] Bounty, NOW!

2007-05-15 Thread Martin Marques
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 - L

[PHP] Timezones

2007-05-15 Thread Rob Desbois
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 i

Re: [PHP] Making code public -- What steps to take? GPL?

2007-05-15 Thread Micky Hulse
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 sav

Re: [PHP] RE: Bounty

2007-05-15 Thread Richard Davey
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 expertis

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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: +---+ .:\:\:/:/:. | PLEASE D

RE: [PHP] Bounty, NOW!

2007-05-15 Thread Paul Novitski
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

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Zoltán Németh
that's great :D if you don't mind I posted it on my blog http://www.syntaxerror.hu/index.php?page=index&cmd_div=szoveg&cmd=show&cmd_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

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread David Robley
Christian Haensel wrote: +---+ .:\:\:/:/:. | PLEASE DO NOT |:.:\:\:/:/:.: | FEED THE TROLLS | :=.' - - '.=: | | '=(\ 9 9 /)='

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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 reall

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Chris
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:[EMA

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Christian Haensel
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

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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 kno

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
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 th

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Chris
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: R

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Chris
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.

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Christian Haensel
You forgot one: Don't spam! Regards, Chris - Original Message - From: "Brad Sumrall" <[EMAIL PROTECTED]> To: 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

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Paul Scott
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.