Solved

how to access external webserver via iframe using specific port

Posted on 2011-03-15
6
480 Views
Last Modified: 2012-06-27
Hi,
can anyone tell me how I might integrate an iFrame into my externally hosted PHP website that lets me interact with an ASP database on an internal server.

The internal server only allows http traffic on port XXXX
Their firewall will only accept requests from a static IP address XXX.XXX.XXX.XXX

thanks
0
Comment
Question by:joomla
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:h4mi
Comment Utility
Put this on the externally hosted site:

<iframe src="http://XXX.XXX.XXX.XXX">

You will need a webserver and website set up at the XXX.XXX.XXX.XXX computer to handle the database interaction to your internal server in order to display its output in the iframe.
0
 

Author Comment

by:joomla
Comment Utility
thanks for your help
i did understand that level of knowledge
I'm looking for more detailed information
but thanks for touching base
0
 
LVL 5

Expert Comment

by:h4mi
Comment Utility
You will need to provide a more detailed question in order to get a more detailed answer. Where along the way do you need help? Setting up a webserver? Making a webpage to query the database? Getting the correct query syntaxes? Setting up a database? (ASP is not a database.)
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:joomla
Comment Utility
Thanks for your response again.
The scenario is that we have a website that sits on an externally managed webserver running PHP.
We have a SBS server hosting a database application that was written in ASP

We want to be able to allow people  to use our website under controlled conditions (specific port and IP address) to view and query the database.

We wondered if we could add an iframe to a html page on the server that would let us do that.
If so, what issues do I need to be aware of.
ie.. if it is possible and if so
What are the security concerns
Does the concept need two iframes, one for searching and one for displaying results
Is there any iframe syntax parameters I need to set

thanks again
0
 

Author Comment

by:joomla
Comment Utility
Can anyone confirm if it is possible to have an iframe in a PHP page that interacts with a site running ASP.
I want the iframe to enable people on external server to be able to use the iframe to access data on a server running an ASP application

thankx
0
 
LVL 5

Accepted Solution

by:
h4mi earned 250 total points
Comment Utility
That is confirmed. An iframe is basically the same as another tab or browser window, it has very little to do with the container page.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now