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
User Profile
Collapse
-
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...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 processLeave 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...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 loginLeave 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... -
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...Leave a comment:
-
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 -
No activity results to display
Show More
Leave a comment: