Jump to content

mitten

Members
  • Posts

    26
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://

Profile Information

  • Location
    Ann Arbor, Michigan

mitten's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. I can get into webmail ok, but can't pull stuff into my local email client with POP3 right now.
  2. Ok, so the little snippet works, but the real script is still giving a 500 error. Is there a way for me to see more information about the error? Like what generated it and where?
  3. DOH! needed to change the permissions...
  4. I'm brand new to this scripting stuff - do I have to do something special to enable it on my site? I've tried copying these little snippets posted in this thread to text files, uploading them into my cgi-bin folder, but I get 500 errors when I try to run them. This one contains the 'hello world' snippet (from curtis's post) from above: http://martinirepublic.com/cgi-bin/test.pl What am I doing wrong? (My eventual goal is to run a little one-time script that will copy some database fields into new database fields so I can migrate from one CMS to another.)
  5. Yup. I've been having this same trouble - for the last 4 or so weeks, loads and loads of 404 reports for randomly named scripts with names like abcdef.js and now I'm getting reports from users whos are crashing or getting virus alerts when they visit the site. I haven't been able to figure out what's going on either. I thought maybe it was something with an old installation of punBB that we don't use anymore, but that doesn't seem to be it. Are you all opening tickets on this? Is that the best course of action at this point? It sure does look more like someone has put malicious code on the server, not on our sites per se. (The site in question is http://martinirepublic.com)
  6. mitten

    Ruby?

    I'd just like to voice another vote of interest in Ruby, in case you think about it in the future.
  7. I agree with Bradley - I'm a reseller and have a number of sites to bring up to compliance with this policy. (And thus, a whole bunch of platform decisions to make and work to do!) I hope that some time will be given on this one. I often deliberately don't upgrade right away, unless it's a security patch. I'd rather wait and see if major code revisions are stable before subjecting my visitors to new, buggy code. I realize that it may be impossible to give notice before a suspension in some cases, as they may be emergency situations. But it seems like there might be a 'red line' of some sort in other cases - a site consistantly pushing the boundaries on server load, perhaps - could we get prior notification on those before suspensions?
  8. I've checked phpinfo() and it looks like FreeType is enabled in the GD module here at TCH. But I'm not sure how to check for what fonts are available to use. I'm assuming the 'normal' ones are available (cour, arial, etc.) but I was wondering if there's a list of all the .ttf files I can use somewhere. Any help would be much appreciated.
  9. Um, wow. I bet my Adobe programs would whiz right along on that thing!
  10. Hey! I didn't know you guys were local! Fabulous! If there's still room at the table, I'd love to come along and meet you all. Is there a formal sign-up somewhere, or will this reply itself get me on the list? Thanks much!
  11. Is there any change in thought on this idea? I'm looking at the Mozilla calendar application (Sunbird) and would like to be able to publish my calendar so I can synchronize it with my husband's calendar. Here's what Mozilla says it needs: http://www.mozilla.org/projects/calendar/faq.html#share This thread makes it sound like I'm stuffed and can't do this. But I thought I'd ask just in case things have changed. Thanks.
  12. Ahhh - continued detective work: the problem lies elsewhere. I'm including this file from within a CMS program and that is messing up the variables somehow. So, nevermind - off to another support forum now!
  13. I can see that the variable HTTP_USER_AGENT does have data in it: http://martinirepublic.com/phpinfo.php So why doesn't it show in the $_SERVER array? I also thought to use get_browser(), but it can't find the browscap.ini file. Is this something I can get help with from TCH Tech Support?
  14. Hello there! I'm trying to run a very simple 'browser sniffer' so I can serve a different CSS sheet to IE/Mac users. However, I can't for the life of me get a proper return from this: >$fullbrowser = ($_SERVER["HTTP_USER_AGENT"]); It doesn't return any data at all, no matter which browser I'm using (checking with Firefox, IE and IE/Mac). I printed out the whole $_SERVER array, and sure enough - there's no user agent in there. >Array ( [DOCUMENT_ROOT] => /home/dqzhlhsq/public_html [HTTP_HOST] => martinirepublic.com [PATH] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin [REMOTE_ADDR] => 209.51.137.10 [REMOTE_PORT] => 51342 [SCRIPT_FILENAME] => /home/dqzhlhsq/public_html/browsermac.php [SERVER_ADDR] => 209.51.137.10 [SERVER_ADMIN] => webmaster@martinirepublic.com [SERVER_NAME] => www.martinirepublic.com [SERVER_PORT] => 80 [SERVER_SIGNATURE] => <ADDRESS>Apache/1.3.31 Server at www.martinirepublic.com Port 80</ADDRESS> [SERVER_SOFTWARE] => Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.7 FrontPage/5.0.2.2634a mod_ssl/2.8.18 OpenSSL/0.9.7a [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /browsermac.php [SCRIPT_NAME] => /browsermac.php [PATH_TRANSLATED] => /home/dqzhlhsq/public_html/browsermac.php [PHP_SELF] => /browsermac.php [argv] => Array ( ) Why is there no user agent listed? Since I'm getting the same non-return everywhere (checking from two different machines) I'm assuming this is a server thing. Is there another way to get the $HTTP_USER_AGENT string? It's to be used in a super simple script: ><?php $fullbrowser = $_SERVER["HTTP_USER_AGENT"]; $agent = strpos($fullbrowser,'Mac'); if ($agent === false) $browser = 'mac'; else $browser = 'other'; if ($browser == 'mac') echo ('<link rel="stylesheet" type="text/css" href="MRmac.css" />'); else echo ('<link rel="stylesheet" type="text/css" href="MR.css" />'); ?> Thanks for the help!
  15. I have one account here (it's going well!) and will be adding two more later today. As it stands, it doesn't make cost sense yet for me to use a reseller account ($12 a month v. $20 a month) but it might someday. Can I convert all my accounts into a reseller account at some later point?
×
×
  • Create New...