PHPcurl, a dedicated network interface
I have a (webserver) server with two network interfaces. The first is a standard interface for public internet connections and the other is a virtual VPN network interface. Now I want to send POST data via curl on other web services inside the VPN network. How can I say that the php there must use t...
P粉521697419 2023-11-08 20:01:46 0 1 261
Font scaling based on container size
I'm having a hard time understanding the font scaling issue. I currently have a website with a body text font-size of 100%. 100% but what? This seems to be calculated at 16 pixels. I was 100% under the impression that it was somehow referring to the size of the browser window, but apparently not, si...
P粉217784586 2023-10-08 21:42:41 0 2 231
Driver not found on PDODb on Apache2 PHP 7.4
I use Ubuntu22.04 and php7.4. I try to use apache2 to provide a virtual host for my website. The login page can be opened. After we insert the account, the error shows couldnotfinddriveron/var/www/website/app/models/PDODb.phponline229thatlineis$this->pdo=newPDO($connectionString,$this->connect
P粉470645222 2023-09-15 14:55:04 0 1 299
Why doesn't my iframe load in this snippet?
So I have a little piece of code here that detects whether it's a mobile browser or a desktop browser. This function works, but I tried serving different iframes depending on the browser, but the iframe didn't load. Please help fix it!