GithubHelp home page GithubHelp logo

test-fce's Introduction

upload-inc.php

documentation

random_string()

Gibt einen random string zurück

$string = random_string();

file_delete_all_from_user()

Löscht alle dateien von einem user auf dem server gibt dir true oder false zurück

$bool = file_delete_all_from_user($username);

file_delete()

zum löschen eines bildes gibt dir true oder false zurück

$bool = file_delete($file_path);

file_get_profile_pic()

gibt dir den dateipfad zum bild anzeigen des profilbildes vom user

$string = file_get_profile_pic($username);

file_get_array()

gibt dir alle bilder eines users zurück mit aussnahme von videos und profilbild in einem array

$array = file_get_array($username);

file_get_array_videos()

gibt dir alle videos eines users zurück in einem array

$array = file_get_array_videos($username);

file_upload()

file upload zu einem user die funktion gibt immer eine msg zurück, ob alles funktioniert hat oder ob es fehler gab

$string = file_upload($_FILES['myFile'], $username);
// im falle eines profilbildes
$string = file_upload($_FILES['myFile'], $username, true);
// im falle eines videos
$string = file_upload($_FILES['myFile'], $username, false, true);
// oder man verwendet
$string = file_upload_video($_FILES['myFile'], $username);

test-fce's People

Contributors

katze719 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.