You are here: Re: [PHP] Re: Using DOM object, how? « PHP « IT news, forums, messages
Re: [PHP] Re: Using DOM object, how?

Posted by Ken Tozier on 09/19/05 13:00

Next question:

I don't see any obvious DOM method for including scripts or css links
like "<script language='text/javascript' src='bobo.js'>". Do you have
to put them in some other type of node like a processing instruction
or a comment?


On Sep 19, 2005, at 5:22 AM, Ken Tozier wrote:

>> The first line of that page - " The DOM extension is the
>> replacement for the
>> DOM XML extension from PHP 4." makes me suspect that it may be a
>> PHP 5
>> feature, and sure enough, a look in the changelog confirms this.
>>
>> php.net/ChangeLog-5.php#5.0.0b1
>>
>> So if you are using php < 5.0, that would explain your error.
>>
>
> That was it. (php 4.3.1 something) Just downloaded 5.0.5 and it
> works fine now.
>
> Thanks.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация