I have my site analyzer script nearly working, but
the link that I am trying to pass back to the
query is not being accepted.
The easiest way to explain what I mean is to
show you the script on my server:
When you follow the link below you will see an output
list of links that are taken from the website ( one of mine)
Clicking on the "open" works fine ( that url is opened
in a new window) but clicking on the displayed link is suppoed
to result in the link being queried - but it doesn't work.
Here is the working script.
You need to hit the "Go" button
Here is the code that should make the displayed link become the
subject of the script.
echo "<TR><TD VALIGN=TOP COLSPAN=2 BGCOLOR=#000000><B><CENTER>
<FONT COLOR=#FFFFFF>Links Found:<br>Click one to send the ninja to investigate it</FONT>
if (count($ninja->link_array) <= 0)
echo "<TR><TD VALIGN=TOP COLSPAN=2 BGCOLOR=#DDDDDD><CENTER>No Links Found</CENTER></B></TD></TR>\n";
for ($i = 0 ; $i < count($ninja->link_array) ; $i++)
echo "<TR><TD WIDTH=100 VALIGN=TOP BGCOLOR=#DDDDDD>
[<A HREF=\"" . $ninja->link_array[$i] . "\" TARGET=_blank>open</A>] Link " . ($i + 1) . ": </TD>
<TD VALIGN=TOP BGCOLOR=#DDDDDD>
<A HREF=\"index.php?url=" . urlencode($ninja->link_array[$i]) ."&words=$words\">" . $ninja->link_array[$i] . "</A>
Can anyone see what I have done wrong ?
(Maybe I also need to post the main ninja class,?? )
PS - the new url shows in my browser but nothing happens !!