Jump to content

Call Class functions/methods via URL


salepg
 Share

Recommended Posts

Hi,

I'm developing mailbox and I wanna rather use single class then making pages. Here is the plan (or I think that its a good plan):

- I have mailbox.php template and mailbox page

- when user click on mailbox, on sidebar he have options to write/read massages to and from ppl

Instead of making these pages, and to prevent "ugly URLs" I wanna offer user to call write msg like: http://www.domain.com/mailbox/?actionType=newMail. Also, I think that this will be useful for some other stuff which I wanna add to my project.

I'm not skilful but wanna learn stuff.

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...