Jump to content

Aella

Members
  • Posts

    24
  • Joined

  • Last visited

Contact Methods

  • AIM
    aellalei
  • Website URL
    http://www.aellalei.com
  • ICQ
    3388025
  • Yahoo
    aellas

Aella's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

0

Reputation

  1. Thanks so much! that solved my problem
  2. True, but I like my FF settings. A page would have to be really incredibly awesome for me to change them, or my web surfing habbits. Take my opinion with a grain of salt, I may not be the intented auidence and I may be in the minority. But I never liked those scripts that disabled the right mouse button.
  3. I’m looking for a way in php to tell if a specific module is installed in apache, akin to apache_get_modules(). I know phpinfo would work, but that outputs to the screen I’d really rather have a function that returns an array, or a Boolean if passed the name of a specific module. I’m creating a sanity check page for my domain, so I can tell everything is set up the way I want it to be. Its kind of like TCH Server Status page - failed tests are big and red so I can tell at a glance if things aren’t working. If I use phpinfo, I have to read the file and remember what it is I’m looking for.
  4. Disabling right mouse button annoys the snot out of me, personally. I use firefox and like to open tabs in new windows, but if the right mouse button is disabled I can't. I also like to right click to view source or book mark the page. There are lots of reasons to right click that don't involve pictures at all, and as you said, it's easy enough to get around it. Sure I don't necessarly need to right click to book mark a page, but if you're going to make it difficult for me, I'm going to leave Just my two cents.
  5. Question: I'm thinking of changing my scripts on my website over from client side to server side. Should I do it? My understanding of the state of the universe (please offer an alternate understanding of the state of the universe): PRO: Server side scripts work for everyone (if they work at all) PRO: Server side scripts hide implementation details were client scripts do not. PRO: Server side scripts look cooler. (IMOA anyway) CON: Can create large server loads (assuming people actually visit) and make the site slower for everyone. CON: Can cause damage to my site if I'm not careful about what I'm doing / protect them from would-be-hackers. CON: My script might become a renegade script, since I don't really know what I'm doing and I'm not sure how to quash it when it does. PRO/CON: My knowledge of Perl and PHP is severely lacking, I'd have to learn. I've seen a lot of professional webpages done solely in PHP, so I would think it wouldn't be so bad to convert over my javascripts. And I'd really rather things work for everyone. If the display is a little wonky, I can live with it, but right now there are some parts of my site that won't work if you've disabled javascript.
  6. I should have done more poking around before posting, but I found this: http://www.tchstatus.com/monitoring/status.html and when I click on server 27's http server is much slower than any of the other servers, but I don't know if it's significant or not. Just pointing it out in case it is. I like it when my website is fast
  7. the scripts on my site seem awfully slow today, so I was just wondering if I was crazy, and hoping I didn't break anything
  8. I think the most grievous mistake that I’ve found thus far was saving the user level in a cookie and then not verifying user level (or even that the user existed) with the database. You want to be an admin? Okay! Just edit your cookies. It’s become a personal challenge of sorts now
  9. Hi, I downloaded a freeware login script, but have some issues with major security flaws and bugs. One thing I’ve noticed is that it’s not verifying the user names are unique when people register. I’ve tracked the problem down to the following lines of code: > $sql = "SELECT username FROM ".$prefix."_users WHERE username='$HTTP_POST_VARS[username]'"; $result = $db->query($sql); $sql2 = "SELECT email FROM ".$prefix."_users WHERE email='$HTTP_POST_VARS[email]'"; $result2 = $db->query($sql2); $num = $db->num($result); $num2 = $db->num($result2); if(($num > 0) || ($num2 > 0)) { if($num > 0) { $display .= "<font class=\"text\">That username is already taken. Please choose another one</font><br />"; unset($HTTP_POST_VARS['username']); } if($num2 > 0) { $display .= "<font class=\"text\">That email address is already in use. If you\'ve already registerd, and forgot your password, please use the <a href=\"forgot.php\">Password Recovery</a> system.</font><br />"; unset($HTTP_POST_VARS['email']); } If I try to register with a different user name, but the same email address as an existing user, I enter both the if($num2 > 0) AND if ($num > 0) cases. But if I try to register with just the same user name as an existing user, but a unique email address, neither case matches. Unfortunately my knowledge of PHP and SQL databases is severally lacking, and nothing is immediately obvious to me what’s wrong, or even where to start looking. Any ideas would be greatly appreciated.
  10. I want to move my second site to TCH! I’m creating it with a friend of mine, and she picked the host. A horrible, horrible host. The control panel is impossible to navigate, and the FAQ references different category names than actually exist. I’m tempted to leave now though I have close to two years left with the hosting, but I don't want all that work to go to waste. So I’m wondering, how easy is it to move an SQL database? Or an Ikonboard? It seems like it shouldn’t be that hard, but I don’t really know what I’m doing and the host is less than helpful.
  11. Hi I'm knew to Php so this'll probably be an easy question. I have the following line of code at the top of my php file (before the <HTML> tag) ><?php $foo = 'bar'; ?> and then later ><? $foo ?> but when I view the page, it looks like $foo was empty and the string 'bar' doesn't appear anywhere. Is there anything I'm clearly doing wrong? I'd really like to understand php better
  12. Hi I found this script which is supposed to mail me when a file not found error has occured. I put it in my 404 error document, and it works... sort of. I get a message in my inbox saying "This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:" It goes on to say that it failed to lock mailbox. What does that mean "failed to lock mailbox"? Is that something I can fix? Thanks!
  13. Now this may sound really stupid... but what's a private IP? Is that like a static one?
  14. I know that by creating a subdomain, I can access http://subdomain.domain.com, and not http://www.subdomain.domain.com. But If you visit http://www.images.google.com, you're redirected to http://images.google.com. I was wondering how that works, and perhaps more importantly, whether I could set something like that up to while being hosted here. I tried creating a folder www.subdomain so that when I made it into a subdomain I'd have www.subdomain.domain.com, but that didn't work out too well and I'm out of ideas. Is there any other tricks I can try?
×
×
  • Create New...