Re: [PHP] Problem using APC

2008-09-11 Thread Nathan Nobbe
On Wed, Sep 10, 2008 at 11:38 PM, David Park [EMAIL PROTECTED] wrote: Hi All, I just installed APC on my server that is running PHP and the APC appears to be randomly crashing. Below are the symptoms that my server is experiencing and the configuration of my system. Has anyone seen this

Re: [PHP] Problem using APC

2008-09-11 Thread David Park
Hi Nathan, Thanks for the advice. I don't think that cache getting too full is the problem because the system cache only got less than 10% full at the most. On another note, thanks for letting me know about the PECL dev list. I didn't realize that that list exists. I just sent my email to the

Re: [PHP] The Best PHP Editor.

2008-09-11 Thread Jim Lucas
jmatt wrote: Hi, I was using NVU to edit PHP but when I upload the index.php file back there will always be a slight error in disorientation. Example using NVU I edited the text just a bit then bam..The webpage became really funny What is the best to edit my PHP file? Thanks - Popular free

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Colin Guthrie
Ross McKay wrote: Michael McGlothlin wrote: [...] I think web developers should look into a class action case against Microsoft for failing to make their browser standards compliant - it sure costs us a lot extra in development time. :p Let me know where the PayPal donate button is... DW

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Luke
yeah, make an official no-support date. That would be great- it would help with the whole IE6 problem. It needs to be phased out, yet I know many companies that still haven't upgraded to IE7 yet! That's a big security problem as well as being a headache for all of us... 2008/9/11 Colin Guthrie

Re: [PHP] Header() - POST

2008-09-11 Thread Luke
But surely you can post data with Javascript? Ach, at college now I can't access my source, I forget how to do it exactly... 2008/9/11 mike [EMAIL PROTECTED] On Wed, Sep 10, 2008 at 3:42 PM, tedd [EMAIL PROTECTED] wrote: Then use cURL as was suggested before. the reply was on his original

Re: [PHP] Header() - POST

2008-09-11 Thread mike
On Thu, Sep 11, 2008 at 12:47 AM, Luke [EMAIL PROTECTED] wrote: But surely you can post data with Javascript? Ach, at college now I can't access my source, I forget how to do it exactly... yes, i said javascript. something on the client side has to do it. (well besides for a curl-based form

Re: [PHP] ASCII Captcha

2008-09-11 Thread Peter Ford
Nathan Rixham wrote: tedd wrote: At 11:14 AM +0200 9/1/08, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Fri, 29 Aug 2008 16:11:01 -0400, tedd wrote: http://webbytedd.com/aa/assorted-captcha/ Some of these are really cool. Assuming they are actually working, that is... -snip- (bunch of

[PHP] webmail or script for giga mail

2008-09-11 Thread luca
Hi, i'm looking for a webmail or script project with giga attachment features, something like Tiscali mail. The email recipent receives only a link, where it can downlod the file. Do you know something about? Thanks, Luca. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] webmail or script for giga mail

2008-09-11 Thread Richard Heyes
Hi, i'm looking for a webmail or script project with giga attachment features Giga attachment features? Wossat? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] The Best PHP Editor.

2008-09-11 Thread Nathan Rixham
jmatt wrote: Hi, I was using NVU to edit PHP but when I upload the index.php file back there will always be a slight error in disorientation. Example using NVU I edited the text just a bit then bam..The webpage became really funny What is the best to edit my PHP file? Thanks - Popular free

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Ross McKay
On Thu, 11 Sep 2008 08:25:11 +0100, Colin Guthrie wrote: [...] It should be respected that browsers go out of date and beyond that time *noone* supports them, not their authors or the web developing public. The worst thing about Vista is that not enough Win2K and WinXP (IE6) users want to

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Lester Caine
Luke wrote: yeah, make an official no-support date. That would be great- it would help with the whole IE6 problem. It needs to be phased out, yet I know many companies that still haven't upgraded to IE7 yet! That's a big security problem as well as being a headache for all of us... MOST of

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Jochem Maas
Lester Caine schreef: Luke wrote: yeah, make an official no-support date. That would be great- it would help with the whole IE6 problem. It needs to be phased out, yet I know many companies that still haven't upgraded to IE7 yet! That's a big security problem as well as being a headache for

[PHP] Thank you...

2008-09-11 Thread Jason Pruim
Hey everyone, Okay, so the first time I typed this out it got rejected for being off topic... so here is my attempt to make it on topic ?PHP $day=Sept 11 2008; While($day=date(NOW)){ echo HTML Sorry for the off topic post... But I just wanted to say that if there is anyone on this

[PHP] Readdir() question

2008-09-11 Thread Ben Stones
Hi, I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need to use the magic constant I think its called, __DIR__

Re: [PHP] Readdir() question

2008-09-11 Thread Stut
On 11 Sep 2008, at 13:12, Ben Stones wrote: I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need to use the

RE: [PHP] Readdir() question

2008-09-11 Thread Jay Blanchard
[snip] I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need to use the magic constant I think its called, __DIR__

Re: [PHP] Readdir() question

2008-09-11 Thread Jochem Maas
Ben Stones schreef: Hi, I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need to use the magic constant I think

Re: [PHP] Readdir() question

2008-09-11 Thread Nathan Rixham
Stut wrote: On 11 Sep 2008, at 13:12, Ben Stones wrote: I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need

[PHP] Re: Readdir() question

2008-09-11 Thread Carlos Medina
Ben Stones schrieb: Hi, I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same directory, I think I'd need to use the magic constant I think

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Colin Guthrie
Lester Caine wrote: MOST of my council customers only have IE6 on their networks although I was asked the question 'Does it run on IE7' only recently. To which the answer is 'Yes - but all the font sizes are too big!' Since the cost of replacing several thousand computers at each council to

Re: [PHP] Thank you...

2008-09-11 Thread Micah Gersten
There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and shoot down the flight over Pennsylvania. The rest who were involved obeyed orders and let chaos happen. There are many military men and women who for

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 8:53 AM, Colin Guthrie wrote: Lester Caine wrote: MOST of my council customers only have IE6 on their networks although I was asked the question 'Does it run on IE7' only recently. To which the answer is 'Yes - but all the font sizes are too big!' Since the cost of

Re: [PHP] Thank you...

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and shoot down the flight over Pennsylvania. The rest who were involved obeyed orders and let chaos

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Micah Gersten
In the Microsoft world, you only support the latest couple of OSs, so IE7 won't run on Win2k. ank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Colin Guthrie wrote: Why do they need to upgrade the whole OS just to upgrade a browser who's sunset date has been

Re: [PHP] Thank you...

2008-09-11 Thread Micah Gersten
Agreed. We have days to honor those people though, Veteran's Day and Memorial Day. I wish to state with absolute clarity that I am not degrading people in the military service who do defend out country. I have the utmost respect for them. Thank you, Micah Gersten Jason Pruim wrote: Anyone

Re: [PHP] Readdir() question

2008-09-11 Thread Jochem Maas
Nathan Rixham schreef: Stut wrote: On 11 Sep 2008, at 13:12, Ben Stones wrote: I'm going to make a small browser based file system for ease of small updates that I make frequently on my Website. First of all I want to loop all the files on the same directory and to tell PHP read the same

Re: [PHP] Header() - POST

2008-09-11 Thread Dan Joseph
I actually just completely re-engineered this page. It made sense reading what everyone had to say. The extra page that I wanted to post to was really not needed. I have everything just contained in the one php script now, and its working perfectly that way. After it submits the order, it then

Re: [PHP] Thank you...

2008-09-11 Thread Jochem Maas
Jason Pruim schreef: On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and shoot down the flight over Pennsylvania. The rest who were involved obeyed

Re: [PHP] Thank you...

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 9:13 AM, Jochem Maas wrote: Jason Pruim schreef: On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and shoot down the flight over

RE: [PHP] Thank you...

2008-09-11 Thread Jay Blanchard
[snip] and the war's in the middle east constitute defense in what way exactly? [/snip] Let's not let this degrade please. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thank you...

2008-09-11 Thread Diogo Neves
On Thu, Sep 11, 2008 at 2:13 PM, Jochem Maas [EMAIL PROTECTED] wrote: Jason Pruim schreef: On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and

Re: [PHP] Thank you...

2008-09-11 Thread Diogo Neves
On Thu, Sep 11, 2008 at 2:18 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 9:13 AM, Jochem Maas wrote: Jason Pruim schreef: On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Colin Guthrie
Micah Gersten wrote: In the Microsoft world, you only support the latest couple of OSs, so IE7 won't run on Win2k. What about FF, Opera, Chrome, Safari? Do *any* of those work? If not, then it wouldn't take long to get one of them working if IE had a sunset date in it. Then you'd see how

Re: [PHP] Thank you...

2008-09-11 Thread Jason Pruim
Okay... I am sorry that I even sent the message. 7 years ago today, My Uncle died because he worked in the south tower on the 93rd floor All I wanted to do was say thank you to the WORLDS armed forces for feeling the call to protect their country from what ever enemy was at their

Re: [PHP] Thank you...

2008-09-11 Thread Aschwin Wesselius
Jochem Maas wrote: Jason Pruim schreef: On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote: There is only 1 military service person that should be thanked for actions on 9/11 and that is the man who was brave enough to disobey orders and shoot down the flight over Pennsylvania. The rest who

Re: [PHP] Thank you...

2008-09-11 Thread Dan Joseph
On Thu, Sep 11, 2008 at 9:23 AM, Jason Pruim [EMAIL PROTECTED] wrote: Okay... I am sorry that I even sent the message. 7 years ago today, My Uncle died because he worked in the south tower on the 93rd floor All I wanted to do was say thank you to the WORLDS armed forces for feeling the

Re: [PHP] Thank you...

2008-09-11 Thread Carlos Medina
Dan Joseph schrieb: On Thu, Sep 11, 2008 at 9:23 AM, Jason Pruim [EMAIL PROTECTED] wrote: Okay... I am sorry that I even sent the message. 7 years ago today, My Uncle died because he worked in the south tower on the 93rd floor All I wanted to do was say thank you to the WORLDS armed forces

RE: [PHP] Thank you...

2008-09-11 Thread Jay Blanchard
[snip] what about a generally to shut up. More Respect please. [/snip] I will ask againplease do not let this degrade. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thank you...

2008-09-11 Thread Micah Gersten
Jason, I think you just mentioned what we should remember today. The victims that lost their lives. I think everyone can agree that it was a tragedy. My condolences to you and all the other familes. Thank you, Micah Gersten Jason Pruim wrote: Okay... I am sorry that I even sent the message.

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Ross McKay
On Thu, 11 Sep 2008 14:22:30 +0100, Colin Guthrie wrote: [...] I'm not sure how you would police it, but there should be a badge of honour associated with the system in some way, probably overseen by W3C. Like this? http://en.wikipedia.org/wiki/Acid2 -- Ross McKay, Toronto, NSW Australia You

RE: [PHP] Thank you...

2008-09-11 Thread Per Jessen
Jay Blanchard wrote: [snip] and the war's in the middle east constitute defense in what way exactly? [/snip] Let's not let this degrade please. The OP presumably knew what he was doing - given the polarized views on this, this thread was bound to degrade very quickly. Just stop.

[PHP] Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-11 Thread Micah Gersten
The problem is that if you're running on older hardware, IE7 might be too CPU intensive to run correctly. That's why MS won't set Sunset Dates for an old browser. They instead set the Sunset Dates for the OS and that's how they make things out of date. They say upgrade the OS. Matter of

[PHP] Securing pages sections

2008-09-11 Thread Dan Joseph
Hi All, This is more of a logic/opinion question... I want to get some fresh ideas. I am working on a system to manage quotes and orders. I have many users, all different levels, and want to secure pages based on active session, user level, and then go as far as putting access keys on a given

Re: [PHP] Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-11 Thread Wolf
Micah Gersten [EMAIL PROTECTED] wrote: The problem is that if you're running on older hardware, IE7 might be too CPU intensive to run correctly. That's why MS won't set Sunset Dates for an old browser. They instead set the Sunset Dates for the OS and that's how they make things out of

Re: [PHP] Securing pages sections

2008-09-11 Thread Wolf
Dan Joseph [EMAIL PROTECTED] wrote: Hi All, This is more of a logic/opinion question... I want to get some fresh ideas. I am working on a system to manage quotes and orders. I have many users, all different levels, and want to secure pages based on active session, user level, and

[PHP] Mysqli issue

2008-09-11 Thread Jason Pruim
No political undertones in this one I promise! :) Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt = mysqli_stmt_init($link); mysqli_stmt_prepare($stmt, UPDATE purl.schreur (FName, LName,

[PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread tedd
At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: Tom Chubb wrote: That's all way above my head, but I think I'll be able to understand it after a strong coffee! I should point out that this is really just trig and is only an approximate distance as the crow flies. Not even sure if it takes the

Re: [PHP] Securing pages sections

2008-09-11 Thread Per Jessen
Dan Joseph wrote: Again, I am looking for some opinions or experiences anyone has had doing this. Define your access policies as area+type, e.g. sales, readonly. Than attach policies to users, maybe groups of users. For each page or section of a page, check that the current user has the

[PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread tedd
At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: Tom Chubb wrote: That's all way above my head, but I think I'll be able to understand it after a strong coffee! I should point out that this is really just trig and is only an approximate distance as the crow flies. Not even sure if it takes the

Re: [PHP] Mysqli issue

2008-09-11 Thread Stut
On 11 Sep 2008, at 16:15, Jason Pruim wrote: Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt = mysqli_stmt_init($link); mysqli_stmt_prepare($stmt, UPDATE purl.schreur (FName, LName, email,

Re: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 11:19 AM, tedd wrote: At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: Tom Chubb wrote: That's all way above my head, but I think I'll be able to understand it after a strong coffee! I should point out that this is really just trig and is only an approximate distance

Re: [PHP] Mysqli issue

2008-09-11 Thread Wolf
Jason Pruim [EMAIL PROTECTED] wrote: No political undertones in this one I promise! :) Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt = mysqli_stmt_init($link);

Re: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread mike
On Thu, Sep 11, 2008 at 8:17 AM, tedd [EMAIL PROTECTED] wrote: Considering that my other profession is Geophysicist, I'm kind of up on those sort of things. The Earth is an oblate spheroid and the computation to include the curvature of the earth would be a bit more involved. what do you

Re: [PHP] Mysqli issue

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 11:29 AM, Wolf wrote: Jason Pruim [EMAIL PROTECTED] wrote: No political undertones in this one I promise! :) Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt =

Re: [PHP] Mysqli issue

2008-09-11 Thread Stut
On 11 Sep 2008, at 16:29, Wolf wrote: Jason Pruim [EMAIL PROTECTED] wrote: No political undertones in this one I promise! :) Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt =

Re: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread Nathan Rixham
tedd wrote: At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: Tom Chubb wrote: That's all way above my head, but I think I'll be able to understand it after a strong coffee! I should point out that this is really just trig and is only an approximate distance as the crow flies. Not even sure if

Re: [PHP] Mysqli issue

2008-09-11 Thread Wolf
!-- SNIP -- Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt = mysqli_stmt_init($link); mysqli_stmt_prepare($stmt, UPDATE purl.schreur (FName, LName, email, phone, record, subscribed,

Re: [PHP] Mysqli issue

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 11:23 AM, Stut wrote: On 11 Sep 2008, at 16:15, Jason Pruim wrote: Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt = mysqli_stmt_init($link); mysqli_stmt_prepare($stmt,

Re: [PHP] Mysqli issue

2008-09-11 Thread Stut
On 11 Sep 2008, at 17:08, Jason Pruim wrote: On Sep 11, 2008, at 11:23 AM, Stut wrote: On 11 Sep 2008, at 16:15, Jason Pruim wrote: Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant code: $stmt =

Re: [PHP] Mysqli issue

2008-09-11 Thread Andrew Ballard
On Thu, Sep 11, 2008 at 12:08 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 11:23 AM, Stut wrote: On 11 Sep 2008, at 16:15, Jason Pruim wrote: Attempting to setup a prepared statement in php that will update a record in a mysql database using mysqli Here is the relevant

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Lester Caine
Colin Guthrie wrote: Micah Gersten wrote: In the Microsoft world, you only support the latest couple of OSs, so IE7 won't run on Win2k. What about FF, Opera, Chrome, Safari? Do *any* of those work? If not, then it wouldn't take long to get one of them working if IE had a sunset date in it.

[PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-11 Thread Colin Guthrie
Micah Gersten wrote: The problem is that if you're running on older hardware, IE7 might be too CPU intensive to run correctly. That's why MS won't set Sunset Dates for an old browser. They instead set the Sunset Dates for the OS and that's how they make things out of date. They say upgrade

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Colin Guthrie
Lester Caine wrote: Jochem - You not had the problem of M$ changing default font sizes in different versions of windows? IT departments have enough problems with INSTALLING an upgrade without asking them to CHANGE the font size as well :) The complaint from THIS site was that they could not

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Jochem Maas
Colin Guthrie schreef: Lester Caine wrote: Jochem - You not had the problem of M$ changing default font sizes in different versions of windows? IT departments have enough problems with INSTALLING an upgrade without asking them to CHANGE the font size as well :) The complaint from THIS site

Re: [PHP] Re: Installation doesn't complete, Windows Vista: error - script required to complete

2008-09-11 Thread Ashley Sheridan
I've always found EasyPHP to be good for this. Installs within minutes, and makes adding the extra packages for PHP an absolute doddle. I know it works on Vista, as I've tried it, although with Vista, some of the more unusual packages didn't install. Ash www.ashleysheridan.co.uk

[PHP] quick php for perl coder question

2008-09-11 Thread Thomas Bolioli
I want to return an array from a function. I have this: return array($found, $username, $email, $nickname); as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this: array($vars); $vars = function($type, $abc, $xyz); $found = $vars[0];

Re: [PHP] Setting up a password for WAMP

2008-09-11 Thread Ashley Sheridan
Probably the quickest way is to go into the old command line and restart the mysqld service. There is an option there to set the username it runs under and the password it needs when making a connection. Ash www.ashleysheridan.co.uk ---BeginMessage--- HI On Wed, Sep 10, 2008 at 12:23 PM, Ben

Re: [PHP] Re: New Server Install

2008-09-11 Thread Ashley Sheridan
I believe that MySQL uses a particular port when connecting over a network such as you're doing. I can't remember the exact port number, but you can Google it. Just check that there's nothing blocking this port either on your computer, the server, or the router/switch or whatever else you are

Re: [PHP] Re: New Server Install

2008-09-11 Thread Tom Chubb
2008/9/11 Ashley Sheridan [EMAIL PROTECTED] I believe that MySQL uses a particular port when connecting over a network such as you're doing. I can't remember the exact port number, but you can Google it. Just check that there's nothing blocking this port either on your computer, the server,

[PHP] Unsetting variables less then 256 bytes

2008-09-11 Thread Shevnock, Daniel
While doing some testing with the unset() function, I noticed that variables that hold values that are less then 256 bytes are not actually unset from memory. Does anyone know this to be true? The tests were run on WampServer 2.0 on a Windows XP machine. -- PHP General Mailing List

Re: [PHP] quick php for perl coder question

2008-09-11 Thread Jochem Maas
Thomas Bolioli schreef: I want to return an array from a function. I have this: return array($found, $username, $email, $nickname); as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this: array($vars); not sure what you meant with the line

Re: [PHP] quick php for perl coder question

2008-09-11 Thread Kirk . Johnson
Thomas Bolioli [EMAIL PROTECTED] wrote on 09/11/2008 01:10:18 PM: I want to return an array from a function. I have this: return array($found, $username, $email, $nickname); as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this:

Re: [PHP] Unsetting variables less then 256 bytes

2008-09-11 Thread Jim Lucas
Shevnock, Daniel wrote: While doing some testing with the unset() function, I noticed that variables that hold values that are less then 256 bytes are not actually unset from memory. Does anyone know this to be true? The tests were run on WampServer 2.0 on a Windows XP machine. Please,

Re: [PHP] Re: New Server Install

2008-09-11 Thread Shawn McKenzie
Tom Chubb wrote: 2008/9/11 Ashley Sheridan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I believe that MySQL uses a particular port when connecting over a network such as you're doing. I can't remember the exact port number, but you can Google it. Just check that there's nothing

[PHP] namespaces ... coming to a php5.3 near you.

2008-09-11 Thread Jochem Maas
has anyone here downloaded/compiled 5.3 and played with namespaces? have you encountered any issues/problems? I'd like to hear from you as I've been asked to compile a reference documenting anything/everything people may have come across (so far as namespaces go), if you have some reproduce

RE: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread Boyd, Todd M.
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 10:17 AM To: php-general@lists.php.net Subject: [PHP] Re: Google Maps Distance Between UK Postcodes At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: Tom Chubb wrote: That's all way above my

Re: [PHP] Re: New Server Install

2008-09-11 Thread Tom Chubb
2008/9/11 Shawn McKenzie [EMAIL PROTECTED] Tom Chubb wrote: 2008/9/11 Ashley Sheridan [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] I believe that MySQL uses a particular port when connecting over a network such as you're doing. I can't remember the exact port number, but you

[PHP] Maps / Distance / GeoCoding [php/mysql]

2008-09-11 Thread Nathan Rixham
re: an earlier thread as promised here are some note's on geo-coding using mysql and php (and geoip and distance between points) also worth reading up on wiki about the great circle and associated content! (+openGIS) Won't make sense to all unless you're working with spatial data - if

[PHP] Re: Maps / Distance / GeoCoding [php/mysql]

2008-09-11 Thread Nathan Rixham
Nathan Rixham wrote: re: an earlier thread [snip] or you may just need this bit: distance = ACOS( SIN(Y(g.geopoint)*pi()/180)*SIN(Y(l.point)*pi()/180) +COS(Y(g.geopoint)*pi()/180)*COS(Y(l.point)*pi()/180) *COS((X(l.point)-X(g.geopoint))*pi()/180))*6372.795 used to calc the

Re: [PHP] Readdir() question

2008-09-11 Thread Nathan Rixham
Jochem Maas wrote: Nathan Rixham schreef: Stut wrote: maybe this is into coding standards and ethics.. but this may be acceptable: if( !defined('__DIR__') ) { define('__DIR__' , dirname(__FILE__)); } however realistically you'd have to do this in every file and nto just in one include

Re: [PHP] Readdir() question

2008-09-11 Thread Jochem Maas
Nathan Rixham schreef: Jochem Maas wrote: Nathan Rixham schreef: Stut wrote: maybe this is into coding standards and ethics.. but this may be acceptable: if( !defined('__DIR__') ) { define('__DIR__' , dirname(__FILE__)); } however realistically you'd have to do this in every file and nto

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-11 Thread Sancar Saran
Because, M$ earning money from Win GUI. No WinGUI no money. From the begining, M$ try to broke web compatibilty in every way... Sure M$ has bad records about software quality. But even ask yourself. WHY IE (especially 5 and 6) SO buggy even M$ standards. M$ isn't mr nice guy and they wont get

Re: [PHP] Serving pages based on user input

2008-09-11 Thread prasad
Jochem Maas wrote: tedd schreef: At 10:02 PM -0700 8/23/08, Prasad Chand wrote: Thanks for that information. But in my case I need to serve pages based on selection of US states. There are 50 of them, so generating pages dynamically would have been a nice idea. WTF? do you have any idea why

[GodsWordEachDay] GodsWordEachDay September 11, 2008

2008-09-11 Thread MARNICOL58
Thursday September 11, 2008 For even when we were with you we gave you this rule: If a man will not work, he shall not eat. We hear that some among you are idle. They are not busy; they are busybodies. Such people we command