php error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Henry

    #1

    php error

    I'm having problems. The web site address is:


    Click on UK flag
    Click on simulation

    There is a javascript error. HOwever, when the script runs locally, it
    works fine. The script was downloaded by my colleague. I suspect it's
    the php that screws up the javascript. Does anyone have any idea? Any
    one ever come across php or cgi incompatability with javscripts?

    thanks; sorry it's a bit vague, but the problem seems really vague.

    regards
    Henry
  • Lee

    #2
    Re: php error

    Henry said:[color=blue]
    >
    >I'm having problems. The web site address is:
    >
    >http://antycip.demon.co.uk[/color]

    Connection Refused

    Comment

    • Erwin Moller

      #3
      Re: php error

      Henry wrote:
      [color=blue]
      > I'm having problems. The web site address is:
      >
      > http://antycip.demon.co.uk[/color]

      Hi Henry,

      I get a 'connection refused'.
      Maybe put the domain up first, so we can check....

      But I can tell you blindly Javascript runs on the client and PHP on the
      server. (in most cases. :P)

      Of course you can use PHP to create the Javascript, but still it will be the
      javascript that screws up, not PHP.

      So your best bet is to find out what is wrong with the javascript.
      This is how you do that:
      1) Install Mozilla
      2) load the page
      3) click on TOOLS --> Webdevelopment --> Javascriptconso le.

      You will find all the errors in there.

      4) Go to comp.lang.javas cript for help on javascript.

      Regards,
      Erwin Moller

      Comment

      Working...