Solved

how show into a hta file an existing php/mysql page ?

Posted on 2011-09-20
2
594 Views
Last Modified: 2012-05-12
Hello,

I'm preparing a little hta page that will popup at users login and I'm wondering if it could be possible to show in that hta file an existing php file who does MySQL requests or perhaps to integrate the MySQL requests into the hta file?

I saw in some forums that the php might not work at all on hta...
any ideas?
0
Comment
Question by:David_Pazos
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 36570482
Hi, I dont think PHP would be supported by the HTA, but you could try an iFrame, although it seems a bit shaky.

<html><head>

<HTA:APPLICATION
	APPLICATIONNAME="TestHTA"
	ID="TestHTA"
	BORDER="thick"
	BORDERSTYLE="normal"
	CAPTION="yes"
	CONTEXTMENU="no"
	INNERBORDER="no"
	MAXIMIZEBUTTON="yes"
	MINIMIZEBUTTON="yes"
	NAVIGABLE="yes"
	SCROLL="no"
	SCROLLFLAT="no"
	SELECTION="no"
	SHOWINTASKBAR="yes"
	SINGLEINSTANCE="yes"
	SYSMENU="no"
	WINDOWSTATE="normal">

<script language=vbscript>
Sub SetIFrame
	MyFrame.location.href = "http://www.google.com"
End Sub
</script>
</head>

<body>
<iframe id=MyFrame application=yes scrolling=no onload="SetIFrame" height="800" width="600"></iframe>
</body></html>

Open in new window


But VBScript can query the MySQL server if you just wanted to do that....
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_DB/Q_26851466.html

Regards,

Rob.
0
 

Author Closing Comment

by:David_Pazos
ID: 36580563
Thanks =)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will learn how to dynamically set the form action using jQuery.
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…

810 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