Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
Deleting all files from a folder using PHP?
If you want to delete everything from folder (including subfolders) use this combination of array_map, unlink and glob: array_map( 'unlink', array_filter((array) glob("path/to/temp/*") ) );
If you want to delete everything from folder (including subfolders) use this combination of array_map, unlink and glob:
array_map( ‘unlink’, array_filter((array) glob(“path/to/temp/*”) ) );
See lessWhat is the friend keyword in C++?
The friend keyword in C++ allows the programmer to declare friend functions and classes. class frnd{ private: void somefunc(); }; int frndFUNC(int a) {} class A{ friend class frnd; friend int frndFUNC(int a); }; Some important points about friend functions and classes: Declarations of friend functioRead more
The friend keyword in C++ allows the programmer to declare friend functions and classes.
Some important points about friend functions and classes:
What does HttpResponse do in Django?
The correct answer is b) Returns a string with HTML response
The correct answer is b) Returns a string with HTML response
See lessResponsive solution for long URLs (that exceed the device width)
For me the solution word-wrap: break-word did the trick only after I added a max-width to the anchor tag. Specific to my design: a {word-wrap: break-word; max-width:300px;}
For me the solution word-wrap: break-word did the trick only after I added a max-width to the anchor tag. Specific to my design:
a {word-wrap: break-word; max-width:300px;}
See lessSelect the command that installs Django?
d) pip install Django
d) pip install Django
See lessWhat does HttpResponse do in Django?
b) Returns a string with an HTML response
b) Returns a string with an HTML response
See lessIs PHP still a relevant language in 2017?
It is just shifting away from being the only major server-side scripting language to one of many, that is all. It is true that it became out of favor for high volume sites and large-scale commercial infrastructures lately but it still remains really popular for small to mederate sized applications.Read more
It is just shifting away from being the only major server-side scripting language to one of many, that is all.
It is true that it became out of favor for high volume sites and large-scale commercial infrastructures lately but it still remains really popular for small to mederate sized applications.
If Facebook was about to be developed today, probably it would not be developed in PHP, but that does not make the language irrelevant at all.
See less