I don't feel stressed, but it could be subconscious because I'm trying to finish something before a meeting and I know people are waiting on me to have it completed
what should i worry about, if i allow users to share images on the chat? I know that to allow users to upload images to their profile i should worry about the file that is sent to my server, but on the chat the image will not be stored on my server, it will be a external link
I am kinda series, and if you are aiming at USA market, with FOSTA coming into power, you probably should use an external image service and just let users to post links to images in the chat
in that case (if you ignore the content itself), the main worry would be the bandwidth used: if someone tries to share his/her/its new 20000p BMP file, that will eat up a lot of bandwidth
oh .. and scaling
you will need some way to scale image, that are too large (lets say - someone shared a 4k wallpaper)
... and now I go back in making up documentation for the project :(
@tereško what about if someone share a link to a malicious website? i can do nothing about it, right? I mean, it's up to the user to decide which links they should not trust to click
i'm new in imageMagick, but i think i can do it. Anyways, this link will be loaded into a img tag, is there any way to someone damage my server/database..etc? if i don't check if the external link is really a image
@PHPFan building a website without composer will basically require you to reinvent the wheel every time you need to solve a problem, whereas, with composer, you can install libraries from other programmers who may have solved a problem you're having
@PHPFan mind you, it depends entirely on context. In the conversation we were having, when you said "well," I was expecting you to include more information about your situation because it sounded like what I suggested wouldn't fit your problem, so that's why I was confused.
@PHPFan this is an example from a tech demo project (i just anonymized it) but you see that I configure the autoloader, define basic PHP requirements (version and extensions), add a caching library and a dev dependency that block installing insecure packages
@PHPFan no worries. I'm a native speaker and I know there are people in here who are still learning English. If you're wanting to improve your English and are fine with me correcting your sentences where it's something I understand, I can help. I'm not an expert, but I like to think my English is pretty good for a native speaker. :P
@PHPFan newer PHP version add syntax (variadics, return types, ...). The IDE finds the composer.json takes the configured version and warns you if you use a feature that is not available in that PHP version, or suggests changes to better syntax.