i'm converting in PHP5 a quite old ASP project that was using a lot of server-side javascript.
is there a way to use that code or i'll have to rewrite everything in PHP?
EDIT
this is how the code is embedded in ASP
<!-- #include file=helper.js -->
snippet of my helper.js
<script language=javascript runat=server>
//here are the functions
</script>
then in ASP is see that functions are called as usual ie
response.write myJsfunction()
btw, if i have to rewrite the code, i'll do on my own, not using any software