User Tools

Site Tools


docu:snipper:program:php_upload_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docu:snipper:program:php_upload_file [2020/08/20 21:14]
admin created
docu:snipper:program:php_upload_file [2020/08/20 21:18] (current)
admin
Line 35: Line 35:
 </html> </html>
 </file> </file>
 +
 +Run the server using php-cli package (php$version-cli)
 +<code bash>
 +# install the package (on a Debian based Linux) if needed
 +apt-get install php7.3-cli --no-install-recommends
 +
 +# run the server on the same path as the upload.php script
 +php -S 0.0.0.0:8080
 +</code>
 +
 +Now you can access your uploader simple server on
 +<code bash>
 +http://127.0.0.1:8080/upload.php
 +</code>
 +
 +\\
 +And woola!!
docu/snipper/program/php_upload_file.1597958072.txt.gz · Last modified: 2020/08/20 21:14 by admin