Upload a file using c# as client to a PHP server

Posted by Tarek N. Elsamni | Posted in , , , , , , | Posted on 23:46

1

We'll call the PHP script "upload.php", this is what it should contain:



and this is the C# code:




PHP random password generator

Posted by Tarek N. Elsamni | Posted in , , , | Posted on 23:31

1

PHP password generator is a complete, working random password generation function for PHP. It allows the developer to customize the password: set its length and strength. Just include this function anywhere in your code and then use it.



2ADQZNUV2VG8

PHP Class to Generate/Restore backup from/to MYSQL database

Posted by Tarek N. Elsamni | Posted in , , , , , , , , , | Posted on 19:23

2

This PHP class will help you to take a backup from your MYSQL database as it will generate .gz file to be downloaded or stored on a specific path.

First you need to include the PHP class to use it:



Then you have 3 different ways to take the backup:





To restore a MYSQL database backup include restore class:


Then start restoring process:

This class & more examples can be downloaded from this link: Download