-
1
- #1
platypus55
Programmer
this guy is providing dynamic content that can be accessed from any server. He does it like this...<br>
<br>
<script language='javascript'<br>
src='<A HREF=" TARGET="_new"><br>
As you see, it looks like parameters are being passed to a js. I never heard of parameters being passed to a js THAT way but what do I know. Oneliners is the name of a database of his that he randomly pulls a one-liner out of. This has to be PERL, not JS. If you hack a little, you see that the "javascript" is just pure vainilla HTML. If you leave off a parameter, the HTML has '' where that parameter is supposet to go. This SMELLS like PERL. I know WHAT he is doing, just the details are a little fuzzy because I can't see the actual perl code. <br>
<br>
Given that the js is located in his bin directory, I am guessing it is actually a perl script that GENERATES the HTML<br>
Can ALL servers that support cgi do this? Because if they can, this is quite powerful. <br>
<br>
I tried to disguise one of my perl scripts as a javascript in a straightforward way and it didn't work. Would it perhaps be a serverside include? You normally can only do serverside includes on your own server, but if this can be made to work, you can effectively export dynamic content anywhere, which is exacctly what he is doing and what I also want to do. <br>
<br>
I asked him how he did this and he just said "hee hee." So<br>
no help from him.<br>
<br>
I will keep hacking on it and answer my own question if no one else figures it out first. <br>
<br>
Please if someone can figure out this would they let me know.<br>
I am cross posting this in the PERL forum also. Thanks. <br>
<br>
<br>
<script language='javascript'<br>
src='<A HREF=" TARGET="_new"><br>
As you see, it looks like parameters are being passed to a js. I never heard of parameters being passed to a js THAT way but what do I know. Oneliners is the name of a database of his that he randomly pulls a one-liner out of. This has to be PERL, not JS. If you hack a little, you see that the "javascript" is just pure vainilla HTML. If you leave off a parameter, the HTML has '' where that parameter is supposet to go. This SMELLS like PERL. I know WHAT he is doing, just the details are a little fuzzy because I can't see the actual perl code. <br>
<br>
Given that the js is located in his bin directory, I am guessing it is actually a perl script that GENERATES the HTML<br>
Can ALL servers that support cgi do this? Because if they can, this is quite powerful. <br>
<br>
I tried to disguise one of my perl scripts as a javascript in a straightforward way and it didn't work. Would it perhaps be a serverside include? You normally can only do serverside includes on your own server, but if this can be made to work, you can effectively export dynamic content anywhere, which is exacctly what he is doing and what I also want to do. <br>
<br>
I asked him how he did this and he just said "hee hee." So<br>
no help from him.<br>
<br>
I will keep hacking on it and answer my own question if no one else figures it out first. <br>
<br>
Please if someone can figure out this would they let me know.<br>
I am cross posting this in the PERL forum also. Thanks. <br>
<br>