Jump to content

[SOLVED] Making PHP Launch A Program


Spartan 117

Recommended Posts

Hello, I have been making what I thought would be a very simple and quick page. It is easy, but now that I am almost done I am having a problem. I made a page that will launch a program (Teamspeak) when somebody enters a nickname and the server password. I made the page and it is nearly finished, except I want it to launch teamspeak automatically after the person clicks the submit button, I am trying to use redirect, but I get it wrong.

 

echo('<META HTTP-EQUIV="Refresh" Content="0; URL=teamspeak://IP:PORT?nickname=".$nickname."?password=".$serverpass.">');  

*IP:PORT is the ip and port to the server, which I left out of forums.

 

That is what I tried doing after it was successful, nickname and password are equal to whatever somebody enters.

 

That is wrong, when I enter info Teamspeak pops up and says error wrong username or password. I am thinking that I can't do the redirect like that with the quotations and periods.

 

Could somebody please help me finish this page?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/41090-solved-making-php-launch-a-program/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.