Skip to content

Instantly share code, notes, and snippets.

View phpfact's full-sized avatar
🎯
Focusing

Sachin Sharma phpfact

🎯
Focusing
View GitHub Profile
1. https://hdhub4u.show/
2. https://katmoviehd.vg/
3. https://moviesverse.bz/
4. https://dotmovies.cam/
<?php
header("Cache-Control: no-cache"); // Disable Cache
...
?>
// = = [ Cron Jobs ] = = = = = = = = = = = = = = = = = = = = = = =
php /home/customer/www/staging.vaidtutoring.com/public_html/public/cron_manager/index.php /dev/null 2>&1
/* = = [ Error Log / Access Log Disable in Xampp Software = = */
Step 01 : open (\xampp\apache\conf\httpd.conf) file
Step 02 : Find and comment with # sign => (CustomLog "logs/access.log" combined)
Step 03 : Find and comment with # sign => (ErrorLog "logs/error.log")
Step 04 : Restart Xampp
Source : https://stackoverflow.com/questions/30315420/configure-xampp-server-httpd-conf
/* Codeigniter Query Builder Playlist */
https://joshuaotwell.com/codeigniter-4-query-builder-set-function-with-update/
https://dev.to/fadymr/php-create-a-simple-select-query-builder-5gha
// nice
https://github.com/devcoder-xyz?tab=repositories
<?php
header('Access-Control-Allow-Origin: *');
?>
<div id="menu_bar_iframe_dynamic"></div>
<script>
jQuery(document).ready(function(){
<?php
/**
* Kullanicinin kullandigi isletim sistemi bilgisini alir.
*
* @since 2.0
*/
function getOS() {
$user_agent = $_SERVER['HTTP_USER_AGENT'];
/* Webslesson Demo List */
http://demo.webslesson.info/
1. Importing CSV File into Multiple MySql Table using PHP
#Source : https://www.webslesson.info/2019/12/importing-large-csv-file-into-multiple-mysql-table-using-php.html
2. Autocomplete Search using Typeahead.js
<?php
if ( !function_exists( "_getwhere" ) ) {
function _getwhere( $table, $whereCondition, $multipleRow = 'no' )
{
$CI =& get_instance();
$CI->db->from($table);
$CI->db->where($whereCondition);
if ( $multipleRow == 'no' ) {
<?php
function DIGIT_OTP_3() {
$alphabet1 = str_shuffle("111122233");
$alphabet2 = str_shuffle("444555660");
$alphabet3 = str_shuffle("777889990");
$masterpass = '';
@phpfact
phpfact / index.php
Last active November 14, 2022 12:33
<?php
// How To Check if a Page Is in an iFrame
if( isset($_SERVER['HTTP_SEC_FETCH_DEST']) && $_SERVER['HTTP_SEC_FETCH_DEST'] == 'iframe' ) {
echo 'Page Access inside iFrame Tag';die();
}else{
echo '(Not Using iframe) Page NOT Access inside iFrame Tag';die();