Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Richard Lynch
You can't even be guaranteed to GET the client's IP address in their request, much less assume that it's going to be the same when you want to push data out to it!!! So any Xaja-like technology has to rely on keeping the HTTP connection open, really... Does seem pretty cool, though probably not s

Re: [PHP] The end of PHP4 is nigh!

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 9:48 am, Daniel Brown wrote: > Fork! Good luck! And, really, nothing is to stop you from running PHP4 for as long as you want... I mean, if they haven't found a critical security issue by 8/8/2008, they probably never will find it... -- Some people have a "gift" link

Re: [PHP] Alter an Array Key

2007-07-13 Thread Craige Leeder
1. Don't modify $_POST 2. You controll the name of the array keys with the form. Why is there any need to change them form PHP's side of things? 3. I'm not sure Roberts solution would work. I think it might result in an endless loop, and timeout your script. - Craige -- PHP General Mailing List

Re: [PHP] Array Question

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 2:15 am, Richard Lynch wrote: > On Thu, July 12, 2007 8:29 am, Robert Cummings wrote: >> Hmmm, I thought using an explicit cast was very self explanatory -- >> especially when the name of the cast is "array". Maybe I'm alone in >> that >> thought. I mean if you convert a scala

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Craige Leeder
On 7/14/07, Richard Lynch <[EMAIL PROTECTED]> wrote: If somebody wants the next Web 2.0 killer app, build a meta-social-networking site that lets the user manage all the big social networking sites through a single central interface. :-) Is it sad that I thought of that while reading this topic

Re: [PHP] SMS questions

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 9:38 am, Robert Cummings wrote: > On Fri, 2007-07-13 at 22:30 +0800, Crayon Shin Chan wrote: >> On Friday 13 July 2007 14:07, Richard Lynch wrote: >> >> > I'd give a lot of money to be able to teleport back in time and >> yell >> > at the email designer folks to tell them just

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Richard Lynch
ZA-jah probably... SHA-jah maybe English is such potpourri of other languages that there are no real pronunciation rules. On Fri, July 13, 2007 5:44 am, David Négrier wrote: > Hi Mario, hi Stuart, > > I fixed the SVN repository. You can try it now, it works better. > Regarding the way Xaja is pr

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 5:20 pm, Tijnema wrote: > I get invites from a lot of friends, but the problem is they all come > from different sites (hyves, facebook, some dutch sites,...) If somebody wants the next Web 2.0 killer app, build a meta-social-networking site that lets the user manage all the

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 7:53 am, Robert Cummings wrote: > On Thu, 2007-07-12 at 23:51 -0500, Richard Lynch wrote: >> It's gotten to the point where I pretty much view social networking >> sites as just another form of spammers... >> >> I blogged about it, and would like feedback from members of this

Re: [PHP] Strange output using include()/require()

2007-07-13 Thread melz
DJ Necrogami wrote: That's UTF-8 Open it in a Unicode File Editor Change it from ANSI to UTF-8 and back to ANSI and then resave and it will go away Incidently, is there no way that I could keep all my files as UTF-8 and not have that encoding problem? I just realized one of my config files s

Re: [PHP] PHP short tags: Questions

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 8:54 am, Daniel Brown wrote: > To my knowledge (and even a quick peek at > http://www.php.net/ini.core), there is no indication that > short_open_tags is deprecated, nor that it's "been on the verge of > removal" at any point. I don't want to start a flame war, but it > s

Re: [PHP] Alter an Array Key

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 3:36 pm, OD wrote: > Hello, > Is there any easy way to alter a key's name? > > I would like to remove some underscores in the $_POST array keys. Not directly, but: $post = array(); foreach($_POST as $k => $v){ $k = str_replace('_', ' ', $k); $post[$k] = $v; } You could

Re: [PHP] preg_replace() help

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 3:52 pm, Rick Pasotto wrote: > I have quotes like the following: > > $txt = 'A promise is a debt. -- Irish Proverb'; > > I'd like to replace all the spaces afer the '--' with   > > This is what I've tried: > > $pat = '/( --.*)(\s|\n)/U'; You might want to use \\s and \\

Re: [PHP] Multiple Session Buffers

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 6:20 pm, Al wrote: > Is there a way to instigate 2 separate named session buffers? They > will contain different data. I don't see how you could, since you'll be changing the contents of $_SESSION which doesn't let you specify which of the two you are messing with... You cou

Re: [PHP] PHP scripts with shebang line: Questions

2007-07-13 Thread Richard Lynch
AFAICS, this is a FreeBSD question... That said, you could have a work-around where you put your 2 -d settings into a single php.mini :-) file and then use one -c to pull that in... On Fri, July 13, 2007 8:23 pm, sone gone wrote: > Hi, > > i want to question about shebang line on FreeBSD6. > > T

Re: [PHP] Strange output using include()/require()

2007-07-13 Thread melz
DJ Necrogami wrote: That's UTF-8 Open it in a Unicode File Editor Change it from ANSI to UTF-8 and back to ANSI and then resave and it will go away Thanks! What a silly mistake I did. -m. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[6]: [PHP] Newbie seeks urgent help

2007-07-13 Thread DJ Necrogami
On 7/14/07, Luc <[EMAIL PROTECTED]> wrote: Hello Tijnema, Friday, July 13, 2007, 10:45:48 PM, you wrote: > You must have some unclosed single quote ( ' ) somewhere, on one of > these lines probably: > $youremail = > $websitetitle = > $thankyoupage = Found the problem :-) in the block: $body =

Re: [PHP] Strange output using include()/require()

2007-07-13 Thread DJ Necrogami
That's UTF-8 Open it in a Unicode File Editor Change it from ANSI to UTF-8 and back to ANSI and then resave and it will go away On 7/13/07, melz <[EMAIL PROTECTED]> wrote: Hello, I'm new to this newsgroup so I hope this is the right place to ask for help. I have a script that starts with the

Re[6]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Hello Tijnema, Friday, July 13, 2007, 10:45:48 PM, you wrote: > You must have some unclosed single quote ( ' ) somewhere, on one of > these lines probably: > $youremail = > $websitetitle = > $thankyoupage = Found the problem :-) in the block: $body =<

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Nathan Nobbe
On 7/13/07, Tijnema <[EMAIL PROTECTED]> wrote: Well, that's why AJAX is there, you do a check to a server to see if there's any new data to parse, if so, then you update (and probably only one or two divs on your site, and not the whole page) I understand the use of AJAX to only update a subset

[PHP] Strange output using include()/require()

2007-07-13 Thread melz
Hello, I'm new to this newsgroup so I hope this is the right place to ask for help. I have a script that starts with the following lines: Line1: require_once 'config.php'; Line2: require_once 'common.php'; Line3: require_once 'HTTP/Request.php'; However, when I run it on the browser, where lin

Re: Re[4]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
On 7/14/07, Luc <[EMAIL PROTECTED]> wrote: Hello Tijnema, Friday, July 13, 2007, 10:09:05 PM, you wrote: > You're using a ' here, which ends the string. Use one of these: > $websitetitle = "John Doe's Site"; > OR > $websitetitle = 'John Doe\'s Site'; > Just a matter of preference ;) Thanks Tij

Re[4]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Hello Tijnema, Friday, July 13, 2007, 10:09:05 PM, you wrote: > You're using a ' here, which ends the string. Use one of these: > $websitetitle = "John Doe's Site"; > OR > $websitetitle = 'John Doe\'s Site'; > Just a matter of preference ;) Thanks Tijnema But still get: Parse error: syntax err

[PHP] PHP scripts with shebang line: Questions

2007-07-13 Thread sone gone
Hi, i want to question about shebang line on FreeBSD6. This script works on FreeBSD4, but doesn't work on FreeBSD6 #!/usr/local/bin/php -d open_basedir=/path i understood the reason from this pages. http://freebsd.monkey.org/freebsd-questions/200606/msg01073.html http://www.in-ulm.de/~mascheck

Re: Re[2]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
On 7/14/07, Luc <[EMAIL PROTECTED]> wrote: Hello Daniel, Friday, July 13, 2007, 5:50:53 PM, you wrote: > In your code, all you have is this: Unfortunately it doesn't work, probably because of my lack of php skills :-) I copied and paste your solution as follows: You're using a ' here, w

Re[2]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Hello Daniel, Friday, July 13, 2007, 5:50:53 PM, you wrote: > In your code, all you have is this: Unfortunately it doesn't work, probably because of my lack of php skills :-) I copied and paste your solution as follows: which gives the following error: Parse error: syntax error, unexpect

[PHP] Multiple Session Buffers

2007-07-13 Thread Al
Is there a way to instigate 2 separate named session buffers? They will contain different data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
thanks, thats exactly where I went. looks like i'm on the right track. On 7/13/07, Tijnema <[EMAIL PROTECTED]> wrote: On 7/13/07, Tanner Postert <[EMAIL PROTECTED]> wrote: > figured it out... > > the domain in question's dns is set to CNAME to the main domain on that > server, whereas, the rema

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tijnema
On 7/13/07, Tanner Postert <[EMAIL PROTECTED]> wrote: figured it out... the domain in question's dns is set to CNAME to the main domain on that server, whereas, the remaining domains are just using the A record with the IP. I changed one of the other domains to use the CNAME and it did the same

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Tijnema
On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Thu, 2007-07-12 at 23:51 -0500, Richard Lynch wrote: > It's gotten to the point where I pretty much view social networking > sites as just another form of spammers... > > I blogged about it, and would like feedback from members of this > l

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Tijnema
On 7/13/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > This isn't possible since you can't request a connection to the client's > machine. Only the other way around. hmm... in that case perhaps the open connection could be employed and the

Re: [PHP] Installation problem

2007-07-13 Thread Tijnema
On 7/13/07, William Sang Lee <[EMAIL PROTECTED]> wrote: Hi, I am trying to install a package using SSH because my Web-based PEAR is not working. So, I type in "pear install Date." But, it only says Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Non-recoverable failure in na

Re: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
On 7/13/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/13/07, Luc <[EMAIL PROTECTED]> wrote: > Good afternoon list, > > My first post here and i'm having trouble with a form: it doesn't > send the input to the given e-mail address: i get a blank mail > without any of the fields. > > Here's

[PHP] Installation problem

2007-07-13 Thread William Sang Lee
Hi, I am trying to install a package using SSH because my Web-based PEAR is not working. So, I type in "pear install Date." But, it only says Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Non-recoverable failure in name resolution in RPC.php on line 464 Warning: fsockopen(

Re: [PHP] preg_replace() help

2007-07-13 Thread Jim Lucas
Rick Pasotto wrote: I have quotes like the following: $txt = 'A promise is a debt. -- Irish Proverb'; I'd like to replace all the spaces afer the '--' with   This is what I've tried: $pat = '/( --.*)(\s|\n)/U'; $rpl = '$1$2 '; while (preg_match($pat,$txt,$matches) > 0) {

Re: [PHP] preg_replace() help

2007-07-13 Thread Daniel Brown
On 7/13/07, Rick Pasotto <[EMAIL PROTECTED]> wrote: I have quotes like the following: $txt = 'A promise is a debt. -- Irish Proverb'; I'd like to replace all the spaces afer the '--' with   This is what I've tried: $pat = '/( --.*)(\s|\n)/U'; $rpl = '$1$2 '; while (preg_match(

Re: [PHP] preg_replace() help

2007-07-13 Thread Jim Lucas
Rick Pasotto wrote: I have quotes like the following: $txt = 'A promise is a debt. -- Irish Proverb'; I'd like to replace all the spaces afer the '--' with   This is what I've tried: $pat = '/( --.*)(\s|\n)/U'; $rpl = '$1$2 '; while (preg_match($pat,$txt,$matches) > 0) {

Re: [PHP] Alter an Array Key

2007-07-13 Thread Jim Lucas
OD wrote: Hello, Is there any easy way to alter a key's name? I would like to remove some underscores in the $_POST array keys. Thanks, OD sure use str_replace in the value of the key name string. But, that probably doesn't answer your question. Why don't you supply us with an example of h

[PHP] preg_replace() help

2007-07-13 Thread Rick Pasotto
I have quotes like the following: $txt = 'A promise is a debt. -- Irish Proverb'; I'd like to replace all the spaces afer the '--' with   This is what I've tried: $pat = '/( --.*)(\s|\n)/U'; $rpl = '$1$2 '; while (preg_match($pat,$txt,$matches) > 0) { print "$txt\n";

Re: [PHP] Alter an Array Key

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 15:36 -0500, OD wrote: > Hello, > Is there any easy way to alter a key's name? > > I would like to remove some underscores in the $_POST array keys. $value ) { if( strpos( $key, '_' ) !== false ) { $_POST[str_replace( '_', '', $key )] = $value; unset

Re: [PHP] Newbie seeks urgent help

2007-07-13 Thread Daniel Brown
On 7/13/07, Luc <[EMAIL PROTECTED]> wrote: Good afternoon list, My first post here and i'm having trouble with a form: it doesn't send the input to the given e-mail address: i get a blank mail without any of the fields. Here's how it should arrive in the mailbox: Empresa: field input Cont

[PHP] Alter an Array Key

2007-07-13 Thread OD
Hello, Is there any easy way to alter a key's name? I would like to remove some underscores in the $_POST array keys. Thanks, OD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
figured it out... the domain in question's dns is set to CNAME to the main domain on that server, whereas, the remaining domains are just using the A record with the IP. I changed one of the other domains to use the CNAME and it did the same thing. So looks like thats the culprit. I'll have to c

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Nathan Nobbe
On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: This isn't possible since you can't request a connection to the client's machine. Only the other way around. hmm... in that case perhaps the open connection could be employed and the feature used selectively; only on certain pages for insta

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
mail function returns 1(true) whether or not i'm sending to the new virtual host domain name or any random domain name. turns out sendmail function does the same thing, so it looks like it's a sendmail problem... but how is that possible if i've never configured anything for this new domain excep

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 14:59 -0400, Nathan Nobbe wrote: > > On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > I haven't looked at the code for Xaja and in no way do I want to > > subtract from its potential, but I'm going to guess that in some way > it > > holds the HTTP connection open an

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Nathan Nobbe
On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: I haven't looked at the code for Xaja and in no way do I want to subtract from its potential, but I'm going to guess that in some way it holds the HTTP connection open and as such is an expensive feature. Also, I'm not entirely sure, but isn't

[PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Good afternoon list, My first post here and i'm having trouble with a form: it doesn't send the input to the given e-mail address: i get a blank mail without any of the fields. Here's how it should arrive in the mailbox: Empresa: field input Contato: field input Fone: field input Fax:

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 14:28 -0400, Nathan Nobbe wrote: > I have imagined being able to connect to a client browser and push changes > to the client rather than have something sit on the client side and > periodically wait for updates. > or only update when the client refreshes the page manually. b

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Nathan Nobbe
I have imagined being able to connect to a client browser and push changes to the client rather than have something sit on the client side and periodically wait for updates. or only update when the client refreshes the page manually. both of those antiquated options are ugly. the push technique

RE: [PHP] Social Networking Sites OT

2007-07-13 Thread Allan, David (ThomasTech)
> is anyone a member of linkedin Yes. I've not been hounded. I've reconnected with a couple former co-workers, and been approached (professionally) by College Classmates, but that's been all. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SMS questions

2007-07-13 Thread Dan
Might want to retry that link, it's broken. - Dan ""Steve Perkins"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Richard makes some good points. Further to the original posting though, I have a friend who works with this SMS stuff, and out of interest asked him about it. Here

[PHP] Re: SMS questions

2007-07-13 Thread Dan
What you're looking for is SMS Spoofing. Here's the first result from googling SMS Spoofing. It provides some services that let you spoof and talks about the legality of doing so http://www.answers.com/topic/sms-spoofing - Dan "Brian Dunning" <[EMAIL PROTECTED]> wrote in message news:[EMA

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
apache is definitely listed in the trusted users, as I mentioned, I can send from dozens of other domains, its just one specific domain that I can't. i'll let you know the results of sending the email from outside of php. On 7/12/07, Chris <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: > On Th

Re: [PHP] Re: The end of PHP4 is nigh!

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 16:39 +0100, Colin Guthrie wrote: > Jason Pruim wrote: > >>> Fork! > >> > >> Spoon! > > > > Knufe! :P > > > > Spuun works better :P > > Always about u. :D *obligatory Cheers quote* Don't assume, when you do so it makes an ASS out of U and out of ME. :) Cheers, R

[PHP] Re: The end of PHP4 is nigh!

2007-07-13 Thread Colin Guthrie
Jason Pruim wrote: >>> Fork! >> >> Spoon! > > Knufe! :P > > Spuun works better :P Always about u. :D Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Colin Guthrie
Daniel Brown wrote: >And to you, yes, "colourful" has a U in it. Well, guess what > it does for us, too! Just not in the "color" part, but rather the > "ful" part. So there! D'oh! You got me there :p Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Re: About PHP/XML/XSLT/MYSQL Web Sites

2007-07-13 Thread Nathan Nobbe
Although it is necessary to convert SQL data into XML before it can be processed in an XSL transformation, it is a waste of time converting user input into XML before it is added to the database as none of the SELECT/INSERT/UPDATE/DELETE commands can work with XML files. It is far easier to take t

Re: [PHP] The end of PHP4 is nigh!

2007-07-13 Thread Daniel Brown
On 7/13/07, Jason Pruim <[EMAIL PROTECTED]> wrote: On Jul 13, 2007, at 10:55 AM, Robert Cummings wrote: > On Fri, 2007-07-13 at 10:48 -0400, Daniel Brown wrote: >> Fork! > > Spoon! Knufe! :P Spuun works better :P I knew there had to be a cross-reference today somewhere. ;-P -- Dani

[PHP] Re: About PHP/XML/XSLT/MYSQL Web Sites

2007-07-13 Thread Tony Marston
Although it is necessary to convert SQL data into XML before it can be processed in an XSL transformation, it is a waste of time converting user input into XML before it is added to the database as none of the SELECT/INSERT/UPDATE/DELETE commands can work with XML files. It is far easier to tak

Re: [PHP] The end of PHP4 is nigh!

2007-07-13 Thread Jason Pruim
On Jul 13, 2007, at 10:55 AM, Robert Cummings wrote: On Fri, 2007-07-13 at 10:48 -0400, Daniel Brown wrote: On 7/13/07, Stut <[EMAIL PROTECTED]> wrote: In case anyone hasn't seen it there is an announcement regarding the future support for PHP4 on the PHP website. If you're running PHP4 you

Re: [PHP] The end of PHP4 is nigh!

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 10:48 -0400, Daniel Brown wrote: > On 7/13/07, Stut <[EMAIL PROTECTED]> wrote: > > In case anyone hasn't seen it there is an announcement regarding the > > future support for PHP4 on the PHP website. If you're running PHP4 you > > *need* to read it. > > > > http://php.net/ > >

Re: [PHP] The end of PHP4 is nigh!

2007-07-13 Thread Daniel Brown
On 7/13/07, Stut <[EMAIL PROTECTED]> wrote: In case anyone hasn't seen it there is an announcement regarding the future support for PHP4 on the PHP website. If you're running PHP4 you *need* to read it. http://php.net/ -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 10:40 -0400, Jason Pruim wrote: > On Jul 13, 2007, at 10:31 AM, Daniel Brown wrote: > > > > > >And to you, yes, "colourful" has a U in it. Well, guess what > > it does for us, too! Just not in the "color" part, but rather the > > "ful" part. So there! > > > > It'

Re: [PHP] Re: PHP Brain Teasers

2007-07-13 Thread Daniel Brown
On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: But more importantly there's an omission of the concept of "both ways" ;) Ha! I was thinking exactly the same thing! -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 10:31 -0400, Daniel Brown wrote: > On 7/13/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: > > I reckon it should be pronounced "zah-jah" in English. (the same Z sound > > as in Xavier) > > > > I wouldn't listen to the Americans in San Fran. Americans always > > pronounce

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Jason Pruim
On Jul 13, 2007, at 10:31 AM, Daniel Brown wrote: And to you, yes, "colourful" has a U in it. Well, guess what it does for us, too! Just not in the "color" part, but rather the "ful" part. So there! It's all about "U" isn't it? ;) -- Jason Pruim Raoset Inc. Technology Manager

Re: [PHP] SMS questions

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 22:30 +0800, Crayon Shin Chan wrote: > On Friday 13 July 2007 14:07, Richard Lynch wrote: > > > I'd give a lot of money to be able to teleport back in time and yell > > at the email designer folks to tell them just how horrible a mess they > > were making... :-) > > But you

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread Daniel Brown
On 7/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: View the source and trace through the javascript. Looks like it has to do with: function openLogin() Which calls: dojo.require("dojo.widget.Dialog"); and.. floatingWindow = dojo.widget.createWidget("Dialog", properties, node); and..

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Daniel Brown
On 7/13/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: I reckon it should be pronounced "zah-jah" in English. (the same Z sound as in Xavier) I wouldn't listen to the Americans in San Fran. Americans always pronounce English in a weird and colourful way (and yes, colourful has a U in i

Re: [PHP] SMS questions

2007-07-13 Thread Crayon Shin Chan
On Friday 13 July 2007 14:07, Richard Lynch wrote: > I'd give a lot of money to be able to teleport back in time and yell > at the email designer folks to tell them just how horrible a mess they > were making... :-) But you have to give them credit for designing something so scaleable that even

Re: [PHP] PHP short tags: Questions

2007-07-13 Thread Daniel Brown
On 7/13/07, Micky Hulse <[EMAIL PROTECTED]> wrote: Hey Richard, thanks for the reply. I appreciate it. :) Richard Lynch wrote: > http://php.net/ Yikes! I guess it was one of those RTFM question/answers! Lol. :D > #2 sounds awfully bogus to me... Yeah... Hmm, now I am starting to wonder where

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread tg-php
View the source and trace through the javascript. Looks like it has to do with: function openLogin() Which calls: dojo.require("dojo.widget.Dialog"); and.. floatingWindow = dojo.widget.createWidget("Dialog", properties, node); and.. floatingWindow.setContent(""); Don't have time right now

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Nathan Nobbe
is anyone a member of linkedin ? ive had a few

Re: [PHP] Array Question

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 02:15 -0500, Richard Lynch wrote: > On Thu, July 12, 2007 8:29 am, Robert Cummings wrote: > > Hmmm, I thought using an explicit cast was very self explanatory -- > > especially when the name of the cast is "array". Maybe I'm alone in > > that > > thought. I mean if you convert

Re: [PHP] Re: PHP Brain Teasers

2007-07-13 Thread Robert Cummings
On Fri, 2007-07-13 at 01:59 -0500, Richard Lynch wrote: > On Thu, July 12, 2007 10:20 am, Daniel Brown wrote: > > On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > >> G... must be nice, some of us had to toil 18 hours a day > >> sweeping > >> chimneys! > >> > >> ;) > >> > >> Cheers, > >>

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Robert Cummings
On Thu, 2007-07-12 at 23:51 -0500, Richard Lynch wrote: > It's gotten to the point where I pretty much view social networking > sites as just another form of spammers... > > I blogged about it, and would like feedback from members of this > lists, for various reasons I would hope would be obvious.

[PHP] Re: what trick is this? How to do it?

2007-07-13 Thread Man-wai Chang
> http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/ > How did he/she do it? I meant the modal login window... I just found that linux.com is using the same trick. :) -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubu

[PHP] Re: Magis_qoutes + linux + smarty

2007-07-13 Thread Bogdan Ribic
This is wrong place for Smarty questions, try smarty mailing lists. That said, you probably have problem with file access rights, ie folder you're trying to write to or create has flags that don't allow that, or you've created it with ftp (and as ftp user) and your php script is running under

Re: [PHP] Help setting up php

2007-07-13 Thread Joker7
In news: [EMAIL PROTECTED] - "Richard Lynch" wrote : >> On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote: >>> Can someone please help me? >>> >>> I am new to installing and working with php and webservers. I am >>> using >>> IIS 6. >>> >>> I can not get php to load the ini file. >> >> This line:

[PHP] The end of PHP4 is nigh!

2007-07-13 Thread Stut
In case anyone hasn't seen it there is an announcement regarding the future support for PHP4 on the PHP website. If you're running PHP4 you *need* to read it. http://php.net/ -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Colin Guthrie
David Négrier wrote: > Regarding the way Xaja is pronounced well that's a good > question. > Actually, I'm French and my pronunciation is... well... French ;), so I > won't give you any advice on how to pronounce it. > However, I will present Xaja in San Francisco at the Ajax Exper

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Mario Guenterberg
On Fri, Jul 13, 2007 at 12:44:35PM +0200, David Négrier wrote: > Hi Mario, hi Stuart, > > I fixed the SVN repository. You can try it now, it works better. > Regarding the way Xaja is pronounced well that's a good > question. > Actually, I'm French and my pronunciation is...

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread David Négrier
Hi Mario, hi Stuart, I fixed the SVN repository. You can try it now, it works better. Regarding the way Xaja is pronounced well that's a good question. Actually, I'm French and my pronunciation is... well... French ;), so I won't give you any advice on how to pronounce it. Howe

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Mario Guenterberg
On Fri, Jul 13, 2007 at 10:10:15AM +0200, David Négrier wrote: > > Xaja is still in an early stage of development, but it is time for us to get > some feedback (or some help, since it is released in GPL). You can download > an alpha version of Xaja from http://www.thecodingmachine.com/projects

FW: [PHP] SMS questions

2007-07-13 Thread Steve Perkins
Richard makes some good points. Further to the original posting though, I have a friend who works with this SMS stuff, and out of interest asked him about it. Here is his (slightly scary) response, might be of some use ... His website is www.textit,biz -Original Message- From: Shaun M

[PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread David Négrier
Hi list! A few month ago, I asked a question on this mailing list regarding the closing of a connexion between the PHP server and the browser. Thanks to the answers I was given, I have been able to complete the framework I was working on. Today, I'm proud to announce the first open source alph

Re: [PHP] getting the "next" element of an associative array

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 1:34 am, Chris wrote: > Olav Mørkrid wrote: >> let's say we have the following associative array: >> >> $array = array( >> "red" => "ferrari", >> "yellow" => "volkswagen", >> "green" => "mercedes", >> "blue" => "volvo" >> ); >> >> then we have a current index into the arra

Re: [PHP] Array Question

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 8:29 am, Robert Cummings wrote: > Hmmm, I thought using an explicit cast was very self explanatory -- > especially when the name of the cast is "array". Maybe I'm alone in > that > thought. I mean if you convert a scalar to an array what do you expect > to get? An array with t

Re: [PHP] Re: PHP Brain Teasers

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 10:26 am, Robert Cummings wrote: > On Thu, 2007-07-12 at 11:20 -0400, Daniel Brown wrote: >> On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> > G... must be nice, some of us had to toil 18 hours a day >> sweeping >> > chimneys! >> > >> > ;) >> > >> > Cheers, >> >

Re: [PHP] Re: PHP Brain Teasers

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 10:20 am, Daniel Brown wrote: > On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> G... must be nice, some of us had to toil 18 hours a day >> sweeping >> chimneys! >> >> ;) >> >> Cheers, >> Rob. > > What do you mean "us"? Weren't you born before they invented

Re: [PHP] Array Push question

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 3:45 am, John Comerford wrote: > Is there a better way of doing the following: > > $Rows[] = array(); > $currentRow = count($Rows) - 1; > $Rows[$currentRow]['test'] = "this is a test"; > > Specifically I am wonder if I can avoid having to use 'count'. count() is not slow, rea