A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2008 yearDelphi for PHP - location of source - page 1
User InfoPosts
Delphi for PHP - location of source#1
I just installed Delphi for PHP to get an idea on how it works and have created a simple app with a button that puts a text into a listbox when it is clicked.
The app works if I copy all required files to my webserver and run it 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 another directory, the ButtonClick event is not fired when the application runs from there. I've put a breakpoint in the event to see if it stops there but it doesn't.

The OnShow event of the form works as usual.

It really seems to be the path where the project is located to make it either work or not.
As I said, I have no experience with Delphi for PHP so far, it is probably just a simple solution that I don't see...

posted date: 2008-12-26 01:29:00

Re: Delphi for PHP - location of source#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2008-12-26 01:29:01

Re: Delphi for PHP - location of source#3
Your source should be at same driver of your Delphi 4 PHP installation, it is protection against cross site scripting.So, if you install D4PHP under C:, your code should be under C: as well.It is not a Delphi 4 PHP limitation, it is how the things works.

posted date: 2008-12-26 04:02:00

Re: Delphi for PHP - location of source#4
Thank you for the insight, that makes sense.

posted date: 2008-12-26 11:18:00

Re: Delphi for PHP - location of source#5
You have to deploy your project with Deployment Wizart ;)

posted date: 2010-04-04 11:03:00

select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.