If you want to delete files by pattern (e.g. “*.txt”) in a directory, you can do this with the php function glob! With this method you can also delete all files of a directory – with pattern *.*
Simple question – simple answer: How do I delete all files in a directory with PHP?
If you want to find out the language or country of the clients browser, do it this way: But be aware! This way you only get the localisation of the clients browser. And this is configurable by the user. The code above will give you output like this: or There are many methods you can use with zend localisation: Example …
All you want to do is saving a product like this? Or maybe without the API? And all you get is an error like this? The error occurs in this area of /app/code/core/Mage/Eav/Model/Entity/Abstract.php ? SOLUTION: try to prepend this line to your code:
Meine alte Homepage, die ich mit typo3 umgesetzt hatte, gehört der Vergangenheit an. Diese Version wurde mit WordPress 2.8 erstellt. Funktioniert tadellos.
- Page 2 of 2