?
Solved

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

Posted on 2011-09-20
2
Medium Priority
?
601 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 2000 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 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