require_once

require_once ‘src/redisent/Redis.php’; Can anyone please explain to me what should I put where it is bold? Should I keep and add the path to the redis.php file? Thank you so much for your help.

There’s nothing bold. Are you getting a file not found error or something? Paths are relevant from where they’re being called from. If your index page is in public_html and you need a file from public_html/inc/, then the require_once would be require_once ‘inc/file.php’;.

oops sorry I’m not sure why nothing is in bold. Thank you for your help :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service