Search results

  1. M

    Help needed with image mapping

    The following seems to work, though it's not the best way of going about things. Are you doing something different? Default.aspx.cs: using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Configuration; using...
  2. M

    PhpBB display problem

    Is there a link to a publicly accessible page we can check out?
  3. M

    Using javascript to fill browser?

    You'll want to use a fixed or fluid layout. When you read one of the articles from that link, pay attention to what browser version they write of. IE, for instance, changes quite a bit between versions and many of the articles aren't updated to cover newer versions. Using tables for layout is...
  4. M

    Receiving uploaded GPRS data through a socket (Python)

    Static IP and unblocked port should do it. Generally speaking, a process needs root access to listen on ports < 1024. Because of this, and because ports under 1024 have well-defined uses, make sure you use a port >= 1024. Port 5000 will probably be fine, though it does have a specific use. Your...
  5. M

    Receiving uploaded GPRS data through a socket (Python)

    Not much there to identify the device. It's pictured with a China Unicom SIM card, but that doesn't help. Pulled some sort of ID ("353686 00000 8830") off of a picture on the product page, but that doesn't lead anywhere. Accursed generics! Any identifying marks on the inside or back of the...
  6. M

    Receiving uploaded GPRS data through a socket (Python)

    What's the reason the server can't be on your local network? What's the make and model of the device? Will the device work with hostnames, or only IP addresses? You'll probably need a paid service, on X10 or elsewhere, to run a server of your own. On X10, you'll need a VPS. Alternatively, you...
  7. M

    Lost in Translantic Translation

    If the movies have taught us anything, it's that confusion about "pants" is terribly funny. In any case, the linguistic differences aren't that bad yet. The Queen's English is very understandable on this side of the pond.
  8. M

    Receiving uploaded GPRS data through a socket (Python)

    I thought there was something in the ToS about not running additional servers, but I don't see it. Even so, arbitrary ports are blocked by a firewall. Your best bet is to rewrite your script as a web service. The neat thing about Python is that XML-RPC is terribly simple to use. With xmlrpclib...
  9. M

    Using javascript to fill browser?

    That's just... ugh. For one, document.write is sorely outdated. Second, what if JS is unsupported or disabled? Third, the screen size is not the viewport size. I suspect the page design is flawed; the code you posted has what's called a smell. A better design would be to give whatever is to...
  10. M

    separating parts of a long, complicated string

    Regular expressions might form a part of a solution, but there's a limit to what regular expressions can do. Some languages are difficult or impossible to express as a regular language. Regular languages are the simplest in the Chomsky hierarchy. At a certain point, you need to use a more...
  11. M

    PHP and mysql picture system

    We always need to see a minimal test case, along with expected and actual behavior.
  12. M

    Python - shebang line not working

    Both the shebang lines work for me with the sample script (aside: you can use the [code], [html] and [php] tags to delimit & format code samples). The error makes me suspect an issue with the character encoding or line-end discipline. Make sure you save the file as ASCII, not UTF-8, or at least...
  13. M

    php and quotation marks

    See the code in response 12.
  14. M

    Httpdocs?

    As per my sig, read the links in my previous post for Apache. For info on accessing .htacces in Parallels Plesk Panel, check Parallels's documentation or your host's support articles.
  15. M

    Crons don't work

    Actually, you don't. OP had extraneous quotes that caused the entire command line to be interpreted as a command name. Generally speaking, you should start a new thread unless you have the exact same problem and a thread doesn't include a resolution. Test the command line by itself; you'll...
  16. M

    Httpdocs?

    Are you referring to .htaccess and the RewriteEngine?
  17. M

    Problem with the "quote" PDO function

    You need to declare $dbh as global within function safe($v), or pass $dbh as a parameter.
  18. M

    Python import problem.

    Not do all the methods of Other need ircHandle; does every instance of Other need the same ircHandle? That is: one=Other() another=Other() # does the following need to be True? one.ircHandle is another.ircHandle "import irc" at the beginning of other.py should be fine, you just can't create an...
  19. M

    Help needed!! Problem in phpPgAdmin

    Also, cross posting with that little delay between posts is spam.
  20. M

    php script help

    In the "description of the problem" give (among other things) the expected behavior and actual behavior, which includes any error messages. For code, give a minimal test case.
Top