|
Posted by Troy on 10/30/07 11:25
Many thanks Kimmo, your HTML is better than mine, I'll try out those
suggestions and post back.
On Wed, 31 Aug 2005 21:05:34 +0300, "Kimmo Laine"
<eternal.erectionN0.5P@Mgmail.com> wrote:
>"Troy" <troy@nospam.com> kirjoitti
>viestissä:gkbbh1tnmlk6dd3hqotjfejknj0bi79jni@4ax.com...
>> My ISP provides me with 2 servers: one for normal web hosting
>> (non-PHP) and a CGI server (with PHP). I create my website using
>> fusion 7 and upload this in its entirity to the web hosting server. If
>> I want to run CGI scripts, I can do so with an external link to a page
>> on the CGI server. The problem however is that I have to maintain two
>> sites and all associated links.
>>
>> Ideally, I'd like everything to be in one place, but I'm not allowed
>> to upload my entire site to the CGI server. Alternatively then, is
>> there a way of calling PHP scripts on the CGI server from a non-CGI
>> server, without resorting to a clickable link. I can include HTML such
>> as <A HREF="http://cgiserver/......>php script link<A>, however this
>> requires the user to click on some text to run my script. I'd like to
>> run the script from the remote server without them clicking.
>
>how about
><script type="text/javascript"
>src="http://www.urltotheother.site/cgi/mythingy.php"></script>
>
>or alternatively call it as a src for an image.
>
><img src="http://www.urltotheother.site/cgi/mythingy.php"
>style="display:none;">
>
>Or yet another one: make it an iframe.
>
><iframe src="http://www.urltotheother.site/cgi/mythingy.php"
>style="display:none;"></iframe>
>
>That'll fool the browser to think it needs to fetch some content from the
>other site. Thus we have successfully disguised a script to be run as an
>image or a script or just another page.
>
>IMHO, the iframe solution would be the best, cos that's not even fooling the
>browser. And you can be quite sure that content isn't cahced in that case...
>If I were you, I'd use the iframe. Just make it small enough, like on pixel
>wide and heigh, hide it in every possible way using css, and that's it! It
>gets fetched every time but is invisible to the user...
Navigation:
[Reply to this message]
|