php-general Digest 4 May 2008 15:13:02 -0000 Issue 5440

2008-05-04 Thread php-general-digest-help
php-general Digest 4 May 2008 15:13:02 - Issue 5440 Topics (messages 273848 through 273855): Re: new $foo-className(); Class name must be a valid object or a string 273848 by: Stut 273850 by: Casey Re: web based chat app 273849 by: paragasu 273854 by:

Re: [PHP] web based chat app

2008-05-04 Thread Richard Heyes
i did try to find opensource php + AJAX base IRC client. but found none. but there is a PEAR library available to connect to IRC server. i will look into it and try to write some IRC client. it gonna be fun ;) Not having read the rest of the thread, I got mildly interested in this and made

[PHP] Web page excerpt editor

2008-05-04 Thread Mike Potter
We are looking for a script similar to SnippetMaster (http://www.snippetmaster.com/). We want to give the non-html-coding client the ability to make edits to one part of one page on their Web site on a weekly or near-daily basis. We are looking for something free and turnkey, so we can move on to

Re: [PHP] web based chat app

2008-05-04 Thread paragasu
On Sun, May 4, 2008 at 4:47 PM, Richard Heyes [EMAIL PROTECTED] wrote: i did try to find opensource php + AJAX base IRC client. but found none. but there is a PEAR library available to connect to IRC server. i will look into it and try to write some IRC client. it gonna be fun ;)

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Paul Scott
On Sun, 2008-05-04 at 10:12 -0500, Mike Potter wrote: Does anyone have any experience with something else? Alternately, has anyone written something they'd be willing to share under GPL? FCKEditor, TinyMCE and a host of others. All JS based, so not really relevant on a PHP list though --Paul

Re: [PHP] web based chat app

2008-05-04 Thread Richard Heyes
well, good example. but, it is not very convenient. i saw the code, it used iframe and refreshing the page using meta tags. but, this method doesn't work on all browser. if i am not mistaken have problem with IE browser. Well it's just an example, but you could use multiple methods of

[PHP] retrieve email address

2008-05-04 Thread Yui Hiroaki
I would like to retrieve email address from email with regular expression. --email . . . From: [EMAIL PROTECTED] . . . -- if anybody know how to do it, please send me email. Regards, Yui -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] retrieve email address

2008-05-04 Thread Richard Heyes
I would like to retrieve email address from email with regular expression. --email . . . From: [EMAIL PROTECTED] . . . -- if anybody know how to do it, please send me email. Can, worms, everywhere. Try looking at the Mail::RFC822 package in PEAR.

[PHP] newbie needs help with insert('hop.php') problem

2008-05-04 Thread milt
I am trying to get an order page working to submit credit card orders and I am having trouble with the order page. the included file HOP.php is in the same directory and it has both read and write permissions. I am on a Linux and PHP 5.2.3 server. there are no PHP error messages. I have this page

Re: [PHP] Execute command from web browser

2008-05-04 Thread Craige Leeder
Well, you're missing a semi-colin after the exec() statement, and the echo. If it wasn't the syntax error, make sure the program exists with file_exists(); - Craige On Sat, May 3, 2008 at 11:28 PM, [EMAIL PROTECTED] wrote: Hi all I try write a code to execute service in my server from

Re: [PHP] web based chat app

2008-05-04 Thread Jon L.
IFrames have their issues cause they're meant to be separate documents; making the documents interact is the challenge. But I think you're going to have to use some sort of HTTP Streaming [ http://ajaxpatterns.org/HTTP_Streaming] to get it to receive messages interactively. You can use IFrames

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Mike Potter
Oops, I replied to Paul only. On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote: FCKEditor, TinyMCE and a host of others. All JS based, so not really relevant on a PHP list though Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I thought (hoped) there would be more. Ski

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Robert Cummings
On Sun, 2008-05-04 at 17:27 -0500, Mike Potter wrote: Oops, I replied to Paul only. On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote: FCKEditor, TinyMCE and a host of others. All JS based, so not really relevant on a PHP list though Whereas, SnippetMaster *is* PHP-based. Sad if

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

2008-05-04 Thread Nathan Nobbe
On 5/3/08, Adam Richardson [EMAIL PROTECTED] wrote: 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

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Mike Potter
On Sun, May 4, 2008 at 5:49 PM, Robert Cummings wrote: Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I thought (hoped) there would be more. When you can't find what you want, feel free to pick up you keyboard and create the solution. Then be sure to share it with

[PHP] php page scrapping challenge!

2008-05-04 Thread paragasu
well, this going to be fun. the website i am trying to scrapped is http://www.cathayholdings.com.my/ it is a movie cinema website with very irritating design. They really tried to imposed the security to the point it is really not user friendly. The whole website written in asp. I really hate to

Fwd: [PHP] php page scrapping challenge!

2008-05-04 Thread Craige Leeder
Hey Paragasu, Sounds like fun, though not really that difficult. It is a very horrible site, but it shouldnt' take that much to create the script for. They do not, in-fact, use Javascript to pull the movie times from the database. They reload the page with the added querystring variables

Re: [PHP] php page scrapping challenge!

2008-05-04 Thread paragasu
On Mon, May 5, 2008 at 12:06 PM, Craige Leeder [EMAIL PROTECTED] wrote: Hey Paragasu, Sounds like fun, though not really that difficult. It is a very horrible site, but it shouldnt' take that much to create the script for. They do not, in-fact, use Javascript to pull the movie times from