VideoHelp Forum
+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    Hello

    Happy new year to all

    I m learning php and try to learn more ....

    I m playing with some script that i find on internet and i want to learn where to put this php files and how to run it
    i have smal server with 3 gb momery /with php installed on it

    thanks alot for any suggestion or hulp

    Cheers
    Last edited by Cosinus20; 1st Jan 2020 at 18:43. Reason: fault
    Quote Quote  
  2. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    Hi

    any hulp wil be really appreciat it

    Cheers
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    It depends how you want to use it

    You can use php scripts on command line like this: php <scriptname>
    Or you need a web server with php support and put it in the web accessible directory, and call it in a browser
    Quote Quote  
  4. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Are you sure you're posting in the right forum? This is "Video stream downloading".

    If you are,then put all the script files in any place under the /root folder on your web server (or create a new folder under root folder (usually it's called httpdocs). If it's a basic script,just use the assigned ip/domain with the folder name or specific file.php (e.g. if you have httpdocs/test_script/index.php ,you'd enter the ip/web address like http://someurl/test_script). It's possible that it requires an installation or some mySQL database entries. Just follow readme file instructions.
    Last edited by Sviests; 2nd Jan 2020 at 06:38.
    Quote Quote  
  5. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    Hi and happy new year to all

    Thanks jan5678/Sviests for the replay really appreciat it

    I dont knwo if i can put the phpscript here or not
    i dont want to break the rules

    this i knew it ,simpel php put it in the directory var/www/phpinfo for exemple and if i enter my http://hostname/phpinfo i wil see it this is clear for me

    wat i want to do is to grap some media ts/m3u/mp4 from internet and send it to a specifiec file so i can see it and use it (to be clear is free streams on internet )

    Thanks again

    Cheers
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    As long as there is nothing illegal in your script you can post it here afaik.

    Well put your script in /var/www of /var/www/html (ubuntu based distro)
    Call your script http://hostname/script.php
    Quote Quote  
  7. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    Thanks jan5678

    thanks for your replay and the explination

    but if i do that ,and i did before,when i call my script http://hostname/script.php...i see it just on page
    but i want to generate some files i sent it to my server so i can take alook on it

    Cheers
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    You asked how to use your script, that is what i told you.

    I have no clue what your script is doing/supposed to do.
    Quote Quote  
  9. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Maybe you really do not understand what a php script really is.

    The script converts to a regular web page but typically calls other functions which could change according to the way you run it. Behind the actual script will be another server which actually hold the files such as video that display when the script runs.

    Trying to simply read a script to see what is happening may not get you very far and you most certainly will not be able to use that script on your own server.
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    Cosinus20 sends private messages with code that looks like windows shell script..
    And another code that actually is php but html inside a php file won't work unless you echo out every single line..

    so DB83 is probably right, i don't think the OP understand what he/she is doing.

    I can't help any further
    Quote Quote  
  11. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by Cosinus20 View Post
    Hello
    Happy new year to all
    I m learning php and try to learn more ....
    I m playing with some script that i find on internet and i want to learn where to put this php files and how to run it
    i have smal server with 3 gb momery /with php installed on it
    thanks alot for any suggestion or hulp
    Cheers
    https://lmgtfy.com/?q=learn%20php&s=g
    https://www.w3schools.com/php/
    https://www.learn-php.org/
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  12. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    thanks all for the replay

    that is the proces to learn the things ...and i m doing that with reading and again reading
    i inderstand wat im doing but maybe i didt expline it in good way

    the idea is to get some media(ts/mp4/m3u) from internet so that the rol of this php script is to get this media and put it inside a file on my server that i can runt localy

    thanks lordsmurf for the links ...since few weeks i m folowing some online cursus and brother google is the first wat evrubody wil do before asking some one

    like this in this thread

    _https://forum.videohelp.com/threads/391566-Karwan-tv-get-php-contemt

    Regards
    Last edited by Cosinus20; 2nd Jan 2020 at 14:34.
    Quote Quote  
  13. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    more explination
    like this firefox pluging The Stream Detector

    grap some media and send it to my file on my server but a need a good phpscript for it
    Quote Quote  
  14. Banned
    Join Date
    Jun 2019
    Location
    houston,texas
    Search Comp PM
    The script converts to a everyday net web page but generally calls other functions which may want to alternate according to the way you run it. Behind the real script will be some other server which actually maintain the files such as video that display when the script runs.
    Quote Quote  
  15. Member
    Join Date
    Jan 2020
    Location
    Admin Knows
    Search Comp PM
    thanks jessica do you have any exempl for testing

    Regards
    Quote Quote  
  16. Banned
    Join Date
    Jun 2019
    Location
    houston,texas
    Search Comp PM
    documentation very useful for my job
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!