Copy/Post/Send data from a website to another.
i want to copy posts related data text/images from one website to another.
when a user selects a product (added earlier) and click a button it should be submitted to other website.
new website will save submitted data in its own scheme.
That's not a problem, simply direct the form to send data to site 2.
Say your site is http://www.mysite.com and you want to send the data to http://www.myothersite.com, just use a form like this:
"post" action= "http://www.myothersite.com/form-processor.php"> <input type=
"text" name= "sometext" value= "enter your text" /> <input type=
"text" name= "somemoretext" value= "enter some more text" /> <input type=
"submit" /> </form>
sounds funny. u did nt get what i want. read my question again
i want to copy (existing posts stored in the database are displayed on a page) selected product with its image name and description etc...
let me explain in detail. i have a cars portal with 100s of cars added for sale. now admin wants to post a car to another website let's say a cars directory website. so he selects a car and clicks a submit/post button. all the data related to that rcars (including images etc...) is submitted to that directory. then the directory will handle in its own fashion.
You can use PHP to 'scrape' the data. Just insert some kind of field markers if possible and you can easily do this.
Search for PHP 'screen-scraper scripts' and you will likely find something you can use.
You might need to add this line to the php.ini file on the scraping site:
allow_url_fopen = On;
allow_url_include = On;
thanx alot. i will search and post the results
Users Browsing this Thread
There are currently 1 users browsing this thread.
(0 members and 1 guests)