Re: Testers required

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
mattlewis said...

pathinfo() seems to do most of this work for you

You had me going for a moment there! I take it you mean that's the Linux side sorted out, but of course (removing my code) I get:

No, I ran on Windows, but I guess I didn't read the output carefully enough. Sorry about that.

petelomax said...

And maybe this is missing from the documentation (of pathinfo):

std_slash can be -1 to use / on Linux and \ on Windows, or you 
can specify "/" or "\\" ('/' and '\\' should behave the same), 
or in fact any other character or string of your choice. 
The default (0) is to leave path separators unaltered. 

Yes, looks like that never got documented.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu