Jump to content

FarmerTodd

Members
  • Posts

    56
  • Joined

  • Last visited

FarmerTodd's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

0

Reputation

  1. Both sides of the debate seem "amazed" at the other side. ... Which is kind-of amazing in and of itself. How can 50% of Americans think Obama is great ... and the other 50% think that McCain and Palin are great? And more to the real situation... how can 50% HATE Obama/Biden, and 50% HATE McCain/Palin? That is something that I can't understand because I'm sitting around talking with McCain supporters and I am dumbfounded. We are on completely different planets. What was it like before the Civil War? Was it even more divided? Hard to imagine... Thanks for your perspectives.
  2. Well, they are a lot richer than me... but no, not ultra rich. I am just illustrating that it can't be the same for all income levels... which apparently goes against your overall principals. Someone making 2 million a year would see a larger increase in taxes than someone making 250k, who would only see a small increase (offset by designating their McMansion property "Agricultural" so as to pay almost no property taxes ... which happens a lot out here). I am starting to lean right though... once I start getting paid for my time working for the PTA I will probably make over $250k and will want to keep as much as I can... Damn, I keep forgetting they don't pay... Okay, still Obama.
  3. Of course, I wouldn't call any of my videos "Film Productions"...
  4. I actually have and use Pinnacle Studio 10 and curse a blue streak every time I use it. It has some huge problems with memory management or something because it will just crash out of the blue and I have a clean, mean machine. It is pretty easy to use though. If you are beyond deciding what program to use, I have done a lot of videos editing so may offer some help...?
  5. In the case you are trying to illustrate, your son would have to achieve the A+ by taking advantage of the many loop holes that he can afford to pay others to investigate and implement for him. He would also need to be one of the 2% elite who have 85% of all the A's in the world, and then not be willing to part with just the "-" part of the A+.. so that my son, who because his parents are public servants (like teachers or police officers) doesn't have the freedoms and opportunities your son has despite working just as hard .. can have a grade that he can get by with to get a job working for your son. If he won't help my son in trying times, my son can't be there to shoulder the heavy lifting, and then your son can't make A+s anymore.... I know you are going to say that it's the lazy bums who don't work that get the money (social services etc) .. but that's a small percentage and you can't throw the baby out with the bathwater I say. Again, I am no socialist, but there is a point at which the money gets so concentrated at the top that the whole thing will tumble ... and the trickle down theory smells like pee to me : ) I am going to speak with my friend who did 2 tours in Iraq and see why he's not worried about the ultra rich... oh yea, he made diddly in the Army for putting his life on the line and now sprays lawns for a living (barely making it)... I guess he should wait in line at the VA for a couple hours to ask them why they don't have any funding... Because we keep cutting taxes for big corporations and racking up debt ... leaving us completely unable to make the right choices. McCain talks a big talk, but he's been on duty way to long to pretend he's a change agent. Get out and vote !
  6. You can't just latch onto every catch phrase the GOP puts out. .. but no, I am not a socialist ... and neither is Obama. I love my country and although didn't serve in the military, I am a regular volunteer in my community and have many friends and family who are war veterans (4). I take offense to the idea that to say our country's reputation has been tarnished by Bush and his administration is to say I am not proud to be an American. That's the problem with Republicans, it's there way or they'll do anything to make it their way (the ends justifies the means at all costs I guess). I am glad you have your opinion and uphold your right to have it... that's why we have elections and the people decide. . . but Palin insinuating that those who don't agree with her are not "Real Americans" is so anti-American I don't know how anyone can stomach it. No Democrat would ever say that because they believe in equity for all Americans... not just those who agree with them. Thank God we live in America where the election will trump everything said here ... and I expect that most people have seen the light. Your hosting service is good though... so we can agree on that.
  7. At the risk of my question not being answered in another topic... I don't understand the American Flag Pin argument. If you read the article it clearly articulates why he's not wearing the pin and it makes perfect sense to me. Wearing a lapel pin to prove you are American is like slapping a "support our troops" sticker on your car while you throttle it from your suburb to Walmart. The sticker isn't support, doing something is support and that's exactly what Barack has done and will do for our Flag... return it to it's glory...no pin required. And the gun thing, if you look into it (snopes.com) you will see that he is only for common sense gun laws to keep ex-convicts from obtaining automatic assault rifles.. Legitimate citizens who want a mega-gun can get one if they fill out the paperwork and wait a few weeks. Reasonable in my mind .. expecially since I know some people who should never, ever , ever, get a gun in a hurry (until they are sober at least : ). Cheers,
  8. I am using SmartFTP and am using a broadband (cable) ISP. I do upload some large files, but it happens irregularly regardless of what I am uploading. I just assumed there is some connection maximum that is being reached an I get kicked....?? Thanks, Todd
  9. When implementing the squirelmail script, it pops up another login screen (so kinda defeats the purpose): The server www.my domain name.com at WebMail requires a username and password. Warning: This server is requesting that your username and password be sent in an insecure manner (basic authentication without a secure connection). When modifying the script for my server, I had to change the server path to <form method="post" action="http://www.my domain name.com/3rdparty/squirrelmail/src/webmail.php"> and I tried with the redirect.php ending, but both act the same. Any ideas? Thanks, Todd
  10. This has always been the case for me. The connection times out, gets "forcibly disconnected" or some other interruption. I use SmartFTP and have never been able to figure it out. OJB, if you learn something, please share. Thanks, FarmerTodd
  11. I found a backup utility from TCH written by Bruce Richards / Andy Beckett and am getting an error when I run it: Warning: filetype() [function.filetype]: Lstat failed for (null) (errno=2 - No such file or directory) in /home/username/public_html/backups/backup.php on line 56 Warning: fopen(/home/username/backups/121606-0936am-bolderstaffing.zip) [function.fopen]: failed to open stream: No such file or directory in /home/username/public_html/backups/backup.php on line 62 Warning: filesize() [function.filesize]: Stat failed for /home/username/backups/121606-0936am-bolderstaffing.zip (errno=2 - No such file or directory) in /home/username/public_html/backups/backup.php on line 63 Warning: fread(): supplied argument is not a valid stream resource in /home/bolder/public_html/backups/backup.php on line 63 Warning: fclose(): supplied argument is not a valid stream resource in /home/bolder/public_html/backups/backup.php on line 64 Backup created and sent! File name /home/username/backups/121606-0936am-bolderstaffing.zip I edited my username out of the message FYI. I setup the variables as follows: // setup variables $remove_file = "yes"; // remove file when done -- recommended! $path= '/home/username/public_html/'; // Full path to backup $zipfile = "bolderstaffing.zip"; // backup file name $zippath = "/home/username/backups"; // path to save backup file $send_email = "yes"; // Do you want this backup sent to your email? Fill out the next 2 lines $to = "myemailaddress@domain.com"; // Who to send the emails to $from = "backup@domain.com"; // Who should the emails be sent from? $senddate = date("j F Y"); $subject = "Backup - $senddate"; // Subject in the email to be sent. $message = "Your backup is attached to this email"; // Brief Message. $use_ftp = "no"; // Do you want this backup uploaded to an ftp server? Fill out the next 4 lines $ftp_server = "localhost"; // FTP hostname $ftp_user_name = ""; // FTP username $ftp_user_pass = ""; // FTP password $ftp_path = "/"; // This is the path to upload on your ftp server! If you want to see the entire source for this code: <?php // +----------------------------------------------------------------------+ // | PHP Version 4 | // +----------------------------------------------------------------------+ // | Copyright © 2006 Bruce Richards / Andy Beckett | // | | // | Purpose: To backup a folder structure to a zip file and then FTP | // | the file to a remote server | // | | // | Requires: zip be installed on the server and that you are able | // | to use the passthru command of PHP, the TCH servers | // | do have zip installed and passthru can be used. | // | | // | WARNING: Depending on what you are backing up the files can be quite | // | large. Be sure you have enough space for what you are | // | backing up. Also, sending huge files via email is not | // | recommended. | // | | // +----------------------------------------------------------------------+ // | Author: Bruce Richards / Andy Beckett | // +----------------------------------------------------------------------+ // // setup variables $remove_file = "yes"; // remove file when done -- recommended! $path= '/home/xxxxx/public_html/'; // Full path to backup $zipfile = "bolderstaffing.zip"; // backup file name $zippath = "/home/xxxxx/backups"; // path to save backup file $send_email = "yes"; // Do you want this backup sent to your email? Fill out the next 2 lines $to = "farm_r_todd@xxxxx.com"; // Who to send the emails to $from = "backup@xxxxx.com"; // Who should the emails be sent from? $senddate = date("j F Y"); $subject = "Backup - $senddate"; // Subject in the email to be sent. $message = "Your backup is attached to this email"; // Brief Message. $use_ftp = "no"; // Do you want this backup uploaded to an ftp server? Fill out the next 4 lines $ftp_server = "localhost"; // FTP hostname $ftp_user_name = ""; // FTP username $ftp_user_pass = ""; // FTP password $ftp_path = "/"; // This is the path to upload on your ftp server! // Do not Modify below this line! $date = date("mdy-hia"); $zipname = "$zippath/$date-$zipfile"; passthru("nice -n 16 zip -q -r $zipname $path "); $filename2 = "$zipname"; if($send_email == "yes" ){ $fileatt_type = filetype($filename2); $fileatt_name = "".$date."-".$zipfile.""; $headers = "From: $from"; // Read the file to be attached ('rb' = read binary) $file = fopen($filename2,'rb'); $data = fread($file,filesize($filename2)); fclose($file); // Generate a boundary string $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Add the headers for a file attachment $headers .= "\nMIME-Version: 1.0\n" ."Content-Type: multipart/mixed;\n" ." boundary=\"{$mime_boundary}\""; // Add a multipart boundary above the plain message $message = "This is a multi-part message in MIME format.\n\n" ."--{$mime_boundary}\n" ."Content-Type: text/plain; charset=\"iso-8859-1\"\n" ."Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; // Base64 encode the file data $data = chunk_split(base64_encode($data)); // Add file attachment to the message $message .= "--{$mime_boundary}\n" ."Content-Type: {$fileatt_type};\n" ." name=\"{$fileatt_name}\"\n" ."Content-Disposition: attachment;\n" ." filename=\"{$fileatt_name}\"\n" ."Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" ."--{$mime_boundary}--\n"; // Send the message $ok = @mail($to, $subject, $message, $headers. "-f" .$from); if ($ok) { echo "<h4><center>Backup created and sent! File name $filename2</center></h4>"; } else { echo "<h4><center>Mail could not be sent. Sorry!</center></h4>"; } } if($use_ftp == "yes"){ $conn = ftp_connect($ftp_server); if(!$conn) { exit("Could not connect to server: $ftp_server\n"); } if(!ftp_login($conn,$ftp_user_name,$ftp_user_pass)) { ftp_quit($conn); exit("Could not log in\n"); } ftp_chdir($conn,$ftp_path); $remotefile = "".$date."-".$zipfile.""; if(!ftp_put($conn, $ftp_path.$remotefile, $filename2, FTP_BINARY)) { echo "Could not upload $filename2\n"; } ftp_quit($conn); echo "<h4><center>$filename2 Was created and uploaded to your FTP server!</center></h4>"; } if($remove_file=="yes"){ exec("rm -r -f $filename2"); } ?>
×
×
  • Create New...