Spartan 117 Posted March 4, 2007 Share Posted March 4, 2007 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 More sharing options...
Spartan 117 Posted March 4, 2007 Author Share Posted March 4, 2007 Well, I guess I finally figured it out, I had to split it all up in seperate strings and then echo part1.part2.part3, ect... Not the best way to do it, but it works Link to comment https://forums.phpfreaks.com/topic/41090-solved-making-php-launch-a-program/#findComment-198973 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.