Variables | |
| $default_path = '../tmp-upload-images/' | |
| if (!file_exists($default_path)) mkdir($default_path | |
| true | |
| $destination = $default_path . basename( $_GET[ 'name' ] ) | |
| $jfh = fopen($destination, 'w') or die("can't open file") | |
| $default_path = '../tmp-upload-images/' |
| $destination = $default_path . basename( $_GET[ 'name' ] ) |
| $jfh = fopen($destination, 'w') or die("can't open file") |
| if(!file_exists($default_path)) mkdir($default_path |
1.5.8