SarkariResultess QA Bank

PHP file delete करने का function क्या है? को debug कैसे करें?

Other 0 Views Verified
PHP file delete करने का function क्या है? को debug कैसे करें? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

remove_file('old.txt')

remove_file('old.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer

unlink('old.txt');

unlink('old.txt');
Additional Explanation
unlink() file delete करता है। पहले exact error message, line number और input value check करें।
Verified

file.delete('old.txt')

file.delete('old.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

delete_file('old.txt')

delete_file('old.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।