php - Get substr from string -


i have code

<?php echo $fileinfo[2] ?> 

so $fileinfo[2] outputs:

/1/video/hey-smith_.mp4 

i want part of string video/hey-smith_.mp4v, how remove /1/ ?

this return 3rd character end of string:

echo substr($fileinfo[2],3); 

Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

How to combine associative arrays in bash? -

c++ - No viable overloaded operator for references a map -