Forum Moderators: coopster

Message Too Old, No Replies

post data in a site through remote server

post data in a site through remote server

         

vivek avasthi

7:44 pm on Aug 15, 2006 (gmt 0)

10+ Year Member



hi ,
i want to pass data in my site through a remote server..
.how can i do this...

trillianjedi

7:47 pm on Aug 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



At the front end (web) or back end (database)?

TJ

vivek avasthi

7:54 pm on Aug 15, 2006 (gmt 0)

10+ Year Member



data past to front end and will store in database

trillianjedi

7:56 pm on Aug 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



With the database residing on a different server?

What database?

I'm sure we can help, but we need some information to get our teeth into ;)

TJ

vivek avasthi

8:08 pm on Aug 15, 2006 (gmt 0)

10+ Year Member



ya database and site residing on same server.. and there is a file passdata.php that store the data in database .and i want to pass data from a remote server to this file like passdata.php and this file will store data in database.

trillianjedi

8:13 pm on Aug 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So why not just put passdata.php in a public folder and call it from the remote server?

TJ

vivek avasthi

8:19 pm on Aug 15, 2006 (gmt 0)

10+ Year Member



can u tell me how will i call this file and pass data to function exists in this file..from a remote server

trillianjedi

8:32 pm on Aug 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sure, use the php $_GET variable and send the data along with the URL:-

www.example.com/passdata.php?data1=fred&data2=bob

TJ