We are a Usenet reseller and we are providing Usenet Access to our customers and we need someone to amend/rewrite two small “php callback” scripts to add customers automatically to the remote database making use of HTTP POST.
Script requirements, details:
1) Users can be added using HTTP POST to a specific url
2) The connection is to be authenticated
3) users should be added in the following format: Username,Password,Email,Package,Months (don't use spaces in between) and output is to be set as xml
4) Username is to be their site username with the following in mind:
The value for the login should consist of ASCII characters and is further restricted to letters, digits, point, dash and underscore. Upon login any leading and/or trailing spaces are stripped, as these often arise from user's cut&paste operations. Spaces within a name are also not allowed because these may interfere with future NNTP features. In the reseller's database the name should be stored without leading/trailing spaces, as otherwise mismatches may occur. Other characters and or encodings may or may not work, but they are unsupported. The maximum length of the accountname () is 63 characters. So the maximum length of the login field derives from that and is thus reseller specific.
5)password should be randomly generated with 10 characters
6)users email address should be retrieved from our sites database
7)packages which can be used are: 100gb,10gb,5mb,10mb,20mb,50gb,i100gb,i10gb,i5mb,i10mb,i20mb,i50gb
8)Months can be 1,2 or 4
9)Some way to check if a user was added correctly or when an error occurred (using the xml output of the remote site) an email is to be send to a specific email address, with the transaction details and error code.
Payment on delivery and verification of working script. Communication via Email. More details will be available on acceptance of this project.
Project budget $50,-