RE: [PHP] php cURL with SSL problem ??

2008-11-25 Thread Boyd, Todd M.
> -Original Message- > From: LKSunny [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 2:32 PM > To: php-general@lists.php.net > Subject: [PHP] php cURL with SSL problem ?? > > Hello, > > i want get https data with cURL, however just can via set > curl_setopt($ch, CURLOPT_SSL_V

[PHP] php cURL with SSL problem ??

2008-11-25 Thread LKSunny
Hello, i want get https data with cURL, however just can via set curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); by the moment, i need turn curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); i got some idea is "ca certificates", however how can i do it ? this is crt file ? can not make from openss

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Eric Butera
On Tue, Nov 25, 2008 at 1:20 PM, uaca man <[EMAIL PROTECTED]> wrote: > 2008/11/25 <[EMAIL PROTECTED]>: >> >>> Life's too short to not have code completion! :D >> >> I tried to help a guy out yesterday, and his silly code completion thingie >> ended up writing bogus HTML as I typed... >> >> I don'

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 12:54 -0500, Eric Butera wrote: > On Tue, Nov 25, 2008 at 10:03 AM, Ashley Sheridan > <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-11-25 at 12:54 -0200, uaca man wrote: > >> I use vs.php to edit php and dreamweaver to html and im happy with those > >> two. > >> > >> 2008/11/2

Re: [PHP] PHP friendly web software?

2008-11-25 Thread uaca man
2008/11/25 <[EMAIL PROTECTED]>: > >> Life's too short to not have code completion! :D > > I tried to help a guy out yesterday, and his silly code completion thingie > ended up writing bogus HTML as I typed... > > I don't NEED code completion, thank you very much, I know what I'm doing, so > get

Re: [PHP] PHP friendly web software?

2008-11-25 Thread ceo
> Life's too short to not have code completion! :D I tried to help a guy out yesterday, and his silly code completion thingie ended up writing bogus HTML as I typed... I don't NEED code completion, thank you very much, I know what I'm doing, so get out of my way! :-p (I've tried them

Re: [PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread ceo
> I came across a similar problem using an AJAX thing, with MSWord > characters in the text. The way round the problem was to enclose > everything inside CDATA blocks, which made the browsers happy to > receive as the entities only had to be understood by the HTML browser > now, not the XML pa

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Eric Butera
On Tue, Nov 25, 2008 at 10:03 AM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > On Tue, 2008-11-25 at 12:54 -0200, uaca man wrote: >> I use vs.php to edit php and dreamweaver to html and im happy with those >> two. >> >> 2008/11/25 John Boy <[EMAIL PROTECTED]>: >> > Can anyone recommend a wysiwyg

RE: [PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread Boyd, Todd M.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 11:28 AM > To: php-general@lists.php.net > Subject: Re: [PHP] HTMLEntities as NUMERIC for XML > > > > I came across a similar problem using an AJAX thing, with MSWord > > characters

[PHP] Re: HTMLEntities as NUMERIC for XML

2008-11-25 Thread Al
[EMAIL PROTECTED] wrote: After reading this: http://validator.w3.org/feed/docs/error/UndefinedNamedEntity.html (all praise W3.org!) I am searching for a PHP library function that will convert all my &abc; into { I have a zillion of these things from converting stupid MS Word characters into

Re: [PHP] Re: HTMLEntities as NUMERIC for XML

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 17:09 +, [EMAIL PROTECTED] wrote: > I already had a function to go from weird MS-Word characters to HTML > Entities, which I was putting into the DB as such. > > > > In retrospect, that function should have been called at output... Actually, I > knew it should have,

[PHP] Re: HTMLEntities as NUMERIC for XML

2008-11-25 Thread ceo
I already had a function to go from weird MS-Word characters to HTML Entities, which I was putting into the DB as such. In retrospect, that function should have been called at output... Actually, I knew it should have, but convincing my co-workers was the proverbial brick wall, so I cheated

[PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread ceo
After reading this: http://validator.w3.org/feed/docs/error/UndefinedNamedEntity.html (all praise W3.org!) I am searching for a PHP library function that will convert all my &abc; into { I have a zillion of these things from converting stupid MS Word characters into something that will,

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 12:54 -0200, uaca man wrote: > I use vs.php to edit php and dreamweaver to html and im happy with those two. > > 2008/11/25 John Boy <[EMAIL PROTECTED]>: > > Can anyone recommend a wysiwyg web development software which is php > > friendly, i.e. you can design the page in wy

Re: [PHP] PHP friendly web software?

2008-11-25 Thread uaca man
I use vs.php to edit php and dreamweaver to html and im happy with those two. 2008/11/25 John Boy <[EMAIL PROTECTED]>: > Can anyone recommend a wysiwyg web development software which is php > friendly, i.e. you can design the page in wysiwyg and insert php code into > the html without destroying

Re: [PHP] getStatic

2008-11-25 Thread ceo
str_replace will take arrays for "before" and "after" sequences. So, build arrays, and do ONE str_replace and Bob's your uncle. Another option, a bit crude, but effective, would be to wrap your template-y bit in a function that calls 'extract' on an array of variable names. class Templat

[PHP] Re: PHP friendly web software?

2008-11-25 Thread Chris Jiang
I'd say it's not a really good idea to mix code and layout together. Try using some of the template systems, or maybe XML/XSL instead. I honestly don't know, and doesn't think if there is, or will ever be any page editor does it well as you've demanded. Can anyone recommend a wysiwyg web dev

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Edgar da Silva (Fly2k)
Have you tried Delphi for PHP? So, mixing HTML and PHP code is a good choice when the PHP code is only about how present the information. If you are mixing your bussines logic and presentation you need learn MVC layers. 2008/11/25 John Boy <[EMAIL PROTECTED]>: > Can anyone recommend a wysiwyg we

[PHP] PHP friendly web software?

2008-11-25 Thread John Boy
Can anyone recommend a wysiwyg web development software which is php friendly, i.e. you can design the page in wysiwyg and insert php code into the html without destroying the screen image preview. I've been using Frontpage to compose the page then dev-php to insert the php code. This has worked we