Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Can you automatically append parameter to URL in PHP

  • 10-11-2005 11:44am
    #1
    Closed Accounts Posts: 36


    Can you automatically append a parameter on to a URL in PHP like the way the session_id can be automatically added on to url. Example if i wanted to store a language variable but didn't wan't to use session to store it.

    index.php?language=english

    Can this be done so I don't have to actually add the parameter on to every link manually?
    Cheers


Comments

  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    Easy answer is no, unless you are using sessions, etc you will have to append every url manually to incluse your parameter

    Otherwise you would have to create a function that adds on a paramter to each url (only if the urls were being generated dynamically)


Advertisement