im trying to use the php.js with my scripts but it wasnt working so i ironed out a function and loaded onto a single page with nothing but the jquery and php.js but still it isnt working
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="./pathinfo_function.js"></script><script>
$(document).ready(function() {
$(".do").click(function() {
alert(pathinfo('/www/htdocs/index.html', 'PATHINFO_EXTENSION'));
});
});
</script>
<a href='#' class='do'>Pathinfo</a>
It gets all broken, could anyone point out what im doing wrong