Search results

  1. M

    Disabling magic qoutes

    Try searching for "disable magic quotes" and you'll learn why it's not possible and workarounds.
  2. M

    Problem with menubar when viewed in IE

    SpryMenuBarHorizontal.css has the following: /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */ @media screen, projection { ul.MenuBarHorizontal li.MenuBarItemIE { display: inline; f\loat: left; background: #FFF; } } The #FFF...
  3. M

    Array sorting in php

    Two options: use array_multisort or combine the arrays with array_combine and sort the resulting array using asort or arsort. You'll need to use the usernames as keys, since scores may not be unique. // option 1: array_multisort($scores, $users); // option 2: $userscores =...
  4. M

    Internal Server Error

    I can't really take credit. The joke's been made many times, and Corey was the first to mention fsck.
  5. M

    Internal Server Error

    You mean he fscked up?
  6. M

    Running perl with CRON

    `/usr/bin/perl /home/redxdev/dir/script.pl` should work. If you set executable permissions on the file (e.g. 711) and start the file with a shebang line, you can also use `/home/redxdev/dir/script.pl` as the command line. Any reference to '/dir/script.pl' won't work because there's nothing at...
  7. M

    cgi-bin

    Did adrenlinerush solve your issue? What are the URLs of the CGI scripts that aren't working? For example, http://artworld.x10hosting.com/cgi-bin/textclock.cgi seems to work. What, exactly, is failing? Are you getting an error message? Are you getting no output? Always describe the behavior you...
  8. M

    hello

    Access a page generating the 500 response and then check the error log. We community members have no way of seeing the actual error. Edit: Starka is undergoing updates, which had complications. Whenever something that previously was working suddenly stops working, and you haven't changed a...
  9. M

    Website Home Page Error

    Strictly speaking, it's not an error message. Your best bet is to try a Google search.
  10. M

    Cgi/perl

    http://perlplan.x10hosting.com/cgi-bin/helloworld.cgi accesses the CGI script but results in a 500 error. What do the error logs say? When a script works under Windows but not a Unix flavor, it's almost always a matter of permissions or line endings. The Unix family and MS OS family use...
  11. M

    directory & file permissions

    For your edification: "Linux permissions help".
  12. M

    Is asp.net 3.5 sp1 and AJAX supported?

    Search the forums and you'll find many posts covering which version of ASP.Net is supported. You'll also find the very important "How to get ASP.Net to work at x10Hosting". AJAX is client side. It's a matter of the site developer(s) using it, not the server supporting it. If you mean "ASP.Net...
  13. M

    Server Error in '/' Application

    "Default.aspx" is the correct capitalization; "default.aspx" probably won't work (though it depends on the value of the DirectoryIndex directive). Ignore the stuff about .htaccess; that was a stab in the dark, and we have no reason to suspect it (for now). Again, do what the error page says...
  14. M

    Imap php extension

    To check whether a specific extension is loaded, use extension_loaded. To see all loaded extensions, use get_loaded_extensions.
  15. M

    Server Error in '/' Application

    The X10 servers run Linux, which uses a case-sensitive file system (though the real cause is that URLs are supposed to be case sensitive). Rename "Index.htm" to "index.html". As for the original error, do what the message says and add a <customErrors> tag to web.config.
  16. M

    CSS layout

    Screenshots are always helpful, especially for those of us w/o IE (we can use browsershots, but there's a wait). Develop on the most CSS compliant browser (currently, Safari 4, Google Chrome 3 or 4, and Opera 10), though Firefox is close enough (and Firebug is invaluable). The Acid3 test is...
  17. M

    [PHP] Basics of PHP Scripting

    Read the PHP manual on the string type. Any support for this comment? That echo doesn't require concatenating strings doesn't count, since your statement is more general, though you could qualify your statement. @archdesun: are you serious? Why?
  18. M

    Support for script languages

    <pedantry>C, Java, CGI and ASP.Net aren't scripting languages. C and Java are compiled languages. CGI is a standard for web servers to delegate request handling to an external program. ASP.Net is a framework. The languages supported by Mono include VB and C#.</pedantry>
  19. M

    *Hiding links* tutorial

    It might stop script kiddies, but that's about it. Security through only obscurity never works. The facts are: to be viewable in a browser, a resource needs a URL; if it has a URL, it's accessible. That's the whole point of URLs. Don't be gauche.
  20. M

    Tutorial: PHP/MySQL Membership System

    `username` and `email` should have a UNIQUE index. Calling stripslashes after mysql_real_escape_string will most likely undo the latter's affects. stripslashes should be called first, and only if magic_quotes_gpc is enabled. Rather than doing it in form(), you could do it once globally in...
Top