Component

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Component

Post by S_henry »

Before this I have developed 1 system using ASP intergrated with VB component. The component is used to put all the sqlquery to get the data from the database. So can we use the same way, PHP with VB Component? Or maybe other alternative except write down all the sqlquey in the same php page?
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

php has its own function for accessing databases. Maybe you should look more into that, because i highly doubt that you'll be able to incorporate your VB component with PHP.
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Post by S_henry »

Actually right now I also used PHP function for accessing databases. The reason to use with VB component just to protect from reverse engineering (perhaps can). Just want to know if somebody got any idea about this.. :?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

unless your security sucks, no one but you will be able to see/read the php code itself.. since php is a server language, not a client language.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

For powerful database-wrappers, have a look at PEAR::DB or adoDB.

PHP is very different from ASP in that the sense of sharing was imbued into PHP from the very beginning. No need to be worried about reverse-engineering or the like, there are many, many, many fantastic and very useful pieces of PHP-code out there, you can view/adapt/manipulate the source-code as you like.
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Post by S_henry »

Ok. Thanx for your responses..
Post Reply