Error -> Connect to remote MySqlDatabase

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

kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

It is if the server is up to handling that amount of connections. The script will be acting just like a web page does, except instead of being called by a browser...it is called by your program. But take on board what agtlewis says, once somebody monitors your program and realizes that it calls a remote script to get and save data to, them may start to abuse it and send their own commands to the server. So make sure the database user in the script only has minimal privledges, so it cant delete everything from the database etc.
asterinex
Forum Commoner
Posts: 52
Joined: Thu Nov 25, 2004 7:01 am
Location: Belgium

Libcurl is Cool

Post by asterinex »

Ok Guys , I thank you all.

Thanks to you I found Libcurl. I included the library in my C- Project. With 1 simple function I can send HTTP to my PHP server . Works just like POST.

Now I have another Smaller Problem. Now it is possible for me to query the database. But now I need to get the data Back to the client.

Is it Possible with PHP to write a File on the Client Hard disk?
Post Reply