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
//RegExp of mobile number validtion | |
let countryCode = '880'; //mobile country code | |
let numberLength=10; //length of mobile number | |
let mobilePattern = `^((\\+${countryCode}-?)|0)?[0-9]{${numberLength.toString()}}$`; |
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
<?php | |
// Include the database configuration file | |
include '/server/connection.php'; | |
if(is_uploaded_file($_FILES['file']['tmp_name'])){ | |
// File upload path | |
$targetDir = "../uploads/"; | |
$file=$_FILES['file']['tmp_name']; |
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
import React, { useEffect, useState } from 'react' | |
import { Animated, View, StyleSheet, ViewPropTypes } from 'react-native' | |
const CustomSemiCircleProgress = ({ | |
children, | |
animationSpeed = 2, | |
initialPercentage = 0, | |
percentage = 10, | |
minValue, |