Re: [PHP] Screenshot from web page

2007-10-15 Thread Miguel J. Jiménez
Gevorg Harutyunyan escribió: Hi, I would like to make web page screenshot and generate an image for example .jpg or .png using PHP,Apache. If any one has experiance in doing that please help. I know that there are lot of services like that, but I don't want to use them. In real I need that to

Re: [PHP] A two flavored post

2007-10-15 Thread Nathan Nobbe
i was just working on some stuff and remembered how ive handled a problem like this in the past. the issue you have to wrestle w/ is the anchor tag will perform its normal behavior after the onclick handler has finished executing. basically, onclick is just part of the process for the anchor tag.

Re: [PHP] Classes - Dumb question

2007-10-15 Thread Nathan Nobbe
On 10/15/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > > On Monday 15 October 2007, Nathan Nobbe wrote: > > On 10/15/07, tedd <[EMAIL PROTECTED]> wrote: > > > I understand the class concept. But, I am not familiar with autoload. > > > > > > Stut also made mention of that, so I shall investigate p

Re: [PHP] Classes - Dumb question

2007-10-15 Thread Larry Garfield
On Monday 15 October 2007, Nathan Nobbe wrote: > On 10/15/07, tedd <[EMAIL PROTECTED]> wrote: > > I understand the class concept. But, I am not familiar with autoload. > > > > Stut also made mention of that, so I shall investigate post haste. > > __autoload is pretty tight; but if you dont want to

Re: [PHP] HTML Parse Issue

2007-10-15 Thread Jim Lucas
Jim Lucas wrote: [EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] Two MySQL instances in one server

2007-10-15 Thread mike
On 10/15/07, Matt Arnilo S. Baluyos (Mailing Lists) <[EMAIL PROTECTED]> wrote: > I have tried this once but PHP can only connect to one MySQL server > because it can only read one socket file at a time. are you sure? I am using multiple datasources (not socket ones) but I see absolutely no reason

[PHP] Two MySQL instances in one server

2007-10-15 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all, Would it be possible to have two MySQL instances running on one server (each having different ports) and then have only one running Apache server with PHP? I have tried this once but PHP can only connect to one MySQL server because it can only read one socket file at a time. As much as po

Re: [PHP] Classes - Dumb question

2007-10-15 Thread Nathan Nobbe
On 10/15/07, tedd <[EMAIL PROTECTED]> wrote: > > I understand the class concept. But, I am not familiar with autoload. > > Stut also made mention of that, so I shall investigate post haste. __autoload is pretty tight; but if you dont want to have all your class files in the same directory, i sugg

RE: [PHP] Classes - Dumb question

2007-10-15 Thread tedd
At 5:42 AM -0500 10/15/07, Jay Blanchard wrote: [snip] With a class you can inherit all of the base class functionality into a new customer type. You do not have to break open the base class to add a case, you just have to create an extension class. Documentation is unique to each class. No ma

Re: [PHP] Parsing Strings

2007-10-15 Thread Philip Thompson
On 10/15/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > > Philip Thompson wrote: > > ... > > $str = 'thisIsAStringIHave'; > > echo ucfirst(preg_replace('/([A-Z])/', ' $1', $str)); > ?> > > HTH Ha! I knew there was a much easier way. My brain is still not working this Monday morning

Re: [PHP] Parsing Strings

2007-10-15 Thread Richard Heyes
Philip Thompson wrote: > ... HTH -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing Strings

2007-10-15 Thread Andrew Ballard
On 10/15/07, Philip Thompson <[EMAIL PROTECTED]> wrote: > Hi. > > Before I try and reinvent the wheel, I thought I'd query the list. I want to > take this string: > > thisIsAStringIHave > > and turn it into: > > This Is A String I Have > > Essentially, I want to capitalize the first letter (ucfirst

[PHP] Parsing Strings

2007-10-15 Thread Philip Thompson
Hi. Before I try and reinvent the wheel, I thought I'd query the list. I want to take this string: thisIsAStringIHave and turn it into: This Is A String I Have Essentially, I want to capitalize the first letter (ucfirst) and then put a space in front of each uppercase letter. I didn't find a P

Re: [PHP] HTML Parse Issue

2007-10-15 Thread Jim Lucas
[EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] please advise

2007-10-15 Thread Dare Williams
Dear Pal, As a PHP Programmer, I will advice you to go for an Application called WAMP which is the combination of MS WINDOWS PLATFORM, APACHE WEBSERVER, MYSQL DATABASE and PHP as Language. I have been working with this application and have used it in developing different applications on P

[PHP] please advise

2007-10-15 Thread Philip Thompson
Sorry... meant to send this to the list -- Forwarded message -- From: Philip Thompson <[EMAIL PROTECTED]> Date: Oct 15, 2007 9:47 AM Subject: Re: [PHP] please advise To: Louise Sanders <[EMAIL PROTECTED]> On 10/15/07, Louise Sanders <[EMAIL PROTECTED]> wrote: > > Hi There > >

Re: [PHP] Classes - Dumb question

2007-10-15 Thread Nathan Nobbe
On 10/15/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip] > >With a class you can inherit all of the base class functionality > >into a new customer type. You do not have to break open the base > >class to add a case, you just have to create an extension class. > >Documentation is unique to

RE: [PHP] Classes - Dumb question

2007-10-15 Thread Jay Blanchard
[snip] >With a class you can inherit all of the base class functionality >into a new customer type. You do not have to break open the base >class to add a case, you just have to create an extension class. >Documentation is unique to each class. No matter what, you have to break something open t