![]() |
[Solved] Cookies douesnt register why why !!!!!
hi
MY SCRIPT STAND ON THIS FOR NOW I DONT CARE ABOUT SECURITY THATS WILL COME LATER here is another problem that i had in my news script here is the code ---> PHP Code:
PHP Code:
|
Hi,
This message means that your script has already output something before the cookie information is sent. Often this is caused by a notice/warning that PHP is sending. Try putting: PHP Code:
Also, check that config.php isn't sending any output (even a blank space/line) and make sure that "display_errors" is set to true in your php.ini (if you have access to it) Alan |
Quote:
PHP Code:
|
You can fix the constant notices by altering the $_POST references to $_POST['user'], $_POST['pass'] and so on.
The cannot modify header information is caused that you printed something out before sending an HTTP header. This can be fixed by either removing all output being printed above that code. (Tip from experince i sometimes came to add an extra space or newline after my ending ?> which caused these warnings). Or you can use output buffering functions to fix this. To fix this using output buffering, then add ob_start() to the very start of you script, and ob_end_flush() to the very end and it should work alright. Hope this helps, Kalle |
PHP Code:
but it gaves error PHP Code:
|
You forgot the ending ; after ob_start() and ob_end_flush() function calls =)
ob_start(); ob_end_flush(); Sorry that I wasn't very clear with that, Just thought you added them yourself =P |
You don't have a column after ob_start, and neither do you after ob_end_flush. Correct that and it should work fine.
|
Quote:
ob_start(members) ; it gaves this error PHP Code:
|
Quote:
but anyway it didnt work here is the script online => username = aze password = aze |
Quote:
|
i didnt gave it any parameter in the first time
just xenon who told me that :d |
|
up
up up!! |
don't be inpatient...
don't be inpatient... don't be inpatient!! First off, your page does NOT open, so I can't help you on that side. Try this one, and first off, you need to improve your scriptskill because it's a damn mess. Sorry, but at first it was like finding a needle in a haystack ... and no, in_array didn't work. :-P PHP Code:
|
respawn about the link it wont work bcz i put wamp offline now
about the mess lol , im a begginer , u have any good suggesions about order and that code that u gave me it didnt work |
and im patient lol
|
Quote:
|
here is the errors =>
PHP Code:
|
Please take the time to read through, and act on, all of the information made available to you in this topic. The Notice errors that you're getting have already been identified and a solution given to you earlier in the topic (thanks Kalle). You should not use
$_POST[name] unless name is defined as a constant in your script (which is isn't, and you shouldn't!). To access the name item in the $_POST array, you need to use: $_POST['name']. Note the single quotes around name.The final three Warnings are because PHP sent output to the page already: the Notice errors. |
thanks buti tried it and the same problem
|
| All times are GMT. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0