Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: PHP Advice

  1. #11
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    You don't need cURL? You can just to a normal form that submits to another site, then on the other site write the data to a file normally.
    How does the other site write the data back to the original site?
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  2. #12
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    You're not explaining this well enough.. why don't you give us some examples on what would be sent, and what you want it to do with it..

  3. #13
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by iUnknown View Post
    How does the other site write the data back to the original site?
    It doesn't, just set sessions before its posted to the external site.
    Lets set the stage on fire, and hollywood will be jealous.

  4. #14
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Ok, I want to put a form to upload an mp3 file on my website, it then goes to a page on another website, which uploads it and then the content of the page that is seen after that contains the link (http://) on its own. No HTML or anything, just the URL. How do I get that URL?
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  5. #15
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Post the form directly to the page on the other site, then redirect back with the data..?

    On your upload script, just do:

    PHP Code:
    header'Location: http://www.mysite.com/return.php?data=' $imageURL' ); 

  6. #16
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Post the form directly to the page on the other site, then redirect back with the data..?

    On your upload script, just do:

    PHP Code:
    header'Location: http://www.mysite.com/return.php?data=' $imageURL' ); 

    But how do I get the page to send the data to the upload page, then be ready to receive data back, and what if two people do it at the same time?
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  7. #17
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    It's not going to matter.. just post the data from the page, directly to the upload page..?

    action=""

  8. #18
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    You've really not dont a great job of explaining what you want.

    Can I ask WHY you need it too?


Page 2 of 2 FirstFirst 12

Posting Permissions

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