Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
update logout function v3
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-04-09 21:42:48
new error i came across
Quote:
setcookie(): Passing null to parameter #2 ($value) of type string is deprecated


replace null for empty string in functions.php
function logoutcookie() {
setcookie("pass", "", time(), "/");
setcookie("uid", "", time(), "/");
}
2022-04-10 10:43:46
is for to save the cookie  or delete them after logout
2022-04-10 16:23:04
Delete after logout
2022-05-20 23:30:49
The setcookie() has had multiple changes from PHP 7 - PHP 8.1.
I don’t think they are done with this just yet.

I can see the dev team removing this one very soon in favour of session_start() - and I completely agree.

This function has been a security pain in the ass for all main releases of PHP. I hope the figure it out.

Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728