Jump to content


  • Posts

  • Joined

  • Last visited

madmoose's Achievements


Apprentice (3/14)

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

Recent Badges



  1. I'm interested. I only meant do we still pass tickets through your regular help desk when something goes wrong?
  2. What degree of tech service is offered to semi-managed servers?
  3. I'm interested. A couple questions... Managed or unmanaged? Will moving my sites mean propagating a new IP? If so, does this mean reinstalling SSL certs? Fee? I have some custom server configurations on my current accounts. Can I keep them on the new server? Who will move my sites? The deal says no setup fee, but the order form asks for $99 1st month Thank you for your attention.
  4. Here is an interesting entry to my logs that have shown up regularly as of late: http://localhost/~luki/D1-XMB.php another entry: (IP points to RIPE Network Coordination Centre in Amsterdam) Is this actually an account named luki on server 21 trying to run a script on my account?
  5. If SSL certs must be installed by TCH, why is there a control panel for this in my user cpanel? What is this for if not to generate SCRs and install SSL certs as it appears?
  6. Woke this morning to find someone testing one of my forms, I suppose for injection weaknesses, but not using any characters I'm blocking. What do you suppose they are looking for when they send a form with this content... Name: ª?¥<= E-mail: bom@hotmail.com IP Address: Comments: Œ“?«Ã·<pi>©<a href=http://www.xxxxxxx.com>?˜¿‡“«±Ìª?¥<=</a>°£ Note: I altered the URL as it pointed to a zip file. I have done a decent job of blocking line returns and other false header info. What purpose may it serve spammers to send these characters through a form?
  7. Does TCH allow users to install their own 3rd party SSL certs? Are there instructions posted anywhere for doing so?
  8. I have a resellers account and have seen the setup for skeleton directories in the WHM, but I only want the skeleton setting to apply to the subdomains of one specific domain. Any ideas?
  9. Is it possible to setup a skeleton dir (with a specified set of files) from cpanel that will populate new subdomain dirs as they are created?
  10. No I have not installed anything and it appears to have happened on all my hosted accounts. I will start a ticket in the morning. Thanks, BC
  11. why did a new database named test_bd just appear in all my accounts? I notice it does not appear in the cpanel and therefore can't be deleated. BC
  12. The reason the "empty" folders can't be thrown away is because it still contains an invisible file named "icon" which the server says isn't even there. It seems I create this icon by uploading directories with dependent files to the server rather than creating the directory and then uploading its contents secondarily. This is not convenient procedure for managing large sites yet irritating to dismiss this extra step and then be stuck with dirs that fill up the trash and can't be deleted. I'd like to know how to avoid this icon file from the start. BC
  13. I am trying to use a mailform to send an image from a webpage to the viewer. In most cases this works fine... 100% to web based email accounts and 50% to POP mail accounts on Mac and PC. In the cases that fail, the mail arrives but the images is displayed simply as code in the body of the mail. I am unsure why sometimes it works and sometimes not (all testing the same image files). Here are the 2 pages of code I am using. Does anyone see something wrong that I have missed? Thanks for any suggesstions BC form.php (only sensitive server info has been altered): <? if(isset($_POST['Submit'])) { $guestemail = $_POST['guestemail']; if ($guestemail <> "") { include("mail_attach.php"); $filename="/home/username/public_html/images/img.jpg"; $fh=fopen($filename,"r"); $data=fread($fh,filesize($filename)); mail_attach($guestemail,$mymail,$subject,"Here is the photo you requested.\n","img.jpg",$data,3,"application/octet-stream", "$headers"); ?> <p><font color="#0000CC"><i><b>Image Sent.</b></i></font></p> <? } else { ?> <p><font color="#FF0000"><b><i>Could not send image.</i></b></font></p> <? } } ?> <form name="mailpic" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <p>Enter your E-mail: <input type="text" name="guestemail" size="20"> <input type="submit" name="Submit" value="Send"> </p> </form> mail_attach.php: <? function mail_attach($to,$from,$subject,$body,$fname,$data, $priority=3,$type="Application/Octet-Stream") { $mime_boundary = "<<<:" . md5(uniqid(mt_rand(), 1)); $fdata = chunk_split(base64_encode($data)); $headers .= "From: $from\r\n"; $headers .= "To: $to\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "X-Priority: $priority\r\n"; $headers .= "Content-Type: multipart/mixed;\r\n"; $headers .= " boundary=\"" . $mime_boundary . "\"\r\n"; $mime = "This is a multi-part message in MIME format.\r\n"; $mime .= "\r\n"; $mime .= "--" . $mime_boundary . "\r\n"; $mime .= "Content-Type: text/plain; charset=\"iso-8859-1\"\r\n"; $mime .= "Content-Transfer-Encoding: 7bit\r\n"; $mime .= "\r\n"; $mime .= $body . "\r\n"; $mime .= "--" . $mime_boundary . "\r\n"; $mime .= "Content-Disposition: attachment;\r\n"; $mime .= "Content-Type: $type; name=\"$fname\"\r\n"; $mime .= "Content-Transfer-Encoding: base64\r\n\r\n"; $mime .= $fdata . "\r\n"; $mime .= "--" . $mime_boundary . "\r\n"; mail($to, $subject, $mime, $headers); } ?>
  14. How about this... Does anyone have a good (complete) script that will allow users to load image files from a html form to an upload directory AND rename the file to a very specific name as it moves to the end directory? If I use a move function to relocate the image to a directory, I need to rename the file to a very specific name as it passes through. any ideas? MM
  15. I'm on 21. Do I need to register globals? How do I do this? Thanks MM
  • Create New...