Re: DOM Bug?



<textarea style="BACKGROUND: fixed no-repeat #f5f5f5 url(foobar);">
</textarea>

might work

--
Adaware http://www.lavasoft.de
spybot http://security.kolla.de
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/newsinfo/collateral.aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use

Grateful thanks to the authors and webmasters
_

"motion musso: aka sathia" <sathia.musso@xxxxxxxxx> wrote in message
news:074Oj.292512$%k.403029@xxxxxxxxxxxxxxxxxxxxx
Hello

Reproduce code:
---------------
Html:
this textarea has inside it a reference to an external image
[...]
<textarea><img src="foobar" /></textarea>
[...]


Php:

$documentx = new DOMDocument();
$documentx->loadHTML($data);
$textareas = $documentx->getElementsByTagName("textarea");
foreach($textareas AS $textarea){
print($textarea->getAttribute("value"));
print($textarea->textContent);
}

I know there's no "value" attribute in the textarea, but if the content of
said textarea is wrapped in < and > there's no way to read it.

ideas?
--
e ziocan


.



Relevant Pages

  • Re: 891711/MS05-002 Updated (fixed) for Win9x. Looking for Win XP Pro 64?
    ... AVG free antivirus http://www.grisoft.com ... Catalog of removal tools ... >>> and how much will it cost on the store shelves? ...
    (microsoft.public.security)
  • Re: Two different kind of spaces
    ... AVG free antivirus http://www.grisoft.com ... Panda online AntiVirus scan http://www.activescan.com ... Catalog of removal tools ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Two different kind of spaces
    ... AVG free antivirus http://www.grisoft.com ... Panda online AntiVirus scan http://www.activescan.com ... Catalog of removal tools ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Two different kind of spaces
    ... AVG free antivirus http://www.grisoft.com ... Panda online AntiVirus scan http://www.activescan.com ... Catalog of removal tools ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Two different kind of spaces
    ... AVG free antivirus http://www.grisoft.com ... Panda online AntiVirus scan http://www.activescan.com ... Catalog of removal tools ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)