This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$file=fopen("/path/to/the/file/test.txt", 'w+',true); | |
$content=''; | |
foreach ($aray as $value){ | |
$content.="id: ".$value."\n"; | |
} | |
fwrite($file,$content); | |
fclose($file); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://ftp.drupal.org/files/projects/drupal-7.18.zip && | |
unzip drupal-7.18.zip && | |
rm -R drupal-7.18/sites/ && | |
cp -R sites/ drupal-7.18/ && | |
mv drupal-7.18/ ../ && | |
rm drupal-7.18.zip && | |
mkdir ../backup && | |
mv * ../backup/ && | |
mv .htaccess ../backup/ && | |
rm -R ../drupal-7.18/.git*&& |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://github.com/DILL44/DopCom.git&& | |
mv DopCom/* . && | |
mv DopCom/.git* . && | |
rm -R DopCom && | |
wget http://ftp.drupal.org/files/projects/drupal-7.19.zip && | |
unzip drupal-7.15.zip && | |
rm -R drupal-7.15/sites/&& | |
mv drupal-7.15/* . && | |
mv drupal-7.15/.htaccess . && | |
rm -R drupal-7.15* && |
NewerOlder