Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "host";
- $port = 587;
- $username= 'usuario';
- $password = 'senha';
- $secure = 'tls';
- $from = 'from@.com.br';
- function host()
- {
- return $host;
- }
- function port()
- {
- return $port;
- }
- function user()
- {
- return $username;
- }
- function secure()
- {
- return $secure;
- }
- function password()
- {
- return $password;
- }
- function from()
- {
- return $from;
- }
- <?php
- $GLOBALS['host'] = "host";
- $GLOBALS['port'] = 587;
- $GLOBALS['username'] = 'usuario';
- $GLOBALS['password'] = 'senha';
- $GLOBALS['secure'] = 'tls';
- $GLOBALS['from'] = 'from@.com.br';
- function host()
- {
- return $GLOBALS['host'];
- }
- function port()
- {
- return $GLOBALS['port'];
- }
- function user()
- {
- return $GLOBALS['username'];
- }
- function secure()
- {
- return $GLOBALS['secure'];
- }
- function password()
- {
- return $GLOBALS['password'];
- }
- function from()
- {
- return $GLOBALS['from'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement