Sarp
مدیر بازنشسته
if you are php developer and you have any problem with this error in your script
کد:
Unable to add cookies, header already sent.
and this error is in 1 line of your code
dont worry i search many sites and finde solving way
just delet whitespase before <?php tag or after ?> tag
dont worry i search many sites and finde solving way
just delet whitespase before <?php tag or after ?> tag
یه کد با استفاده از php برای vbulletin نوشته بودم دیگه من هر کاری که به ذهنتون برسه انجام دادم شونصد بار این ور اونور کردم کل ویبلتین رو به هم ریختم اما برای یوزر ها نشون میداد ولی برای مهمان خطای کوکی میداد
کد:
Unable to add cookies, header already sent.
این خطا وقتی رخ میده که یه فاصله قبل از تگ <?php که تگ آغازی هست یا اینکه یک فاصله بعد از تگ پایانی یعنی ?> وجود داشته باشه
برای حل این مشکل کافیه که این فاصله ها رو پاک کنیم
نخندین هاااا