Mam założone darmowe konto na hostinger.pl
Stworzyłem strone na której jest formularz kontaktowy o ile na poprzednim hostingu on działał tak teraz przestał. Proszę o wskazówke co może byc źle ?
formularz wysyła mail na moją skrzynkę na gmail. Robię to w następujący sposób: mail('przykladowy.mail@gmail.com', $subject, $messageBody, $headers) gdzie: $headers = 'From:' . 'stronka@przykladowa-domena.p.ht'; I niestety nic się nie wysyła.
Info o serwerze:
System Linux server36.hostinger.pl 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 2013 x86_64
Build Date Apr 25 2013 07:01:31
Configure Command './configure' '--prefix=/usr/local/hosting/php-5.2' '--with-libdir=lib64' '--disable-rpath' '--enable-cli' '--disable-cgi' '--with-config-file-path=/usr/local/hosting/php-5.2/etc' '--with-config-file-scan-dir=/usr/local/hosting/php.d' '--enable-libxml' '--with-libxml-dir=/usr' '--with-zlib=/usr' '--enable-bcmath' '--enable-magic-quotes' '--with-bz2=/usr' '--enable-calendar' '--enable-ctype' '--with-curl=/usr' '--with-curlwrappers' '--enable-dom' '--enable-exif' '--enable-filter' '--with-pcre-regex=/usr/local/hosting/libs/pcre-8.20' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-ttf=/usr' '--with-freetype-dir=/usr' '--with-gettext=/usr' '--with-gmp=/usr' '--enable-hash' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-mime-magic=/usr/share/magic' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-sqlite' '--enable-pdo' '--with-pdo-sqlite' '--with-pdo-mysql=/usr' '--enable-posix' '--enable-reflection' '--enable-session' '--enable-simplexml' '--enable-sockets' '--enable-spl' '--enable-soap' '--enable-json' '--enable-inline-optimization' '--enable-tokenizer' '--enable-xml' '--with-libexpat-dir=/usr' '--enable-xmlreader' '--with-xmlrpc' '--enable-xmlwriter' '--with-xsl=/usr' '--enable-zip' '--with-openssl=/usr' '--with-pear=/usr/lib/php' '--with-iconv' '--with-imap=/usr/local/hosting/libs/imap-2007f' '--with-imap-ssl' '--with-apxs2=/usr/local/hosting/apache/bin/apxs'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/hosting/php-5.2/etc
Loaded Configuration File /usr/local/hosting/php-5.2/etc/php.ini
Scan this dir for additional .ini files /usr/local/hosting/php.d
additional .ini files parsed /usr/local/hosting/php.d/limits.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams compress.zlib, compress.bzip2, tftp, ftp, telnet, dict, ldap, ldaps, http, https, ftps, scp, sftp, php, file, data, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir no value no value
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php .:/usr/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 30 30
memory_limit 128M 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/local/hosting/bin/phpsendmail /usr/local/hosting/bin/phpsendmail
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 8M 8M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off