PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi everyone,
I have the problem that Internet Explorer does not want to execute a vbscript, because with this script I draw some information out of the Registry. I enclose the script by the following
<?php
echo<<<HTML
<script language="VBScript">
/****
my script
****/
HTML;
?>
This doesnt help though I tried other vbscript code and it worked. Only the code, I draw data from the Registry with, doesnt work in the php script above I executed the code with a .bat file and it worked... the bug is not in the code itself. It doent give an error in the Explorer neither, but it doesnt do the work it is supposed to do
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
If Microsoft says "you don't have access to the registry," chances are that you don't have access to the registry. I can't think of any reason for you to need to do this. That is a privilege reserved to Microsoft.com.
second thread on viewtopic.php?t=69659
btw: the php part is irrelevant here. The browser never sees the pp script. It only get's the output of the php script, and in this case that's is the vbscript.
You wouldn't just everybody to be able to access your registry from the web, would you?
Whom's network data do you want to get?
Yes I put a second thread on the subject, because I didnt get much help First of all, if I really wanted somebody's data on the network, provided that I had some administrative privileges, I would have already got it I really need to know how can I do it with PHP, because I already succeded with VBScript!
Like I already told you, if I wanted to hack something with my code, I would have already done it with my VBScript. I need the infos for a project (web application) on the local network I am working on in my company. So, no worries, no hacking intentions are involved. But like I also told you, any help with php in this connection would be appreciated