Search results

  1. M

    MediaWiki internal error (Unable to determine IP)

    $_SERVER['REMOTE_ADDR'] definitely shouldn't be empty. How did you test it? Are any of: $_SERVER['HTTP_X_REAL_IP'] $_SERVER['X_REAL_IP'] $_SERVER['HTTP_X_FORWARDED_FOR'] $_SERVER['X_FORWARDED_FOR'] $_ENV['REMOTE_ADDR'] $_ENV['HTTP_X_REAL_IP'] $_ENV['X_REAL_IP'] $_ENV['HTTP_X_FORWARDED_FOR']...
  2. M

    MediaWiki internal error (Unable to determine IP)

    What's the value of $_SERVER['REMOTE_ADDR']? What version of MediaWiki are you using?
  3. M

    binary to computer number systems

    Give a man a fire and he's warm for the day. But set fire to him and he's warm for the rest of his life Heck, I'd settle for <sub> and <sup>
  4. M

    binary to computer number systems

    Why those two numerals? Smells a little like an assignment. Note that you can perform the conversion directly without using an intermediate base. Repeatedly take the remainder and integer quotient of the number (i.e. divide the number by the base). The remainders are the digits from least to...
  5. M

    Why Server Error

    Both URLs worked for me. You can check what the domain names resolve to with the tools on your local system (e.g. dig for Unixen, nslookup for MS OSes). You can also try clearing your browser cache. Make sure to follow the other advice in my earlier post.
  6. M

    Why Server Error

    Make sure you post a complete question, which should include a link to the problematic page. Which domain are you having problems on? I opened both http://joomlak.co.cc/ and http://hkhoa.tk/. Each opened without error. Rather than managing your zone yourself, have the X10 nameservers do it...
  7. M

    Server error

    That's not enough information. What was the exact error? What was the exact page? What browser were you using (this doesn't often matter for server errors, but can be important)?
  8. M

    FTP Account

    Start with the X10 Wiki article on X10 FTP details.
  9. M

    css

    In other areas, W3Schools is outdated, incomplete and inaccurate. Their CSS section has a few problems of its own, though not as serious. Here are a few alternatives: Starting with HTML + CSS (on the W3C site) HTMLDog's CSS Beginner tutorial 20 Websites To Help You Learn and Master CSS...
  10. M

    createing links in php to database and site files in a subdomain?

    Please use , [html] or [code] tags (as appropriate) to separate and format code. PHP checks every directory listed in the include_path directive when searching for include files, unless an absolute (beginning with a "/") or relative (beginning with "./" or "../") path is used. If the file can't...
  11. M

    cURL seems to write/read cookies elsewhere.

    That's not enough information. Are you asking about the command-line cURL, or the PHP extension? If the former, how are you running curl (i.e. what are the command line arguments)? If the latter, provide complete & concise sample code. As much as possible, provide a way to reproduce the problem...
  12. M

    one hour cron

    You can also specify more specific run times for each job using "," for a set of times, "-" for a range, and "/" to skip intervals. See the X10 Wiki article on cron jobs for more info and samples. In this particular case, "," is what will be of most use. 5,25,35,55 * * * *...
  13. M

    PHPMail to my SMTP server 500 error file permissions...

    IMAP may be more reliable than SMTP. PHPMailer doesn't support IMAP (or POP), but the Mail package does.
  14. M

    Query a table based on field values from another table

    Assuming you meant to ask "how do I query multiple tables in a single query?", the answer is "use joins" (see also "A Visual Explanation of SQL Joins"). If you need more specific help, please post sample code (which in this case would be the table schema (CREATE TABLE) statements and sample data...
  15. M

    how to put links on right and left side of page

    1999 called, it wants... you know the rest. Don't use tables for layout. Please use [php], [html] or [code] tags (as appropriate) to separate and format code.
  16. M

    PHPMail to my SMTP server 500 error file permissions...

    I'm not sure what you mean by setting a socket in php.ini; sockets are created by running processes. The only sockets involved in configuring PHP are Unix sockets for certain services, such as SQL servers, which are created by the server; PHP extensions open them to communicate with the servers...
  17. M

    PHPMail to my SMTP server 500 error file permissions...

    If PHPMailer were being blocked by a firewall, you'd get an error at the application level. Server errors happen at a lower level. Start with the X10 Wiki article on the Apache internal server error.
  18. M

    PHP Contact email problem

    Some mailers won't relay; that is, they won't send if the "From" address isn't for a domain they service. Some mailers won't accept relayed e-mails. Use an e-mail address of your own for "From" and the user's e-mail just in the "Reply-To" header. If you have control over your domain records, set...
  19. M

    500 Internal Server

    It should link to any terms it doesn't define (though I've added a few more references). If you're going to run a web site, you'll need to learn these things. If there are any specific parts of the document that need clarification, post here. I'll either rewrite the article or link to another...
Top