Jump to content

small coding help. php current link


Hanep

Recommended Posts

hello guys. i need help with whmcs..

 

as well as you might know, here are the some code that assigned to WHMCS...

 

Company Name: {$company_name}

WHMCS URL: {$whmcs_url}

WHMCS Link: {$whmcs_link}

Signature: {$signature}

 

currently i am making a template on my whmcs page, and i having difficulties finding the simple code to show "current link". do anyone have any idea?

 

i tried {$current_link} but not working.

anyone know?

 

p/s: im a noob, but fast learner.thanks

Link to comment
Share on other sites

try

 

{$smarty.server.PHP_SELF}

 

woa!! thanks, it worked!! ...

 

btw, i have another proble,,,

 

the function {$smarty.server.PHP_SELF} will only show me the current link of : http://www.mydomain.com/clientarea.php

 

what if i want to show the current link like http://www.mydomain.com/clientarea.php?action=products ?

 

what is the function to do that?

 

kindly help me. thanks..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated