Jump to content

click

Members
  • Content count

    138
  • Joined

  • Last visited

Community Reputation

0 Neutral

About click

  • Rank
    Distant Family

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Ohio
  1. Mysql Update Command Failing

    Sounds like register globals may be turned on on the Unix box. If so, be sure to research the security implications of running with register globals enabled if you don't know. I believe register globals is being removed from PHP6 due to the number of security exploits it allowed.
  2. Cpanel Redirect Question

    Sorry, I didn't think about there being an index page in public_html. If you rename that index page, I think it should work.
  3. Cpanel Redirect Question

    You might try something like this. It should redirect any requests for files that do not exist to your blog. As a transparent rewrite: >RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /myblog/ [L] Or as a 301: >RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . http://www.mywebsite.com/myblog/index.php [R=301L]
  4. Help With .htaccess Redirect

    You are getting the server not found message because you removed the subdomains in cPanel. Without the subdomains set up, there is no DNS entry for the subdomain and the request never reaches the server. You need to recreate the subdomains in cPanel and either use the redirects OJB gave you in .htaccess or just go ahead and let cPanel handle it for you. That last redirect could be handled in .htaccess with: >RewriteCond %{HTTP_HOST} ^graphics\.mbstia\.com RewriteRule ^content/view/139/113/$ http://mbstia.com/helpful-info/77-5-ways-to-save-money-when-working-with-a-web-designer [L,R=301]
  5. Tchstatus.com Uptime Numbers

    Cool. I was concerned when I first checked the reports and saw 100% uptime for servers that I knew had not been available 100%. I've dealt with hosts in the past that liked to proclaim uptime numbers that were taken from within the DC and therefore only reflected the status of the server itself and not the network infrastructure, internet connections, etc. which seemed to be responsible for most of their downtime. I didn't think TCH was doing that. For some reason, it didn't occur to me until I was typing the original post that hyperspin may have simply been on an unaffected route. It's reassuring to know that's all it was. My faith is restored (not that it was all that shaken.) lol Nice response time dealing with last week's outage, BTW. Keep up the good work.
  6. Why do the uptime numbers at TCHStatus.com show 100% uptime for servers that were affected by last week's router glitch? Was the route from hyperspin not affected or have the numbers been altered?
  7. Php Mail() Not Delivered

    It is a fifth parameter, so it should be: >mail($to, $subject, $msg, $headers, "-fsupport@piazza.cc");
  8. Set Up Small Network - Router Or Switch?

    Wired will be much more reliable and faster than wireless. I wouldn't recommend connecting workstations wirelessly in an office environment. As far as hub vs switch, I don't think either one should require any configuration. As stated previously, a switch gives better performance, though with only 6 PCs on the network, congestion shouldn't be a big issue. A switch will also increase security by preventing someone at one PC from using a packet sniffer to see traffic destined for another PC on the network (emails, password, etc) if you're concerned about something like that.
  9. Need Redirect Help

    I don't think you can do a wildcard redirect to a single page using cPanel's redirect, but adding the following to .htaccess should work >RedirectMatch ^/gallery/.* http://www.domain.com/pictures/main.php
  10. Cookies With Special Characters

    It is somehow being processed by magic quotes twice. Maybe it's a value passed in through POST from a form causing 'O'Neill' to be escaped as 'O\'Neill'. If the value were then written as is to a cookie, when it was later passed back to PHP the backslash (\\) and quote (\') would again be escaped resulting in 'O\\\'Neill', etc.
  11. Cookies With Special Characters

    The backslashes are probably being added because magic quotes is on. Magic quotes automatically escapes all quotes and backslashes in post, get & cookie data. Use stripslashes() to remove the slashes. get_magic_quotes_gpc() will return true if it's enabled, false if not.
  12. Mysql_real_escape_string Help

    No, mysql_real_escape_string() is used to guard against SQL injection attacks. It doesn't care about any HTML that may be contained in the string. Something like strip_tags() can be used to remove HTML tags (but won't escape quotes, etc. that are used in SQL injection.)
  13. Phplists Pre-flight Checklist: Dnsreport.com?

    Reverse DNS should be fine for any site hosted here. If it's the site in your profile, the IP resolves to ophideran.tchmachines.com. so it should not be a problem.
  14. Maybe try polling each of your DNS servers with nslookup or dig to see if one of them is returning stale records. That would explain why it resolves correctly on some computers, but not others.
  15. I believe this should work >RewriteCond %{QUERY_STRING} page=32 [NC] RewriteRule ^Default.asp$ /about_us/? [R=301,NC,L]
×