dbx12

joined 2 years ago
[–] dbx12@programming.dev 18 points 1 year ago

Thanks to Spider-Man: Far from home, I knew of the glass floor decks :D

(And it was just plausible enough to be not ruled out as "the glass is just in the movie so it can shatter")

[–] dbx12@programming.dev 3 points 1 year ago (1 children)
[–] dbx12@programming.dev 1 points 1 year ago (1 children)

Ah, Gas driven. I thought about an electric one.

[–] dbx12@programming.dev 1 points 1 year ago

Great that it worked out, did you use apt remove or apt purge?

You might want to put your code in triple back ticks so it renders as code block :) Currently isn't visible on some clients (boost for Lemmy in my case)

[–] dbx12@programming.dev 8 points 1 year ago (3 children)

Hol' up, you've got one in the center?

[–] dbx12@programming.dev 5 points 1 year ago* (last edited 1 year ago) (2 children)

Looks like your php code is wrong, try this (and just this) for index.php

<?php
phpinfo();

You also had Test Text1 inside the php block which is a syntax error. Maybe that's the cause why you don't get anything.

Edit corrected the filename to lowercase extension.

[–] dbx12@programming.dev 4 points 1 year ago (1 children)

Masks don't only protect from airborne viruses...

[–] dbx12@programming.dev 3 points 1 year ago

I think you could also use awstats, which runs on the log files produced by your web server.

[–] dbx12@programming.dev 38 points 1 year ago (1 children)

Not an answer, but I have to say you have a way with words.

[–] dbx12@programming.dev 4 points 1 year ago

Going to spaaaace!

[–] dbx12@programming.dev 1 points 2 years ago (1 children)

Oh, that makes warnings errors and does not mean "ignore errors". I'm not too familiar with compiler flags. You could do some mental gymnastics to argue that the unused variable causes the compiler to exit and thus the code is not functioning and thus the unused variable is not a warning but an error :^)

[–] dbx12@programming.dev 0 points 2 years ago (3 children)

I for my part prefer it that way. Makes sure the code stays clean and nobody can just silence the warnings and be done with it. Because why would you accept useless variables that clutter the code in production builds? Imagine coming back after some time and try to understand the code again. At least you have the guarantee the variable is used somehow and not just "hmm, what does this do? ..... ah, it's unused"

view more: ‹ prev next ›