Results 11 to 11 of 11
-
27th Sep 2010, 04:49 PM #11MemberWebsite's:
litewarez.net litewarez.com triniwarez.comUse var_export
PHP Code:<?php
//Load your file and change values like so:
include 'yourphpfile.php';
$options['user_dir'] = 'New String';
//var_export prints the result in a way it can be read again by PHP
$contents = "<?php\r\n" . ' $options = ' . var_export($options,true) . "\r\n" . ' ?>';
//Put the new contents in the file.
file_put_contents('yourphpfile.php',$contents);
?>
PHP Code:<?php
$options = array(
'used_dir' => 'New String',
'login' => true,
)
?>
http://php.net/manual/en/function.var-export.phpJoin Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Delete specific file in each folder
By Ruriko in forum Technical Help Desk SupportReplies: 6Last Post: 6th Oct 2012, 01:05 AM -
[Blogger] Code to live replace specific words
By nICEsHARE in forum Web Application/Script SupportReplies: 0Last Post: 2nd Aug 2011, 01:01 PM -
Debian - command line. Replace () in filenames with _
By AndroidApps in forum Web Development AreaReplies: 2Last Post: 9th Jul 2010, 09:30 AM -
Specific File Hosts Sites
By DeLeTeD in forum Forum and DDL DiscussionReplies: 13Last Post: 5th Apr 2010, 10:10 PM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...