Delphi for PHP - source location

I just installed Delphi for PHP to get an idea of ​​how it works and created a simple app with a button that puts text in a list when clicked. The app works if I copy all the necessary files to my web server and run them from there. It also works if I save the project in the standard path: "c: \ documents and settings \ username \ My Documents \ Delphi for PHP projects"

But if I save the project in a different directory, the ButtonClick event doesn't fire when the app is launched from there. I have set a breakpoint in case it stops there, but it doesn't.

The form's OnShow event works as usual.

It seems like this is the path that the project is located in for it to work or not. As I said, I have no experience with Delphi for PHP so far, this is probably just a simple solution that I can't see ...

0


source to share


2 answers


Your source must be the same driver of your Delphi 4 PHP installation, this is cross-site scripting protection.

So, if you install D4PHP under C :, your code should also be under C:



This is not a PHP limitation on Delphi 4, since everything works.

+1


source


You need to deploy your project with Deployment Wizart;)



0


source







All Articles