PHP ARRAY() 0 Answer(s) 4 years and 9 months ago
Posted in : WebSevices
I have to compare two arrays. 1)Array contain a Image from Directory like(test.png. tesnt2.jpg) 2)Array contain a Images from a file.I have used a Preg Function to read all Images from File Into an Array()Like (/image/default/test.png)(/image/fre/play.jpg).
Now my problem is I have to output only Images from file which are not in directory.If a file has a Image name test.png and also directory contain the same name of the Image(test.png).I should not output this Image.
Please any suggestion is valuable for me.I think its not hard problem but I am not getting the solution.