Search results

  1. M

    Collecting Information Using XMLReader in PHP

    Examine the raw data and you'll note not all players have alliances. When your script comes across one of these, it gets some of the data for that user (such as the player name) and skips forward to the next town that has an alliance, getting the rest of the data (such as town name) for this...
  2. M

    Php & MySql help

    Here's a rewrite of the code (untested) with the suggestions factored in. I also did away with exit(), which has the same problems as die() when outputting HTML. There are a few parts that need to be filled in (marked with "..."). For examples of the class LocalDB used below, see "Re: Display...
  3. M

    Php & MySql help

    If you read the documentation, you'll see that mysql_real_escape_string takes the string to escape as the first argument and the DB connection resource as the second argument. There are a number of outdated extensions and practices used in the code (assuming the sample code is representative...
  4. M

    Gay Marriage?

    Obvious troll is obvious.
  5. M

    Handling of blocked videos retrieved through youtube video feed

    What URL(s) are you using to fetch results? What API of YouTube's are you using?
  6. M

    Make Python 2.6 more accessible & the default Python version on Chopin

    Problem: the shebang line "#!/usr/bin/env python" used to invoke Python 2.6; on Chopin (and perhaps other hosts), it now invokes Python 2.4, which causes scripts to fail due to incompatible differences between 2.4 and 2.6. Additionally, the shebang line "#!/usr/bin/env python2.6" no longer...
  7. M

    I can't upload files into file manager through ftp.

    Are you uploading archives and extracting them in cPanel's file manager? That might create the files & folders with the wrong permissions or owners. Did you check ownership and permissions, as suggested by my previous post?
  8. M

    Microsoft Office => VBA; Office.Org => ?

    Don't leave out Python and Javascript for scripting, though Python can't be edited or debugged using OO's IDE. You can add support for languages with Java interpreters or other languages via a language with existing support.
  9. M

    A very odd email send failure.

    AOL has an explanation for error 421 DYN:T1. Some user abuse the X10 servers. The admins are doing their best to fight it, but it sometimes results in other e-mail providers blocking everything from X10, even domains that aren't causing problems.
  10. M

    Default Web Site Page?? wtf?

    The "default site notice" is a feature of cPanel so that you know that newly created sites are working. It often goes away when the admin scripts run and remove the redirect. If it's not gone by tomorrow (as the page says, make sure you flush your DNS cache), we'll escalate this and an admin can...
  11. M

    Addon error

    That's nowhere near enough information. Describe what you're doing and the step that's failing. Describe what you expect to happen and what actually happens, including any error messages.
  12. M

    Can't create MySQL databases or users

    Do you currently have any databases or database users, or are the lists in cPanel completely blank? Did you have any previously? If so, when did they disappear?
  13. M

    CRON abrubtly stoped working

    That's almost no information. What happens when you access the script via a browser? Do you get any error messages? What's the command line used for the cron job?
  14. M

    suspension for cpu usage?

    As it says in the suspension reason: If you search the forums, you can find more information, such as "High Resource Usage". One or more of the scripts on your site are consistently using more resources than allowed. You'll have to figure out which ones are causing problems, then rewrite or...
  15. M

    Website Upload

    Since the X10 servers run Linux+Apache, they must use Mono to support ASP.Net. The server found Default.aspx, otherwise you would have gotten a 404 error from Apache rather than Mono. Your web.config probably contains a reference to a component that isn't a part of Mono. Depending on what it...
  16. M

    I can't upload files into file manager through ftp.

    To clarify: you can connect and get a list of files, but can't upload, correct? Can you download files? Are there any directories you can't access? Error 550 is a permission denied error. Check that the account you log in to has write permission on the directory. There might be something wrong...
  17. M

    Benthic horror & hilarity

    Fortunately for us, all the entries are live on deepseanews.com (I'm fairly sure the discovery.com postings had the same content), it's just the links that are dead, and archive.org is of no help here. I suspect the blog migrated from the Discovery site to Deep-Sea News, but the internal links...
  18. M

    PHP/MySQL Query Help

    @lapricon200839: It's not a stupid question, but: Don't threadjack. I wrote this to just two posts above yours. Not paying attention to what's been written previously in a thread is another breach of netiquette. Search the forums first. This has been covered many times before.
  19. M

    Benthic horror & hilarity

    Alright, kids, time to fuel up your nightmare tank. I give you the Stalked Crinoid: Just one of many deep-sea horrors, along with flesh eating sponges and giant sea spiders (manufacturer's disclaimer: your sea spider may not actually be a member of class arachnida). Then there's the pig...
  20. M

    I am getting somebody elses pages when I go to enter my URL at x10hosting. Please try

    Re: I am getting somebody elses pages when I go to enter my URL at x10hosting. Please Not really, since we don't know what should be on your site. Screencaps of your test site and what's on your public site are needed.
Top