Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CORRRECTO, mas com a variavel escrita directamente..
- -> $pathToUpload = "./uploads/produtos/asd@asd.com/a74a0303642eb7a03bc36afdde083e50";
- array(1) { ["upload_data"]=> array(14)
- { ["file_name"]=> string(36) "27391cc325556146644aebe7dd637cce.jpg"
- ["file_type"]=> string(10) "image/jpeg"
- ["file_path"]=> string(85) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/a74a0303642eb7a03bc36afdde083e50/"
- ["full_path"]=> string(121) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/a74a0303642eb7a03bc36afdde083e50/27391cc325556146644aebe7dd637cce.jpg"
- TENTATIVAS
- -> $pathToUpload = "./uploads/produtos/asd@asd.com/$fldname";
- array(1) { ["upload_data"]=> array(14)
- { ["file_name"]=> string(36) "c8e278b4cf37df27b39317f6d4fd9cb3.jpg"
- ["file_type"]=> string(10) "image/jpeg"
- ["file_path"]=> string(52) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/"
- ["full_path"]=> string(88) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/c8e278b4cf37df27b39317f6d4fd9cb3.jpg"
- -> $pathToUpload = './uploads/produtos/'.$email.'/'.$fldname.'/';
- ./uploads/produtos/asd@asd.com//array(1) { ["upload_data"]=> array(14)
- { ["file_name"]=> string(36) "6eca7eefa6c95ae44d2a4b20a0aa75df.jpg"
- ["file_type"]=> string(10) "image/jpeg" ["file_path"]=> string(52) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/"
- ["full_path"]=> string(88) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/6eca7eefa6c95ae44d2a4b20a0aa75df.jpg"
- -> $pathToUpload = "./uploads/produtos/$email/$fldname";
- array(1) { ["upload_data"]=> array(14)
- { ["file_name"]=> string(36) "cd520a4de284426db86decceb27aceea.jpg"
- ["file_type"]=> string(10) "image/jpeg"
- ["file_path"]=> string(52) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/"
- ["full_path"]=> string(88) "C:/xampp/htdocs/webapp/uploads/produtos/asd@asd.com/cd520a4de284426db86decceb27aceea.jpg"
Add Comment
Please, Sign In to add comment