We are having our main site at qualitypointtech.com and quiz at qualityponinttech.0fees.net/quiz .
I thought it will be good to access quiz at qualitypointtech.com/quiz without putting the quiz at main site.(qualitypointtech.com).
Because we can't put the quiz folder at our main site as it won't support php.
I don't know whether it is possible or not. So, asked this question in reddit.com
I got below suggestion as answer from panamaspace
As I understand it, your main domain is on a server where you have no PHP, and you need to show something done in PHP. Two quick and nasty solutions come to mind.
1.An iframe, cheap and easy, but frowned upon. This is one of those few cases where I'd actually consider it... but I don't know the security implications for what you are trying to do. (Sessions, direct access, etc.). Some .htaccess magic could make sure that the page is only opened when linked to from the main domain.
2. A subdomain that points to the PHP-enabled server. Probably more elegant but a little more work, and I don't know if you actually have DNS control of the main domain.
What I would actually do:
1. Just install php on the main server, it's not that hard. Or move the whole thing to a server with PHP.
Edit: p.s. You know that a form action does not necessarily have to be hosted on the server that has the form, right? You can point the form to be processed elsewhere. If I had more specific information, I might be able to help out.
More Articles...
Monday, June 8, 2009
Popular Posts
- Software Testing Quiz Questions and Answers
- Javascript Quiz Questions and Answers
- MySQL Quiz Questions and Answers
- SEO Your Blog the Easy Way - Guest Post
- SEO (Search Engine Optimization) Quiz Questions and Answers.
- HTML Quiz Questions and Answers
- PHP Quiz Questions and Answers
- Best Motivational Quotes Book | Kindle eBook and Paperback | Read for FREE with Amazon's Kindle Unlimited
- Basic Computer Hardware Quiz Questions and Answer.
- Use of tinyurl in Twitter

No comments:
Post a Comment