Jump to content

Send inserts to mysql thru port 80


redtroll

Recommended Posts

Hi!

 

I have an application that must do some inserts in a mysql db. This db is behind a firewall, and only port 80 is available.

My first thougt is to use xml or csv, and in some way parse that using php.

How can this be done? I can not use a web page with an send button, this has to be more or less automatic.

I am brand new to php, so if possible give me example.

 

Thanks in advance.

Link to comment
Share on other sites

MySQL does not run through port 80. It's 3306, and is accessable serverside (or via your host normally) with full control. Yes, there are CSV and XML paring functions in PHP and should not be hard to implement provide you have knowledge to.

 

There is no 'automatic' workings for these functions, you need to learn forms and sessions and the basics before you can even hope to use the CSV/SQL part of it..

Link to comment
Share on other sites

MySQL does not run through port 80. It's 3306, and is accessable serverside (or via your host normally) with full control

No. What if your database server is not on your webserver! There is nothing mentioned in the post regarding a webhost. This sounds like an internal configuration. If the database server is behind an internal firewall with only port 80 open then there is no way anything on the public side of the firewall will be able to talk to it. Doesn't matter how your planning to update the database i.e with CSV, XML or whatever.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.