GithubHelp home page GithubHelp logo

proxcsv's Introduction

Random Name Generator for General Purpose

Screenshot 2023-03-03 at 00 49 30

Description

This is a simple random name generator for general purpose. It can be used to generate random names for any purpose.

  • Useful for generating random names for testing purposes.
  • Useful for generating random names for your projects.
  • Useful for generating random character names for your games.

Achievements

-[x] Create two arrays, one for names and one for surnames. - [x] 20 Names and 20 Surnames in each array. - [x] Number of variations of names and surnames.

  - [x] Create a `function to generate random names`.
  - [x] Create a `function to generate random surnames`.
  - [x] Create a `function to generate random full names`.
  - [x] Create a `function to generate random Id numbers`.
  - [x] Create a `function to generate random dates of birth`.
  • output folder, the name of the file is output.csv.
  • Input field that allows the user to enter the number of names to be generated.
  • Submit button that allows the user to submit the number of names to be generated.
  • NO DUPLICATE ROWS IN THE CSV FILE
  • NO DUPLICATE ROWS IN THE DATABASE
  • Output a CSV file of 1 000 000 records
  • Import the file using a form variable of file type.
  • Create DB Table

Installation

  1. Clone the repository or download the zip file.

    git clone https://github.com/SanHacks/ProxCSV.git

    See GitHub Help for more information.

  2. Upload/Extract the source to your server.(XAMPP, WAMP, LAMP, MAMP, etc.)

  • If you are using XAMPP, copy the source to htdocs folder. C:\xampp\htdocs
  • If you are using WAMP, copy the source to www folder. C:\wamp\www
  • If you are using LAMP, copy the source to var/www/html folder.C:\xampp\htdocs
  • If you are using MAMP, copy the source to htdocs folder. /Applications/MAMP/htdocs/
  • If you are using any other server, copy the source to the root folder. (Assuming that the installer has already configured the server or a server)
  1. Create a database named "ProxServer" and import the PROJECT_DIR/DB/generatedCSV.sql file to the database.

    CREATE TABLE IF NOT EXISTS ...

  • If you are using AMP Stack, you can import the sql file using phpmyadmin. (http://localhost/phpmyadmin)
  • In PHPStorm, you can import the sql file using the following steps.
    • Open the sql file in the editor.
    • Click on the database name in the editor.
    • Click on the "Import" button.
    • Click on the "Go" button.
    • Through command line, you can import the sql file using the following command.
      • mysql -u root -p 1234 < generatedCSV.sql
  1. Open the PROJECT_DIR/index.php file and change the database credentials in getPDO() function.
    • $host = "localhost";
    • $user = "root";
    • $password = "";
    • $database = "ProxServer";
    • $port = "3306";
    • $charset = "utf8mb4";

proxcsv's People

Contributors

sanhacks avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.