Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11765

Re: $dom->loadHTMLFile() error

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: $dom->loadHTMLFile() error
Date 2013-11-08 08:35 +0100
Message-ID <527C9433.6090007@arnowelzel.de> (permalink)
References <6ab6d$527bfc4f$9440befe$19339@STARBAND.NET>

Show all headers | View raw


gdunn, 2013-11-07 21:47:

[...]
> On his http://stn3717.ip.irlp.net:15426/get_node_status.php?node_id=3717
> 
> loadHTMLFile("$url"); $links = $dom->getElementsByTagName('td'); 
> foreach($links as $i){ $node_status[] = $i->textContent; } 
> // Print the fields of interest. Comment undesired lines such as: 
> //echo "$node_status[40] $node_status[41]"; 
> echo "$node_status[40] $node_status[41]"; 
> echo "$node_status[42] $node_status[43]"; 
> echo "$node_status[44] $node_status[45]"; ?> 
> 
> Is it possible that php isn't operational on that site, or that it
> needs to be enabled on a per-user basis?

It's obvious that PHP is not being executed. Ask the site administrator
if this can be changed.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

$dom->loadHTMLFile() error gdunn <gdunn@example.com> - 2013-11-07 20:47 +0000
  Re: $dom->loadHTMLFile() error Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-07 17:46 -0500
    Re: $dom->loadHTMLFile() error Arno Welzel <usenet@arnowelzel.de> - 2013-11-08 08:35 +0100
      Re: $dom->loadHTMLFile() error Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-08 07:57 -0500
  Re: $dom->loadHTMLFile() error Arno Welzel <usenet@arnowelzel.de> - 2013-11-08 08:35 +0100
    Re: $dom->loadHTMLFile() error gdunn <gdunn@example.com> - 2013-11-08 19:28 +0000

csiph-web