1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

integrate Whois script in xenForo page?

Discussion in 'XenForo Questions and Support' started by Kaiser, Nov 30, 2010.

  1. Kaiser

    Kaiser Well-Known Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Pages support php/html/css so you should be able to create a Page with that quite easily, even using an iframe.

    What code did you use to create that page?
     
    Terrorz likes this.
  3. Lawrence

    Lawrence Well-Known Member

    The proper way to use it in a Page you will need to have the whois index.php file re-written to fit XenForo's format, and have your page call it using a phpcall back method. The input field will then be sanitized on submission. And because it is using "Post", XF's token will need to be sent with the form data.

    If you do not want to do that, just add some CSS to the outputted form and make it reflect your site's theme, :)
     
    Terrorz likes this.
  4. Kaiser

    Kaiser Well-Known Member

    Its in php. What do I put the code in between of so its integrated with xenForo?
     

Share This Page