php not working

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

    php not working

    hey guys,

    My php file that I have written doesnt seem to be working..just displays a
    blank page.

    If i write out a test file (test.php) and put it in the same directory and
    type this in it <? phpinfo(); ?>, the test file works....

    Does anyone know what could be wrong... the file is about 1100 lines of
    code...

    I am running Apache 2.0.50 with php 5.0.5 on windows platform..

    to my knowledge have have closed all my brackets correctly... (hope so)

    any help would be appreciated,

    nathan


  • Marcin Dobrucki

    #2
    Re: php not working

    Nathan Franklin wrote:
    [color=blue]
    > My php file that I have written doesnt seem to be working..just displays a
    > blank page.
    >
    > If i write out a test file (test.php) and put it in the same directory and
    > type this in it <? phpinfo(); ?>, the test file works....
    >
    > Does anyone know what could be wrong... the file is about 1100 lines of
    > code...
    >
    > I am running Apache 2.0.50 with php 5.0.5 on windows platform..
    >
    > to my knowledge have have closed all my brackets correctly... (hope so)[/color]

    Enable error reporting. If you have a proper editor, it will match
    parenthesis (and brackets) for you, and colorcode your mistakes.

    There can be a lot of reasons. Is your script suppoed to output
    anything?

    /m

    Comment

    Working...