generate a Serial Number
Posted: Fri Dec 08, 2006 5:23 am
Hi all,
Is there any way to generate a Serial Number whenever we execute a php file???
Actually am trying to generate a "transaction id" for implementing payment gateway while registering to a site.
The transaction id shouldbe in this format. WYYYYMMDDXXXXSLN
where W-consatnt , YYYY-Year , MM-Month , DD-day , XXXX -Constant , and the final one SLN is the serial number.
Now i want to generate a serial number for every subscriber.
Eg: for 20061208 (W20061208XXXX001,W20061208XXXX002,W20061208XXXX003,W20061208XXXX004,..........)
for 20061209 (W20061209XXXX001,W20061209XXXX002,W20061209XXXX003,W20061209XXXX004,..........)
Can any body tell, is there any function to generate that SLN(Serial number)???
Waiting for your valuable replies.....
Thanks and regards
MADHU
Is there any way to generate a Serial Number whenever we execute a php file???
Actually am trying to generate a "transaction id" for implementing payment gateway while registering to a site.
The transaction id shouldbe in this format. WYYYYMMDDXXXXSLN
where W-consatnt , YYYY-Year , MM-Month , DD-day , XXXX -Constant , and the final one SLN is the serial number.
Now i want to generate a serial number for every subscriber.
Eg: for 20061208 (W20061208XXXX001,W20061208XXXX002,W20061208XXXX003,W20061208XXXX004,..........)
for 20061209 (W20061209XXXX001,W20061209XXXX002,W20061209XXXX003,W20061209XXXX004,..........)
Can any body tell, is there any function to generate that SLN(Serial number)???
Waiting for your valuable replies.....
Thanks and regards
MADHU