Due to lack of interest in my destop projects (PlainHTML, ShutDownerXP, and newly, WE editor), i decided to shut down all activity regarding desktop projects, this time for good.
In the meantime, i've found my code editor of choice, in the great Eclipse editor, so this is another reason not to develop "yet another web editor". Many third-party components used in my projects are too much buggy, to continue development, some of them outdated, and i don't have time to fix them all. It's a waste of my time, and it will lead to nothing. I'm committing my time to PHP development from this time forward.
The BWS project will be cut down to a minimum, and the forum section will be shut down. I will archive the site, and remove pretty much everything not related to PHP development and web design.
I am introducing a new feature: Logging in with GMail account credentials.
I believe, this will be a good idea, since it won't require to register on the BWS site.
I began to upload some new kind of stuff, widening the content scope of this site. When new information is too valuable to be collected by different content bots, i will put them behind authentication.
User accounts created for the forum are member accounts, thus enabling for you to see these internal articles.
There is a new template available on BWS: Silver Plating
This is a new template for larger sites, portals, community sites, galleries, etc.
Old web templates were dropped, because they are out-of-date did not comply with today's standards, and many more reasons.
Those templates will not be available anymore.
Some times (when working with Ajax requests or serving data for other sites) we need to generate XML output.
Sending the well formed XML code only will not be interpreted as XML or will be very hard to parse. For external applications and Ajax will be available as simple text.
In order to serve it as XML we need to set the MIME type as such.
In this tutorial, i will tell, how to connect to an existing MySQL database with an existing username and password.
For the first, we need the database and the credentials for it. If you are using a free web hosting service with PHP and MySQL support, you already have this information.
If you have a web server installed with PHP and MySQL, you have to create a database and a username. Since this is not part of this tutorial i will talk about it in another post.
Now, it’s time to get connected. We will create the db.inc.php file: