Re: [PHP] stream_select() not working on regular files?

2010-02-03 Thread Eric Lee
On Thu, Feb 4, 2010 at 9:20 AM, Dennis J. wrote: > On 02/04/2010 02:03 AM, Ashley Sheridan wrote: > >> On Thu, 2010-02-04 at 01:41 +0100, Dennis J. wrote: >> >>> Hi, >>> I'm trying to implement something similar to"tail -f" in php but I'm >>> running into a problem. >>> The issue occurs when I'v

Re: [PHP] PHP User

2010-02-03 Thread Paul M Foster
On Thu, Feb 04, 2010 at 03:13:00PM +1030, abby ragz wrote: > > Hi, > > I used PHP 3 years back and was a standard user. > > but now I want to update myself and do self - study . > > > > Please advise from where should I start. > > Any good site recommendations. Programming PHP by Lerdorf,

[PHP] PHP User

2010-02-03 Thread abby ragz
Hi, I used PHP 3 years back and was a standard user. but now I want to update myself and do self - study . Please advise from where should I start. Any good site recommendations. Thanks in advance:) _

Re: [PHP] PHP Manual problems

2010-02-03 Thread Jochem Maas
Op 2/4/10 1:32 AM, clanc...@cybec.com.au schreef: > Recently I have frequently found, especially in the morning (GMT 2200 - > 0200), that I can > open a bookmark in the manual, for example > http://www.php.net/manual/en/ref.image.php. > But if I then do a search of any type I get 'The page cannot

Re: [PHP] stream_select() not working on regular files?

2010-02-03 Thread Dennis J.
On 02/04/2010 02:03 AM, Ashley Sheridan wrote: On Thu, 2010-02-04 at 01:41 +0100, Dennis J. wrote: Hi, I'm trying to implement something similar to"tail -f" in php but I'm running into a problem. The issue occurs when I've reached the end of the file. From here I basically have to loop until ne

Re: [PHP] stream_select() not working on regular files?

2010-02-03 Thread Ashley Sheridan
On Thu, 2010-02-04 at 01:41 +0100, Dennis J. wrote: > Hi, > I'm trying to implement something similar to "tail -f" in php but I'm > running into a problem. > The issue occurs when I've reached the end of the file. From here I > basically have to loop until new lines get appended to the file but

[PHP] stream_select() not working on regular files?

2010-02-03 Thread Dennis J.
Hi, I'm trying to implement something similar to "tail -f" in php but I'm running into a problem. The issue occurs when I've reached the end of the file. From here I basically have to loop until new lines get appended to the file but I would like to respond immediately when then happens. There

Re: [PHP] PHP Manual problems

2010-02-03 Thread Ashley Sheridan
On Thu, 2010-02-04 at 11:32 +1100, clanc...@cybec.com.au wrote: > Recently I have frequently found, especially in the morning (GMT 2200 - > 0200), that I can > open a bookmark in the manual, for example > http://www.php.net/manual/en/ref.image.php. > But if I then do a search of any type I get '

[PHP] PHP Manual problems

2010-02-03 Thread clancy_1
Recently I have frequently found, especially in the morning (GMT 2200 - 0200), that I can open a bookmark in the manual, for example http://www.php.net/manual/en/ref.image.php. But if I then do a search of any type I get 'The page cannot be displayed'. I then cannot reach any page, including th

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Thanks for the links and advise guys! Of all I found this most interesting as it would run native: >check out http://www.php-compiler.net/doku.php unfortunately I think this project is dead or at best stagnant because the server is slower than a 99 year old on weed and forums link dead. Docume

Re: [PHP] Can't get my PHP-generated RSS to serve properly

2010-02-03 Thread Michael A. Peters
Brian Dunning wrote: Hey all - Glad some of you found that sample data helpful. :-) I use PHP/MySQL to generate RSS feeds of my podcasts. The feed is submitted as *.xml and I use .htaccess to redirect it to my PHP document. The start of the document sets the right header and outputs the to p

Re: [PHP] Can't get my PHP-generated RSS to serve properly

2010-02-03 Thread Brian Dunning
Ugh. Stupid me. Thanks Robert. It was a type elsewhere in my code further down the page. I was so hung up thinking it was an encoding or MIME or delivery problem I didn't think to check my PHP. Someone slap me upside the head please. -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Bastien Koert
On Wed, Feb 3, 2010 at 2:37 PM, Robert Cummings wrote: > Ashley Sheridan wrote: >> >> On Wed, 2010-02-03 at 14:02 -0500, Robert Cummings wrote: >> >>> Ryan S wrote: Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place

Re: [PHP] Can't get my PHP-generated RSS to serve properly

2010-02-03 Thread Robert Cummings
Brian Dunning wrote: Hey all - Glad some of you found that sample data helpful. :-) I use PHP/MySQL to generate RSS feeds of my podcasts. The feed is submitted as *.xml and I use .htaccess to redirect it to my PHP document. The start of the document sets the right header and outputs the to

RE: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread David Murphy
Ryan, You may want to consider: NuSphere PhpDock - unique PHP deployment solution PhpDock is a deployment platform for PHP applications. PhpDock enables you to deploy PHP web application as a Stand Alone Windows Desktop application w/o any changes in the code. PhpDock combines NuSphere's powerf

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Robert Cummings
Ashley Sheridan wrote: On Wed, 2010-02-03 at 14:02 -0500, Robert Cummings wrote: Ryan S wrote: Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place than any of the demos and graphics i have seen of GTK. Was also looking at GTK-Bui

[PHP] Can't get my PHP-generated RSS to serve properly

2010-02-03 Thread Brian Dunning
Hey all - Glad some of you found that sample data helpful. :-) I use PHP/MySQL to generate RSS feeds of my podcasts. The feed is submitted as *.xml and I use .htaccess to redirect it to my PHP document. The start of the document sets the right header and outputs the to prevent PHP from tryi

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ashley Sheridan
On Wed, 2010-02-03 at 14:02 -0500, Robert Cummings wrote: > > Ryan S wrote: > > Thanks for the reply Michael, Robert and Jochem, > > > > makes sense, a native windows app is going to look more in place than any > > of the demos and graphics i have seen of GTK. > > > > Was also looking at GTK-B

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Robert Cummings
Ryan S wrote: Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place than any of the demos and graphics i have seen of GTK. Was also looking at GTK-Builder, unfortunately you really have to hunt for each scrap of new info - which is

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place than any of the demos and graphics i have seen of GTK. Was also looking at GTK-Builder, unfortunately you really have to hunt for each scrap of new info - which is why I'm guessing

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Robert Cummings
Robert Cummings wrote: Ryan S wrote: Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is well

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Michael A. Peters
Ryan S wrote: I need to make a few standalones programs that will run (mostly) on Windows... is there any other way that I have not found that i can use PHP instead of learning something new like .NET? Use the best tool for the job. I suspect that if your primary target is MS you will have a

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Robert Cummings
Ryan S wrote: Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is well) but now I have have to

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Jochem Maas
Op 2/3/10 6:09 PM, Ryan S schreef: > Hey Guys, > > Coming from a C and Java background I just loved PHP and have been > programming with it for years thanks in a large part to the kind people on > this list... present and past (Immediately the name John Holmes comes to > mind.. i hope the dude

[PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is well) but now I have have to leave PHP or sp

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-03 Thread Ryan S
> I think what you are looking for is $input2->textContent in PHP. Hey Andrew (and everyone else was was kind enough to write back) ! Found the solution, this is what i am using (and it works!), and i hope it helps anyone else who finds themselves in the spot i found myself $inputs2 = $dom->

Re: [PHP] session variables and SVG documents

2010-02-03 Thread Adam Richardson
On Wed, Feb 3, 2010 at 8:20 AM, Ashley Sheridan wrote: > On Wed, 2010-02-03 at 10:49 +0100, Aurelie REYMUND wrote: > > > Hello, > > > > unfortunately, it does not suite my needs. The image must be clickable. > The > > application I'm developping reads data from a database and display the > > info

Re: [PHP] session variables and SVG documents

2010-02-03 Thread tedd
At 10:49 AM +0100 2/3/10, Aurelie REYMUND wrote: Hello, unfortunately, it does not suite my needs. The image must be clickable. The application I'm developping reads data from a database and display the information graphically. The user must be able to click on some elements of the picture, and

Re: [PHP] session variables and SVG documents

2010-02-03 Thread Ashley Sheridan
On Wed, 2010-02-03 at 10:49 +0100, Aurelie REYMUND wrote: > Hello, > > unfortunately, it does not suite my needs. The image must be clickable. The > application I'm developping reads data from a database and display the > information graphically. The user must be able to click on some elements of

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-03 Thread Michael A. Peters
Michael A. Peters wrote: $website_data = new tidy('dom_test.html',$tidy_config); Doh! Should be $website_data = new tidy('dom_test.html',$tidy_config,'utf8'); Otherwise it has the same problem with multibyte characters that loadHTML() has. But with the 'utf8' specified it works beautifull

Re: [PHP] session variables and SVG documents

2010-02-03 Thread Aurelie REYMUND
Hello, unfortunately, it does not suite my needs. The image must be clickable. The application I'm developping reads data from a database and display the information graphically. The user must be able to click on some elements of the picture, and I have to store the information the user clicked on

Re: [PHP] database abstraction layer

2010-02-03 Thread Lester Caine
Ashley Sheridan wrote: On Tue, 2010-02-02 at 23:19 +0100, Rene Veerman wrote: function getMax($table, $field) If I saw this sort of code I'd be appalled! It's possibly the worst way to get the auto increment value. You won't notice it testing the site out on your own, but all hell will break