User Profile

Collapse

Profile Sidebar

Collapse
craigtomo
craigtomo
Last Activity: Mar 21 '08, 02:00 PM
Joined: Feb 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • there is nothing else in the file apart from what is shown

    as i have said i have had similar problems with various files all with the same responce
    See more | Go to post

    Leave a comment:


  • there is no other code


    that is why i think it might be on my server that is the problem

    the file is located at http://equifor.soon2b. net/test/login/lo/login.php

    please can you try and run it and see if you are getting the same errors i am

    it is really frustrateing me

    thanks...
    See more | Go to post

    Leave a comment:


  • there is deffinetly no blanks after or before the <?php command

    could it be somethingto do with the setup on my server as i have been getting similar problems with lots of different types of script i have been trying?

    all i want is a simple login process
    See more | Go to post

    Leave a comment:


  • i have put the session start in as you suggested and this is now the error i am reciveng


    Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at D:\virtualserve rs\182763\root\ test\login\lo\l ogin.php:1) in D:\virtualserve rs\182763\root\ test\login\lo\l ogin.php on line 2

    Warning: session_start() [function.sessio n-start]: Cannot send session cache...
    See more | Go to post

    Leave a comment:


  • i was also wondering if it could be a setup fault on my server as i have been reciveing the same sort of errors useing differant code

    all i am trying to do is create a database login
    See more | Go to post

    Leave a comment:


  • do not understand Cannot send session cookie - headers already sent

    i have changed my login .php file to the following

    this file is opened directly and is not called from any other file
    [PHP]<?php

    // dBase file
    $host=""; // Host name
    $username=""; // Mysql username
    $password=""; // Mysql password
    $db_name=""; // Database name
    $tbl_name=""; // Table name
    // Connect to server and select...
    See more | Go to post

  • craigtomo
    replied to HELP with headers already sent
    in PHP
    i have checked out my files and i cannot fine the error
    as per the post the error says it is on line 1 which is the start of my file
    it still has me stumped

    i am a newbie to php and all i am trying to do is create a login to a database

    can you rhelp me with the scritpt i need
    i thought the script i had would work but it keeps gieving me the errors stated above
    and i also apolosgise for...
    See more | Go to post

    Leave a comment:


  • craigtomo
    started a topic HELP with headers already sent
    in PHP

    HELP with headers already sent

    I am getting the following error when i try to log on to my data base
    Code:
    Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at D:\virtualservers\182763\root\test\login\checklogin.php:1) in D:\virtualservers\182763\root\test\login\checklogin.php on line 18
    
    Warning: session_register() [function.session-register]: Cannot send session cache limiter -
    ...
    See more | Go to post
    Last edited by ronverdonk; Feb 24 '08, 12:36 PM. Reason: code within code tags
No activity results to display
Show More
Working...