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
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
June
(31)
- Google Voice gives One number for all your phones
- CellPhones will act as Credit Card by next Year.
- Get Tweet to know when ISS (International Space St...
- Google announces Dashboard for providing detailed ...
- Google focuses more on Mobile devices (iPhone and ...
- Take care of letter case when specifying colSpan a...
- How to force FireFox to open new window instead of...
- Some useful php functions
- Essential Steps for Software Development
- How to get last row from database table?
- javascript code for preventing data loss in web form.
- How to count number of times the user clicks on a...
- Removing white spaces entered in TextArea tag of H...
- Workaround for inconsistent issue with mySql query...
- Need for having Eval function in javascript
- PHP code for listing files in a Folder
- Reverse Auction and finding best price among multi...
- Comments/Suggestions from QA Expert to improve Quiz
- Google is experimenting Squared which will return ...
- Twitter - Are you hearing this word first time?
- Google is taking steps for preventing Plagiarism i...
- Resolved IE specific issue related to calling func...
- foreach loop equivalent in javascript.
- Is it possible to use same domain name for two ser...
- Use Gravatar to display your icon image when addin...
- Use of tinyurl in Twitter
- Introduction to Ajax and sample code for learning ...
- Advantages of php over asp and converting asp site...
- Bing - Mircrosoft's Decision Engine. Will it perfo...
- Free online Quiz for learning php, javascript, mys...
- PHP function for inserting or updating row into da...
-
▼
June
(31)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment