php access network path under windows

I solved it by changing some stuff in the registry of the server as explained in the last answer of this discussion: http://bugs.php.net/bug.php?id=25805 Thanks to VolkerK and Gumbo anyway! I love stackoverflow and their great people who help you so incredibly fast!! EDIT (taken from php.net): The service has limited access to network resources, such … Read more

Working with Unicode file names in VBA (using Dir, FileSystemObject, etc.)

It sounds like you are being misled by the fact that while VBA itself supports Unicode characters, the VBA development environment does not. The VBA editor still uses the old “code page” character encodings based on the locale setting in Windows. Certainly FileSystemObject et. al. do in fact support Unicode characters in file names, as … Read more

Is there a way to delete created variables, functions, etc from the memory of the interpreter?

You can delete individual names with del: del x or you can remove them from the globals() object: for name in dir(): if not name.startswith(‘_’): del globals()[name] This is just an example loop; it defensively only deletes names that do not start with an underscore, making a (not unreasoned) assumption that you only used names … Read more

How to use __dir__?

You can use __DIR__ to get your current script’s directory. It has been in PHP only since version 5.3, and it’s the same as using dirname(__FILE__). In most cases it is used to include another file from an included file. Consider having two files in a directory called inc, which is a subfolder of our … Read more