Re: [PHP] window.open access parent's JS?

2010-07-07 Thread Ashley Sheridan
On Wed, 2010-07-07 at 00:09 -0500, Skip Evans wrote: > Hey all, > > Is there a way to have a window opened with window.open() > inherit the parent windows JS environment? > > In other words, I call window.open() with a URL that displays > a form created by a PHP script. > > JS code has already

Re: [PHP] HTML in emails

2010-07-07 Thread tedd
At 10:09 PM -0400 7/6/10, Paul M Foster wrote: On Tue, Jul 06, 2010 at 06:32:40PM +0200, Per Jessen wrote: In principle, I agree - in practice, CPU cycles are getting cheaper by the minute, and being wasted all the time. Not using HTML is highly unlikely to have a measurable impact on anybod

Re: [PHP] window.open access parent's JS?

2010-07-07 Thread Skip Evans
Yup, window.opener it is. Much thanks. I was surprised how much Googling I did and didn't find that. On 07/07/2010 04:31 AM, Ashley Sheridan wrote: Not really anything to do with PHP there :p Well, given the breadth the topics I've seen discussed on this list I thought it would slide by.

[PHP] Multiple Access Question

2010-07-07 Thread tedd
Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. Here's the problem -- let's say you have a database containing names and addresses and you want "approved" users to be able to access the data. As such, a user must login before accessing an editi

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
tedd wrote: Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. Here's the problem -- let's say you have a database containing names and addresses and you want "approved" users to be able to access the data. As such, a user must login before acces

[PHP] Re: Multiple Access Question

2010-07-07 Thread Shawn McKenzie
On 07/07/2010 11:59 AM, tedd wrote: > Hi gang: > > I have *my way* of handling this problem, but I would like to hear how > you guys do it. > > Here's the problem -- let's say you have a database containing names and > addresses and you want "approved" users to be able to access the data. > As su

[PHP] Creating image on-the-fly

2010-07-07 Thread Karl DeSaulniers
Hello, I was wondering if there was any way I can create an image from some text with php? For Eg: I have a text box that will have a number/letter combo, I want it to dynamically gen the num/lett combo, then create say a transparent png of that number/letter combo then display it to the use

[PHP] State and City Database

2010-07-07 Thread tedd
Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating image on-the-fly

2010-07-07 Thread Marc Guay
> I was wondering if there was any way I can create an image from some text > with php? Something like this? http://sgss.me/obsolete/experiments/phpfontimagegenerator2/usage.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] State and City Database

2010-07-07 Thread Marc Guay
> Does anyone have a source for a US State and City database? This is a monster but seems to contain what you need: http://www.geonames.org/. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating image on-the-fly

2010-07-07 Thread Ashley Sheridan
On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote: > > I was wondering if there was any way I can create an image from some text > > with php? > > Something like this? > > http://sgss.me/obsolete/experiments/phpfontimagegenerator2/usage.php > One thing to bear in mind is that this introduces

[PHP] Date Test...

2010-07-07 Thread Don Wieland
Hello all, I am processing an array to build an INSERT string in PHP. The code below I build an a separate array for the TARGET fields and the VALUES. I am trying to trap for a NULL ENTRY in a Date Input Field. Date fields are identified with: $ffield['s']=='/' I tried to add the "&& !emp

RE: [PHP] Creating image on-the-fly

2010-07-07 Thread Daevid Vincent
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Wednesday, July 07, 2010 1:22 PM > To: Marc Guay > Cc: php-general > Subject: Re: [PHP] Creating image on-the-fly > > On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote: > > > > I was wondering if

RE: [PHP] Creating image on-the-fly

2010-07-07 Thread Ashley Sheridan
On Wed, 2010-07-07 at 13:43 -0700, Daevid Vincent wrote: > > > -Original Message- > > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > > Sent: Wednesday, July 07, 2010 1:22 PM > > To: Marc Guay > > Cc: php-general > > Subject: Re: [PHP] Creating image on-the-fly > > > > On Wed

Re: [PHP] Multiple Access Question

2010-07-07 Thread Paul M Foster
On Wed, Jul 07, 2010 at 12:59:30PM -0400, tedd wrote: > Hi gang: > > I have *my way* of handling this problem, but I would like to hear > how you guys do it. > > Here's the problem -- let's say you have a database containing names > and addresses and you want "approved" users to be able to access

[PHP] interface name file

2010-07-07 Thread Augusto Flavio
Hi, I want to know which file name is appropriate for a interface. Today, for a PHP class I use: NAME.class.php. What about a interface? Is there a definition about it ? Thanks Augusto Morais

Re: [PHP] interface name file

2010-07-07 Thread Hans Åhlin
*.api Application Programming Interface http://en.wikipedia.org/wiki/Application_Programming_Interface ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **

Re: [PHP] Multiple Access Question

2010-07-07 Thread Bastien Koert
On Wed, Jul 7, 2010 at 8:47 PM, Paul M Foster wrote: > On Wed, Jul 07, 2010 at 12:59:30PM -0400, tedd wrote: > >> Hi gang: >> >> I have *my way* of handling this problem, but I would like to hear >> how you guys do it. >> >> Here's the problem -- let's say you have a database containing names >> a

Re: [PHP] Multiple Access Question

2010-07-07 Thread Paul M Foster
On Wed, Jul 07, 2010 at 10:01:05PM -0400, Bastien Koert wrote: > On Wed, Jul 7, 2010 at 8:47 PM, Paul M Foster > wrote: > > On Wed, Jul 07, 2010 at 12:59:30PM -0400, tedd wrote: > > > >> Hi gang: > >> > >> I have *my way* of handling this problem, but I would like to hear > >> how you guys do it.

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
Paul M Foster wrote: On Wed, Jul 07, 2010 at 10:01:05PM -0400, Bastien Koert wrote: On Wed, Jul 7, 2010 at 8:47 PM, Paul M Foster wrote: On Wed, Jul 07, 2010 at 12:59:30PM -0400, tedd wrote: Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. He

Re: [PHP] Multiple Access Question

2010-07-07 Thread Paul M Foster
On Wed, Jul 07, 2010 at 11:28:56PM -0400, Robert Cummings wrote: > Paul M Foster wrote: >>> @Paul, >>> >>> The OPs question is about concurrency on the record itself. How to >>> avoid two users accessing the same record and potentially damaging >>> each others changes >>> >>> My approach is the

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
Paul M Foster wrote: On Wed, Jul 07, 2010 at 11:28:56PM -0400, Robert Cummings wrote: Paul M Foster wrote: @Paul, The OPs question is about concurrency on the record itself. How to avoid two users accessing the same record and potentially damaging each others changes My approach is the s

RE: [PHP] Multiple Access Question

2010-07-07 Thread Tommy Pham
-Original Message- > From: Robert Cummings [mailto:rob...@interjinn.com] > Sent: Wednesday, July 07, 2010 10:28 PM > To: Paul M Foster > Cc: php-general@lists.php.net > Subject: Re: [PHP] Multiple Access Question > > Paul M Foster wrote: > > On Wed, Jul 07, 2010 at 11:28:56PM -0400, Rober