Click here to Skip to main content
15,896,111 members

Comments by Member 13605567 (Top 6 by date)

Member 13605567 14-Jul-19 1:43am View    
Your suggestion actually caused a JS error.
xhr.setRequestHeader("Content-type", "multipart/form-data");
so it can't be that it. people it has to be that
"photo":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wB etc...."
sent by the JSON

Some PHP guy said it should be executed in the PHP file as 9j/4AAQSkZJRgABAQEASABIAAD/2wB..

not as data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wB etc.... so I think thats why I cant view the photo after the base 64 decoding conversion.
Member 13605567 4-Jun-19 15:36pm View    
Thanks for responding @DerekTP123 I'm not sure if you saw this so this is what I say earlier I don't think you guys understand why I want to use eval for this. I'm using eval so I can have unique variables because later down the road i'm going to want to call a certain group of variable for example this $db_row_getSearched'.$User_x.' really means this $db_row_getSearchedClient or this $db_row_getSearchedModel because what if later down the road I want to call $db_row_getSearchedClient['Name'];
Member 13605567 4-Jun-19 6:18am View    
Thanks for your reply Mohibur Rashid. I don't think you understand why I want to use eval for this. I'm using eval so I can have unique variables because later down the road i'm going to want to call a certain group of variable for example this $db_row_getSearched'.$User_x.' really means this $db_row_getSearchedClient or this $db_row_getSearchedModel because what if later down the road I want to call $db_row_getSearchedClient['Name'];
Member 13605567 13-Jan-18 18:22pm View    
But don't you need to insert the expression between a opening and closing character like these with the forward slashes I thought I read some where that you need forward slashes to show that is where the regular expression code is located at. In other words the other examples don't have those forward slashes. So forward slashes aren't needed in regular expressions to symbolize that this section is where regular expression code constructed at?
Member 13605567 6-Jan-18 0:14am View    
Ok I will but how can I make this execute multiple script tags? It only execute one script tag section.