[PHP] Re: Building SoapClient as an extension

2010-09-20 Thread Jon Drukman
Phpster gmail.com> writes: > > It's already done > > http://wso2.com/products/web-services-framework/php/ > I don't know what that has to do with what I asked. I found the answer on my own: ./configure --enable-soap=shared Produces a modules/soap.so file that can be loaded in to php at run

Re: [PHP] Building SoapClient as an extension

2010-09-20 Thread Phpster
It's already done http://wso2.com/products/web-services-framework/php/ Bastien Sent from my iPod On Sep 20, 2010, at 19:20, Jon Drukman wrote: > Is it possible to build SoapClient as a loadable extension? For various > reasons, I don't want to have to recompile PHP from scratch. It would

Re: [PHP] Invalid chars in XML

2010-09-20 Thread Ellis Antaya
CDATA tags is what you need --- Ellis (Sent from my iPod) On 2010-09-20, at 16:57, Bastien Koert wrote: > On Mon, Sep 20, 2010 at 4:07 PM, robert mena wrote: >> Hi, >> >> I am trying to parse a XML file with simplexml_load but it gave me error. >> While inspecting the contents I found a & in

[PHP] Building SoapClient as an extension

2010-09-20 Thread Jon Drukman
Is it possible to build SoapClient as a loadable extension? For various reasons, I don't want to have to recompile PHP from scratch. It would be much simpler to just distribute another .so and .ini file. How would I do that, if it's possible? -jsd- -- PHP General Mailing List (http://www.php

[PHP] Re: not able to connect to MySQL

2010-09-20 Thread MikeB
Bastien Koert wrote: On Mon, Sep 20, 2010 at 3:37 PM, MikeB wrote: I have defined (just for testing) a user in my SQL named "pubuser" and granted it access to a database "publications." Of course I also created the database and two tables. I can access and manipulate the tables via phpMyAdmin

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Bastien Koert
On Mon, Sep 20, 2010 at 4:52 PM, Andy McKenzie wrote: > Here's a related question maybe one of you can answer:  is there any > place in HTML (not PHP, but actually in HTML) where there's a > difference between a single quote and a double quote?  As nearly as I > can tell, it shouldn't ever matter.

Re: [PHP] Invalid chars in XML

2010-09-20 Thread Bastien Koert
On Mon, Sep 20, 2010 at 4:07 PM, robert mena wrote: > Hi, > > I am trying to parse a XML file with simplexml_load but it gave me error. >  While inspecting the contents I found a & inside the value of a tag. > something & something. > > After I've removed the & everything went fine.  So which char

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
Here's a related question maybe one of you can answer: is there any place in HTML (not PHP, but actually in HTML) where there's a difference between a single quote and a double quote? As nearly as I can tell, it shouldn't ever matter. If that's the case, using double-quotes to enclose an echo ge

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:59 PM, Peter Lind wrote: > On 20 September 2010 21:56, Andy McKenzie wrote: >> On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: >>> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey f

[PHP] Invalid chars in XML

2010-09-20 Thread robert mena
Hi, I am trying to parse a XML file with simplexml_load but it gave me error. While inspecting the contents I found a & inside the value of a tag. something & something. After I've removed the & everything went fine. So which chars I should not put in my file? Should I use some conversion fun

[PHP] Re: Auto-generating HTML

2010-09-20 Thread Carlos Medina
Am 20.09.2010 20:56, schrieb Andy McKenzie: Hey folks, I have the feeling this is a stupid question, but I can't even find anything about it. Maybe I'm just not searching for the right things. Here's the problem. I'm writing a lot of pages, and I hate going in and out of PHP. At the sa

Re: [PHP] not able to connect to MySQL

2010-09-20 Thread Bastien Koert
On Mon, Sep 20, 2010 at 3:37 PM, MikeB wrote: > I have defined (just for testing) a user in my SQL named "pubuser" and > granted it access to a database "publications." Of course I also created the > database and two tables. > > I can access and manipulate the tables via phpMyAdmin and I can log i

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Peter Lind
On 20 September 2010 21:56, Andy McKenzie wrote: > On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: >> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: >>> >>> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: >>> >>> > Hey folks, >>> > >>> >  I have the feeling this is a stupid quest

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: > On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: >> >> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: >> >> > Hey folks, >> > >> >  I have the feeling this is a stupid question, but I can't even find >> > anything about it.  Maybe I

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:47 PM, Steve Staples wrote: > On Mon, 2010-09-20 at 14:56 -0400, Andy McKenzie wrote: >> Hey folks, >> >>   I have the feeling this is a stupid question, but I can't even find >> anything about it.  Maybe I'm just not searching for the right things. >> >>   Here's the pro

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Rick Pasotto
On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: > > On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > > > Hey folks, > > > > I have the feeling this is a stupid question, but I can't even find > > anything about it. Maybe I'm just not searching for the right things. > > > > Here's

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Steve Staples
On Mon, 2010-09-20 at 14:56 -0400, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going in > and

[PHP] not able to connect to MySQL

2010-09-20 Thread MikeB
I have defined (just for testing) a user in my SQL named "pubuser" and granted it access to a database "publications." Of course I also created the database and two tables. I can access and manipulate the tables via phpMyAdmin and I can log in to sql using pubuser via the command-line interfac

Re: [PHP] Auto-generating HTML

2010-09-20 Thread a...@ashleysheridan.co.uk
He just said that's what he didn't want to do! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "TR Shaw" Date: Mon, Sep 20, 2010 20:02 Subject: [PHP] Auto-generating HTML To: "Andy McKenzie" Cc: "PHP General list" On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote:

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Paul M Foster
On Mon, Sep 20, 2010 at 02:56:47PM -0400, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going i

Re: [PHP] Auto-generating HTML

2010-09-20 Thread a...@ashleysheridan.co.uk
Have you looked at heredoc and nowdoc in the manual? They could be what you're after, as they preserve the output in the way you write it. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Andy McKenzie" Date: Mon, Sep 20, 2010 19:56 Subject: [PHP] Auto-generating HTM

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Marc Guay
What sort of results do you get with echo " Page Title This is the page body "; or similar? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto-generating HTML

2010-09-20 Thread TR Shaw
On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going in > and out of

[PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
Hey folks, I have the feeling this is a stupid question, but I can't even find anything about it. Maybe I'm just not searching for the right things. Here's the problem. I'm writing a lot of pages, and I hate going in and out of PHP. At the same time, I want my HTML to be legible. When you

Re: [PHP] Re: GD Watermark Question-

2010-09-20 Thread tedd
At 12:21 PM -0400 9/19/10, TR Shaw wrote: On Sep 19, 2010, at 11:45 AM, tedd wrote: At 6:56 PM -0400 9/17/10, TR Shaw wrote: On Sep 17, 2010, at 6:49 PM, Ashley Sheridan wrote: > At the end of the day, if you want to prevent people downloading your images, then just don't show them the i

Re: [PHP] Re: GD Watermark Question-

2010-09-20 Thread tedd
At 12:32 PM -0400 9/19/10, TR Shaw wrote: On Sep 19, 2010, at 11:50 AM, tedd wrote: At 12:36 AM +0100 9/18/10, Ashley Sheridan wrote: I know this is getting a little off-topic here, but surely the way a jpeg destroys data in an image would destroy the stenography information too? To the h

Re: [PHP] PHP Email Question

2010-09-20 Thread chris h
> Ignore the other parameters unless you are very familiar with RFCs 2821, > 2822 and their associated RFCs > I would advise against ignoring the other parameters. Doing so will pretty much guarantee having your email end up in SPAM. Instead look up the examples in the docs, or better yet use s

Re: [PHP] PHP Email Question

2010-09-20 Thread Jim Lucas
Joe Jackson wrote: > Hi > > All I need is in the message body of the email is to include more data from > the form. At present it only displays the 'message' field value in the body > of the email. I need to add further information into the email from the > form such as 'address' 'name' and 'tel

Re: [PHP] PHP Email Question

2010-09-20 Thread TR Shaw
Example: $to = 'nob...@example.com'; $subject = 'the subject'; $message = "formdata=" . serialize($form_values); $headers = 'From: webmas...@example.com' . "\r\n" . 'Reply-To: webmas...@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); You c

Re: [PHP] PHP Email Question

2010-09-20 Thread Joe Jackson
Hi All I need is in the message body of the email is to include more data from the form. At present it only displays the 'message' field value in the body of the email. I need to add further information into the email from the form such as 'address' 'name' and 'telephone number' When I have trie