pakistaniface Posted May 3, 2012 Share Posted May 3, 2012 hello guys I need little help bro, I want to make application in which i want this look, I am from a company where we have over 12 companies license and all are those is renew after every year. so i want to make a application which will inform us 1 month before expireing their license. Mean if any company license is expire on 12 June, our application give us notification on 12 May. Could you please help me how can I do this? Thanks and regards Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/ Share on other sites More sharing options...
MMDE Posted May 3, 2012 Share Posted May 3, 2012 How is it supposed to tell you if the license is going to expire in a month? I mean how is it going to communicate this message with you or your company? Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342715 Share on other sites More sharing options...
Jessica Posted May 3, 2012 Share Posted May 3, 2012 I would assume they'd do it the easy way and just record the license information in their own db, and update it when they get a new license. Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342718 Share on other sites More sharing options...
batwimp Posted May 3, 2012 Share Posted May 3, 2012 And then send out an email when the license is about to expire. What code have you written so far? Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342721 Share on other sites More sharing options...
MMDE Posted May 3, 2012 Share Posted May 3, 2012 And then send out an email when the license is about to expire. What code have you written so far? PHP is mainly used to run server side scripts when a page is requested. Are you sure PHP is what you want to use for this? Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342728 Share on other sites More sharing options...
batwimp Posted May 3, 2012 Share Posted May 3, 2012 Sounds like something you could do with google calendar or a similar application. Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342729 Share on other sites More sharing options...
premiso Posted May 3, 2012 Share Posted May 3, 2012 /tollolololol Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342849 Share on other sites More sharing options...
pakistaniface Posted May 4, 2012 Author Share Posted May 4, 2012 we just want to store the company name, description, contract type, contract date and expiry date, and i want when 1 month is lefted to renew the contract, this application should email us or give a warning mesage where we want. like if we want in email, this application should send us email regarding the warning. hope you understand now and at this time i still not start coding, i want if some one already have this please give me advice or share with me if possible. thanks and regards Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1342913 Share on other sites More sharing options...
DrTrans Posted May 4, 2012 Share Posted May 4, 2012 So you want someone else to do the job for you... and you take all the credit for their work for your company. Let me jump right on this project for you... send ur specs to ... i.wish.i.was.@programmer.com Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1343024 Share on other sites More sharing options...
pakistaniface Posted May 6, 2012 Author Share Posted May 6, 2012 thanks bro for the reply but can you please give me your else email address because i am unable to send email on this address. hope to work with you thank Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1343429 Share on other sites More sharing options...
ignace Posted May 6, 2012 Share Posted May 6, 2012 ROFL his other e-mail is iwishirecognizedsarcasmwhenitstaredme@inthe.face Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1343430 Share on other sites More sharing options...
haku Posted May 6, 2012 Share Posted May 6, 2012 heh. What you will want to do is set up a script that pulls all the records out of the database that will expire within one month of today. Check to see if a notification mail has already been sent (you will need to add a new column to your database to mark this). If it hasn't, then send out the required emails, and mark that the notifications have been sent. Then, set up a cron tab to execute your script every day at a certain time. Cron tabs run on the server at set intervals, without any interaction from a user. Setting the marker I mentioned in the first part will mean that if any mails don't get sent for some reason, they will get picked up on a future cron run. Without that, if you only grabbed the records that were to expire in a month, and your script failed for some reason, the notifications that were not sent would never be sent. Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1343509 Share on other sites More sharing options...
pakistaniface Posted May 15, 2012 Author Share Posted May 15, 2012 thanks haku hehe now i understand bro, thanks will make this and if i need any support will sure distrube you. thanks Quote Link to comment https://forums.phpfreaks.com/topic/262023-need-to-know-something-about-how-to-make-this-application-please-urgent/#findComment-1345580 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.