homepage Welcome to WebmasterWorld Guest from 54.243.12.156
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
help with includes and variables
amikin




msg:3506214
 11:06 pm on Nov 15, 2007 (gmt 0)

I have a site which is working off of 2 domains.

In the one domain I have a page that is setting some variables and then has an include to a page which resides in the other domain. This include has an echo to the variable that is being set.

The problem I am having is the code in the included page will not recognize the variable. Is there a way to have an include which resides in a different domain recognize the variables set on the parent page?

 

Mohamed




msg:3506314
 2:26 am on Nov 16, 2007 (gmt 0)

No, two different environments.

I guess if the domains are hosted in a same webserver then there will be work around like using file path instead of the url.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved