Jump to content

TCH-Andy

Members
  • Posts

    4,700
  • Joined

  • Last visited

Everything posted by TCH-Andy

  1. Welcome to the forums If you open a ticket at the help desk - we can take a look. If you have them blocked, then they may still be attempting to hit the site - but will be getting blocked. It really depends on what they are trying to do, and we can investigate that from the logs.
  2. You need to set it in the individual script, not in cpanel. If you want to set the timings for cron jobs, just set the time in Eastern time. So, if you wanted your cron job to run at 23:00 GMT then just subtract the 5 hours difference, which would be 18:00 EST. (if you are bothered, then the server runs accounts for daylight saving time).
  3. Andy, The server is in Eastern time ( as all are ) so that is 5 hours behind UK time. You can set your scripts for forums etc to UK time zone ( either GMT or BST ) if you prefer.
  4. Hi Kate, welcome to the forums You can chat to people via IM, or just use the help desk ( link at the top of the page )
  5. I'm not sure what you are after here. Do you want to modify what is seen by another sites log files, when someone follows a link from you to them ? (in which case the referer is sent by the users browser ) or are you trying to modify the ones in your log files for visitors to your account ? or something else if I have misunderstood totally.
  6. It's been a long time since the Eurovision song contest was about music
  7. 3/4 of the way through .... but I think the winner is clear. Congratulations Russia
  8. A quarter of the way through the voting ...... looks to be between Greece, Russia and Turkey with Greece slightly in the lead, so it looks as if I was wrong on my initial thoughts.
  9. well, all over bar the voting ...... I'd better get on the phone I suppose ... Sweden is pretty good Thomas .... but I think it's going to be from a Balkan / Baltic country - although I preferred Norway ( or maybe Latvia for pure entertainment value )
  10. TCH-Andy

    Hi

    Hi
  11. Looking at the code for the specific error you say it is; >39# <td class="otherinfo" /> 40# Sony 41# || R - 101 minutes - $38.96 || May 13, 2008 </td> Note that you close the 'opening' "td" tag with a slash within the command on line 39. Therefore there is no opening tag corresponding to the close tag on line 41. Hence it is giving you the error 'end tag for element "td" which is not open'. Most of your errors are due to the opening / closing of tags like this.
  12. The problem looks to be because of various incorrect html statements within the code, which is being interpreted differently in the different machines. I'd suggest running it though a validator and correcting the 157 errors, which should then also correct the error you are seeing.
  13. If you are logged in to cpanel ( or ftp) with your username and your password, then you are that user ... and hence have the permissions set by 'user' If you are a general visitor to your website, you haven't logged in as anybody ( as far as the server is concerned), so you are 'nobody'. IF you upload a file for example with a script, then it is uploaded as owner 'nobody'.
  14. Thomas is correct, it can be used to run any PHP script.
  15. Congratulations Well deserved
  16. Both of those pictures seems to show a similar thing. You need to connect a lead from the green output socket on the computer into wherever you want to use your sound ( I'm assuming the Boston speaker system ). The other picture you pasted was for if you wanted to use the speakers in your monitor, which I assume you don't.
  17. Have a look at Independent reviews of TotalChoice
  18. There are a couple of ways to do it ( for example you could loop adding each file to the zip, or list them all in the single zip command .... I haven't tested the code below, so there may be a couple of typos but the principle should work >$path= '/home/your-account/public_html/folder'; // Full path to folder of files $zipfile = "theirname.zip"; // File name for their zip file $zippath = "/home/your-account/tempfolder"; // Path to save the zip file $to = "them@theirdomain.ext"; // Who to send the emails to $from = "you@yourdomain.ext"; // Who should the emails be sent from? $subject = "files for you from me"; // Subject in the email to be sent. $message = "Your files are attached to this email"; // Brief Message. $zipname = "$zippath/$zipfile"; // Create zip file ( zipping file1 and file2 ..... you can add more files here, or you could loop through all the file names ) passthru("nice -n 16 zip -q $zipname $path/$file1 $path/$file2"); // Create the attachment $fileatt_type = filetype($zipname); $fileatt_name = $zipfile; // Read the file to be attached $file = fopen($zipname,'rb'); $data = fread($file,filesize($zipname)); fclose($file); // Base64 encode the file data $data = chunk_split(base64_encode($data)); // Generate a boundary string $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Add the headers for a file attachment $headers = "From: $from\r\n"; $headers .= "To: $to\r\n"; $headers .= "MIME-Version: 1.0\n" ."Content-Type: multipart/mixed;\n" ." boundary=\"{$mime_boundary}\""; $headers .= "X-Priority: 1\r\n"; $headers .= "X-MSMail-Priority: High\r\n"; // Add a multipart boundary above the plain message $message = "This is a multi-part message in MIME format.\n\n" ."--{$mime_boundary}\n"; $message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n" ."Content-Transfer-Encoding: 7bit\n\n"; $message .= "\n\n"; $message .= "--{$mime_boundary}\n" ."Content-Type: {$fileatt_type};\n" ." name=\"{$fileatt_name}\"\n"; $message .= "Content-Disposition: attachment;\n" ." filename=\"{$fileatt_name}\"\n" ."Content-Transfer-Encoding: base64\n\n"; $message .= $data . "\n\n" ."--{$mime_boundary}--\n"; // Send the message @mail($to, $subject, $message, $headers. "-f" .$from); // Remove zipfile exec("rm -r -f $zipname");
  19. From memory on that error, you need to define where the 'tmp' folder is. In lib/init/initlib.php ( within the tikiwiki installed directory ) add the line; >$tempdir = "/tmp"; Near the bottom of that file to define the tmp directory ( so that .... >function tempdir() { function tempdir() { static $tempdir; if (!$tempdir) { $tempfile = tempnam(false,''); $tempdir = dirname($tempfile); @unlink($tempfile); } return $tempdir; } becomes ...... > function tempdir() { static $tempdir; $tempdir = "/tmp"; if (!$tempdir) { $tempfile = tempnam(false,''); $tempdir = dirname($tempfile); @unlink($tempfile); } return $tempdir; } Or open a ticket at the help desk and ask us to do it for you
  20. If you want to be 100% certain that everything has gone, and could not be retrieved via undelete programs, then you can use one of the wipe and clean programs like Active@ KillDisk you talk about, and then use the original CD to reinstall a new OS.
  21. Dan, If you open a ticket at the help desk, they can fix the sqmail issue for you.
  22. To me, it depends on what you want to achieve. If you want to allow some files to be seen, then you would use the later. If you want to prevent access to any file other than the index file, you would use the former. The former is potentially more secure ( assuming the index file is secure ), but only if other files / areas that someone could reach are insecure.
  23. You don't say what language you are using, but general regex would be negated with a ^ so for none alpha it would be ^a-zA-Z
  24. I don't want to get too much into the debate here about pixel v's em - but generally pixels is great for what it looks like on your computer and doesn't easily allow others ( say with poor eyesight) to change it, so em's is a better way of doing things for complete flexibility. If you haven't made any changes on your system, and use defaults - then 1em = 16px (12px would be 0.75em etc). You can change image sizes, yes, although you can often lose a bit of quality in doing so. Any graphics package should be ab;e to do that for you ( eg irfanview).
×
×
  • Create New...