How to add the value of the $sot variable to mkdir

 mkdir('../img/user/'.$sot, 0777); 
  • Is the $sot variable initialized and given a value? - ragmon

1 answer 1

 mkdir('../img/user/'.$sot , 0777, true); 
  • Thanks for the answer, everything works. - Ruslan Liashenka