Log in

View Full Version : HOw can I show output from a PHP-File in VB?


Wildthinks
01-20-2003, 10:29 AM
Hi,

i will insert a link like this:

h t tp://swishzone.net/SZO2003/includes/tom.php

in the message and then should be showing the swf
Link http://swishzone.net/SZO2003/includes/tom.php
or better the output from a PHP-File....

It's possible??
:dead:

Logician
01-21-2003, 12:00 PM
yes it's possible with bbcode and iframe.

Create a new bbcode in your Admin CP, here is the details:
vB Code tag : window

vB Code replacement:
<div align=center><iframe name="cwindow" style="border:0" width=500 height={option} src="{param}"></iframe>

vB Code example
http://www.altavista.com

vB Code explanation: IFRAMEs URL

Use {option} ? YES

afterwards you can use it in your posts like this:
http://swishzone.net/SZO2003/includes/tom.php

And it will be converted something like this:

Dean C
01-21-2003, 03:42 PM
Beware though unwanted content can easily be accessed via an iframe...

- miSt