Search found 86 matches

by arnlweb
Sun Jan 28, 2018 12:33 pm
Forum: Web Development
Topic: How to delete all files and sub-folders from a folder in PHP?
Replies: 0
Views: 44

How to delete all files and sub-folders from a folder in PHP?

PHP delete all files and sub-folders from a folder older then one day, older then 3 months. You can delete all WordPress cache folder and files using this php function. I am using this code and works. <?php //error_reporting(E_ALL); //ini_set('display_errors', 'on'); function rrmdir($dir) { if (is_...
by arnlweb
Mon Jan 15, 2018 1:20 pm
Forum: Web Development
Topic: Responsive DropDown Button with Iframe
Replies: 0
Views: 32

Responsive DropDown Button with Iframe

Add CSS: <style>@media screen and (min-width: 651px) {#myframe{height:100px!important;}}@media (min-width: 400px) and (max-width: 650px) {#myframe{height:200px!important;}}@media (min-width: 200px) and (max-width: 399px) {#myframe{height:300px!important;}} </style> Html Code: <button class="button-...
by arnlweb
Sat Jan 13, 2018 8:59 am
Forum: Web Development
Topic: Responsive Iframe Css Tricks
Replies: 0
Views: 31

Responsive Iframe Css Tricks

How to make your Iframe code responsive? <iframe class="button-api-frame" id="myframe" src="//youtubetoany.com/@api/button/mp3/mevO4I0f5lg" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe> Add Css ID "myframe": <style>@media screen and (min-width: 651...
by arnlweb
Sun Jan 07, 2018 11:28 am
Forum: Web Development
Topic: How to Delete Directory and Files Using PHP?
Replies: 0
Views: 38

How to Delete Directory and Files Using PHP?

Delete Directory and Files in a Directory Using PHP Make a file paste the code and run it. <?php delete_files('/home/admin/web/website.com/public_html/wp-content/cache/comet-cache/cache/'); function delete_files($target) { if(is_dir($target)){ $files = glob( $target . '*', GLOB_MARK ); //GLOB_MARK ...
by arnlweb
Sat Dec 30, 2017 5:30 pm
Forum: Cod4 MW
Topic: Bigbrotherbot doesn't work with Cod4x 1.8 - FIXING
Replies: 0
Views: 48

Bigbrotherbot doesn't work with Cod4x 1.8 - FIXING

Yes, I got this problem with "cod4x18_dedrun"

Do one change.

Go to this folder "/XXX/b3/parsers" find "cod4.py" file.

Search this line....

Code: Select all

_guidLength = 32
Replace it

Code: Select all

_guidLength = 19
Now Restart B3.

My B3 Version is "b3-1.9.2"

Hope it help you, I did it.
by arnlweb
Thu Dec 28, 2017 7:22 am
Forum: Cod4 MW
Topic: Installing BigBrotherBot b3 on Linux
Replies: 0
Views: 33

Installing BigBrotherBot b3 on Linux

How to install BigBrotherBot on Linux/Ubuntu Please follow step-by-step Commands and Links: sudo apt-get update sudo apt-get install apache2 apt-get install python apt-get install python-mysqldb sudo apt-get install mysql-server php5-mysql sudo mysql_install_db sudo mysql_secure_installation sudo a...
by arnlweb
Tue Dec 26, 2017 8:38 am
Forum: Cod4 MW
Topic: How to setup Call of Duty Multiplayer in dedicated server on Linux
Replies: 0
Views: 59

How to setup Call of Duty Multiplayer in dedicated server on Linux

I found a simple method to install Call of Duty Multiplayer Game in dedicated server like Digital Ocean, Vultr etc. Login into your dedicated server as root user via console/putty and run.. sudo apt-get update sudo apt-get upgrade Debian 64-bit sudo dpkg --add-architecture i386; sudo apt-get update;...
by arnlweb
Mon Dec 11, 2017 8:20 pm
Forum: Cod4 MW
Topic: COD 4 Fullscreen On/Off, How to do?
Replies: 0
Views: 41

COD 4 Fullscreen On/Off, How to do?

To change your game to windowed mode: 1. Open the game (Multiplayer) 2. Enable the console, Options -> Game options - > enable console: YES 3. type /r_fullscreen 0 into the console 4. then type, /vid_restart 5. your game should restart into windowed mode. If not working, go to Games Option> Graphics...
by arnlweb
Fri Nov 17, 2017 4:56 pm
Forum: Web Development
Topic: pma_table_uiprefs Error Fix, Vesta CP common bug FIX
Replies: 1
Views: 64

Re: pma_table_uiprefs Error Fix, Vesta CP common bug FIX

Universal installer with OS Checker curl -O -k https://raw.githubusercontent.com/skurudo/phpmyadmin-fixer/master/pma.sh && chmod +x pma.sh && ./pma.sh or sudo wget --no-check-certificate https://raw.githubusercontent.com/skurudo/phpmyadmin-fixer/master/pma.sh && chmod +x pma.sh && ./pma.sh Ubuntu c...
by arnlweb
Fri Nov 17, 2017 4:54 pm
Forum: Web Development
Topic: pma_table_uiprefs Error Fix, Vesta CP common bug FIX
Replies: 1
Views: 64

pma_table_uiprefs Error Fix, Vesta CP common bug FIX

Error #1142 - SELECT command denied to user 'user'@'localhost' for table 'pma_table_uiprefs'
on root #1146 - Table 'phpmyadmin.pma_table_uiprefs' doesn't exist