I’ve a file called “test.php”. Content of this file will be more similar to the following:
<?php
require_once "classes/xconfig.php";
require_once "Facebook/index.php";
require_once "classes/class.uvlogin.php";
?>
Edit: Based on user’s choice i want to remove some configurations found in this test.php.
for example, if the user doesn’t want automated configurations the i’ve to remove require_once "classes/xconfig.php"; from the file.
Is it possible to remove/overwrite specific line of a file.
PHP is a programming language. This means that you can have dynamic stuff. This means that it shouldn’t be all too hard to figure this one out; just use an if-statement.