English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a website and i want to make a registation sytem so people can register and then sign it and then have accessto the whole site

2006-07-27 09:10:42 · 8 answers · asked by eminemrapper13@sbcglobal.net 1 in Computers & Internet Programming & Design

my website can only support these lag. .htm, .html, .gif, .jpg, .png, .txt, .swf, .mid, .rmi, .au, .wav, .js, .css, .ico, .bmp, .dcr

is it possible to host my resigstration system in php on my other site that dose support it?

2006-07-27 09:24:38 · update #1

8 answers

Sure - you could have this point to a page on your other server in order to process the registration and login attempts. What you can do in your HTML form is use Javascript then to validate login and to also send registration information to your other server.

Here is some sample code that I use to validate a user when they try to login. On your other server you would need to read the content of the XML data that is passed to, validate if it is a good username/password or not, then send back a reply to your app.

You could use this same idea when the register in order to send the registration to a page on the other server to store their information (make sure to also do a check first for a unique username). It would be easier coding wise to host all these login/registration pages on your other site but then the user would be going to a different URL (unless you masked it in frames or something). The XML.send needs to be on one line but yahoo always screws up formatting on code