Link to home
Start Free TrialLog in
Avatar of edavo
edavoFlag for United States of America

asked on

$config['BaseUrl'] QUESTION

I have a line of code that reads:

$userid = 'moffit';
$config['BaseUrl'] = '.s166067.gridserver.com/'.$userid.'/assets/';

This code is part of a script that uploads an image into the assets directory. But the image is NOT being shown on the page because the code is returning:

moffitlake.org.s166067.gridserver.com/moffit/assets/2_ad_facebook.gif

AND IT NEEDS TO BE THIS:

http://moffitlake.org.s166067.gridserver.com/moffit/assets/2_ad_facebook.gif

HOW CAN I GET THE CODE TO ADD THE "HTTP://" in front?
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edavo

ASKER

I will look into this further and check the validation per your comments. I appreciate your patience and advice. I will report back soon. Sincerely - d
Any progress in the last month?