HomeDelphi-PHP Forums

Archive for April, 2007


Delphi for PHP comes with an example web application showing you how to use Google Maps in your projects. Unfortunately this web application does not work straight out of the box. You have to install the Google Components Package first.

To do this, go into the Installed Packages dialog box which is found by going to Component->Packages… on the main menu. Click on the Add button and locate the file called \CodeGear\Delphi for PHP\1.0\vcl\google\google.package.php :

When you have clicked on the Open button, you should see the Google Components package listed in the Installed Packages dialog box like so:

When you have done this you can open up the test Google Maps PHP file which is located at this location: \CodeGear\Delphi for PHP\1.0\vcl\google\maps\test\testmaps.php

.. And that’s it, the test application for Google Maps should be up and running. Have fun with it!!



Announcing the first ever forum Competition here at Delphi-php.net.

Competition Overview:

The competition is a posting based competition where the users with the highest average posts per day count (This can be found in your Profile “My Profile” section) will be the winners.

How Can I Enter This Competition?

You do not need to enter, just start posting , if you are a visitor to the forum, all you need to do is go through the simple forum registration process at forums.delphi-php.net and you can start posting.

What Are The Rules:

As with all competitions there are always rules to keep things fair:

  • No spam posts.
  • Minimum word count: 10
  • Post must be of substance, not just ‘I agree with that’ type posts.
  • If a member violates any of the rules above they will receive a 0.2 deduction per rule violation on their final posts per day count. The forum moderators’ have the final say and their decisions are not open for debate.

    Competition End Date:

    The competition will end on 18th June 2007, at 19:00 (7:00pm) GMT time.

    Competition Prizes:

    There is $100 (USD) worth of cash prizes to be won. The prizes are broken down as follows:

  • $50 = First Place
  • $30 = Second Place.
  • $10 = Third Place.
  • $5 = Forth and Fifth Places.
  • Payment will be made by Paypal only.

    So go and start posting at forums.delphi-php.net today!!!



    Are you sick and tired of always having to resize and arrange the Dephi for PHP IDE just the way you like it everytime it starts? Well you may want to ‘Save’ your desktop so you never have to again!

    CodeGear have included what they call a Desktops quick launch toolbar in Delphi for PHP it’s visiable by default, here’s an image of the mouse pointer of the ‘Save Desktop’ button:

    If you don’t see the Desktops quick launch toolbar simply right click anywhere on the main menu and make sure Desktops is checked:

    Have fun !!!!



    I’ve been playing around with Delphi For PHP and discovered an issue, it’s not really with Delphi For PHP but the way Javascript accesses files. When you are developing a project, you may see the following warnings in your browser:

    Looking further in to it, you will noticed it thinks that QX is undefined:

    You may also noticed that features of your web application which use javascript or Ajax simply don’t work or don’t even show up on the webpage.

    This error occurs if your projects are stored on a different drive than Delphi for PHP. This issue is a browser, not a Delphi for PHP issue, and is a security limit to avoid javascript cross drives.

    The only way to fix this is to move or re-save your project files to the same drive that Delphi For PHP is installed on. A pain I know, but I guess it’s just something we are going to have to live with…



    Just came across a great article written by Jim Tierney on developing components in Delphi For PHP. Jim works for CodeGear as a principle Engineer working on the BDS development team.

    In his article he details how he went about creating a simple Voting/Poll web application, as well as showing us how he created the Polling component which the web application uses.

    All in all it’s a very interesting read! Check it out here: Developing components in Delphi For PHP