5075 posts
  • Australia
  • Bought between 100 and 499 items
  • Community Superstar
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

I am using php to grab and echo curPageURL

<?php echo curPageURL(); ?>

that gives me something like: http://mywebsite.com/folder/

Which is great, but I also want to add another href , to redirect to:

http://mywebsite.com/folder/thankyou/

But I would like to append /thankyou/ to curPageURL

so like: curPageURL/thankyou/

does that make sense ?

It is for use on fb feed api, and wish to add a redirect_uri using my code ( I have everything working ) just not the /thankyou/ bit …

Was just wondering if I can append a directory onto the end of the CurPageURL

( I don’t really want to use explicit url )

Ste

5075 posts
  • Australia
  • Bought between 100 and 499 items
  • Community Superstar
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

Hmm ok I think I fixed it lol ( my brain farted )

$thisurl = curPageURL(); $thanks = "thanks/"; $thaturl = $thisurl . $thanks;
972 posts
  • United Kingdom
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
  • Exclusive Author
aaranmcguire says
5075 posts
  • Australia
  • Bought between 100 and 499 items
  • Community Superstar
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

my bad thanks aaran

by
by
by
by
by
by