like
                  
                  
                  
                  
                  
                  <?php
                  
                  
                     $api = "my_api_here";
                  
                  
                     //My_other_codes_below
                  
                  
                     .........
                  
                  
                  ?>
                  
                  
                  
                  
                  
                  
                  
                  
                  Now my q is can anybody get the API key? Like this is my index file, is there any way a user/visitor can get the $api's value?
                  
                  
                
As long as your web server is configured correctly and the code below does not leak it your key is safe
Обсуждают сегодня