Re: [PHP] phone number allocation manager

2008-04-01 Thread Per Jessen
Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to our customers. [snip] Unfortunately the phone

Re: [PHP] MS purchase Yahoo

2008-04-01 Thread mike
I understood it was April 1st in Australia. How that relates to a PHP general list is beyond me though. A funny joke about PHP would have been more acceptable. Otherwise, I consider this spam. Using this mailing list to push a Digg article's popularity is pathetic. I wouldn't have said anything

Re: [PHP] phone number allocation manager

2008-04-01 Thread Jason Pruim
On Mar 31, 2008, at 8:21 PM, Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to our customers.

Re: [PHP] Date Issue

2008-04-01 Thread admin
Your doing the same thing i did look at date(d) When its the 31 like yesteday of course it can not find the 31 of months that do not have them. Thats why it errored. String worked up till monday which explained alot. I just did not look at what i was doing. changed the code to $zomonth =

Re: [PHP] phone number allocation manager

2008-04-01 Thread tedd
At 5:21 PM -0700 3/31/08, Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to our customers. Building

Re: [PHP] Reporting mail as spam

2008-04-01 Thread Richard Lynch
On Mon, March 31, 2008 11:01 am, Sándor Tamás (HostWare Kft.) wrote: I wrote a little registration routine, which will send a confirmation letter to the user with a random number in the message body (my site is on a host, so I can't write in the subject, and ask the user to reply), which can

Re: [PHP] phone number allocation manager

2008-04-01 Thread admin
I work with and design VIOP IVR Applications, and have probably found or made everything you’re looking for. I can tell who provides database's for free or at a cost the cheapest and if you’re doing ANI cross population I have that as well. WARNING some of the database are around 250 million

Re: [PHP] phone number allocation manager

2008-04-01 Thread tedd
At 6:53 AM -0700 4/1/08, Jim Lucas wrote: Think the opposite from what you just described. What I want to be able to do is have a pool of numbers from which I can assign a range or individual numbers to a given customer. But this tool is not to track the customers, but rather allow me to

[PHP] April Fools Easter Egg

2008-04-01 Thread Ray Hauge
Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto generated PDF

2008-04-01 Thread Richard Lynch
On Sun, March 30, 2008 4:27 am, Alain Roger wrote: i want to implement on my web portal electronic invoicing system. basically data will be stored into PostgreSQL DB. I would like to know if someone already have experiences with such feature or where could i find some tutorials or help about

Re: [PHP] phone number allocation manager

2008-04-01 Thread Andrew Ballard
On Tue, Apr 1, 2008 at 9:53 AM, Jim Lucas [EMAIL PROTECTED] wrote: Think the opposite from what you just described. What I want to be able to do is have a pool of numbers from which I can assign a range or individual numbers to a given customer. But this tool is not to track the

Re: [PHP] phone number allocation manager

2008-04-01 Thread Jim Lucas
tedd wrote: At 5:21 PM -0700 3/31/08, Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to our

Re: [PHP] PHP 5 file_get_contents() problems

2008-04-01 Thread Richard Lynch
On Sun, March 30, 2008 5:03 pm, php wrote: Thanks Greg...I am aware of the allow_url_fopen/allow_url_include relationship. Your suggestion to look into curl was implemented and there still seems to be something else afoot. I created a simple set of curl functions which just printed a

Re: [PHP] restricting filesystem access

2008-04-01 Thread Richard Lynch
On Mon, March 31, 2008 3:21 am, Hamar Gábor wrote: I am a new php user and I have a question, for which I couldn't find any answer. I'd like to restrict php code to access the filesystem. I'd like to have only one directory where the php code can write, create or read files, and an other

Re: [PHP] phone number allocation manager

2008-04-01 Thread Per Jessen
Jim Lucas wrote: Think the opposite from what you just described. What I want to be able to do is have a pool of numbers from which I can assign a range or individual numbers to a given customer. But this tool is not to track the customers, but rather allow me to keep track of which

Re: [PHP] extract escaped quoted strings

2008-04-01 Thread Richard Lynch
Extract them from what? Without more context, we can't really help... So far a GREEDY pcre with quote on each end fits all the inputs. And *WHY* do you have so many backslashes? Whatever is causing that (MagicQuotes, cough, cough) is your REAL problem. Fix the problem, not the symptom. On

Re: [PHP] Date Issue

2008-04-01 Thread Richard Lynch
I generally use 1 hour after midnight with mktime() to avoid the edge cases of daylight savings etc... mktime(1, 0, 0, date('m') - 1, date('d'), date('Y')); You also have to consider that you *COULD* call this right on the cusp of midnight, and the call to date('d') could happen one day, and the

Re: [PHP] phone number allocation manager

2008-04-01 Thread Jim Lucas
Jason Pruim wrote: On Mar 31, 2008, at 8:21 PM, Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to

Re: [PHP] LDAP in php

2008-04-01 Thread Richard Lynch
On Sun, March 30, 2008 8:15 pm, [EMAIL PROTECTED] wrote: As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it a very wild idea to implement (a simple) LDAP server in php? We have all the address data already in PostgreSQL and a php application managing all of it. I am

Re: [PHP] new lines in textareas?

2008-04-01 Thread Richard Lynch
On Sat, March 29, 2008 11:26 pm, Mary Anderson wrote: I have a php script which produces text which is to be displayed in a textarea. I have the wrap for the text area set to 'hard'. I need Do NOT set the wrap to hard It will only cause you grief in the long run. It's going to insert

Re: [PHP] Date Issue

2008-04-01 Thread Richard Lynch
If you want the DAY before, you can use the -1 for the day, and get what you want. mktime() will wrap the month as needed. But, yeah, if you try to hit a MONTH before by putting in a month before AND the day, it will slingshot back and forth to get what you don't want. If you want the MONTH

Re: [PHP] new lines in textareas?

2008-04-01 Thread Richard Lynch
On Sun, March 30, 2008 7:20 am, jeffry s wrote: my client ask me about this problem 2 weeks ago. he want the text to automatically go to new line after user type until the end of the line. The only possible solutions so far is using wrap='hard' or wrap='soft' eg: textarea cols=10 rows=10

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Christoph Boget
You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) That's all I see for PHP-5.2.1. Should there be something more? thnx, Christoph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Jason Pruim
On Apr 1, 2008, at 10:38 AM, Christoph Boget wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) That's all I see for PHP-5.2.1. Should there be something more? Same here on 5.2.0 Although... Did the Zend logo always look like that? It looks a little Jaggy to me... Along the

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Ray Hauge
tedd wrote: At 9:23 AM -0500 4/1/08, Ray Hauge wrote: Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com You got me. Cheers, tedd Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted image instead of the

RE: [PHP] April Fools Easter Egg

2008-04-01 Thread admin
Studied that thing for last 15 minutes before realizing you got me. Richard L. Buskirk Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread tedd
At 4:33 PM +0200 4/1/08, Paul Scott wrote: On Tue, 2008-04-01 at 10:28 -0400, tedd wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) --Paul Ahhh, now I see it. The one I was checking was 4 something. tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread tedd
At 9:23 AM -0500 4/1/08, Ray Hauge wrote: Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com You got me. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] phone number allocation manager

2008-04-01 Thread Jim Lucas
Jim Lucas wrote: I work for a telephone internet company. Currently we have a tool that allows us to track the allocation of IP's to customers. What I am looking for is a tool that will allow me to track the allocation of phone numbers to our customers. Building the tool for IP

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Paul Scott
On Tue, 2008-04-01 at 10:28 -0400, tedd wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread kingzones
Same here... It is shaky.. on version 5.2.0.. On Tue, Apr 1, 2008 at 8:12 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 1, 2008, at 10:38 AM, Christoph Boget wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) That's all I see for PHP-5.2.1. Should there be something

[PHP] Severe Security Issue

2008-04-01 Thread Daniel Brown
Hey, folks, ignore the coincidence of the date when reading this email. During the Scranton PHP Group's meeting last night, the topic was security - go through all of the PHP engine's source code and identify and find patches for possible security issues. In the process, we detected a

Re: [PHP] restricting filesystem access

2008-04-01 Thread Daniel Brown
On Tue, Apr 1, 2008 at 10:04 AM, Richard Lynch [EMAIL PROTECTED] wrote: PHP runs as the Apache user. chown/chmod the source files to not be writable by that user. Problem solved. Let's not ignore phpSuExec or suhosin, which are fast-becoming standard. If I'm not mistaken, they're

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Richard Lynch
On Tue, April 1, 2008 9:38 am, Christoph Boget wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) That's all I see for PHP-5.2.1. Should there be something more? Probably not, but check the source. :-) I like the bunny of version 4 better, personally... -- Some people have

Re: [PHP] Severe Security Issue

2008-04-01 Thread Daniel Brown
Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the n00bs sweat it out just a bit, y'know. ;-P On Tue, Apr 1, 2008 at 11:14 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: Hey, folks, ignore the coincidence of the date when reading this email.

Re: [PHP] Severe Security Issue

2008-04-01 Thread Daniel Brown
Damn you, Reply-All -- /Daniel P. Brown Forensic Services, Senior Unix Engineer 1+ (570-) 362-0283 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Severe Security Issue

2008-04-01 Thread Stut
Daniel Brown wrote: Hey, folks, ignore the coincidence of the date when reading this email. snipped the crap I'm thinking you're full of it... http://lxr.php.net/search?string=remote_bytecode_include Since it doesn't appear in the PHP source code I'm guessing it won't have any effect.

Re: [PHP] Severe Security Issue

2008-04-01 Thread Eric Butera
On Tue, Apr 1, 2008 at 11:14 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: Hey, folks, ignore the coincidence of the date when reading this email. snipped the crap I'm thinking you're full of it... http://lxr.php.net/search?string=remote_bytecode_include Since it doesn't

Re: [PHP] Severe Security Issue

2008-04-01 Thread Daniel Brown
On Tue, Apr 1, 2008 at 11:35 AM, Eric Butera [EMAIL PROTECTED] wrote: It's April 1st regardless if he said to ignore it or not. :( Eric, That was actually the line I expected very few to refute, but it's exactly why I worded it that way. ;-P -- /Daniel P. Brown Forensic Services,

Re: [PHP] Severe Security Issue

2008-04-01 Thread Stut
Daniel Brown wrote: Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the n00bs sweat it out just a bit, y'know. ;-P Sorry mate, bit too quick on the trigger there. And less of the real name on the interweb please, I'm undercover! -Stut -- http://stut.net/ On

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Richard Lynch
On Tue, April 1, 2008 9:39 am, tedd wrote: At 4:33 PM +0200 4/1/08, Paul Scott wrote: On Tue, 2008-04-01 at 10:28 -0400, tedd wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) --Paul Ahhh, now I see it. The one I was checking was 4 something. And apparently, I can't tell

Re: [PHP] Severe Security Issue

2008-04-01 Thread Eric Butera
On Tue, Apr 1, 2008 at 11:37 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 11:35 AM, Eric Butera [EMAIL PROTECTED] wrote: It's April 1st regardless if he said to ignore it or not. :( Eric, That was actually the line I expected very few to refute, but it's

[PHP] Re: Severe Security Issue

2008-04-01 Thread Colin Guthrie
Robert Cummings wrote: On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote: Stut wrote: Daniel Brown wrote: Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the And less of the real name on the interweb please, I'm undercover! Hey don't worry, half way

[PHP] Re: Severe Security Issue

2008-04-01 Thread Colin Guthrie
Stut wrote: Daniel Brown wrote: Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the And less of the real name on the interweb please, I'm undercover! Hey don't worry, half way through next week, Bobby will come out the shower and it'll turn out all the posts to

Re: [PHP] Re: Severe Security Issue

2008-04-01 Thread Robert Cummings
On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote: Stut wrote: Daniel Brown wrote: Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the And less of the real name on the interweb please, I'm undercover! Hey don't worry, half way through next week,

Re: [PHP] Re: Severe Security Issue

2008-04-01 Thread Robert Cummings
On Tue, 2008-04-01 at 17:16 +0100, Colin Guthrie wrote: Robert Cummings wrote: On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote: Stut wrote: Daniel Brown wrote: Off-list. Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the And less of the real name on the

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Christoph Boget
Wobbly PHP logo on mine (PHP-5.2.5 debian) That's all I see for PHP-5.2.1. Should there be something more? Probably not, but check the source. :-) I checked the source. I didn't notice anything unusual... thnx, Christoph -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP MySQL Insert Syntax

2008-04-01 Thread kvigor
/*I'm trying to insert values from an array into MySQL DB but the insert begins at the last record in the table and not at first record in the table. I have added the cellSuffixes column after I already populated 30 records in other columns*/ Code: foreach($list as $key=$value) { $query =

RE: [PHP] PHP MySQL Insert Syntax

2008-04-01 Thread admin
Insert is for a new row Alter or Update is for an exsisting row /*I'm trying to insert values from an array into MySQL DB but the insert begins at the last record in the table and not at first record in the table. I have added the cellSuffixes column after I already populated 30 records in

Re: [PHP] PHP MySQL Insert Syntax

2008-04-01 Thread kvigor
Thanks :-) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Insert is for a new row Alter or Update is for an exsisting row /*I'm trying to insert values from an array into MySQL DB but the insert begins at the last record in the table and not at first record in the table.

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Zoltán Németh
Ray Hauge írta: tedd wrote: At 9:23 AM -0500 4/1/08, Ray Hauge wrote: Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com You got me. Cheers, tedd Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted image

[PHP] autoload with namespace

2008-04-01 Thread Ryan Panning
I haven't been keeping an eye on this list so if this has come up before please point me in the right direction. :) Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to write an autoload function. Since autoload will be triggered on any namespace call, the request could be

Re: [PHP] how to possibly cache something and the theory of better performance / better speed

2008-04-01 Thread Robert Cummings
On Wed, 2008-04-02 at 00:26 -0400, Joey wrote: Hi All, [-- SNIPPITY SNIP SNIP --] Assuming only 25-30 images am I splitting hairs here? Does this make sense? Of course if I have 200 pictures, then this is the way to go but would this really make a difference? Randomizing the file

Re: [PHP] how to possibly cache something and the theory of better performance / better speed

2008-04-01 Thread Chris
I used to use a script to grab a random image from a folder of images by scanning the folder, returning the list of images, getting one of them randomly and displaying it. Isn't that what the code is doing? Maybe I'm missing something but you've only mentioned one method. What's the second