Quantcast
Channel: Active questions tagged require - Stack Overflow
Browsing all 144 articles
Browse latest View live

PHP $_SERVER['DOCUMENT_ROOT'] removed a slash

I read other posts about $_SERVER['DOCUMENT_ROOT'] (like Where to set PHP $_SERVER['DOCUMENT_ROOT'] Trailing Slash?) but what happened to me is that all the pages in my website basically lost the slash...

View Article


react-native - Image require local path from JSON

I am working on a testapp in react-native and try to get Images from a local storage place. Actual what I am doing: I give an image directlink source to a var and call this method at my render...

View Article


Difference between require, include, require_once and include_once?

In PHP:When should I use require vs. include?When should I use require_once vs. include_once?

View Article

Using import vs require with Node and Sequelize

I'm using type module/import syntax for the rest of my project, but the Sequelize cli generates files with require syntax. How should I handle this? I'm already having trouble with not being able to...

View Article
Browsing all 144 articles
Browse latest View live