Hi all:
Can somebody teach me how to generate dynamic links in PHP? I am doing a project that allow people to download ringtone using WAP push.
Basically, it works in this way: user will receive a WAP push message sent out by us and by clicking this message, his/her handphone will automatically connect to our ringtone server and start downloading the ringtone. The link to the ringtone is contained in the message body. That means, when the user choose to view the detail of the message, he/she will be able to see the link. It is a bit risky because the link we sent them is the actual link, it is in the format of following: "This link shows the IP of our ringtone server, what's more, it also shows the folder that stores the ringtones and the ringtone file name. By editting this link manually, user will have the option to download other ringtones, (just changing the file name at the end). We definately don't want this to happen.
To solve this problem, someone had already highlighted to me that dynamically generated link is the way to go. However, I really can't figure out how to do this in PHP. In fact, I have no idea to do this in any programming languages I know Can someone advice me how to do it? Your help is greatly appreciated.
Thank you
Can somebody teach me how to generate dynamic links in PHP? I am doing a project that allow people to download ringtone using WAP push.
Basically, it works in this way: user will receive a WAP push message sent out by us and by clicking this message, his/her handphone will automatically connect to our ringtone server and start downloading the ringtone. The link to the ringtone is contained in the message body. That means, when the user choose to view the detail of the message, he/she will be able to see the link. It is a bit risky because the link we sent them is the actual link, it is in the format of following: "This link shows the IP of our ringtone server, what's more, it also shows the folder that stores the ringtones and the ringtone file name. By editting this link manually, user will have the option to download other ringtones, (just changing the file name at the end). We definately don't want this to happen.
To solve this problem, someone had already highlighted to me that dynamically generated link is the way to go. However, I really can't figure out how to do this in PHP. In fact, I have no idea to do this in any programming languages I know Can someone advice me how to do it? Your help is greatly appreciated.
Thank you