Title: embed in php
Last modified: March 29, 2018

---

# embed in php

 *  [mkitcowt](https://wordpress.org/support/users/mkitcowt/)
 * (@mkitcowt)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/embed-in-php/)
 * I am developing an application and it requires authorization to access certain
   info.
    If the user is authorized I want to allow them to upload a file. Can I/
   How do I run “File Upload” from php?

Viewing 1 replies (of 1 total)

 *  Plugin Author [nickboss](https://wordpress.org/support/users/nickboss/)
 * (@nickboss)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/embed-in-php/#post-10133419)
 * Hi, I suppose you mean to render the upload form. This is how it is done:
 * `do_shortcode('[wordpress_file_upload]');`
 * You can also set options in the shortcode, e.g.
 * `do_shortcode('[wordpress_file_upload uploadid="2" maxsize="1000"]');`
 * Regards
 * Nickolas

Viewing 1 replies (of 1 total)

The topic ‘embed in php’ is closed to new replies.

 * ![](https://ps.w.org/wp-file-upload/assets/icon-256x256.png?rev=3252590)
 * [Iptanus File Upload](https://wordpress.org/plugins/wp-file-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-file-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-file-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-file-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-file-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-file-upload/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [nickboss](https://wordpress.org/support/users/nickboss/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/embed-in-php/#post-10133419)
 * Status: not resolved