10000 forum users celebration - special event

Thanks!

Pop-ups and those corner video ads are the ones I hate the most

6 Likes

For those who have Twitter acc

read deeper in the comments here

in short, NAFO did its part adequately :star_struck:

5 Likes

I like TinkerTechLab, the design is good, and I sometimes go on there when I have a problem.

5 Likes

Brave Browser? Might help you out a bit, it blocks a ton of ads.

1 Like

I do use brave at home, and it works just as well as adblockers.

The issue is that with first party cookies, even if the ads are blocked, it can be made easier for Google to track you.

6 Likes

Does anyone know how to remove everything before the last occurrence of a string in a string PHP?

That was confusing, so below is example:

Input: this/i/is/i/a/i/string
I want to remove everything before the last occurrence of /i/ (Including the last /i/)
Output: string

Oh, And the number of /i/'s in the string varies, it will never be the same number (For example, both this/i/string/i/says and jim/i/says should return says)

Sorry if that was confusing, and thanks in advance!

1 Like

use strrchr() available since v4.

substr(strrchr("h/j/i/s", "/i/"), 1); //returns: s

See: PHP: strrchr - Manual

btw i found that in less than 3 minutes with a google search.

4 Likes

You beat me to it! If only I had seen it earlier.

4 Likes

This does not work though:

echo substr(strrchr("h/j/i/p/s", "/i/"), 1);

It returns s, but should return p/s

1 Like

OK, so strrchr() didn’t work (I’d never heard of it before), but this tried-and-true solution works:

$string="h/j/i/p/s";
$find='/i/';
echo substr($string, strrpos($string,$find)+strlen($find));
6 Likes

Yep, that worked, thanks!

5 Likes

@Greenreader9 I’m not sure if this was on purpose but I believe what you meant to put was “Flexible” not “Flexable”.

5 Likes

What are first party cookies as opposed to third party cookies?

I mean, yes, they are by the web owner but how does that allow ads?

Does the web owner sell the info?

Also, rock anyone?

1 Like

First party cookies are cookies that load from your site, instead of from a third party site. In the past, Google would store a third-party cookie when you visit a website to help personalize your experience. Now, they will start storing that same cookie, but it will act like a cookie the website set, not a cookie that Google set. (Probably not the best way to explain it)


Good-by Google Webmaster Guidelines!

https://twitter.com/Marie_Haynes

5 Likes

prepare for topics about monstaFTP - certificate has expired

image


btw. @Deveroonie WB again :wink:

5 Likes

I found that out around one hour ago but I decided not to post that on this topic.

This will definitely bring a lot of topics

5 Likes

Feel free to post useful information if you come across it - so we can prepare.

It should be auto-renew…I hope we won’t have to wait long :upside_down_face:


And on weekends, ifastnet often does something on the servers
so some fireworks are possible on e.g. Sunday.

5 Likes

Aziz light ! -1

Aziz light ! - 2

2 Likes

Basically chrome will say that cookies set by google are actually set by the website? Or have the same effect and permissions?

1 Like

Starting to miss the presence of admin…

3 Likes