1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Parse error: syntax error, unexpected $end

Discussion in 'PHP' started by Hontoir, Feb 29, 2008.

  1. RoscoeT

    RoscoeT Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Enable session_start() and increase the error reporting.

    You may see a message similar to this....

    Warning : session_start() [function.session-start]: Cannot send the session cookie already sent by(output started at ...
     
    RoscoeT, Mar 4, 2008 IP
  2. Hontoir

    Hontoir Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    I am writing the PHP in crimson editor on windows and uploading the files to my website. Hope that bit of background helps..

    As for the does not work, the submit button is displayed but when clicked it does not perform any function.

    As for the version of PHP im sorry but i dont know :S
     
    Hontoir, Mar 4, 2008 IP
  3. RoscoeT

    RoscoeT Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #23
    If this is a linux host then you might be having a problem with the carriage returns. If you have a file manager on your cpanel create the file in there to test it. Also make sure when you upload the file your ftp program is set to ASCII when uploading php scripts. Even some set to AUTO will mess up every now and then.
     
    RoscoeT, Mar 5, 2008 IP