Re: PHP and C#
- From: T <sw.tejasvi.sn@xxxxxxxxx>
- Date: 16 May 2007 02:56:27 -0700
You send raw HTTP via the POST method. But you will have to handle
cookies all by yourself. Use the Fiddler tool (http://
www.fiddlertool.com/fiddler/) to reverse engineer the PHP application.
On May 16, 2:49 pm, "Dave" <fairyd...@xxxxxxxxxxx> wrote:
It's a MySQL database and I can create a publicly accessible login for it
but isn't that a bit dangerous? I'd prefer to pipe it through PHP as well
for the added layer of locks and so forth. If it's done through MySQL
directly people could, if they wanted, find the username and password and
then they have update, delete, and insert access into the DB. At least if
it's done through PHP I can force them to only delete a single record at a
time for example.
Then again, if I don't store the username and password to the MySQL DB in
the C# app and ask the user at runtime it could be just as secure really.
Would also allow better control over who is allowed in and when...
Dave
"John Timney (MVP)" <x_j...@xxxxxxxxxxxxxxxxxxxx> wrote in messagenews:OO6dnQt___57W9fbnZ2dnUVZ8v-dnZ2d@xxxxxxxxxxxxxxxxx
C# can connect to most databases and can make use of PHP web services.
What database are you using?
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Dave" <fairyd...@xxxxxxxxxxx> wrote in message
news:464aa5e3@xxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I have a C# program which downloads data files from a database via a PHP
webpage. Currently I'm uploading the data into the database manually
using phpMyAdmin but it is time for an upgrade. I would like to use a C#
application to send info via a HTTP web form which can include text boxes
and files on a PHP server. I've tried doing some Google searches and have
not found much... any ideas anyone?
Dave- Hide quoted text -
- Show quoted text -
.
- References:
- PHP and C#
- From: Dave
- Re: PHP and C#
- From: John Timney \(MVP\)
- Re: PHP and C#
- From: Dave
- PHP and C#
- Prev by Date: Re: .Net 2.0 C# GridView question
- Next by Date: Re: What kind of transfer methods are msn like messengers uses.
- Previous by thread: Re: PHP and C#
- Next by thread: Re: PHP and C#
- Index(es):
Relevant Pages
|