Code

HOW to get visitor IP behind Cloudfare or Proxy

Normally we would use $_SERVER[‘REMOTE_ADDR’] but unfortunately, this doesn’t work with Cloudflare. This small PHP function will let you get the visitor’s real IP address, even if you use Cloudflare or if they’re hiding behind a proxy

HOW to create different shapes with CSS?

Here’s how you can create different shapes using CSS 1. Square 2. Circle 3. Oval 4. Trapezoid 5. Rectangle 6. Parallelogram 7. Triangle Up 8. Triangle Down 9. Triangle Left 10. Triangle Right Here’s the full HTML code to check

Scroll to Top