Search results

  1. W

    Index page won't update correctly

    Well this is odd. You and I posted the same answer at the *same time* to the same question posted by the same person just in different forums, nexhunter :P http://forums.x10hosting.com/programming-help/67792-cant-change-frames-index-page.html#post386987
  2. W

    Can't change frames on index page

    If I understand you correctly, your browser is probably caching the pages. You need to do a cache reload on the page in order for it to get a new copy of the html file. This can be accomplished in most browsers by holding ctrl and pressing F5, or by holding shift and clicking the reload button.
  3. W

    [Php] Image return /print

    You need to use the gd library image functions to accomplish that. You also have to be sure to specify the content-type header before outputting the image data. Here's an example from php.net: <?php header ("Content-type: image/png"); $im = @imagecreatetruecolor(120, 20) or die("Cannot...
  4. W

    Ignorant admins

    Well, I didn't mean that it was alright to call the cop an idiot while he was there :P. Notice that noerrors didn't directly insult anyone. Wouldn't you call the cop an idiot as soon as he left as well as to your friends later on? The point is that if an action can logically be considered to be...
  5. W

    Ignorant admins

    I think you guys missed the point of this thread. He's not complaining here, his complaint is on their forums. This is more a showcase of their act of stupidity. The act was just so stupid that it deserved to be brought to attention. Like he said in his post on their forums, he doesn't even care...
  6. W

    Funny Picture Thread

    I've always liked this one:
  7. W

    CGI Script with Internal Server Error

    Try #!/usr/bin/perl -wT instead of #!/perl/bin/perl -wT.
  8. W

    ASP.NET with MySQL

    Every time I've dealt with ASP, which isn't often, the db server has been SQL Server. So I'm not too sure on this myself, but a quick google search turns up this: VB: http://aspnet101.com/aspnet101/aspnet/codesample.aspx?code=mysqlcode C#...
  9. W

    How to enable logging?

    I'm not too sure if that's possible without an admin doing it, and I think that's highly unlikely. I believe you're talking about changing the LogLevel directive, and I don't think you can do that with a .htaccess file. I'm quite sure that can only be set in the httpd.conf file which we don't...
  10. W

    something that would make gamers have a heart attack

    Don't say anything to him. Take it when he isn't around and he'll probably never realize it's gone. It'd be a crime *not* to.
  11. W

    What name do you play as?

    I haven't played a game for what seems like ages, but it's really only been maybe a year. Anyway, I'm a big Doctor Who fan so I usually try to get DoctorWho or some variation of that name. And occasionally Fool or TheFool(an old nickname) but those names are often already taken.
  12. W

    Game Programming

    I've worked on all kinds of games since I got into programming, from browser-based text games to 3d mmo's. So I know a few things about this, but I still don't consider myself to be any sort of an absolute master at it. There are a lot of excellent resources out there to advance yourself though...
  13. W

    AJAX Refresh problem with IE

    Like marshian said, posting the relevant code or a link to the page is most helpful. But from the *sound* of it, I would think that you're generating xml and IE is caching it and not bothering to check if it has been updated when another request for it is made. That's something rather specific...
  14. W

    is my .htacces slowing down my site?

    It's definitely not the .htaccess file. If that .htaccess is in the root, it applies to all subdirectories(which includes /pixel). Furthermore it seems that the hang occurs after the server response, which means it's long after the server analyzes .htaccess. I'm not entirely sure what's causing...
  15. W

    AJAX response xml not working

    You need to fix the code causing the warnings here: http://jspcodes.elementfx.com/books/responsexml.php?q=8 An xml document can't have anything outside of the root element aside from processing instructions, so that output can't be parsed. You may have warnings suppressed in your local php...
  16. W

    JS - make nodeValue the id - but how...

    I wasn't saying to just remove the with() statement, I was saying to modify the code to not use it. For example, function pimp_navi(id) { var links = document.getElementById(id).getElementsByTagName('a'); for(var i=0;i<links.length;i++) { var name =...
  17. W

    JS - make nodeValue the id - but how...

    Well, change it to not use that with() statement first of all. And second, it works fine for me(without the with() that is). After I run it, I'm able to get the links by their id without any error.
  18. W

    JS slideshow help

    There's a lot of errors with that code. You define 'chgslide' but you use 'chgSlide' (note the capitalized S), you call chgSlide() in that <area> tag before it's defined, you're trying to set the src property of variables which haven't even been defined, you use 'new array()' instead of 'new...
  19. W

    How to Add a primary key in database table

    Auto-increment can only be applied to a numeric field. Varchar is a string field, it's for storing character data. Try using a numeric type. Which to use depends on how many records you think will ever be created. You can view the max storage of them here...
  20. W

    Your remote database stuff makes no sense

    I believe that you can connect remotely to your x10 mysql server, but you cannot connect to remote mysql servers from x10. So which is it that you're trying to do? Connect to your x10 db from your home comp, or connect to the db on your home comp from x10? The former is possible, but the latter...
Top