Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Pomf clone

License

NotificationsYou must be signed in to change notification settings

slurdge/domf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code ClimateIssue Count

This script is a one php file (+config) that allows you to upload files to a host with pomf protocol.

This scriptdoes support:

  • Uploading multiple files
  • Filtering mime-types
  • JSON answers
  • Short URLs
  • No database needed

This scriptdoes not support:

  • Other responses than JSON
  • Upload from the webbrowser
  • Users, authentication, etc.

Installation

Just copy the script to some location and editconfig.php files.Variables should be self explained.

If you want, you can also mergeconfig.php andindex.php files by doing so:

mv index.php index_.phpcat config.php index_.php> index.phprm config.php index_.php

You can now freely move index.php file.

Securing

If you want to "secure" your script, you can put it in a random location, such as

>>>importuuid>>>str(uuid.uuid4()).replace('-','')'32b988025e3b477799b9c333ec57048b'

You should also use https protocol in order to prevent someone sniffing the URL.

Once you've done that, change theupload_path to some other location.

Short URLs

Short URLs are relying on symbolic links, so operating support for symbolic link is needed if you want short URLs.

Usage

Main usage is with pomf clients since there is no web interface. It works well fromShareX.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp