edavo
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.gri dserver.co m/moffit/a ssets/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?
$userid = 'moffit';
$config['BaseUrl'] = '.s166067.gridserver.com/'
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.gri
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
http://validator.w3.org/check?uri=http%3A%2F%2Fmoffitlake.org.s166067.gridserver.com%2Findex_pc.php%3Fpg%3DHome%26for%3Dtext%26user%3Dmoffit&charset=%28detect+automatically%29&doctype=Inline&group=0