# Request: Codeshare

**URL:** <https://forum.phpvms.net/t/request-codeshare/3411>\
**Category:** Development Help\
**Created:** [September 18, 2010, 11:49am UTC](https://forum.phpvms.net/t/request-codeshare/3411 "2010-09-18T11:49:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [September 18, 2010, 11:49am UTC](https://forum.phpvms.net/t/request-codeshare/3411/1 "2010-09-18T11:49:47Z")

</div>

Hi,

Would it be possible to codeshare with other virtual airlines using PHPVMS? That way, when the pilot of the other virtual airline files a PIREP, the codeshare virtual airline will get charged for it, but will get the flight hours / miles credited.

Just an idea,

Jamie - www.flybia.cz.cc

---

<div class="post-metadata">

**Author:** ![Nagelfar](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/7ab992/32.png) [@Nagelfar](https://forum.phpvms.net/u/Nagelfar)\
**Post date:** [September 18, 2010, 11:58am UTC](https://forum.phpvms.net/t/request-codeshare/3411/2 "2010-09-18T11:58:54Z")

</div>

Yeah - but you have to use the same database on both websites

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [September 18, 2010, 1:16pm UTC](https://forum.phpvms.net/t/request-codeshare/3411/3 "2010-09-18T13:16:40Z")

</div>

Ah, I see. I hadn’t thought that through. I thought maybe there would be a way of sending the data over to the other airline using some sort of code that “Pushes” it over. Forgive me, I can’t write scripts but I can understand them!

Thanks,

Jamie

---

<div class="post-metadata">

**Author:** ![Nagelfar](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/7ab992/32.png) [@Nagelfar](https://forum.phpvms.net/u/Nagelfar)\
**Post date:** [September 18, 2010, 1:39pm UTC](https://forum.phpvms.net/t/request-codeshare/3411/4 "2010-09-18T13:39:09Z")

</div>

Well phpvms alread got a build in VA module, basicaly youÂ´re able to creat several Airline within on Website.

If you want to integrate an extern VA to your - as you said - you should got the easy way and share one databse. The Flights of each Airline will appear inside the Admin Section. (Of course both vaÂ´s have to use phpvms)

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [September 22, 2010, 6:14pm UTC](https://forum.phpvms.net/t/request-codeshare/3411/5 "2010-09-22T18:14:57Z")

</div>

The only problem with that is that I don’t want to codeshare every route.
