![]() |
Parse_url doesn't work
Hi Guys,
I'm using the code below in a code modification but it doesn't seem to work. I guess it has something to do with parse_url. It works fine when use it in a separate non-vb php file. How can I make this work ? // Extract the program name $arr = parse_url('$reflink'); $newprogname = $arr['host']; $newprogname = ereg_replace("www.","",$newprogname); |
Please post your questions in the correct forum in future. Moved
|
Somebody ???
|
lol.... if you put $reflink between single quotes the variable doesn't get expanded.
|
OK it works. Thx again Rake :-> How come it worked in a normal php file and not in vbulletin ?
Getthat |
Don't bother ... made a very newby mistake :-<
|
All times are GMT. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|