Reply to Re: Match a filename from a text file

Your name:

Reply:


Posted by robert on 05/04/06 02:26

"Juby" <jubydoo@gmail.com> wrote in message
news:1146668170.091638.305220@v46g2000cwv.googlegroups.com...
| Actually, I didn't need to modify it at all, beyond removing the $files
| that you used for testing. Later on I tweaked it because my boss only
| wanted the 'BAD' results, but other than that, nothing.

that's good to hear!

| The only other thing I thought it could possibly be is that you used
| front slashes in the path, while I used (escaped) backslashes. Do you
| think that could have been part of the issue? I figured that front
| slashes wouldn't work on a Windows machine, but apparently I was wrong.

it's really six-one-half-a-dozen-the-other. php handles the path
translation. several ways will work from what i remember...

'c:\path\to\dir'

or

"c:\\path\\to\\dir"

or

'c:/path/to/dir'

or

"c:/path/to/dir"

i just always use single tic string notation as much as possible and
forward-slashes for paths...my *nix throw-back. anyway, try massaging the
path how you like and see if it works with each combination. ;^)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация