Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

html iframe alternative?


ghost's Avatar
0 0

is there an altrenative to the iframe? i need to to be html….


ghost's Avatar
0 0

let me specify…. as to include a php file so it runs on that server….not the remote and its to include it in a .asp page


ghost's Avatar
0 0

there are such things as javascript includes, if the file is hosted on your site. if the file is on a remote server, you cant execute it on your own server anyways.


ghost's Avatar
0 0

heh…okay, good to know. thanks


ghost's Avatar
0 0

I'd seriously consider ditching ASP and stick with PHP, because they have way more support and cross platform with PHP than ASP.

Because you can easily solve your problem here with file_get_contents('http://www.site.com/file.html'); or include('http://www.site.com/file.html');


ghost's Avatar
0 0

if i could include a php file on a remote page(my php page) would it run on that remote server?


ghost's Avatar
0 0

it would fetch the page from the server and then echo it to your own.

so what you would do is send the variables to the script that you want to execute like this

let's say the page uses the variables size and text to execute their script. so you would include the following

include('http://www.site.com/script.php?size=value1&text=value2');

this will do the following: execute the script on a remote server remote server executes, returns output your server takes that output; echos it on your own page


ghost's Avatar
0 0

so you couldnt run a php file management system as a remote command shell