Jump to content

DarqFlare

Members
  • Content count

    2,215
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DarqFlare

  • Rank
    Immediate Family

Profile Information

  • Gender
    Male
  1. Js = No Ie?

    Whoops. Never mind, I found it. Apparently IE doesn't like <script ... /> instead of <script ...></script>
  2. Js = No Ie?

    For some insanely strange reason, I cannot get my site to load in IE if I have Javascript files included... robertzone.com Try it in FF and IE... When it loads in IE nothing shows but the background (And IE has image problems too, it seems.. Time to retry some colors). Any ideas why IE won't load it if JS is present?
  3. Improvements To The Tch Awstats Script

    I'm using the exact script I offered above and it gives me all of the graphics correctly... Not sure where the problem may lie.
  4. Streaming Audio/video

    Didn't neccessarily have what I was looking for... :-/
  5. Streaming Audio/video

    So I'm about to venture into the streaming audio and video realm. I've been trying to research it as best I can, but I just haven't been able to find a definitive-enough source out there... At the rate I'm going, I may need to find a published book on the subject from B&N or Borders, but I'm trying to avoid that. Thus, I am turning to my family here at TCH. - So here's the gist of it: I want to offer streaming a/v on my dedicated server. I'm pretty aware I need to have server-side support for this, so I need to know what that entails. - I'm a little bit lacking on the HTML code neccessary to get streaming a/v working on the browser side, although I think I found most of it (Apple's website was a bit... well, useless to me, to get it working). - I want to offer more than just Windows Media-based file formats to offer my users some flexibility. I was planning on using Windows, Real and Quicktime. Should I add to this list or drop one of them? - I'm also lacking on what specific file formats will work for streaming a/v. I know you can stream using these three programs, but I don't know what formats (And for that matter, file extensions) they support. - I'm unfamiliar in how to format the files to make them stream-ready. I believe Quicktime files require an actual modification to the file itself to enable it for streaming, but I think Real files don't need to be modified... - I also need to know how to remaster the files so I can provide low-, medium- amd high-bandwidth solutions. If there's a way to do this in the streaming itself, that would be great. - Last, but not least, I need to know what kind of performance I can expect to see on my server by offering this... If it will interfere with other functions, and how many concurrent users I could expect to support... Well, and knowing if a dedicated server at TCH can handle this as well. Thanks for the help everyone. I know this is quite a bit and I hope I covered most of my bases. I am not concerned about bandwidth here, just on how to get it started. If we end up coming short on bandwidth, we'll work something out, but getting started in the first place would be nice.
  6. Improvements To The Tch Awstats Script

    Whoops, just noticed an error on it. Change the following: $Config = "?config=" . $VARS["Stats_Website"]; to $Config = "?config=$site";
  7. Improvements To The Tch Awstats Script

    Alright kids! Here's a new improved v2.5 v3.0 script. Want to know what's new? 1) Cleaner & smarter code. 2) Form changed to explicit GET. 3) Removal of for-loop for POST. 4) Script auto-detects name, thus removing the hardcoded "awstats.php" and allows renaming. 5) Better and more robust cURL error reporting. 6) Image handling! It will now use cURL to load the images directly from CPanel, thus removing the requirement of installing the images locally. 7) Switched to explicit usage of $_SERVER. 8) Enjoy! ><? /************************************************************************/ /* AWStats Access 3.0: Provides access to AWStats outside of cPanel */ /* ============================================ */ /* Created for and by members of TotalChoiceHosting.com */ /* Copyright © 2006 by TotalChoiceHosting.com */ /* */ /* This file is part of AWStats Access. */ /* AWStats Access is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU General Public License as */ /* published by the Free Software Foundation; either version 2 of */ /* the License, or (at your option) any later version. */ /* */ /* AWStats Access is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with Foobar; if not, write to */ /* Free Software Foundation, Inc. */ /* 59 Temple Place, Suite 330 */ /* Boston, MA 02111-1307 USA */ /************************************************************************/ require("config.php"); if(!isset($_SERVER["PHP_AUTH_USER"])) { header("WWW-Authenticate: Basic realm=\"Site Statistics\""); header("HTTP/1.0 401 Unauthorized"); echo "Authorization Required."; exit; } else if(isset($_SERVER["PHP_AUTH_USER"])) { if(($_SERVER["PHP_AUTH_USER"] != $username) || ($_SERVER["PHP_AUTH_PW"] != $password)) { header("WWW-Authenticate: Basic realm=\"Site Statistics\""); header("HTTP/1.0 401 Unauthorized"); echo "Authorization Required."; exit; } else { if(isset($Image)) { $Curl = curl_init(); curl_setopt($Curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($Curl, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($Curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($Curl, CURLOPT_URL, "https://$site:2083/" . $Image); curl_setopt($Curl, CURLOPT_USERPWD, $cpnlusername . ":" . $cpnlpassword); curl_setopt($Curl, CURLOPT_RETURNTRANSFER, 1); $Output = curl_exec($Curl); if(curl_errno($Curl) > 0) { curl_close($Curl); exit; } curl_close($Curl); } else { if(empty($framename)) { $Config = "?config=$site"; } else { $Config = "?" . $_SERVER["QUERY_STRING"]; } $Curl = curl_init(); curl_setopt($Curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($Curl, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($Curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($Curl, CURLOPT_URL, "https://$site:2083/awstats.pl" . $Config); curl_setopt($Curl, CURLOPT_USERPWD, $cpnlusername . ":" . $cpnlpassword); curl_setopt($Curl, CURLOPT_RETURNTRANSFER, 1); $Output = curl_exec($Curl); if(curl_errno($Curl) > 0) { echo curl_error($Curl); curl_close($Curl); exit; } curl_close($Curl); if(empty($framename) || ($framename == "index")) { $Output = str_replace("src=\"", "src=\"" . $_SERVER["PHP_SELF"] . "?", $Output); } else { $Output = str_replace("src=\"/", "src=\"" . $_SERVER["PHP_SELF"] . "?Image=", $Output); } $Output = str_replace("<form", "<form method=\"get\"", $Output); $Output = str_replace("action=\"", "action=\"" . $_SERVER["PHP_SELF"] . "?", $Output); $Output = str_replace("href=\"", "href=\"" . $_SERVER["PHP_SELF"] . "?", $Output); $Output = str_replace("href=\"" . $_SERVER["PHP_SELF"] . "?http://", "href=\"http://", $Output); $Output = str_replace("awstats.pl?", "", $Output); } echo $Output; } } ?>
  8. Photo Caption Contest

    And she became known as "Dances With Seals"...
  9. Yeah, I hope I have a bit more free time so I can actually pop in once in awhile.
  10. Good lord! I'm back! Well, at least for a little while. Life seems to have taken all my time. Augh. I began back in June 2003 on $10/month. And that was a lot back them for me, let me tell ya. And for $10/mo, I was mighty happy. Rock solid service, much better than my old host. I gradually upgraded plans as time went on and purchased additional plans for my websites. I combined them all into a reseller at some point, and grew pretty large... Then came the big jump. Dedicated server. I've been here at TCH for a long time now. This summer will mark completing my third year here, having moved up from one of the lowest possible plans to a fully managed and dedicated server for all my happy sites. I'm extremely happy here. TCH has been very good to me and very reliable. There have been hiccups along the way, as must be expected, but the way they were dealt with was impressive. Servers were fixed quickly, servers were switched if they needed to be... All of my support issues have been dealt with and fixed in a timely manner. So yeah. Just surfing through TCH again and felt a nice retrospective on my almost 3 years here would be nice.
  11. Andy Rocks

    It's been awhile since I was in here... Just wanted to give a big shout-out for Andy. My site was having access problems for about 10 hours, and I couldn't figure out why. Basically, I was shooting in the dark in regards to trying to figure out what the problem was. Andy found that a certain included PHP script was timing out on my site. I went in and found three specific lines that were causing the holdup. It didn't make sense, because they were three eregi_replace() lines consecutively that had worked for the last, oh, three years. Thus, he suggested that the problem may lie in it those functions were being passed a gigantic string. Well, it just so happens that those three lines targetted \r\n, \r and \n in order. And there was a new post on the blog on my site that had a massive number of newlines. Kudos to the man, Andy. The other side of the pond knows how to think outside the box. I'll go crawl back into my hole now.
  12. Phpmyadmin Query Problems

    I got it working.
  13. Phpmyadmin Query Problems

    Whenever I have a result set in phpMyAdmin to display in the right pane, it just reloads the frame that was there previously... Is the result set is 0 rows, it returns "MySQL returned an empty set" and whatnot... Any ideas? It's some configuration error in the software...
  14. Floating Table Breaking Div

    I have already fixed it, sorry.
×