How can i transfer a parameter from one site to another one?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mini4
Forum Newbie
Posts: 4
Joined: Thu Oct 23, 2008 1:17 am

How can i transfer a parameter from one site to another one?

Post by mini4 »

i.e : i got a parameter : $id in http://www.aaa.com/aaa.php
i want to use $id in another site http://www.bbb.com/bbb.php
what should i do?

any suggestion will be appreciated. Thx. :lol:
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: How can i transfer a parameter from one site to another one?

Post by papa »

An easy way is to use GET.

site a submits id and the url to site b will be http://www.bbb.com/bbb.php?id=$id
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: How can i transfer a parameter from one site to another one?

Post by aceconcepts »

Also, if it's not obvious, use ACTION in your form declaration.
mini4
Forum Newbie
Posts: 4
Joined: Thu Oct 23, 2008 1:17 am

Re: How can i transfer a parameter from one site to another one?

Post by mini4 »

Thanks for your replies.
I didn't describe my problem correctly.
Anyway, I have solved the problems in another way.
Post Reply