Skip to content

Instantly share code, notes, and snippets.

@kicktv
kicktv / login.html
Created November 17, 2024 14:23
form login responsive css
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8">
<title>login php</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {font-family: Arial, Helvetica, sans-serif;}
form {
//border: 3px solid #f1f1f1;
border: 3px solid #a0f49d;
@kicktv
kicktv / Menu-Responsive-No-Javascript.html
Last active November 17, 2024 14:26
Responsive Menu css only No Javascript
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Menu Responsive No Javascript</title>
<style>
body {margin: 0; font-family: Helvetica, sans-serif; background-color: #e3dede;}
a {color: #ffffff; //white}
/* header */
@kicktv
kicktv / menu.html
Last active November 17, 2024 21:12
menu navbar responsive
<!-- preview html https://gist.githack.com/kicktv/067686f6f446854b4b41e55acff9c2d6/raw/menu.html -->
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- App title -->
<title>Responsive Pure CSS Menu</title>
<!-- Link css file -->
<!-- <link rel="stylesheet" href="https://raw.githack.com/Ivy-Walobwa/responsive-pure-css-menu/main/style.css"> -->
@kicktv
kicktv / video-stream.php
Last active October 29, 2024 18:41
Streaming video with PHP Html5
<?php
/*
// php stream video to browser
// this script supports Video of forward and backward movement
// It does not support remote link For video
*/
$file = 'video.mp4';
$fp = @fopen($file, 'rb');
@kicktv
kicktv / user-agents.txt
Created October 19, 2024 15:16
A list of major user agent strings for different browsers and devices
Chrome/Windows: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome/Windows: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome/Windows: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome/macOS: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome/Linux: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome/iPhone: Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1
Chrome/iPhone (request desktop): Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87 Version/11.1.1 Safari/605.1.15
Chrome/iPad: Mozilla/5.0 (iPad; CPU OS 14_3 like Mac OS X) AppleWebKit/605.1.1
@kicktv
kicktv / fm.php
Last active March 15, 2024 17:52
File Manager PHP (single file)
<?php
/**
* source =>https://gist.github.com/jhedev96/f6aaf58fd7d937bfaa34fd31e2baf23f
* File Manager Script
*/
// Default language ('en' and other from 'filemanager-l10n.php')
$lang = 'en';
// Auth with login/password (set true/false to enable/disable it)
@code-boxx
code-boxx / 0-PHP-LOGIN-NO-DB.MD
Last active January 22, 2025 14:26
PHP User Login Without Database

PHP USER LOGIN WITHOUT DATABASE

https://code-boxx.com/simple-php-login-without-database/

NOTES

  1. Set your own users and passwords in $users of 2-check.php, also where to redirect on successful login.
  2. Protect all your pages by including 3-protect.php at the top.
  3. Launch 1-login.php in the web browser, that's all.

LICENSE

Copyright by Code Boxx

@milankragujevic
milankragujevic / proxy.php
Created July 1, 2021 13:19
PHP streaming proxy with support for Range requests (perfect for proxying video files with progressive download MP4 streaming)
<?php
error_reporting(0);
set_time_limit(0);
ob_end_clean();
$url = $_GET['url'];
if(isset($_SERVER['HTTP_RANGE'])) {
stream_context_set_default([
'http' => [
@yasinkuyu
yasinkuyu / cloudflare_bypass.php
Created November 2, 2020 11:39
PHP CURL function which bypasses the Cloudflare
<?php
/*
PHP CURL function which bypasses the Cloudflare
@yasinkuyu
*/
function cloudFlareBypass($url){
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";
@jhedev96
jhedev96 / fm.php
Last active March 15, 2024 17:50
File Manager PHP (single file)
<?php
/**
* File Manager Script
*/
// Default language ('en' and other from 'filemanager-l10n.php')
$lang = 'en';
// Auth with login/password (set true/false to enable/disable it)
$use_auth = true;