php-general Digest 3 May 2008 23:47:05 -0000 Issue 5439

2008-05-03 Thread php-general-digest-help
php-general Digest 3 May 2008 23:47:05 - Issue 5439 Topics (messages 273835 through 273847): Re: Any Running Simple Ajax Sample for Php 273835 by: paragasu Re: web based chat app 273836 by: paragasu 273846 by: Nitsan Bin-Nun How to create accessible by PHP

[PHP] RE: XHTML Validation problem

2008-05-03 Thread Steven R. Ringwald
I have a page that displays data entered by the user. There is one user that entered the character inside the text he typed. For this case the xhtml validation fails and gives me the following error: character is the first character of a delimiter but occurred as data. I'm

Re: [PHP] Apache child pid segfault + APD

2008-05-03 Thread Mario Guenterberg
On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote: *** glibc detected *** free(): invalid pointer: 0x002a9956d000 *** Hi Waynn, try to use xdebug instead of APD to profile you app. There is a problem with your glibc version and your APD version. In my environment php 5.2.6 with

Re: [PHP] XHTML/CSS problem

2008-05-03 Thread Per Jessen
jeroen vannevel wrote: have a look at www.speedzor.com/woopsie.php, and please tell me where my problem is. i'm stuck at this for hours by now :p thanks in advance, jeroen And the problem is? Your page looks fine to me. /Per Jessen, Zürich -- PHP General Mailing List

Re: [PHP] Any Running Simple Ajax Sample for Php

2008-05-03 Thread paragasu
On Sat, May 3, 2008 at 4:31 AM, Jon L. [EMAIL PROTECTED] wrote: If you aren't already, I recommend putting to use a JS library with Ajax support. Nothing else, they can reduce the browser compatibility overhead coding you'll need to do. You can pick any of many, but I'm more familiar with

Re: [PHP] web based chat app

2008-05-03 Thread paragasu
On Fri, May 2, 2008 at 4:42 AM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote: umm sorry for interupting but RTFM / STFM? btw, if you dont need history you can write an webby irc client On 01/05/2008, paragasu [EMAIL PROTECTED] wrote: you build one. Thats the point of it wasn't it eh?

[PHP] How to create accessible by PHP

2008-05-03 Thread Todd Cary
Are there any examples of creating a dll that can be placed in the dll directory of php that can be accessed by php? My language would be Delphi, however an example in C would suffice. Many thanks... Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: How to create accessible by PHP

2008-05-03 Thread Todd Cary
Todd Cary wrote: Are there any examples of creating a dll that can be placed in the dll directory of php that can be accessed by php? My language would be Delphi, however an example in C would suffice. Many thanks... Todd Sorry about my typo in the Subject! Todd -- PHP General Mailing

[PHP] Complex escape string

2008-05-03 Thread cyaugin
I have this line of code: $q = This is the string that will go into the query: {${mysql_real_escape_string($_GET['searchstring'])}}; What happens then is the user supplies 'foo' as the search string, and I get a debug notice Undefined variable: foo. Why is it treating the value as an identifier

Re: [PHP] Complex escape string

2008-05-03 Thread Casey
On 5/3/08, cyaugin [EMAIL PROTECTED] wrote: I have this line of code: $q = This is the string that will go into the query: {${mysql_real_escape_string($_GET['searchstring'])}}; What happens then is the user supplies 'foo' as the search string, and I get a debug notice Undefined

Re: [PHP] How to create accessible by PHP

2008-05-03 Thread David Otton
2008/5/3 Todd Cary [EMAIL PROTECTED]: Are there any examples of creating a dll that can be placed in the dll directory of php that can be accessed by php? My language would be Delphi, however an example in C would suffice. Custom PHP extensions. I don't know of any Delphi-specific examples,

Re: [PHP] Complex escape string

2008-05-03 Thread Craige Leeder
Why exactly are you doing this? While variable-variables can be of use at times, I don't think this is one of them. How do you use this newly created variable. - Craige On Sat, May 3, 2008 at 1:20 PM, cyaugin [EMAIL PROTECTED] wrote: I have this line of code: $q = This is the string that

RE: [PHP] Complex escape string

2008-05-03 Thread Steven R. Ringwald
-Original Message- From: cyaugin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 10:20 AM To: php-general@lists.php.net Subject: [PHP] Complex escape string I have this line of code: $q = This is the string that will go into the query:

[PHP] Question on PHP 6 and static calls to instance methods.

2008-05-03 Thread Adam Richardson
I have a quick question on what's coming in PHP 6. I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when

[PHP] Question on PHP 6 and static calls to instance methods.

2008-05-03 Thread Adam Richardson
I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when instance methods are called statically. As stated on in

Re: [PHP] web based chat app

2008-05-03 Thread Nitsan Bin-Nun
glad my posts are useful ;) anyway, you can register a channel on any server, so you dont have actually to run one by yourself, there are zillions of networks out there that are just waiting for you. you can also check pjirc, it is a jave applet for online irc chat, its pretty integrate-able, you

[PHP] new $foo-className(); Class name must be a valid object or a string

2008-05-03 Thread Jack Bates
I am trying to load PHP objects stored in a database, where the class name is stored in a column: $object = new $resultSet-getString(1); This fails for the same reason that the following fails: ?php class Foo { public function className() { return 'Foo'; } } $foo = new Foo; $bar =

Re: [PHP] new $foo-className(); Class name must be a valid object or a string

2008-05-03 Thread Stut
On 4 May 2008, at 00:46, Jack Bates wrote: I am trying to load PHP objects stored in a database, where the class name is stored in a column: $object = new $resultSet-getString(1); This fails for the same reason that the following fails: ?php class Foo { public function className() {

Re: [PHP] web based chat app

2008-05-03 Thread paragasu
On Sun, May 4, 2008 at 5:37 AM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote: glad my posts are useful ;) anyway, you can register a channel on any server, so you dont have actually to run one by yourself, there are zillions of networks out there that are just waiting for you. you can also check

Re: [PHP] new $foo-className(); Class name must be a valid object or a string

2008-05-03 Thread Casey
On May 3, 2008, at 4:46 PM, Jack Bates [EMAIL PROTECTED] wrote: I am trying to load PHP objects stored in a database, where the class name is stored in a column: $object = new $resultSet-getString(1); This fails for the same reason that the following fails: ?php class Foo { public

[PHP] Execute command from web browser

2008-05-03 Thread opc
Hi all I try write a code to execute service in my server from web browser I write next /var/www/html/squidup.html ? exec ('/usr/bin/squid/sbin/squid') echo Squid UP ? but, don't work from web browser. What is wrong Thanks, -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Execute command from web browser

2008-05-03 Thread Casey
On 5/3/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all I try write a code to execute service in my server from web browser I write next /var/www/html/squidup.html Should it be... squidup.php? ? exec ('/usr/bin/squid/sbin/squid') echo Squid UP ? but, don't work from

Re: [PHP] Question on PHP 6 and static calls to instance methods.

2008-05-03 Thread Robert Cummings
You would have better luck posing this question to the internals list: [EMAIL PROTECTED] Cheers, Rob. On Sat, 2008-05-03 at 17:32 -0400, Adam Richardson wrote: I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple