**C:\xampp\htdocs\ewcfg13.php** **na** linha **1** Obsoleto : define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\xampp\htdocs\ewcfg13.php** **na** linha **1** Obsoleto : define(): Declaração de maiúsculas e minúsculas -constantes insensíveis estão obsoletas em C:\xampp\htdocs\ewcfg13.php na linha **1** **Obsoletas : define(): A declaração de constantes que não** **diferenciam** maiúsculas de minúsculas está obsoletas em **C:\xampp\htdocs\ewcfg13.php** na linha **1** **Obsoletas** : define (): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\xampp\htdocs\ewcfg13.php** na linha **1** **Obsoleta**
O que está tentando fazer? Há algum erro na definição de constantes no seu arquivo php.
Pode mostrar o arquivo ewcfg13.php ? Se for extenso, mostre o começo do arquivo.
Abraço.
segue o arquivo ewcfg13.php
Não consigo descobrir.
<?php if (!isset($EW_RELATIVE_PATH)) $EW_RELATIVE_PATH = ""; define("EW_DEBUG_ENABLED", FALSE, TRUE); if (EW_DEBUG_ENABLED) { @ini_set("display_errors", "1"); error_reporting(E_ALL ^ E_NOTICE); } define("EW_IS_WINDOWS", (strtolower(substr(PHP_OS, 0, 3)) === 'win'), TRUE); define("EW_IS_PHP5", (phpversion() >= "5.3.0"), TRUE); if (!EW_IS_PHP5) die("This script requires PHP 5.3 or later. You are running " . phpversion() . "."); define("EW_PATH_DELIMITER", ((EW_IS_WINDOWS) ? "\\" : "/"), TRUE); $EW_ROOT_RELATIVE_PATH = "."; define("EW_UNFORMAT_YEAR", 50, TRUE); define("EW_PROJECT_NAME", "nestorfiuzagmail", TRUE); define("EW_CONFIG_FILE_FOLDER", EW_PROJECT_NAME, TRUE); define("EW_PROJECT_ID", "{9AED2FFD-76B2-4FCC-AC11-C2E6433F9F2A}", TRUE); $EW_RELATED_PROJECT_ID = ""; $EW_RELATED_LANGUAGE_FOLDER = ""; define("EW_RANDOM_KEY", 'qIpx1DDAdb5cLKeL', TRUE); define("EW_PROJECT_STYLESHEET_FILENAME", "phpcss/nestorfiuzagmail.css", TRUE); define("EW_CHARSET", "utf-8", TRUE); define("EW_EMAIL_CHARSET", EW_CHARSET, TRUE); define("EW_EMAIL_KEYWORD_SEPARATOR", "", TRUE); $EW_COMPOSITE_KEY_SEPARATOR = ","; define("EW_HIGHLIGHT_COMPARE", TRUE, TRUE); if (!function_exists('xml_parser_create') && !class_exists("DOMDocument")) die("This script requires PHP XML Parser or DOM."); define('EW_USE_DOM_XML', ((!function_exists('xml_parser_create') && class_exists("DOMDocument")) || FALSE), TRUE); if (!isset($ADODB_OUTP)) $ADODB_OUTP = 'ew_SetDebugMsg'; define("EW_FONT_SIZE", 14, TRUE); define("EW_TMP_IMAGE_FONT", "DejaVuSans", TRUE); $EW_FONT_PATH = realpath('./phpfont'); if (!defined("EW_USE_ADODB")) define("EW_USE_ADODB", FALSE, TRUE); if (!defined("EW_ADODB_TZ_OFFSET")) define("EW_ADODB_TZ_OFFSET", FALSE, TRUE); if (!defined("EW_USE_MYSQLI")) define('EW_USE_MYSQLI', extension_loaded("mysqli"), TRUE); include "db.php"; $EW_CONN[0] = &$EW_CONN["DB"]; $EW_ERROR_FN = 'ew_ErrorFn'; define("EW_CODEPAGE", 65001, TRUE); define("EW_ENCODING", "UTF-8", TRUE); define("EW_IS_DOUBLE_BYTE", in_array(EW_ENCODING, array("GBK", "BIG5", "SHIFT_JIS")), TRUE); define("EW_FILE_SYSTEM_ENCODING", "", TRUE); define("EW_IS_MSACCESS", FALSE, TRUE); define("EW_IS_MSSQL", FALSE, TRUE); define("EW_IS_MYSQL", TRUE, TRUE); define("EW_IS_POSTGRESQL", FALSE, TRUE); define("EW_IS_ORACLE", FALSE, TRUE); if (!EW_IS_WINDOWS && (EW_IS_MSACCESS || EW_IS_MSSQL)) die("Microsoft Access or SQL Server is supported on Windows server only."); define("EW_DB_QUOTE_START", "`", TRUE); define("EW_DB_QUOTE_END", "`", TRUE); define("EW_MYSQL_CHARSET", "utf8", TRUE); define("EW_ENCRYPTED_PASSWORD", TRUE, TRUE); define("EW_CASE_SENSITIVE_PASSWORD", TRUE, TRUE); define("EW_REMOVE_XSS", TRUE, TRUE); $EW_XSS_ARRAY = array('javascript', 'vbscript', 'expression', '<applet', '<meta', '<xml', '<blink', '<link', '<style', '<script', '<embed', '<object', '<iframe', '<frame', '<frameset', '<ilayer', '<layer', '<bgsound', '<title', '<base', 'onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontextmenu', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload'); define("EW_CHECK_TOKEN", TRUE, TRUE); define("EW_SESSION_TIMEOUT", 20, TRUE); define("EW_SESSION_KEEP_ALIVE_INTERVAL", 60, TRUE); define("EW_SESSION_TIMEOUT_COUNTDOWN", 60, TRUE); define("EW_SESSION_STATUS", EW_PROJECT_NAME . "_status", TRUE); define("EW_SESSION_USER_NAME", EW_SESSION_STATUS . "_UserName", TRUE); define("EW_SESSION_USER_LOGIN_TYPE", EW_SESSION_STATUS . "_UserLoginType", TRUE); define("EW_SESSION_USER_ID", EW_SESSION_STATUS . "_UserID", TRUE); define("EW_SESSION_USER_PROFILE", EW_SESSION_STATUS . "_UserProfile", TRUE); define("EW_SESSION_USER_PROFILE_USER_NAME", EW_SESSION_USER_PROFILE . "_UserName", TRUE); define("EW_SESSION_USER_PROFILE_PASSWORD", EW_SESSION_USER_PROFILE . "_Password", TRUE); define("EW_SESSION_USER_PROFILE_LOGIN_TYPE", EW_SESSION_USER_PROFILE . "_LoginType", TRUE); define("EW_SESSION_USER_LEVEL_ID", EW_SESSION_STATUS . "_UserLevel", TRUE); define("EW_SESSION_USER_LEVEL_LIST", EW_SESSION_STATUS . "_UserLevelList", TRUE); define("EW_SESSION_USER_LEVEL_LIST_LOADED", EW_SESSION_STATUS . "_UserLevelListLoaded", TRUE); @define("EW_SESSION_USER_LEVEL", EW_SESSION_STATUS . "_UserLevelValue", TRUE); define("EW_SESSION_PARENT_USER_ID", EW_SESSION_STATUS . "_ParentUserID", TRUE); define("EW_SESSION_SYS_ADMIN", EW_PROJECT_NAME . "_SysAdmin", TRUE); define("EW_SESSION_PROJECT_ID", EW_PROJECT_NAME . "_ProjectID", TRUE); define("EW_SESSION_AR_USER_LEVEL", EW_PROJECT_NAME . "_arUserLevel", TRUE); define("EW_SESSION_AR_USER_LEVEL_PRIV", EW_PROJECT_NAME . "_arUserLevelPriv", TRUE); define("EW_SESSION_USER_LEVEL_MSG", EW_PROJECT_NAME . "_UserLevelMessage", TRUE); define("EW_SESSION_MESSAGE", EW_PROJECT_NAME . "_Message", TRUE); define("EW_SESSION_FAILURE_MESSAGE", EW_PROJECT_NAME . "_Failure_Message", TRUE); define("EW_SESSION_SUCCESS_MESSAGE", EW_PROJECT_NAME . "_Success_Message", TRUE); define("EW_SESSION_WARNING_MESSAGE", EW_PROJECT_NAME . "_Warning_Message", TRUE); define("EW_SESSION_INLINE_MODE", EW_PROJECT_NAME . "_InlineMode", TRUE); define("EW_SESSION_BREADCRUMB", EW_PROJECT_NAME . "_Breadcrumb", TRUE); define("EW_SESSION_TEMP_IMAGES", EW_PROJECT_NAME . "_TempImages", TRUE); define("EW_LANGUAGE_FOLDER", $EW_RELATIVE_PATH . "phplang/", TRUE); $EW_LANGUAGE_FILE = array(); $EW_LANGUAGE_FILE[] = array("en", "", "portugues.xml"); define("EW_LANGUAGE_DEFAULT_ID", "en", TRUE); define("EW_SESSION_LANGUAGE_ID", EW_PROJECT_NAME . "_LanguageId", TRUE); define("EW_LOCALE_FOLDER", $EW_RELATIVE_PATH . "phplocale/", TRUE); define("EW_TOKEN_NAME", "token", TRUE); define("EW_SESSION_TOKEN", EW_PROJECT_NAME . "_Token", TRUE); define("EW_DATATYPE_NUMBER", 1, TRUE); define("EW_DATATYPE_DATE", 2, TRUE); define("EW_DATATYPE_STRING", 3, TRUE); define("EW_DATATYPE_BOOLEAN", 4, TRUE); define("EW_DATATYPE_MEMO", 5, TRUE); define("EW_DATATYPE_BLOB", 6, TRUE); define("EW_DATATYPE_TIME", 7, TRUE); define("EW_DATATYPE_GUID", 8, TRUE); define("EW_DATATYPE_XML", 9, TRUE); define("EW_DATATYPE_OTHER", 10, TRUE); define("EW_ROWTYPE_HEADER", 0, TRUE); define("EW_ROWTYPE_VIEW", 1, TRUE); define("EW_ROWTYPE_ADD", 2, TRUE); define("EW_ROWTYPE_EDIT", 3, TRUE); define("EW_ROWTYPE_SEARCH", 4, TRUE); define("EW_ROWTYPE_MASTER", 5, TRUE); define("EW_ROWTYPE_AGGREGATEINIT", 6, TRUE); define("EW_ROWTYPE_AGGREGATE", 7, TRUE); define("EW_ACTION_POSTBACK", "P", TRUE); define("EW_ACTION_AJAX", "A", TRUE); define("EW_ACTION_MULTIPLE", "M", TRUE); define("EW_ACTION_SINGLE", "S", TRUE); define("EW_TABLE_PREFIX", "||PHPReportMaker||", TRUE); define("EW_TABLE_REC_PER_PAGE", "recperpage", TRUE); define("EW_TABLE_START_REC", "start", TRUE); define("EW_TABLE_PAGE_NO", "pageno", TRUE); define("EW_TABLE_BASIC_SEARCH", "psearch", TRUE); define("EW_TABLE_BASIC_SEARCH_TYPE","psearchtype", TRUE); define("EW_TABLE_ADVANCED_SEARCH", "advsrch", TRUE); define("EW_TABLE_SEARCH_WHERE", "searchwhere", TRUE); define("EW_TABLE_WHERE", "where", TRUE); define("EW_TABLE_WHERE_LIST", "where_list", TRUE); define("EW_TABLE_ORDER_BY", "orderby", TRUE); define("EW_TABLE_ORDER_BY_LIST", "orderby_list", TRUE); define("EW_TABLE_SORT", "sort", TRUE); define("EW_TABLE_KEY", "key", TRUE); define("EW_TABLE_SHOW_MASTER", "showmaster", TRUE); define("EW_TABLE_SHOW_DETAIL", "showdetail", TRUE); define("EW_TABLE_MASTER_TABLE", "mastertable", TRUE); define("EW_TABLE_DETAIL_TABLE", "detailtable", TRUE); define("EW_TABLE_RETURN_URL", "return", TRUE); define("EW_TABLE_EXPORT_RETURN_URL", "exportreturn", TRUE); define("EW_TABLE_GRID_ADD_ROW_COUNT", "gridaddcnt", TRUE); define("EW_AUDIT_TRAIL_TO_DATABASE", TRUE, TRUE); define("EW_AUDIT_TRAIL_DBID", "DB", TRUE); define("EW_AUDIT_TRAIL_TABLE_NAME", "audittrail", TRUE); define("EW_AUDIT_TRAIL_TABLE_VAR", "audittrail", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_DATETIME", "datetime", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_SCRIPT", "script", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_USER", "user", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_ACTION", "action", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_TABLE", "table", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_FIELD", "field", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_KEYVALUE", "keyvalue", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_OLDVALUE", "oldvalue", TRUE); define("EW_AUDIT_TRAIL_FIELD_NAME_NEWVALUE", "newvalue", TRUE); define("EW_USE_CUSTOM_LOGIN", TRUE, TRUE); define("EW_ALLOW_LOGIN_BY_URL", FALSE, TRUE); define("EW_ALLOW_LOGIN_BY_SESSION", FALSE, TRUE); define("EW_PHPASS_ITERATION_COUNT_LOG2", "[10,8]", TRUE); @define("EW_USER_LEVEL_DBID", "DB", TRUE); @define("EW_USER_LEVEL_TABLE", "`userlevels`", TRUE); @define("EW_USER_LEVEL_ID_FIELD", "`userlevelid`", TRUE); @define("EW_USER_LEVEL_NAME_FIELD", "`userlevelname`", TRUE); @define("EW_USER_LEVEL_PRIV_DBID", "DB", TRUE); @define("EW_USER_LEVEL_PRIV_TABLE", "`userlevelpermissions`", TRUE); @define("EW_USER_LEVEL_PRIV_TABLE_NAME_FIELD", "`tablename`", TRUE); @define("EW_USER_LEVEL_PRIV_TABLE_NAME_FIELD_2", "tablename", TRUE); @define("EW_USER_LEVEL_PRIV_TABLE_NAME_FIELD_SIZE", 255, TRUE); @define("EW_USER_LEVEL_PRIV_USER_LEVEL_ID_FIELD", "`userlevelid`", TRUE); @define("EW_USER_LEVEL_PRIV_PRIV_FIELD", "`permission`", TRUE); define("EW_ALLOW_ADD", 1, TRUE); define("EW_ALLOW_DELETE", 2, TRUE); define("EW_ALLOW_EDIT", 4, TRUE); @define("EW_ALLOW_LIST", 8, TRUE); if (defined("EW_USER_LEVEL_COMPAT")) { define("EW_ALLOW_VIEW", 8, TRUE); define("EW_ALLOW_SEARCH", 8, TRUE); } else { define("EW_ALLOW_VIEW", 32, TRUE); define("EW_ALLOW_SEARCH", 64, TRUE); } @define("EW_ALLOW_REPORT", 8, TRUE); @define("EW_ALLOW_ADMIN", 16, TRUE); @define("EW_USER_ID_IS_HIERARCHICAL", TRUE, TRUE); define("EW_USE_SUBQUERY_FOR_MASTER_USER_ID", FALSE, TRUE); define("EW_USER_ID_ALLOW", 104, TRUE); define("EW_USER_TABLE_DBID", "DB", TRUE); define("EW_USER_TABLE", "`usuarios`", TRUE); define("EW_USER_NAME_FILTER", "(`login` = '%u')", TRUE); define("EW_USER_ID_FILTER", "(`u` = %u)", TRUE); define("EW_USER_EMAIL_FILTER", "(`email` = '%e')", TRUE); define("EW_USER_ACTIVATE_FILTER", "", TRUE); define("EW_USER_PROFILE_FIELD_NAME", "profile", TRUE); define("EW_USER_PROFILE_KEY_SEPARATOR", "", TRUE); define("EW_USER_PROFILE_FIELD_SEPARATOR", "", TRUE); define("EW_USER_PROFILE_SESSION_ID", "SessionID", TRUE); define("EW_USER_PROFILE_LAST_ACCESSED_DATE_TIME", "LastAccessedDateTime", TRUE); define("EW_USER_PROFILE_CONCURRENT_SESSION_COUNT", 1, TRUE); define("EW_USER_PROFILE_SESSION_TIMEOUT", 60, TRUE); define("EW_USER_PROFILE_LOGIN_RETRY_COUNT", "LoginRetryCount", TRUE); define("EW_USER_PROFILE_LAST_BAD_LOGIN_DATE_TIME", "LastBadLoginDateTime", TRUE); define("EW_USER_PROFILE_MAX_RETRY", 5, TRUE); define("EW_USER_PROFILE_RETRY_LOCKOUT", 20, TRUE); define("EW_USER_PROFILE_LAST_PASSWORD_CHANGED_DATE", "LastPasswordChangedDate", TRUE); define("EW_USER_PROFILE_PASSWORD_EXPIRE", 90, TRUE); define("EW_USER_PROFILE_LANGUAGE_ID", "LanguageId", TRUE); define("EW_USER_PROFILE_SEARCH_FILTERS", "SearchFilters", TRUE); define("EW_SEARCH_FILTER_OPTION", "Client", TRUE); define("EW_AUTO_HIDE_PAGER", TRUE, TRUE); define("EW_AUTO_HIDE_PAGE_SIZE_SELECTOR", TRUE, TRUE); define("EW_MAX_EMAIL_RECIPIENT", 100, TRUE); define("EW_MAX_EMAIL_SENT_COUNT", 100, TRUE); define("EW_EXPORT_EMAIL_COUNTER", EW_SESSION_STATUS . "_EmailCounter", TRUE); define("EW_EMAIL_CHANGEPWD_TEMPLATE", "changepwd.html", TRUE); define("EW_EMAIL_FORGOTPWD_TEMPLATE", "forgotpwd.html", TRUE); define("EW_EMAIL_NOTIFY_TEMPLATE", "notify.html", TRUE); define("EW_EMAIL_REGISTER_TEMPLATE", "register.html", TRUE); define("EW_EMAIL_RESETPWD_TEMPLATE", "resetpwd.html", TRUE); define("EW_EMAIL_TEMPLATE_PATH", "phphtml", TRUE); define("EW_UPLOAD_TEMP_PATH", "", TRUE); define("EW_UPLOAD_DEST_PATH", "fotosmembros/", TRUE); define("EW_UPLOAD_URL", "ewupload13.php", TRUE); define("EW_UPLOAD_TEMP_FOLDER_PREFIX", "temp__", TRUE); define("EW_UPLOAD_TEMP_FOLDER_TIME_LIMIT", 1440, TRUE); define("EW_UPLOAD_THUMBNAIL_FOLDER", "thumbnail", TRUE); define("EW_UPLOAD_THUMBNAIL_WIDTH", 200, TRUE); define("EW_UPLOAD_THUMBNAIL_HEIGHT", 0, TRUE); define("EW_UPLOAD_ALLOWED_FILE_EXT", "gif,jpg,jpeg,bmp,png,doc,xls,pdf,zip,rar,docx,xlsx,cdr", TRUE); define("EW_IMAGE_ALLOWED_FILE_EXT", "gif,jpg,png", TRUE); define("EW_DOWNLOAD_ALLOWED_FILE_EXT", "pdf,xls,doc,xlsx,docx", TRUE); define("EW_ENCRYPT_FILE_PATH", TRUE, TRUE); define("EW_MAX_FILE_SIZE", 2000000, TRUE); define("EW_MAX_FILE_COUNT", 0, TRUE); define("EW_THUMBNAIL_DEFAULT_WIDTH", 0, TRUE); define("EW_THUMBNAIL_DEFAULT_HEIGHT", 0, TRUE); define("EW_THUMBNAIL_DEFAULT_QUALITY", 100, TRUE); define("EW_UPLOADED_FILE_MODE", 0666, TRUE); define("EW_UPLOAD_TMP_PATH", "", TRUE); define("EW_UPLOAD_CONVERT_ACCENTED_CHARS", FALSE, TRUE); define("EW_USE_COLORBOX", TRUE, TRUE); define("EW_MULTIPLE_UPLOAD_SEPARATOR", ",", TRUE); $EW_THUMBNAIL_CLASS = "cThumbnail"; define("EW_REDUCE_IMAGE_ONLY", TRUE, TRUE); define("EW_KEEP_ASPECT_RATIO", FALSE, TRUE); $EW_RESIZE_OPTIONS = array("keepAspectRatio" => EW_KEEP_ASPECT_RATIO, "resizeUp" => !EW_REDUCE_IMAGE_ONLY, "jpegQuality" => EW_THUMBNAIL_DEFAULT_QUALITY); define("EW_AUDIT_TRAIL_PATH", "", TRUE); define("EW_EXPORT_ALL", TRUE, TRUE); define("EW_EXPORT_ALL_TIME_LIMIT", 120, TRUE); define("EW_XML_ENCODING", "utf-8", TRUE); define("EW_EXPORT_ORIGINAL_VALUE", FALSE, TRUE); define("EW_EXPORT_FIELD_CAPTION", TRUE, TRUE); define("EW_EXPORT_CSS_STYLES", TRUE, TRUE); define("EW_EXPORT_MASTER_RECORD", TRUE, TRUE); define("EW_EXPORT_MASTER_RECORD_FOR_CSV", FALSE, TRUE); define("EW_EXPORT_DETAIL_RECORDS", TRUE, TRUE); define("EW_EXPORT_DETAIL_RECORDS_FOR_CSV", FALSE, TRUE); $EW_EXPORT = array( "email" => "cExportEmail", "html" => "cExportHtml", "word" => "cExportWord", "excel" => "cExportExcel", "pdf" => "cExportPdf", "csv" => "cExportCsv", "xml" => "cExportXml" ); $EW_EXPORT_REPORT = array( "print" => "ExportReportHtml", "html" => "ExportReportHtml", "word" => "ExportReportWord", "excel" => "ExportReportExcel" ); $EW_MIME_TYPES = array( "323" => "text/h323", "3g2" => "video/3gpp2", "3gp2" => "video/3gpp2", "3gp" => "video/3gpp", "3gpp" => "video/3gpp", "aac" => "audio/aac", "aaf" => "application/octet-stream", "aca" => "application/octet-stream", "accdb" => "application/msaccess", "accde" => "application/msaccess", "accdt" => "application/msaccess", "acx" => "application/internet-property-stream", "adt" => "audio/vnd.dlna.adts", "adts" => "audio/vnd.dlna.adts", "afm" => "application/octet-stream", "ai" => "application/postscript", "aif" => "audio/x-aiff", "aifc" => "audio/aiff", "aiff" => "audio/aiff", "appcache" => "text/cache-manifest", "application" => "application/x-ms-application", "art" => "image/x-jg", "asd" => "application/octet-stream", "asf" => "video/x-ms-asf", "asi" => "application/octet-stream", "asm" => "text/plain", "asr" => "video/x-ms-asf", "asx" => "video/x-ms-asf", "atom" => "application/atom+xml", "au" => "audio/basic", "avi" => "video/x-msvideo", "axs" => "application/olescript", "bas" => "text/plain", "bcpio" => "application/x-bcpio", "bin" => "application/octet-stream", "bmp" => "image/bmp", "c" => "text/plain", "cab" => "application/vnd.ms-cab-compressed", "calx" => "application/vnd.ms-office.calx", "cat" => "application/vnd.ms-pki.seccat", "cdf" => "application/x-cdf", "chm" => "application/octet-stream", "class" => "application/x-java-applet", "clp" => "application/x-msclip", "cmx" => "image/x-cmx", "cnf" => "text/plain", "cod" => "image/cis-cod", "cpio" => "application/x-cpio", "cpp" => "text/plain", "crd" => "application/x-mscardfile", "crl" => "application/pkix-crl", "crt" => "application/x-x509-ca-cert", "csh" => "application/x-csh", "css" => "text/css", "csv" => "application/octet-stream", "cur" => "application/octet-stream", "dcr" => "application/x-director", "deploy" => "application/octet-stream", "der" => "application/x-x509-ca-cert", "dib" => "image/bmp", "dir" => "application/x-director", "disco" => "text/xml", "dlm" => "text/dlm", "doc" => "application/msword", "docm" => "application/vnd.ms-word.document.macroEnabled.12", "docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "dot" => "application/msword", "dotm" => "application/vnd.ms-word.template.macroEnabled.12", "dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "dsp" => "application/octet-stream", "dtd" => "text/xml", "dvi" => "application/x-dvi", "dvr-ms" => "video/x-ms-dvr", "dwf" => "drawing/x-dwf", "dwp" => "application/octet-stream", "dxr" => "application/x-director", "eml" => "message/rfc822", "emz" => "application/octet-stream", "eot" => "application/vnd.ms-fontobject", "eps" => "application/postscript", "etx" => "text/x-setext", "evy" => "application/envoy", "fdf" => "application/vnd.fdf", "fif" => "application/fractals", "fla" => "application/octet-stream", "flr" => "x-world/x-vrml", "flv" => "video/x-flv", "gif" => "image/gif", "gtar" => "application/x-gtar", "gz" => "application/x-gzip", "h" => "text/plain", "hdf" => "application/x-hdf", "hdml" => "text/x-hdml", "hhc" => "application/x-oleobject", "hhk" => "application/octet-stream", "hhp" => "application/octet-stream", "hlp" => "application/winhlp", "hqx" => "application/mac-binhex40", "hta" => "application/hta", "htc" => "text/x-component", "htm" => "text/html", "html" => "text/html", "htt" => "text/webviewhtml", "hxt" => "text/html", "ical" => "text/calendar", "icalendar" => "text/calendar", "ico" => "image/x-icon", "ics" => "text/calendar", "ief" => "image/ief", "ifb" => "text/calendar", "iii" => "application/x-iphone", "inf" => "application/octet-stream", "ins" => "application/x-internet-signup", "isp" => "application/x-internet-signup", "IVF" => "video/x-ivf", "jar" => "application/java-archive", "java" => "application/octet-stream", "jck" => "application/liquidmotion", "jcz" => "application/liquidmotion", "jfif" => "image/pjpeg", "jpb" => "application/octet-stream", "jpe" => "image/jpeg", "jpeg" => "image/jpeg", "jpg" => "image/jpeg", "js" => "application/javascript", "json" => "application/json", "jsx" => "text/jscript", "latex" => "application/x-latex", "lit" => "application/x-ms-reader", "lpk" => "application/octet-stream", "lsf" => "video/x-la-asf", "lsx" => "video/x-la-asf", "lzh" => "application/octet-stream", "m13" => "application/x-msmediaview", "m14" => "application/x-msmediaview", "m1v" => "video/mpeg", "m2ts" => "video/vnd.dlna.mpeg-tts", "m3u" => "audio/x-mpegurl", "m4a" => "audio/mp4", "m4v" => "video/mp4", "man" => "application/x-troff-man", "manifest" => "application/x-ms-manifest", "map" => "text/plain", "mdb" => "application/x-msaccess", "mdp" => "application/octet-stream", "me" => "application/x-troff-me", "mht" => "message/rfc822", "mhtml" => "message/rfc822", "mid" => "audio/mid", "midi" => "audio/mid", "mix" => "application/octet-stream", "mmf" => "application/x-smaf", "mno" => "text/xml", "mny" => "application/x-msmoney", "mov" => "video/quicktime", "movie" => "video/x-sgi-movie", "mp2" => "video/mpeg", "mp3" => "audio/mpeg", "mp4" => "video/mp4", "mp4v" => "video/mp4", "mpa" => "video/mpeg", "mpe" => "video/mpeg", "mpeg" => "video/mpeg", "mpg" => "video/mpeg", "mpp" => "application/vnd.ms-project", "mpv2" => "video/mpeg", "ms" => "application/x-troff-ms", "msi" => "application/octet-stream", "mso" => "application/octet-stream", "mvb" => "application/x-msmediaview", "mvc" => "application/x-miva-compiled", "nc" => "application/x-netcdf", "nsc" => "video/x-ms-asf", "nws" => "message/rfc822", "ocx" => "application/octet-stream", "oda" => "application/oda", "odc" => "text/x-ms-odc", "ods" => "application/oleobject", "oga" => "audio/ogg", "ogg" => "video/ogg", "ogv" => "video/ogg", "ogx" => "application/ogg", "one" => "application/onenote", "onea" => "application/onenote", "onetoc" => "application/onenote", "onetoc2" => "application/onenote", "onetmp" => "application/onenote", "onepkg" => "application/onenote", "osdx" => "application/opensearchdescription+xml", "otf" => "font/otf", "p10" => "application/pkcs10", "p12" => "application/x-pkcs12", "p7b" => "application/x-pkcs7-certificates", "p7c" => "application/pkcs7-mime", "p7m" => "application/pkcs7-mime", "p7r" => "application/x-pkcs7-certreqresp", "p7s" => "application/pkcs7-signature", "pbm" => "image/x-portable-bitmap", "pcx" => "application/octet-stream", "pcz" => "application/octet-stream", "pdf" => "application/pdf", "pfb" => "application/octet-stream", "pfm" => "application/octet-stream", "pfx" => "application/x-pkcs12", "pgm" => "image/x-portable-graymap", "pko" => "application/vnd.ms-pki.pko", "pma" => "application/x-perfmon", "pmc" => "application/x-perfmon", "pml" => "application/x-perfmon", "pmr" => "application/x-perfmon", "pmw" => "application/x-perfmon", "png" => "image/png", "pnm" => "image/x-portable-anymap", "pnz" => "image/png", "pot" => "application/vnd.ms-powerpoint", "potm" => "application/vnd.ms-powerpoint.template.macroEnabled.12", "potx" => "application/vnd.openxmlformats-officedocument.presentationml.template", "ppam" => "application/vnd.ms-powerpoint.addin.macroEnabled.12", "ppm" => "image/x-portable-pixmap", "pps" => "application/vnd.ms-powerpoint", "ppsm" => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", "ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "ppt" => "application/vnd.ms-powerpoint", "pptm" => "application/vnd.ms-powerpoint.presentation.macroEnabled.12", "pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation", "prf" => "application/pics-rules", "prm" => "application/octet-stream", "prx" => "application/octet-stream", "ps" => "application/postscript", "psd" => "application/octet-stream", "psm" => "application/octet-stream", "psp" => "application/octet-stream", "pub" => "application/x-mspublisher", "qt" => "video/quicktime", "qtl" => "application/x-quicktimeplayer", "qxd" => "application/octet-stream", "ra" => "audio/x-pn-realaudio", "ram" => "audio/x-pn-realaudio", "rar" => "application/octet-stream", "ras" => "image/x-cmu-raster", "rf" => "image/vnd.rn-realflash", "rgb" => "image/x-rgb", "rm" => "application/vnd.rn-realmedia", "rmi" => "audio/mid", "roff" => "application/x-troff", "rpm" => "audio/x-pn-realaudio-plugin", "rtf" => "application/rtf", "rtx" => "text/richtext", "scd" => "application/x-msschedule", "sct" => "text/scriptlet", "sea" => "application/octet-stream", "setpay" => "application/set-payment-initiation", "setreg" => "application/set-registration-initiation", "sgml" => "text/sgml", "sh" => "application/x-sh", "shar" => "application/x-shar", "sit" => "application/x-stuffit", "sldm" => "application/vnd.ms-powerpoint.slide.macroEnabled.12", "sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide", "smd" => "audio/x-smd", "smi" => "application/octet-stream", "smx" => "audio/x-smd", "smz" => "audio/x-smd", "snd" => "audio/basic", "snp" => "application/octet-stream", "spc" => "application/x-pkcs7-certificates", "spl" => "application/futuresplash", "spx" => "audio/ogg", "src" => "application/x-wais-source", "ssm" => "application/streamingmedia", "sst" => "application/vnd.ms-pki.certstore", "stl" => "application/vnd.ms-pki.stl", "sv4cpio" => "application/x-sv4cpio", "sv4crc" => "application/x-sv4crc", "svg" => "image/svg+xml", "svgz" => "image/svg+xml", "swf" => "application/x-shockwave-flash", "t" => "application/x-troff", "tar" => "application/x-tar", "tcl" => "application/x-tcl", "tex" => "application/x-tex", "texi" => "application/x-texinfo", "texinfo" => "application/x-texinfo", "tgz" => "application/x-compressed", "thmx" => "application/vnd.ms-officetheme", "thn" => "application/octet-stream", "tif" => "image/tiff", "tiff" => "image/tiff", "toc" => "application/octet-stream", "tr" => "application/x-troff", "trm" => "application/x-msterminal", "ts" => "video/vnd.dlna.mpeg-tts", "tsv" => "text/tab-separated-values", "ttc" => "application/x-font-ttf", "ttf" => "application/x-font-ttf", "tts" => "video/vnd.dlna.mpeg-tts", "txt" => "text/plain", "u32" => "application/octet-stream", "uls" => "text/iuls", "ustar" => "application/x-ustar", "vbs" => "text/vbscript", "vcf" => "text/x-vcard", "vcs" => "text/plain", "vdx" => "application/vnd.ms-visio.viewer", "vml" => "text/xml", "vsd" => "application/vnd.visio", "vss" => "application/vnd.visio", "vst" => "application/vnd.visio", "vsto" => "application/x-ms-vsto", "vsw" => "application/vnd.visio", "vsx" => "application/vnd.visio", "vtx" => "application/vnd.visio", "wav" => "audio/wav", "wax" => "audio/x-ms-wax", "wbmp" => "image/vnd.wap.wbmp", "wcm" => "application/vnd.ms-works", "wdb" => "application/vnd.ms-works", "webm" => "video/webm", "webp" => "image/webp", "wks" => "application/vnd.ms-works", "wm" => "video/x-ms-wm", "wma" => "audio/x-ms-wma", "wmd" => "application/x-ms-wmd", "wmf" => "application/x-msmetafile", "wml" => "text/vnd.wap.wml", "wmlc" => "application/vnd.wap.wmlc", "wmls" => "text/vnd.wap.wmlscript", "wmlsc" => "application/vnd.wap.wmlscriptc", "wmp" => "video/x-ms-wmp", "wmv" => "video/x-ms-wmv", "wmx" => "video/x-ms-wmx", "wmz" => "application/x-ms-wmz", "woff" => "application/font-woff", "woff2" => "application/font-woff2", "wps" => "application/vnd.ms-works", "wri" => "application/x-mswrite", "wrl" => "x-world/x-vrml", "wrz" => "x-world/x-vrml", "wsdl" => "text/xml", "wtv" => "video/x-ms-wtv", "wvx" => "video/x-ms-wvx", "x" => "application/directx", "xaf" => "x-world/x-vrml", "xaml" => "application/xaml+xml", "xap" => "application/x-silverlight-app", "xbap" => "application/x-ms-xbap", "xbm" => "image/x-xbitmap", "xdr" => "text/plain", "xht" => "application/xhtml+xml", "xhtml" => "application/xhtml+xml", "xla" => "application/vnd.ms-excel", "xlam" => "application/vnd.ms-excel.addin.macroEnabled.12", "xlc" => "application/vnd.ms-excel", "xlm" => "application/vnd.ms-excel", "xls" => "application/vnd.ms-excel", "xlsb" => "application/vnd.ms-excel.sheet.binary.macroEnabled.12", "xlsm" => "application/vnd.ms-excel.sheet.macroEnabled.12", "xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "xlt" => "application/vnd.ms-excel", "xltm" => "application/vnd.ms-excel.template.macroEnabled.12", "xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "xlw" => "application/vnd.ms-excel", "xml" => "text/xml", "xof" => "x-world/x-vrml", "xpm" => "image/x-xpixmap", "xps" => "application/vnd.ms-xpsdocument", "xsd" => "text/xml", "xsf" => "text/xml", "xsl" => "text/xml", "xslt" => "text/xml", "xsn" => "application/octet-stream", "xtp" => "application/octet-stream", "xwd" => "image/x-xwindowdump", "z" => "application/x-compress", "zip" => "application/x-zip-compressed" ); $EW_BOOLEAN_HTML_ATTRIBUTES = array("checked", "compact", "declare", "defer", "disabled", "ismap", "multiple", "nohref", "noresize", "noshade", "nowrap", "readonly", "selected"); define("EW_USE_TOKEN_IN_URL", FALSE, TRUE); define("EW_USE_ILIKE_FOR_POSTGRESQL", TRUE, TRUE); define("EW_LIKE_COLLATION_FOR_MYSQL", "", TRUE); define("EW_LIKE_COLLATION_FOR_MSSQL", "", TRUE); define("EW_NULL_VALUE", "##null##", TRUE); define("EW_NOT_NULL_VALUE", "##notnull##", TRUE); define("EW_SEARCH_MULTI_VALUE_OPTION", 3, TRUE); $EW_BASIC_SEARCH_IGNORE_PATTERN = "/[\?,\.\^\*\(\)\[\]\\\"]/"; define("EW_BASIC_SEARCH_ANY_FIELDS", FALSE, TRUE); define("EW_CLIENT_VALIDATE", TRUE, TRUE); define("EW_SERVER_VALIDATE", FALSE, TRUE); define("EW_BLOB_FIELD_BYTE_COUNT", 200, TRUE); define("EW_AUTO_SUGGEST_MAX_ENTRIES", 30, TRUE); define("EW_AUTO_FILL_ORIGINAL_VALUE", false, TRUE); define("EW_LOOKUP_FILTER_VALUE_SEPARATOR", ",", TRUE); define("EW_ITEM_TEMPLATE_CLASSNAME", "ewTemplate", TRUE); define("EW_ITEM_TABLE_CLASSNAME", "ewItemTable", TRUE); define("EW_PAGE_TITLE_STYLE", "Breadcrumbs", TRUE); $EW_USE_RESPONSIVE_LAYOUT = TRUE; $EW_CSS_FLIP = FALSE; $EW_RTL_LANGUAGES = array("ar", "fa", "he", "iw", "ug", "ur"); $EW_DECIMAL_POINT = "."; $EW_THOUSANDS_SEP = ","; $EW_CURRENCY_SYMBOL = "$"; $EW_MON_DECIMAL_POINT = "."; $EW_MON_THOUSANDS_SEP = ","; $EW_POSITIVE_SIGN = ""; $EW_NEGATIVE_SIGN = "-"; $EW_FRAC_DIGITS = 2; $EW_P_CS_PRECEDES = 1; $EW_P_SEP_BY_SPACE = 0; $EW_N_CS_PRECEDES = 1; $EW_N_SEP_BY_SPACE = 0; $EW_P_SIGN_POSN = 1; $EW_N_SIGN_POSN = 1; $EW_DATE_SEPARATOR = "/"; $EW_TIME_SEPARATOR = ":"; $EW_DATE_FORMAT = "yyyy/mm/dd"; $EW_DATE_FORMAT_ID = 5; $EW_TIME_ZONE = "GMT"; $EW_LOCALE = array("decimal_point" => &$EW_DECIMAL_POINT, "thousands_sep" => &$EW_THOUSANDS_SEP, "currency_symbol" => &$EW_CURRENCY_SYMBOL, "mon_decimal_point" => &$EW_MON_DECIMAL_POINT, "mon_thousands_sep" => &$EW_MON_THOUSANDS_SEP, "positive_sign" => &$EW_POSITIVE_SIGN, "negative_sign" => &$EW_NEGATIVE_SIGN, "frac_digits" => &$EW_FRAC_DIGITS, "p_cs_precedes" => &$EW_P_CS_PRECEDES, "p_sep_by_space" => &$EW_P_SEP_BY_SPACE, "n_cs_precedes" => &$EW_N_CS_PRECEDES, "n_sep_by_space" => &$EW_N_SEP_BY_SPACE, "p_sign_posn" => &$EW_P_SIGN_POSN, "n_sign_posn" => &$EW_N_SIGN_POSN, "date_sep" => &$EW_DATE_SEPARATOR, "time_sep" => &$EW_TIME_SEPARATOR, "date_format" => &$EW_DATE_FORMAT, "time_zone" => &$EW_TIME_ZONE ); date_default_timezone_set($EW_TIME_ZONE); define("EW_COOKIE_EXPIRY_TIME", time() + 365*24*60*60, TRUE); $EW_CLIENT_VAR = array(); if (!isset($conn)) { $conn = NULL; $Page = NULL; $UserTable = NULL; $UserTableConn = NULL; $Table = NULL; $Grid = NULL; $Language = NULL; $Security = NULL; $UserProfile = NULL; $objForm = NULL; $gsLanguage = ""; $gsToken = ""; $gsFormError = ""; $gsSearchError = ""; $gsExport = ""; $gsExportFile = ""; $gsCustomExport = ""; $gbSkipHeaderFooter = FALSE; $gbOldSkipHeaderFooter = $gbSkipHeaderFooter; $gsEmailErrDesc = ""; $gsDebugMsg = ""; $gTimer = NULL; $gTmpImages = array(); } $MobileDetect = NULL; $Breadcrumb = NULL; ?>
<?php define("EW_MENUBAR_ID", "RootMenu", TRUE); define("EW_MENUBAR_BRAND", "", TRUE); define("EW_MENUBAR_BRAND_HYPERLINK", "", TRUE); define("EW_MENUBAR_CLASSNAME", "", TRUE); define("EW_MENU_CLASSNAME", "dropdown-menu", TRUE); define("EW_SUBMENU_CLASSNAME", "dropdown-menu", TRUE); define("EW_SUBMENU_DROPDOWN_IMAGE", "", TRUE); define("EW_SUBMENU_DROPDOWN_ICON_CLASSNAME", "", TRUE); define("EW_MENU_DIVIDER_CLASSNAME", "divider", TRUE); define("EW_MENU_ITEM_CLASSNAME", "dropdown-submenu", TRUE); define("EW_SUBMENU_ITEM_CLASSNAME", "dropdown-submenu", TRUE); define("EW_MENU_ACTIVE_ITEM_CLASS", "active", TRUE); define("EW_SUBMENU_ACTIVE_ITEM_CLASS", "active", TRUE); define("EW_MENU_ROOT_GROUP_TITLE_AS_SUBMENU", FALSE, TRUE); define("EW_SHOW_RIGHT_MENU", FALSE, TRUE); ?>
<?php define("EW_PDF_STYLESHEET_FILENAME", "phpcss/ewpdf.css", TRUE); define("EW_PDF_MEMORY_LIMIT", "192M", TRUE); define("EW_PDF_TIME_LIMIT", 120, TRUE); ?>
fiz umas alterações e o erro mudou esta assim agora:
**Obsoleto** : __autoload() está obsoleto, use spl_autoload_register() em vez disso em **C:\xampp\htdocs\phpmailer5223\PHPMailerAutoload.php** **na** linha **45** Obsoleto : define(): Declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleto em **C:\xampp\htdocs \ewmobile1.php(3) : eval()'d code(1) : eval()'d code(251) : eval()'d code** on line **8** **Obsoleto** : define(): Declaração de constantes que não diferenciam maiúsculas de minúsculas é obsoleto em **C:\Users\and_c\AppData\Local\Temp\B985.tmp** **na** linha **11** Obsoleto : define(): Declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleto em **C:\Users\and_c\AppData\Local\Temp\B985 .tmp** na linha **12**
**Obsoleto** : define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\Users\and_c\AppData\Local\Temp\B985.tmp** **na** linha **13** Obsoleto : define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C :\Users\and_c\AppData\Local\Temp\B985.tmp** **na** linha **14** Obsoleto : define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\Users\and_c\AppData\Local\Temp\B985.tmp** on linha **15** **Obsoleto** : define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\Users\and_c\AppData\Local\Temp\B985.tmp** **na** linha **16 Obsoleto**
: define(): A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta em **C:\Users\and_c\AppData\Local\Temp\B985.tmp** na linha **17**
As mensagens são relativamente claras, mas as explicações exatas requerem alguma familiaridade com php. Você está estudando php? Chegou a pesquisar essas mensagens no Google ? (em inglês, especialmente).
Eu suponho que esse seja um código que anteriormente rodava no php 5 (ou 4) e você agora está tentando rodar em um servidor com php 7, pois as mensagens se referem à recursos obsoletos (ou seja, que eram comuns no 5, mas não são mais recomendados no php 7). Dê uma conferida nas diferenças de sintaxe e funcionalidades entre o php 5 e 7.
Por exemplo, a mensagem “A declaração de constantes que não diferenciam maiúsculas de minúsculas está obsoleta” se refere à declarações como essa:
define("EW_PDF_STYLESHEET_FILENAME", "phpcss/ewpdf.css", TRUE);
Em que o último parâmetro (true) não é mais usado. Deve ser algo como
define("EW_PDF_STYLESHEET_FILENAME", "phpcss/ewpdf.css"); // sem o TRUE
Mesma coisa para o __autoload(). No php 7 e superiores, é recomendado o php spl_autoload_register() no lugar.
Pela complexidade do código, suponho que é um framework ou aplicação pronta (ou copiada de algum site) que você está tentando fazer rodar em outro ambiente, em vez de algo que você está criando do zero. Nesse caso, recomendo ver se há uma versão atualizada para php 7.
Note que essas mensagens parecem ser avisos (warnings), não erros. Em teoria, você pode dar uma olhada na configuração do php para desabilitar avisos referentes à recursos obsoletos (mas obviamente é melhor ajustar o código para o servidor php).
Abraço.