Outside the documentroot (/var/www)

Discussion in 'HOWTO-Related Questions' started by tomtitom, Sep 26, 2007.

  1. tomtitom

    tomtitom New Member

    Hello,

    I have a question.

    I followed step 4 step to this tutorial http://www.howtoforge.com/video_streaming_lighttpd_flowplayer_p2 .

    Ther is one step with creating 2 new folders (/var/videos/incoming and /var/videos/flv).

    So I cant understand, how this should work, if I include the flv video into the flash player, because the files are outside the documentroot (/var/www).

    Please help me.

    tom
     
  2. tomtitom

    tomtitom New Member

    please, please help me
     
  3. tomtitom

    tomtitom New Member

    my question is, how can I upload a video over php into a dir outsite the document-root?

    Thank's
     
  4. falko

    falko Super Moderator Howtoforge Staff

    It's up to you which methods you want to give your users to upload their content (e.g. anonymous FTP, upload through an HTML form, etc.).

    If you want to use PHP, take a look here: http://www.tizag.com/phpT/fileupload.php
    http://de3.php.net/features.file-upload
     
  5. tomtitom

    tomtitom New Member

    Thank you.

    But I want to upload the videos over a PHP-script in a directory outside the /var/www (I use lighttpd).

    Like in this tutorial: http://www.howtoforge.com/video_streaming_lighttpd_flowplayer_p2

    Ther will create a dir named /var/videos/incoming.

    How can I upload a file over PHP in a directory outside the document-root (/var/www)?

    Thanks
     
  6. tomtitom

    tomtitom New Member

    please help, it's so wichtig

    danke
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Did you take a look at the links I posted? It's all in there.
     

Share This Page