Posted by on 15 Feb 2010 by
admin in
Actionscript,
Code snippets
Usually, when you code, you might find that you need to change a few things in the code based on whether you are working locally or on a web host. For example, suppose you are sending a request to a server side script (emailing for instance) called “email.php”, if you are working from inside flash, [...]
Posted by on 13 Feb 2010 by
admin in
Code snippets,
PHP
Though this is a very simple task, it is a very intersting one to do because it can have many applications, like deleting files, renaming them based on a sequence, etc. In this code snippet, I’ve applied this technique to rename all the image files with extension “JPG” to “jpg” (to maintain standards and uniformity). So [...]