Solved

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

Posted on 2011-09-20
2
596 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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).

696 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