Re: [PHP] Auto-generating HTML

2010-09-21 Thread Simcha Younger
On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey folks, > > 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 look at it, that's kind of a problem, though... for instance > (assume this had

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Benjamin Hawkes-Lewis
On 20 Sep 2010, at 22:02, Bastien Koert wrote: > The standard suggests that double quotes are to be used for HTML > attributes. Where? -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Database Administration

2010-09-21 Thread Tom Barrett
Hi I need to build a custom client management app, which will build and manage a database per client. This means that on top of the usual sql crud, it needs to be able to create databases, add/edit/delete database users, create tables. Is there a way for me to do this nicely as PHP solution? am I

Re: [PHP] Database Administration

2010-09-21 Thread Peter Lind
On 21 September 2010 11:48, Tom Barrett wrote: > Hi > > I need to build a custom client management app, which will build and manage > a database per client. This means that on top of the usual sql crud, it > needs to be able to create databases, add/edit/delete database users, create > tables. > >

RE: [PHP] Database Administration

2010-09-21 Thread Jangita
Possible. Google phpmyadmin I believe it is completely written in PHP and does complete database administration (has some weaknesses on stored procedures though in my view) Jangita | +254 76 918383 | MSN & Y!: jang...@yahoo.com Skype: jangita | GTalk: jangita.nyag...@gmail.com -Original Mes

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Richard Quadling
On 20 September 2010 19:56, 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

RES: [PHP] Invalid chars in XML

2010-09-21 Thread Alejandro Michelin Salomon
Hi I am working with xml, in portuguese, and i have many problems with special characters. I find this code to work with this problem... When create xml ExpandEntities : function ExpandEntities( $sText ) { $trans = array('&' => '&', "'" => ''',

RE: [PHP] Database Administration

2010-09-21 Thread Jay Blanchard
[snip] I need to build a custom client management app, which will build and manage a database per client. This means that on top of the usual sql crud, it needs to be able to create databases, add/edit/delete database users, create tables. Is there a way for me to do this nicely as PHP solution?

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Andy McKenzie
On Tue, Sep 21, 2010 at 3:32 AM, Simcha Younger wrote: > On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > > >> Hey folks, >> >>  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 look at it, that

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
On Thu, 16 Sep 2010, Nathan Rixham wrote: > Floyd Resler wrote: >> I need to send encrypted email. Can I use our server's signed certificate we >> use for Apache? > > Yes you can use the servers certificate, you can use any x509 > certificate you like - however, I'd recommend checking out > starts

Re: [PHP] Re: Sending Encrypted Email

2010-09-21 Thread Floyd Resler
On Sep 21, 2010, at 1:00 AM, Erik L. Arneson wrote: > On Thu, 16 Sep 2010, Nathan Rixham wrote: >> Floyd Resler wrote: >>> I need to send encrypted email. Can I use our server's signed certificate >>> we use for Apache? >> >> Yes you can use the servers certificate, you can use any x509 >> cert

RE: [PHP] Auto-generating HTML

2010-09-21 Thread Bob McConnell
From: Andy McKenzie > I think the main thing I'm seeing is that there isn't a single, > accepted, simple way to do this: no matter what I do, it will be a > workaround of some type. Either I'm adding complexity (a function to > convert everything), or I'm adding lines (heredoc/nowdoc seem to > r

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
On Tue, 21 Sep 2010, Floyd Resler wrote: > I got it all figured out. The part I was missing was combining the > certificate with the key and giving it to the end-user to install on > their system. I was able to use the Web server's certificate for the > encryption. The interesting thing is that

Re: [PHP] Re: Sending Encrypted Email

2010-09-21 Thread Floyd Resler
On Sep 21, 2010, at 11:15 AM, Erik L. Arneson wrote: > On Tue, 21 Sep 2010, Floyd Resler wrote: >> I got it all figured out. The part I was missing was combining the >> certificate with the key and giving it to the end-user to install on >> their system. I was able to use the Web server's certi

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
On Tue, 21 Sep 2010, Floyd Resler wrote: > I used OpenSSL to generate the P12 file (I haven't actually sent this > to anyone since I'm still testing). So, I assumed that it was okay > for distribution. Perhaps not. At any rate, I like the idea of the > OpenPGP better. I'll see how to do that.

Re: [PHP] Auto-generating HTML

2010-09-21 Thread tedd
At 2:56 PM -0400 9/20/10, 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. At the s

Re: [PHP] Database Administration

2010-09-21 Thread tedd
At 10:48 AM +0100 9/21/10, Tom Barrett wrote: Hi I need to build a custom client management app, which will build and manage a database per client. This means that on top of the usual sql crud, it needs to be able to create databases, add/edit/delete database users, create tables. Is there a wa

Re: [PHP] PHP Email Question

2010-09-21 Thread J Ravi Menon
Just on this topic, I found swiftmailer library to be really useful esp. in dealing with 'template' emails with custom variables per recipient: http://swiftmailer.org/ The e.g. on email template processing: http://swiftmailer.org/docs/decorator-plugin-howto There are batchSend() functionalities