in reply to glob is working only first time in foreach loop
- Read Writeup Formatting Tips and update your post to use "code" tags for your code samples.
- Post the code you're are actually using. What you posted has syntax errors.
- Be specific about what you mean by "I an not able to get the second file". What do you get? What do you expect to get?
- Basic debugging checklist