brent123456 Posted November 26, 2007 Share Posted November 26, 2007 I am having trouble trying to split a string. $urlname = split("[?-&]",$_SERVER["HTTP_REFERER"]); print_r ($urlname); I am getting error.. Warning: split() [function.split]: REG_ERANGE in Any give me a hand? thanks Quote Link to comment Share on other sites More sharing options...
Orio Posted November 26, 2007 Share Posted November 26, 2007 You dont need that "-"... $urlname = split("[?&]",$_SERVER["HTTP_REFERER"]); print_r ($urlname); Orio. Quote Link to comment Share on other sites More sharing options...
brent123456 Posted November 27, 2007 Author Share Posted November 27, 2007 Worked like a charm. Thanks Orio Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.