pdpd Posted January 22, 2008 Share Posted January 22, 2008 Hi Guys, Our website header is based on Flash, and it has a built in area for domain lookup. (This is two text boxes, one for sld, one for tld). This is working fine for 'Domain Ordering' (from the integration code in the WHMCS admin area) by using this ActionScript code on the 'Check Domain' button: getURL("http://www.mydomain.com/cart.php?a=add&domain=register&sld="+sld.text+"&tld=."+tld.text,"_top","POST"); However, we want it to send the info to the 'Domain Availability Lookup' rather than 'Domain Ordering' as this then sends the customer through the process of ordering hosting to go along with the domain intuitively, The problem is, sending variables along with the form post doesnt seem to work: getURL("http://www.mydomain.com/domainchecker.php?hidden=true&domain="+enterdomain.text+"&ext=."+entertld.text,"_top","POST"); .. just opens the domain availability checker with no domain entered. (We have disabled Captcha by the way) Any ideas? We'd really like to use the second method, as this is the same way our legacy MB install used to work and what our customers are used to. Or alternatively, is there another variable we can send along with the first method that would take the user to choose a hosting package straight after the domain check? Cheers 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted January 23, 2008 Share Posted January 23, 2008 I thought variables set in the URL was GET not POST? I may be wrong but maybe try changing it and see what happens 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted January 23, 2008 Author Share Posted January 23, 2008 Thanks! ... but its definitely a POST (its this in the HTML form, and works fine there). Tried the GET and it doesnt work, 0 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.