Jump to content

Order Form Template: php script possible?


shout

Recommended Posts

I'm creating a custom Order Form template and I'm finally starting to understand the internal API.

 

However, I'd like to run the <b> domainid</b> function to get WHOIS data on a domain--and I'd like to be able to do this through Ajax. I created a script "whois.php" and put it in my template folder, but I can't figure out what the URL of it would be. It would need to be a standalone PHP file and not a .tpl file, because the .tpl files return tons of HTML and stuff, I just want a minimal yes/no sort of answer.

 

Has anyone done custom Ajax before, and if so, how do you do it? How do you define a URL to the PHP?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated