Menu

#3 Location() function.

open
nobody
None
5
2002-07-19
2002-07-19
Anonymous
No

Noticed that an & is appended to the end of the url
when this function is used. Is there a reason this is
happening? If not can you add this line of code to the
source or do whatever you need to in order to remove
that &? =)

Thanks.

//-- if the last character of the $location var is an & strip
it.
$location = preg_replace('/&$/','',$location);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.