Relative Content

Tag Archive for phplinux

ubuntu 22.04 server on microsoft azure,config nginx,php. problem with installation of composer

how you doing guys? i hope you have great day,im trying to configure nginx,on ubuntu 22.04 server microsoft azure,and to after host simple htlm website on same,but i am facing issue with installation of composer, somehow manage to even go trough error of needing php.7.2 and download it from archive base,but i dont know where exactly to search next to fix this problem with composer install

Convert Windows Path to Linux

I need to open files on a windows file server with php. Unfortunately there are over 700k files, and they did all sorts of typical windows filename stuff. Comma’s, apostrophe’s, ampersand’s, parenthesis, spaces, etc…. Just about anything you can think they did to these file names they did it. Does anyone have a routine/function/etc…. that will escape everything that could possibly need to be escaped to turn this into a valid linux path so my php script can open each of the 700k files?