...
This commit is contained in:
parent
cedf373c03
commit
e225e05c52
21 changed files with 121 additions and 0 deletions
14
MyObsidianVault/Knowledgebase/PHP/set unique name.md
Normal file
14
MyObsidianVault/Knowledgebase/PHP/set unique name.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
```php
|
||||
$uniqueName = round(microtime(true))
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Application for storing unique Image Name
|
||||
|
||||
```php
|
||||
$tempArray = explode(".", $imageName);
|
||||
|
||||
$newImageName = round(microtime(true)) . "" . end($tempArray);
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue