XtremeKilling Posted February 19, 2007 Share Posted February 19, 2007 How do u register users using just a URL in php? I've seen this done before and I need the source. and example will be like www.xtremekilling.net/register?username=TEST&password=TEST Thanks! Link to comment https://forums.phpfreaks.com/topic/39167-url-registration-in-php/ Share on other sites More sharing options...
Cep Posted February 19, 2007 Share Posted February 19, 2007 That link is using the $_GET method by the looks of it (if its in php that is) but there are a large number of registration systems out there. Just google for some or check the code library. Link to comment https://forums.phpfreaks.com/topic/39167-url-registration-in-php/#findComment-188624 Share on other sites More sharing options...
XtremeKilling Posted February 19, 2007 Author Share Posted February 19, 2007 sry i need it in php so it can add a user to my database. I'm making a Client out of Borland Delphi and it has 2 text fields for them to insert user and pass to register,and the only way they can be added is through a URL. for example Buttonclick(register); register; getpage:=www.xtremekilling.net/username=%user%&password=%pass% writeln('Thank you for Registering'); of course my real code isnt going to be that simple but its an ideal example. btw wheres the code library? Thanks Link to comment https://forums.phpfreaks.com/topic/39167-url-registration-in-php/#findComment-188630 Share on other sites More sharing options...
Cep Posted February 19, 2007 Share Posted February 19, 2007 I don't understand why you would be making a client out of Delphi and using PHP at the same time. PHP is a web server language so anything you write in it will go to a webserver to be processed, this could in theory pass information to a Delphi program but I don't understand why you would do that as PHP can update your database directly. Normally it would be an online registration form written in X/HTML which passes data back to the PHP script which could then add/update/delete records in a database. Using the GET method isn't the best idea either, its usually better to write a form which utilises the POST method, reading in the registration details from the HTML elements of the form. The code library is on the main page of the site, there is a link at the top of the forums or you can just go here, http://www.phpfreaks.com Link to comment https://forums.phpfreaks.com/topic/39167-url-registration-in-php/#findComment-188639 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.