Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts

    uploading file from one server to another through a form

    I currently have a program set up to keep track of clients, it's using a local database (all done with VB). The database contains user info and a picture. I also intend to create a web page, which the program enters data into, no problem. The third step is, if the user decides to add his file to my online database, I want it to automatically enter his info to a third party site that is hosting an online program for us. This third party online app gives them international support to our prog. This can easily be done, well almost all of it. The problem comes when my online database wishes to send info to the third party db, how can it send an image to them? There is no ftp, or any other means of sending a file other than through their online form. From what I understand, you can't set the value of a "file" input, so is there a way I can just send the file directly to their upload file?

    Sorry for being vague, but we're in the process of making a deal and can't release any inside information.

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Iran
    Posts
    695
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry for being vague, but we're in the process of making a deal and can't release any inside information.
    Haha! I really understand that! I lost one of my clients just because of givving out unnecessary info! Well, I don't know the answer, just curious to see how it's done. But you said that you can do it if they had an FTP, is that right?

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here it is:

    http://www.codingforums.com/showthre...threadid=18436

    ,but back to my question, can anybody help me?

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just found something interesting, but didn't get a chance to test it, because I'm not at home. Look at the last post.

    http://www.php.net/manual/en/function.fsockopen.php


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •