Answers for "create path php"

PHP
6

create folder php

// Create folder if not exist
		$folderName = 'images/gallery';
		$config['upload_path'] = $folderName;
		if(!is_dir($folderName))
		{
			mkdir($folderName, 0777);
		}
Posted by: Guest on August-26-2020
1

add php to path

Search for "environment variables" in the start menu
Open the best match
Click on environment variables
Click on Path
Click edit
Click on new
Add location of php
Posted by: Guest on July-28-2021

Browse Popular Code Answers by Language