I added the following to a frameof a webpage with the intention of using a button to run the function, unfortunately it dos not work. I know the function works when fun from a file on its own, but does not seem to work with the buttons, any ideas?
<form action ="<?php $PHP_SELF;?>" method ="post">
<input type="submit" name="Submit" value="Serialise Links" >
<?php
include "fetch.class.php";
$spider=new fetchlinks("http://www.anysite.com");
$spider->show_href(1);
?>
If it helps i can explain what fetch.class is supposed to do, or give you the source code.




Bookmarks