Welcome Guest, Not a member yet? Register   Sign In
403 access denied

I'm trying increase a css or js file to my project that are in: localhost//sigm/asets/css
using this commando
<link href="<?php echo base_url()."asets/css/bootstrap.min.css";?>" rel="stylesheet" type="text/css" />
and my base url setting is sigm.

(This post was last modified: 11-16-2016, 05:30 AM by InsiteFX.)

A web server may or may not return a 403 Forbidden HTTP 403 in response to a request from a client for a web page or help
indicate that the server can be reached and understood the request, but refuses to take any further action.
Status code 403 responses are the result of the web server being configured to deny access, for some reason,
to the requested resource by the client.

Try this:

PHP Code:
<link href="<?php echo base_url('asets/css/bootstrap.min.css');?>" rel="stylesheet" type="text/css" /> 

notice the single quotes.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Thank you very much. It solved my problem.

Any reason why the string concantenation did not work ?
<?php echo base_url()."asets/css/bootstrap.min.css";?>

(11-25-2016, 05:24 AM)marcopl Wrote: Any reason why the string concantenation did not  work ?
<?php echo base_url()."asets/css/bootstrap.min.css";?>

maybe you misspelled the word 'assets' or your $config['base_url'] has no trailing slashes at the end
Just a random guy from Internet

Theme © iAndrew 2016 - Forum software by © MyBB