pentan Posted December 7, 2006 Share Posted December 7, 2006 I have a primary site. On that site I have a blog/journal directory set up. I wanted to give customers direct access to it with a dedicated domain name different than the primary one. I did this and set it up as an Addon to the directory on the primary site. It goes there with no problems, but the php scripts I have there make calls to files on the root of the primary site and it can't seem to access them directly, only by making an http:// call. Am I missing something?Thanks,Michael Quote Link to comment Share on other sites More sharing options...
the_oliver Posted December 8, 2006 Share Posted December 8, 2006 If its in the same file system on the same server you can just refer directly to the file, even though its on a differend domain. Eg ../send.phpHowever if your running it with a full http:// addrerss it should work. Perhaps you could post your code? It could also be that your server is not likeing the multiple connections if your not 'vertual hosting' but is unlikly! Quote Link to comment Share on other sites More sharing options...
pentan Posted December 8, 2006 Author Share Posted December 8, 2006 I've actually narrowed it down a bit where the problem is. You are correct for straight PHP. However in one place I have to use an HTML call to another page. I have to pass a variable to it and then use the results. I don't think I can use AJAX for this but I'll look into it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.