Telegram web version doesn't use WebSocket. it just sends http requests every x seconds. why it doesn't use sockets? isn't socket created for this job? why do you think?
If I use an upload center to store my website static files such as images,js,css so when my website page loads on browser, requests for these resources will be fetched from th...
Should I use node-cache or redis? what is the difference?
Is it okay to hash username and password for a user and save it in cookies? I want to create Remember Me button
according to telegram api, I send photo to users like this: `bot('SendPhoto', [ 'chat_id' => $from_id, 'photo' => new CURLFile("files/image.jpg"), 'caption' => 1 ]);`...
$email = mysqli_fetch_assoc(mysqli_query($db, "SELECT email FROM id WHERE id='$id'"))['email']; mysqli_query($db, "SELECT from_id FROM members WHERE email='$email'"); mysqli...
<?php $command = escapeshellcmd('python3 /usr/custom/testfile.py'); $output = shell_exec($command); print $output; ?>
Should I use JWT instead of session cookies? If no, please tell the reason
Express by default sends the Etag header what is that?
why not just encrypting the payload using AES alg. and send it in the cookie? in this way a shorter text will be sent in each cookie.
code : mysqli_query($db, "UPDATE members SET select=1,cal=null WHERE from_id='$from_id'"); error: You have an error in your SQL syntax; check the manual that corresponds to...
I decided to use JWT instead of session-cookies but I noticed that I cannot revoke a JWT token and therefore I cannot have 'Logout button' in my website, unless I use a databa...
anybody knows a free website that I can upload my website images(like a cdn) to? I need rest api
I have an array : $a =['main'=> [ 'a' => ['1st'], 'b' => ['2nd'], 'c' => ['3th'] ]; and I want do: if(in_array('1st', $a['main'][any])){ I want get 'any' value too } ...
Direct traffic is key to your ranking. Website traffic will affect the SEO. but how really Google understands when someone types my website URL and opens it?
is there any problem if size of array more than 10000 elements?
imagine you will get 0.001$ for visiting each site, so what is problem?!
I want send a message to all users of my bot in telegram I use scandir() to get all users ids after I use a foreach to send message to each id(user) is foreach stable for thi...
How do you deploy your projects? using serverless platforms? or you buy a vps and config it?
Hi, anyone expert here?!