lordphate Posted May 19, 2007 Share Posted May 19, 2007 okay, here's what i'm attempting to do I'm using flashchat and the easiest way to "integrate" it into my site is to use an IFRAME instead of manually editing a lot of files. So I want to have the flashchat read the url and this is the things i'musing so far $clb_id = $_GET["clb_id"]; $query = "SELECT id FROM flashchat_rooms WHERE cld_id=".$clb_id; IF( $clb_id == "0" ) { $chatroom = '1'; } else { $chatroom = $GLOBALS["DB"]->execute($query); } if($this->userid = ChatServer::login($login, $password, array('ip' => $bot_id))) { if($lang) $this->lang = $lang; if($tzoffset) $this->tzoffset = $tzoffset; $ar = $this->getAvailableRoom($chatroom); $this->roomid = $roomid? $roomid : $ar['id']; $this->room_is_permanent = $ar['ispermanent'] != ''; $this->start = $this->sendLoginInfo(); And no matter if i try to put clb_id=292908 in the URL it still will act like it's returning 0 (or $chatroom = 1) Quote Link to comment https://forums.phpfreaks.com/topic/52139-iframe-and-_get/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.