Search results

  1. garrettroyce

    PHP Issue

    To add to what Livewire said, make sure your page has some output, otherwise it will be (correctly) a blank page :)
  2. garrettroyce

    Rounded corner Boxes in CSS

    IE has some weird quirks. For example, in Mozilla, if you were to incorrectly not clear a floating <div>, it will float over the edge of its container. IE assumes that you made a mistake and adjust the size of the container to fit the <div> Mozilla also is known to not work well with 'absolute'...
  3. garrettroyce

    Extentionless URLs

    I thought it would be beneficial to specifically mention query strings, since they are an integral part of dynamic website design and you hadn't mentioned them previously. I don't claim to be an expert on content negotiation, but from my own point of view, a site utilizing mod_rewrite and a...
  4. garrettroyce

    Extentionless URLs

    Yes, but where content negotiation lacks is in query strings, which would be the next logical step in development of a user friendly URI. Even if your user is savvy enough to realize your site is using PHP or ASP.NET or any other technology, they probably won't remember...
  5. garrettroyce

    PostgreSQL persistent connection without password

    I've not had any luck with builtin encryption. I think what would work is to use connection #1 to authenticate the user, then have the same password for everyone with different user names for connection #2. You can have the password stored safely in your script that way. And you can use a more...
  6. garrettroyce

    Extentionless URLs

    cPanel editor should work as well. Sometimes there's a problem with the differences in the way that *nix and Windows encode files, especially newlines. @mission I've never heard of using this before, thanks for the tip :) I prefer mod_rewrite simply because it has many other functionalities...
  7. garrettroyce

    Extentionless URLs

    This is achieved through .htaccess and mod_rewrite. http://en.wikipedia.org/wiki/Mod_rewrite (mainly the links at the bottom) I think this is right: RewriteEngine on RewriteRule ^/([a-zA-Z0-9_-]+$ /$1.php This means, take all characters a to z A to Z and '-' and '_' between the first '/'...
  8. garrettroyce

    Not using cPanel email

    After you setup your account at google, it asks you to prove you own the domain. Choose the option to upload an html file and follow the instructions for that. Then, setup the mail using the "mx records" options. Google doesn't list how to do it for X10, so choose the generic option. It should...
  9. garrettroyce

    Date and Time Script

    Looks good! There's this little extra output though at the beginning: 
  10. garrettroyce

    Cossacks/ Forum downtime

    I think the problems are universal across the free servers. Your site is really nice and it'd be a shame to lose it. Maybe you should look into moving onto paid. It's less than $100 a year to do it. You can probably make that much through random donations to your site, or charge your users $1...
  11. garrettroyce

    PostgreSQL persistent connection without password

    Maybe you can encrypt the password? Or, if you don't feel safe with it on the server, use an encrypted cookie. Or, do the login verification yourself and use different login information for the server. Maybe you have the same password for all users. Then, once you verify the user's identity, you...
  12. garrettroyce

    Is Lotus failing again

    Doesn't look like any alerts have been posted. x10hosting.com is offline right now, so my guess is there's a problem at the datacenter again.
  13. garrettroyce

    I've been suspended for something I did not do!?!

    Maybe your account was hacked and used for spam? Your best bet would be to submit a ticket: support.x10hosting.com
  14. garrettroyce

    My Website hacked [Help me pls]

    Maybe this is the problem? http://forums.x10hosting.com/news-announcements/97010-if-you-see-fitbit-site-instead-yours.html
  15. garrettroyce

    How can i upload file to my ftp

    If you use firefox, you can use a plugin called fireftp. It's not a fully featured as some other ftp clients but I like it :) You can create new ftp accounts through cpanel.
  16. garrettroyce

    Mysql+join+count

    Maybe this will help: (From mysql reference) COUNT(DISTINCT expr,[expr...]) Returns a count of the number of different non-NULL values. COUNT(DISTINCT) returns 0 if there were no matching rows. mysql> SELECT COUNT(DISTINCT results) FROM student; In MySQL, you can obtain the number of...
  17. garrettroyce

    php.ini Support

    I believe that the actual PHP configuration will override this (Apache always overrides a lower level configuration with a higher level).
  18. garrettroyce

    DOWNTIME AGAIN!? What about paid??

    Poor Absolut. Everyone's hatin' on him. :(
  19. garrettroyce

    Which directory do I upload to?

    www is not actually a folder, it is similar to a shortcut on Windows.
  20. garrettroyce

    original index.html still active after i replaced it!

    :) I think I answer that same problem 3 times a week. We need a sticky :P
Top