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
+ Reply to Thread
Results 1 to 16 of 16
Last edited by Cosinus20; 1st Jan 2020 at 19:43. Reason: fault
any hulp wil be really appreciat it
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
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 07:38.
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 )
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.
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.
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
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
Last edited by Cosinus20; 2nd Jan 2020 at 15:34.
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.
thanks jessica do you have any exempl for testing
documentation very useful for my job