I'm hoping someone who knows the answer to this question is on this list.
I need to modify either libxml2 and/or php DOMDocument to make a small
change.
Issue - saveHTML() function predates html5 (which isn't even finalized
yet) and thus does not know about it's tags.
the source element is
On Mon, 2009-10-05 at 01:45 -0700, Michael A. Peters wrote:
> I'm hoping someone who knows the answer to this question is on this list.
>
> I need to modify either libxml2 and/or php DOMDocument to make a small
> change.
>
> Issue - saveHTML() function predates html5 (which isn't even finalized
Ashley Sheridan wrote:
I've not had a look at DOMDocument myself, having only used DomDocument
before (there's a slight difference in the capitalisation of the 2nd and
3rd letters which made it a pain in the proverbial to work with at
first!) but I would assume that if it might offer a metho
Michael A. Peters wrote:
Ashley Sheridan wrote:
I've not had a look at DOMDocument myself, having only used
DomDocument before (there's a slight difference in the capitalisation
of the 2nd and 3rd letters which made it a pain in the proverbial to
work with at first!) but I would assume that
saveXML and transform it via XSL
It should be simple since basically the only thing you have to do is to
replicate everything adding right at the beginning and nothing
else.
Is this solution suitable for your requirements?
Regards
> Date: Mon, 5 Oct 2009 01:45:03 -0700
> From: mpet...@mac.c
Ashley Sheridan wrote:
I've not had a look at DOMDocument myself, having only used DomDocument
before (there's a slight difference in the capitalisation of the 2nd and
3rd letters which made it a pain in the proverbial to work with at
first!)
Did you never notice that PHP has case insensitiv
On Mon, 2009-10-05 at 13:36 +0200, Lupus Michaelis wrote:
> Ashley Sheridan wrote:
> >
> > I've not had a look at DOMDocument myself, having only used DomDocument
> > before (there's a slight difference in the capitalisation of the 2nd and
> > 3rd letters which made it a pain in the proverbial to
> search engines aren't case-sensitive!
... try to search php.net or PHP.NET in Google and you'll obtain exactly the
same result ... in PHP strtolower and strToLower are exactly the same, as the
same is DomDocument, DOMDocument, or DOMDOCUMENT, at least in PHP 5.3
If you used an early versio
My apologies I read search engines ARE case sensitive ... never mind, still
DomDocument and DOMDocument are the same.
Regards
> From: an_...@hotmail.com
> To: a...@ashleysheridan.co.uk; mickael+...@lupusmic.org
> CC: php-general@lists.php.net
> Date: Mon, 5 Oct 2009 13:59:43 +0200
> Subject: R
On Mon, 2009-10-05 at 13:59 +0200, Andrea Giammarchi wrote:
>
> > search engines aren't case-sensitive!
>
> ... try to search php.net or PHP.NET in Google and you'll obtain exactly the
> same result ... in PHP strtolower and strToLower are exactly the same, as the
> same is DomDocument, DOMDo
Yeah, if it can make you feel better, you are not the only one with some PECL
habit, lazily introduced in PHP as core feature changing almost everything.
Regards
> From: a...@ashleysheridan.co.uk
> To: an_...@hotmail.com
> CC: mickael+...@lupusmic.org; php-general@lists.php.net
> Date: Mon, 5 O
On Sun, Oct 4, 2009 at 17:00, Floyd Resler wrote:
> Sorry to hear that! I live in Cincinnati so I normally don't get to watch
> the Colts play when they are on at the same time as the Bengals. But this
> week I did and, best of all, they won!
Yeah, well, the Browns sure didn't, so bite me.
I've inherited a PHP application, first task of which was relocating to a
new server.
We've installed and configured all of the files on a dedicated linux server
at 1 and 1 (using qmail as an MTA).
Since the move, the client is complaining that *some* of the recipients of
the HTML email that the s
Hi Folks!
A very long time ago i spend a little bit of my time to find how i can load
a swf file, load an specific frame of that SWF File and save this like a JPG
or any other format.
I try the "ming" but it can't load a external swf movie. You only can CREATE
a swf. I try the libswf too but i no
I need to store a variable name as a variable. Note quite a C-style
pointer, but a way to access one variable who's name is stored in
another variable.
As part of a spam-control measure, a certain public-facing form will
have dummy rotating text fields and a hidden field that will describe
which t
On Mon, 2009-10-05 at 16:56 +0200, Dotan Cohen wrote:
> I need to store a variable name as a variable. Note quite a C-style
> pointer, but a way to access one variable who's name is stored in
> another variable.
>
> As part of a spam-control measure, a certain public-facing form will
> have dummy
- Original Message
> From: Dotan Cohen
> To: php-general.
> Sent: Mon, October 5, 2009 7:56:48 AM
> Subject: [PHP] Variable name as a variable?
>
> I need to store a variable name as a variable. Note quite a C-style
> pointer, but a way to access one variable who's name is stored in
> a
On Mon, 2009-10-05 at 10:27 -0400, John Corry wrote:
> I've inherited a PHP application, first task of which was relocating to a
> new server.
> We've installed and configured all of the files on a dedicated linux server
> at 1 and 1 (using qmail as an MTA).
>
> Since the move, the client is comp
On Mon, 5 Oct 2009 16:56:48 +0200
Dotan Cohen wrote:
> I need to store a variable name as a variable. Note quite a C-style
> pointer, but a way to access one variable who's name is stored in
> another variable.
>
> As part of a spam-control measure, a certain public-facing form will
> have dummy
At 7:25 PM +0100 10/4/09, MEM wrote:
Unfortunately, I'm really REALLY on a rush.
I saw a bumper sticker the other day which read:
Humpty Dumpty was rushed
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.
Thanks, all! I will experiment with the three different solutions
presented and see what best fits this application. As to the security
aspect, yes, I am aware that this is a simplification and that the
values must be sanitized.
Have a great week.
--
Dotan Cohen
http://what-is-what.com
http://g
Well that's odd. locale_get_default() gave me an undefined function
error. Apparently this year problem has been reported as a bug on bugs.php.net
but the status for it (and everything else) is Bogus. I'm not sure
if that means anything or not but hopefully a fix will be coming soon.
Th
Hi Andrea
Andrea Giammarchi wrote on 2009-10-04 19:36:
Unless I am missing something, your page has too many if and it always
ends up with print something ... but there is no exit after the
download, so the zip will have extra output included without a reason
... which is an error, imho, dunno
Hello,
Is there anyone here who uses Spry with XML and PHP and understands
XSLT,
At the moment i'm in development hell and have a rather bloated
question to ask someone who is knowledgeable in the above areas.
My head is about to explode and I can't find any answers,
If there are Spry/XML f
Floyd Resler wrote:
> Well that's odd. locale_get_default() gave me an undefined function
> error. Apparently this year problem has been reported as a bug on
> bugs.php.net but the status for it (and everything else) is Bogus. I'm
> not sure if that means anything or not but hopefully a fix wil
AFAIK, you can create snaps from ActionScript, but you cannot save browser
rendered plug-in content via PHP
It's more like canvas.toDataURL, it requires to be rendered, unless you don't
have InDesign or something similar able to render internally and export as
image.
Regards
> Date: Mon, 5 Oc
On Mon, Oct 5, 2009 at 12:15, Jim Lucas wrote:
>
> You stated that you are running PHP 5.2.10 , too bad the function recommend
> (locale_get_default()) is only available in PHP 5.3 or newer.
That's my fault entirely, not Floyd's. I didn't look to see what
version of PHP he was running.
--
On Mon, 2009-10-05 at 18:10 +0200, Kim Madsen wrote:
> Hi Andrea
>
> Andrea Giammarchi wrote on 2009-10-04 19:36:
> > Unless I am missing something, your page has too many if and it always
> > ends up with print something ... but there is no exit after the
> > download, so the zip will have ext
> Sorry, the .phps file wasn't updated, but the page still works as
> expected even though I've printed stuff after the header (i tested that
> just for fun).
I already said magic behavior are not part of my developed code, unrelated
output is an error, even if the download work, it is an err
> There's a useful function called headers_sent() which checks to see if
> the headers have already been sent to the browser. This might be a good
> place to throw into your code at various points to check and see if
> something is being written which you don't expect.
true, check that as well,
Ashley Sheridan wrote:
I never tried to say that classes are case-sensitive, that was
actually mentioned by Lupus who misunderstood what I was trying to
say. What I was meaning is exactly what you just said here, that the
PECL DomDocument is very different from the more typical DOMDocument.
I
On Oct 2, 2009, at 3:00 AM, Manuel Lemos wrote:
Hello,
on 10/02/2009 04:41 AM kranthi said the following:
I try to avoid the use of hidden form elements as much as possible,
especially for tracking whether a user has submitted a form or not...
I use name="submit" for the submit button instead
On Mon, Oct 5, 2009 at 10:10 AM, Matthew Croud wrote:
> Hello,
>
> Is there anyone here who uses Spry with XML and PHP and understands XSLT,
> At the moment i'm in development hell and have a rather bloated question to
> ask someone who is knowledgeable in the above areas.
>
> My head is about to
At 12:27 PM -0600 10/4/09, kirk.john...@zootweb.com wrote:
tedd wrote on 10/04/2009 08:51:13 AM:
[PHP] a trivial little function (PostToHost)
tedd
to:
php-general
10/04/2009 09:05 AM
Hi gang:
The following 'trivial little' function I'm trying to get my head
around:
http://aspn
tedd wrote on 10/05/2009 01:44:00 PM:
[snip]
> Hi Kirk:
>
> Okay, but what specifically is that script?
>
> I have written a script at server B to print_r($_POST), but I don't
> get anything other than log errors (see below*).
>
> Here's an example:
>
> http://www.webbytedd.com/aa/send-for
Hello,
on 10/05/2009 03:02 PM Philip Thompson said the following:
>>> I try to avoid the use of hidden form elements as much as possible,
>>> especially for tracking whether a user has submitted a form or not...
>>>
>>> I use name="submit" for the submit button instead, that will pass the
>>> valu
Here is a problem that I have had for years now. I have been trying to come up
with the perfect solution for this problem. But, I have come down to two
different methods for solving it.
Here is the problem...
date('c'),
'Message-ID' => md5($to.$subject),
);
$headers += $defaults;
END of
Hello,
on 10/05/2009 11:52 AM Igor Escobar said the following:
> Hi Folks!
>
> A very long time ago i spend a little bit of my time to find how i can load
> a swf file, load an specific frame of that SWF File and save this like a JPG
> or any other format.
>
> I try the "ming" but it can't load
On Mon, Oct 5, 2009 at 8:48 PM, Jim Lucas wrote:
> Here is a problem that I have had for years now. I have been trying to come
> up
> with the perfect solution for this problem. But, I have come down to two
> different methods for solving it.
>
> Here is the problem...
>
>
> function sendEmail
Hello,
on 10/05/2009 11:27 AM John Corry said the following:
> I've inherited a PHP application, first task of which was relocating to a
> new server.
> We've installed and configured all of the files on a dedicated linux server
> at 1 and 1 (using qmail as an MTA).
>
> Since the move, the client
Eddie Drapkin wrote:
On Mon, Oct 5, 2009 at 8:48 PM, Jim Lucas wrote:
Here is a problem that I have had for years now. I have been trying to come up
with the perfect solution for this problem. But, I have come down to two
different methods for solving it.
Here is the problem...
date('c'),
On Sun, 4 Oct 2009 14:52:36 +0200, an_...@hotmail.com (Andrea Giammarchi) wrote:
>
>
>
>> $a = 2260; $b = 226e1; $c = 2.26e3; $d = 2260.0;
>>
>> $a==$b==$c==$d,
>>
>> and
>> $b===$c===$d
>
>$b , $c, and $d are the same indeed ... they represent the floating point
>2260.0 in I thi
On Tue, Oct 6, 2009 at 4:37 AM, Nathan Nobbe wrote:
> On Mon, Oct 5, 2009 at 10:10 AM, Matthew Croud wrote:
>
>> Hello,
>>
>> Is there anyone here who uses Spry with XML and PHP and understands XSLT,
>> At the moment i'm in development hell and have a rather bloated question to
>> ask someone who
why bother, i use available good library
http://swiftmailer.org/
On 10/6/09, Jim Lucas wrote:
> Eddie Drapkin wrote:
>> On Mon, Oct 5, 2009 at 8:48 PM, Jim Lucas wrote:
>>> Here is a problem that I have had for years now. I have been trying to
>>> come up
>>> with the perfect solution for th
IMO, array_merge() is easy to use, however it suppose to use more cpu than
other options. If you are a performance freak, i suggest you to not choose
array_merge() solution. (also you execute date() and md5() functions even if
you wont need to use them)
In the other way, I think first option (w
45 matches
Mail list logo