\n"); function is_valid_ip($ip) { if ( !empty($ip) ) { $ipnum = ip2long($ip); if($ipnum !== -1 && $ipnum !== false && (long2ip($ipnum) === $ip)) { // PHP 4 and PHP 5 if( ($ipnum < 167772160 || $ipnum > 184549375) && // Not in 10.0.0.0/8 ($ipnum < -1408237568 || $ipnum > -1407188993) && // Not in 172.16.0.0/12 ($ipnum < -1062731776 || $ipnum > -1062666241) ) // Not in 192.168.0.0/16 { return true; } } } return false; } function get_ip() { if (is_valid_ip($_SERVER['HTTP_X_FORWARDED_FOR'])) return $_SERVER['HTTP_X_FORWARDED_FOR']; else if (is_valid_ip($_SERVER['HTTP_X_FORWARDED'])) return $_SERVER['HTTP_X_FORWARDED']; else if (is_valid_ip($_SERVER['HTTP_FORWARDED_FOR'])) return $_SERVER['HTTP_FORWARDED_FOR']; else if (is_valid_ip($_SERVER['HTTP_FORWARDED'])) return $_SERVER['HTTP_FORWARDED']; else if (is_valid_ip($_SERVER['HTTP_VIA'])) return $_SERVER['HTTP_VIA']; else if (is_valid_ip($_SERVER['HTTP_X_COMING_FROM'])) return $_SERVER['HTTP_X_COMING_FROM']; else if (is_valid_ip($_SERVER['HTTP_COMING_FROM'])) return $_SERVER['HTTP_COMING_FROM']; else return $_SERVER['REMOTE_ADDR']; } ?> Nittayo English Language Centre (NELC) - Education Department of Bangkok Archdiocese

Education Department of Bangkok Archdiocese

Nittayo English Language Centre

 

To contact us, please complete this form.

Check the nature of your enquiry and complete the required fields.
NELC also welcomes your feedback on the design, function and content of its web site.
TESOL course providers: please request an application form to register with us..
Please note that messages concerning employment or training at NELC cannot be processed here.
If you have been given an information ticket code, please insert it at the beginning of your message.
For complete information about employment please click here.

Please check the nature of your enquiry:




Please tell us who you are, and write your message:







IMPORTANT: Before submitting, please remember that messages about employment or training at NELC cannot be answered.

PLEASE click the submit button firmly ONCE ONLY. The form can take up to 30 seconds to upload. Please be patient. Do not quit your browser or click any other links until you receive confirmation.

 

Return to homepage

©2004-2008 NELC
Design: SiamConsulting.info - Powered and hosted by UniversalX.net