Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by voilsb

  1. Same thing. Unlimited Disk Space, voils.net, server54
  2. I'm not sure if this is the most appropriate forum, but I'm not really sure where this would best fit. I wasn't sure if I should post here in Backend, since it deals with that sort of thing, or in pre-sales, since it might be good info for those looking at TCH as an option. If it needs to get moved, I apologize. I'm curious, if it's public information, how many accounts are allocated per server? Is it dependant on the plans used? For example, more Basic accounts per server than Gold accounts? I'm mainly curious how many accounts share the processing power, to help in a discussion with a friend for what's available at TCH.
  3. Just one. Money's kinda tight right now.
  4. So I decided to do the gmailswap thing, and offerred to drink a beer in honor of the person to send me an invite. Less than a minute later I had an invite. Then I drank a beer
  5. So what'd you swap for it?
  6. I'm not so sure this is the case. I can anonymously log in to my domain, and can browse the directory tree (/ and incoming, both otherwise empty).
  7. Thank you. That's exactly what I was looking for, but somehow wasn't able to find it on my own. Sometimes it just takes a second pair of eyes
  8. I've noticed that all mail sent to my domain, even if it's sent to an invalid e-mail account, gets processed and delivered. Invalid addresses get delivered to my site account. Is there a setting somewhere to have it bounce with a "user unknown" error if a mail is sent to a user who doesn't exist, or should I open a help desk ticket to get this fixed?
  9. It's been raining and in the 50s here ... that's March weather! It's supposed to be in the 80s or 90s and sunny this time of year!
  10. That's really cool. You guys are awesome. I say up the ante a bit, though, and include EMTs and soldiers, sailors, airmen and Marines in that list.
  11. Thanks Bruce! I figured it would be a helpdesk thing for a "backup-except-xyz" sort of thing. I'm still not clear on the filters/aliases thing, though. When I click on it, all it does it downloads is a gzipped empty text document.
  12. I have a question about how to use the filters, if someone may know ... Say I only wanted to backup a specific subdomain I have, or I want to keep them all backed up, but separately? Or if I wanted to backup everything except a particular directory or file type?
  13. Is there a way to allow FTP users to change their passwords? For instance, if my younger brother has an FTP account "bro@domain.com" with a default password of "dont_keep", is it possible for him to change it on his own? Or is the only way to change passwords for me to go into cPanel and change the passwords myself?
  14. I use MailMe from http://www.arkie.net/~scripts/mailme/ It has the e-mail address embedded in the script, so bots can't read it. You can configure it to allow for multiple e-mail addresses, too, if you'd like.
  15. According to Head Guru (here), mod_gzip was being installed on the shared servers. That ended up getting cancelled, I take it? Also, from what all I've read, even on high-volume servers mod_gzip creates at worst a nominal increase in load, and can potentially even *reduce* cpu load, depending on filesizes and configuration.
  16. Basically, I have get.php and links.php in the root directory. $webdir="home/MYUSERNAME/public_html"; won't work ... you need the leading slash. It should be "/home/MYUSERNAME/public_html" Yes, the $targetdir vs $sourcedir thing is syntax ... feel free to rename it. And in my particular case, I have it set where users cannot view the actual folder. The files are in public_html/downloads (though they don't really even have to be in public_html .. you can change the source to fit) and the URLs are pointing to download/FILENAME. So you would access myhostname.com/links.php and get a list of myhostname.com/downloads, which you can't view with a web browser (.htacces contains 'deny from all'). links.php generates URLs pointing to myhostname.com/download/FILENAME (a directory that doesn't really exist) and the public_html .htaccess file translates myhostname.com/download/FILENAME into myhostname.com/get.php?val=FILENAME and spits out the file. Of course, you can change all that if you wanted by changing the variables. $webdir should remain "/home/MYUSERNAME/public_html" but $targetdir can be whatever you want it to be. Or, you can just outright replace $downloaddir with wherever you want it to be, so long as it's readable by php. You will have to likewise adjust your RewriteRules, though.
  17. I use MailMe from http://www.arkie.net/~scripts/mailme/
  18. I modified the code provided above to auto-generate the links. It's two files. Here they are: links.php ><?php $webdir="/home/username/public_html"; $targetdir="/downloads"; $downloaddir=$webdir . $targetdir; function hsize($file) { // gets the filesize of the files and formats them in a human-readable format global $downloaddir; $filepath = "$downloaddir/$file"; // Setup some common file size measurements. $kb = 1024; // Kilobyte $mb = 1048576; // Megabyte // Get the file size in bytes. $size = filesize($filepath); /* If it's less than a kb we just return the size, otherwise we keep going until the size is in the appropriate measurement range. */ if($size < $kb) { return $size." bytes"; } else if($size < $mb) { return round($size/$kb,2)." Kb"; } else { return round($size/$mb,2)." Mb"; } } function ls() // this function prints a directory list with HTML links { global $downloaddir, $targetdir; $dir_list = array(); $dir = opendir($downloaddir); while (false !== ($file = readdir($dir))) // read the files in the directory to an array { if ( ! ereg('^\.', $file) ) // don't include files that start with '.' in the list $dir_list[] = $file; } closedir($dir); natcasesort($dir_list); // sort the directory alphabetically; case insensitive. use natsort() or asort() if you want case-sensitive sorting reset($dir_list); // read the filenames and sizes from the array and generate the HTML links while (list($key, $val) = each($dir_list)) { $file_size = hsize($val); // get the file size for each file as it's read from the dir_list array // use this one if using ModRewrite echo "<tr><td><a href='/download/$val'>$val</a></td><td> </td><td>$file_size</td></tr>"; // uncomment this if you don't have/use ModRewrite // echo "<tr><td><a href='get.php?val=$val'>$val</a></td><td> </td><td>$file_size</td></tr>"; } } // generate the actual webpage: echo "<html><body><table>"; echo "<tr><td><b>Filename</b></td><td> </td><td><b>File Size</b></td></tr>"; ls(); // call the directory list function and generate the download list // close up the webpage echo "</table></body></html>"; ?> get.php ><?php $webdir="/home/username/public_html"; $targetdir="/downloads"; $uploaddir=$webdir . $targetdir; if (file_exists("$uploaddir/$val")) //check if the file exists, provide a 404 error if it doesn't { header("Content-Disposition: disposition-type=attachment; filename=$val"); readfile("$uploaddir/$val"); } else { echo 'User from '.$_SERVER["REMOTE_ADDR"].' encountered an <h1>error 404: File Not Found</h1> at ****** while attempting to access /download/'.$val.' with '.$_SERVER['HTTP_USER_AGENT']; } ?> This code uses the following rewrite rules for your .htaccess file: ><IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^download/([\ -z]+) get.php?val=$1 </IfModule>
  19. Yeah, that's pretty interesting stuff. I'd seen it before, but it's still cool to have come up again.
  20. Win32: Editpad Lite, but I'm thinking about switching to something with syntax highlighting (Editpad Pro has it, but not the free Lite version) Linux: Emacs, mostly Pico Vim
  21. I had a freak incident where my root .htaccess file was corrupted, and the backup available thru cpanel contained the corrupted file. So I submitted a helpdesk ticket asking if I could restore a file from an older backup than available, and it was restored in half an hour! Rock Sign Thanks Jacob!
  22. I've been seeing similar ... it's annoying. Basically, the virus/worm/whatever this one is reads from somebody's addressbook and picks a to: and a from: from it, and sends out an infected e-mail. So it's possible for someone to get an e-mail apparently from you sent to another person if an infected third party has both you and the recipient in their addressbook. Methinks it attacks Outlook addressbooks, but that's just speculation on my part.
  23. The newest link has better data (for my eyes), but it still doesn't work. I match "tritanomaly" for the monochromatic red, but that's the only one. All the others there's a noticible difference between "normal vision" and any/all of the colorblind options, just like the link in the original test.
  24. Doesn't work for me. I'm colorblind (both red/green and blue/purple) and *none* of the three options they give works. None of the "colorblind looking" pages for google.com looks like the original page. Likewise, it fails on a few others I figured I'd test. It's possible it's because they in no way include blue/purple colorblind, which isn't terribly uncommon.
  • Create New...