Search results

  1. M

    Google Maps

    As always, your best bet is to read the documentation. Register a click listener that adds a marker. The documentation even has an example.
  2. M

    eye os problem

    Let me guess (though I shouldn't have to): you were suspended for high resource usage. The free servers have numerous accounts and limited resources to share among them. If you need more, consider getting a paid account.
  3. M

    Please advice... OS: Fedora... Problem: httpd config

    What virtual desktop are you using? I suspect the problem lies there rather than with Apache or SELinux settings, given that GET works while POST doesn't, and that the virtual desktop logs an error (which shows it's processing the request). There's still a possibility SELinux could be involved...
  4. M

    Please advice... OS: Fedora... Problem: httpd config

    If you comment out the <Limit POST> directive to make it accessible to all, does it work? If so, what is your <Limit POST> section? Do any other pages in the folder (assuming there are any) generate a 403 response when posting to them? If necessary, create a simple script in the same folder and...
  5. M

    get icon from .exe PHP

    You'd need a PE format handler or data extraction tool. I'm not aware of any such for PHP. There certainly isn't anything in the core or standard extensions to handle it. If you don't have too many executables to process, you can do it by hand with one of the various resource editors rather than...
  6. M

    System Structure

    The purpose of the three classes isn't quite clear. Is FPD a utility class? Could the methods be made static (as is common for utility classes), so that you don't need to construct an FPD? Does Account manage a user account, does it represent one, or something else? What's a plan? By "unit...
  7. M

    Help with iframe code

    When I open the URL (http://www.g-java.com/gmbed/getgame.php?link=http://www.igames.org.uk/Files/WWIIGroundDefence.zip&amp;exe=WWIIGroundDefence.exe&amp;width=640&amp;height=480) used in the iframe in the example page and the URL for the page it references...
  8. M

    Site suspended; hosting account not connected to X10 account

    My site (libertatia.co.cc) is currently suspended. I suspect it's an inactivity suspension, as my hosting account is somehow no longer connected to my X10 account. Since the two are no longer connected, I can't check the suspension reason, nor can I unsuspend the site. If possible, would an...
  9. M

    run javascript in ajax response

    <accent nationality="spanish">You keep using that phrase. I do not think it means what you think it means.</accent> As I pointed out previously, jQuery will evaluate JS in responses for you. How you direct it to do so depends on whether the response is JS, JSON or HTML containing script tags...
  10. M

    Login system problems

    Which line? The line after the "*", where you compare the stored and supplied password hashes? (If that's an indicator, it's not at all clear. If that's what you have in your source code, the "*" there will cause a syntax error.) You should indicate this clearly in the code using a comment. The...
  11. M

    Login system problems

    Are you sure that code generates the syntax error you mentioned? As a link in my previous post explains, example code should also be concise, which benefits you just as much as us, for various reasons. It's especially helpful when it comes to syntax errors. It's still not self-contained and...
  12. M

    Login system problems

    The fragment you posted has no syntax error. Remember, sample code should be representative of the actual code (it should also be complete, which the sample is not). Code (both sample and production) should also be indented consistently according to some style, which will make some mistakes more...
  13. M

    run javascript in ajax response

    There's still both too much extraneous information and not enough essential information to get a clear picture of how the code is supposed to work and what it's actually doing. Follow the directions in my sig, including reading links. Apply the advice to my previous post.
  14. M

    sql error

    Please use , [php] or [html] tags as appropriate to delineate and format code (for SQL, [code] is most appropriate). You seriously need to study SQL syntax and what these statements mean, then reread what I wrote, paying close attention. Here are a few places you went wrong: "ALTER...
  15. M

    Problem: Taking information from...

    It's not as hard as you think. Start with a statement in English describing the data you want (such as "The picture for the user with a given ID."). Note that you're not putting data from one table into another (which would involve an INSERT statement), you're using data from one table to filter...
  16. M

    Client side data processing

    I don't see how that's relevant to my comment. I was saying to try to use Msxml2.XMLHTTP only if XMLHttpRequest doesn't exist.
  17. M

    Forwarding Email to PHP Script

    Please post how you're forwarding e-mail to the script, the exact error and a minimal test case for an e-mail processing script that generates the error.
  18. M

    Google adsense not showing on my site

    PLEASE STOP SHOUTING. Also, please write in proper English to the best of your abilities. If English isn't your first language, allowances are made. At the very least, use proper punctuation. It's damn near impossible to answer code related questions without seeing some code. Please post an...
  19. M

    Client side data processing

    Modern browsers have an XMLHttpRequest object, including IE since version 7, which supports the same API. Fallback to Msxml2.XMLHTTP is only necessary on IE 5 through 6.
Top