Click to See Complete Forum and Search --> : JavaScript for linking blog page?


DocPete
11-13-2003, 01:16 AM
Hello. I am a web-programming amateur and have a couple of web sites. One of them is hosted free, and provides no serverside technology; another I pay for, and gives me PHP and MySQL support. My question is, can I use JavaScript to set up a window within my free webpage, to access a weblog within my paid PHP-supporting page, without users having to open a new window or go to that second site? (it is used for a different business-related purpose, and I don't want users to be confused about my various interests)

I've seen javascript code used to provide live headline feeds to third party websites, and wondered if something similar might provide a "weblog feed" type of thing.

Thanks

Khalid Ali
11-13-2003, 06:30 AM
that should not be a problem.
See your server side scripting does not care that whre you host your pages,as soon aa your webserver know where the request came from it will direct the results to that browser window.

You can suet your php code as such that it reads the url and in the url you can append the directive for entries you desire to see.and your php will get the results to requesting browsers window.That may be from anywhere.