Showing posts with label php. Show all posts

Thursday, November 4, 2021

thumbnail

Building a video sharing script from YouTube or any site with videos that support html5

 

In this post, I put before you, dear friends, a way to publish your videos or courses in the form of a site like the famous courses sites, but I relied on the YouTube server instead of a personal server in the task. You can use any server that supports html5 to publish videos on your site from it......


For more wonderful and rare resources, follow my github account

https://github.com/sadik-fattah





Protect the admin panel with a desktop application


Download the project from the following link

https://github.com/sadik-fattah/Video_Shared



Wednesday, November 3, 2021

thumbnail

How to protect your website script from being stolen?

 

Many of us suffer from the theft of the source code of their site, either by the customer or by an intruder, then I will put the code for your site for free, and your trouble will be in vain.




Thankfully, this method is 80% effective. It protects your site when it is presented to a customer. The demo presentation is not enough. You need the entire script to show the customer the capabilities of the script.

Follow this method in the video






thumbnail

The URL Shortener Script

 Peace be upon you, my dear brothers. This script is 100% free and it is not allowed to be sold. I guarantee the download rights from the following link only http://www.guercifzone.net. I am also not responsible for any downloading of this script from other sites. This is a script for profit from shortening links. It will be uploaded The profit margin compared to the usual link shortening sites

shortent link

Apply this code to the databases

alter table lic auto_increnment = 100million;

This code gives you different hands instead of working in a row puts them randomly

The .htaccess file will not work with you if the server is localhost, the security file must be placed in the area designated for protection. If it is on free hosting, search for the security file and put the code in the file in it. If the security file is not present, you must create a security file for your

The database consists of one table and 4 fields:

Id is an enumeration and a 100 million code is executed on it to become random

Url here is the link of the site to be shortened

Code Generated code from the abbreviation

Date of operation

If you encounter any problem, do not forget to raise it in our forum or contact me on my following website 










password : guercif.cf
 DOWNLOAD

thumbnail

Know How Much Person Using Your program

 hi friend ,


Sometimes we need to know how many people use our application and how many times a day it is used, or to know who is online in the case of a chatting application or an application for online games, in order to make sure of the success or failure of the application and whether you will receive an updated version of the application as successful as the old version and is it suitable for marketing.


How you Know How Much  Person Using Your  program

using php & vb.net we can do this

acounter.php file :


<?php

$type = $_GET['action'];

if($type == "maxi")
{
    $rusers = fopen("user.txt" , "r") or die("Error!");
    $count = fread($rusers,filesize("user.txt"));
    $txt =$count += 1;
   
    $wusers =fopen("user.txt" , "w") or die ("Error!");
    fwrite($wusers,$txt);
    fclose($wusers);
    fclose($rusers);
}
else if ($type == "mini")
{
    $rusers = fopen("user.txt" , "r") or die ("Error!");
    $count = fread($rusers,filesize("user.txt"));
    $txt = $count -=1;
   
    $wusers =fopen("user.txt" , "w") or die ("Error!");
    fwrite($wusers,$txt);
    fclose($wusers);
    fclose($rusers);
}

?>

end text file named  : user.txt value 0

now vb file put this code to the form :


Public Class Form1
    Dim wclient As New System.Net.WebClient

    Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
        Label2.Text = wclient.DownloadString("http://localhost/acount/acounter.php?action=mini")
    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        wclient.DownloadString("http://localhost/acount/acounter.php?action=maxi")
        Label2.Text = wclient.DownloadString("http://localhost/acount/user.txt")
        Timer1.Start()

    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        Label2.Text = wclient.DownloadString("http://localhost/acount/user.txt")
    End Sub
End Class





About