Wait a moment. You need a function to get dates from strings, not convert dates to strings. This function you're using sounds like the wrong tool for the job.
Seems like you'll want some kind of dropdown box or a set of radio buttons on your input form, with a list of the available currencies. You can use the element's value property to figure out what...
It is a very good idea to test on a personal server. In fact, I recommend the XAMPP package, a preconfigured test server that can run right on your PC. Just make sure your local and test servers...
I recommend the jQuery UI Datepicker. It's themable, customizable, and easy to set up. Once you've loaded the jQuery and jQuery UI scripts, all you need is:
I'd recommend making a method in the parent window that your child windows can call. Just add the following inside a <script> tag in your parent window:
"Security via obscurity" comes to mind. If you make your source code really obscure, you can make it harder for people to hack into your site. One of my...
If you're going to validate forms, one of two things should happen when the user clicks "Submit": they have validation errors, or they get a success message. It's helpful when the errors appear next...
Do you mean Javascript code? Nobody can get your PHP code if your server is configured properly (most are). If you want to safeguard your Javascript, use an obfuscator -- it turns your code into...
I recommend the jQuery Javascript library for this. You might find jQuery helpful in many other ways too. You see, window.onload fires only once all the images (banner ads) are loaded. jQuery has...
The resizing is pretty well-done, but you might want to make sure the aspect ratio is preserved. The text looks a little 'stretched' on my widescreen monitor.
Why do you want to rewrite the URI when you could just use the GET parameter passed in the query string? I get the feeling that your index.php file will have to parse that query string again at some...