Jump to content
eduard

Uploading changed files of my website?

Recommended Posts

That phpinfo file lets you see all of the PHP settings and loaded extensions. It doesn't tell you whether or not MySQL is running though, only if PHP has the mysql or mysqli extension enabled. I'm not sure which problem you're trying to solve, if you want to say what your problems are like I asked in post 69 it would help us give answers.

Share this post


Link to post
Share on other sites
No one remembers everything, Eduard. You're not expected to remember everything. Every day I'll look up things I've used before because I don't remember specifically how they're used, that's normal.But in this case, you're asking how to run a PHP file. You shouldn't be expected to remember everything, but you should be expected to remember that. In fact, you should have learned that in the first week and used it so often that you don't forget that you need to save a file on your server and open it in a browser. But it's been three months and you're still asking how to run a file. The problem may be that the tutorials aren't clear, maybe so. But you know what is clear? A book, written by a professional. This is why I say you need a book, the tutorials and our help obviously aren't working if you're three months in and still don't know how to even run a file in the first place. I don't understand how you're able to do anything else with PHP if you don't know how to run a file."Programming PHP" covers the basics quite well. You can also look for other resources online:http://www.google.com/search?client=opera&...channel=suggest
Who tells me: should be expected that? You (plural)? God? Not me! To answer your question: To do someting with php is not that difficult (brsidrs you´ve explained me 5 or 6 times! To open a php file nobody (also ouside this forum!) had explained me!

Share this post


Link to post
Share on other sites

I´m doing post 49 of this topic!

Share this post


Link to post
Share on other sites

Eduard,I'm assuming English is not your primary language, as sometimes it is hard for us to understand the questions you ask, and or decipher the spelling of some of words you use.The senior members on this forum are trying to help you as much as they can. Just so you have it in proper perspective there are a lot of us that are confused with your questions as they do not focus on any specific topic or are very vague. Also the responses you provide when a member suggests a method to isolate your problem is hard for us to understand, as it appears you either are not comprehending what is said, or you do not understand the basics required.Please understand I am not trying to belittle you as I work as an international forum moderator where language barriers create frustrations in such a community. I would suggest you think about your specific trouble, then using the experience you have with HTML and PHP, create a VERY SIMPLE example (webpage) and post it.IMPORTANT: Keep in mind we cannot see the local MySQL database you are using, so focus on just the LOCAL database you have, not the hosting server.Remember this is a community that is here to help everyone, and as such we treat each other with professionalism and respect.Cheers!

Share this post


Link to post
Share on other sites
how do you think? What are the steps we tell you every other time you want run a php file?1) put the file it in the webroot2) run MAMP3) open the file in the browsersee, you still ask the same questions you've been given the answers too already. the same stuff we've been telling you for months you don't retain. This I believe is the cause of your poor learning habits on this board; not us, not the tutorials, and not the people of Chile (who are not involved in some massive conspiracy to keep you from working). In order to progress in anything, you need to be able to retain what you've learned and then build upon it. If you don't learn/retain the basics, you'll be constantly stuck here asking people why your script is wrong, even when an error message plainly tells you the problem. to be honest, JSG is being very optimistic when he says he gives you a year. I say at least two.prejudices don't mean anything if you don't even have the skills to offer the people who would even be prejudiced against hiring you.
NO COMMENTS!

Share this post


Link to post
Share on other sites
Eduard,I'm assuming English is not your primary language, as sometimes it is hard for us to understand the questions you ask, and or decipher the spelling of some of words you use.The senior members on this forum are trying to help you as much as they can. Just so you have it in proper perspective there are a lot of us that are confused with your questions as they do not focus on any specific topic or are very vague. Also the responses you provide when a member suggests a method to isolate your problem is hard for us to understand, as it appears you either are not comprehending what is said, or you do not understand the basics required.Please understand I am not trying to belittle you as I work as an international forum moderator where language barriers create frustrations in such a community. I would suggest you think about your specific trouble, then using the experience you have with HTML and PHP, create a VERY SIMPLE example (webpage) and post it.IMPORTANT: Keep in mind we cannot see the local MySQL database you are using, so focus on just the LOCAL database you have, not the hosting server.Remember this is a community that is here to help everyone, and as such we treat each other with professionalism and respect.Sorry, I´m since october 2010 with this forum!(indeed english isn´t my first language, but I understand it very well, so the language is NOT the problem!)Cheers!

Share this post


Link to post
Share on other sites
Do you actually have a MySQL database installed on your local machine?If you do not have any idea what I mean, create a simple php script such as;
<?php   phpinfo();?>

and save it as phpinfo.php, then open it in your browser. There you can see how your local host is setup. If you don't understand what it displays, post a screenshot.

Here´s the phpinfo.php file!I don´t understand much of it!PHP Version 5.3.2System Darwin computer-van-eduard.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386Build Date Oct 13 2010 13:04:42Configure Command './configure' '--with-mysql=/Applications/MAMP/Library' '--with-apxs2=/Applications/MAMP/Library/bin/apxs' '--with-gd' '--with-jpeg-dir=/Applications/MAMP/Library' '--with-png-dir=/Applications/MAMP/Library' '--with-zlib' '--with-freetype-dir=/Applications/MAMP/Library' '--prefix=/Applications/MAMP/bin/php5.3' '--exec-prefix=/Applications/MAMP/bin/php5.3' '--sysconfdir=/Applications/MAMP/conf/php5.3' '--with-soap' '--with-config-file-path=/Applications/MAMP/conf/php5.3' '--enable-track-vars' '--enable-bcmath' '--enable-ftp' '--enable-gd-native-ttf' '--with-bz2=/usr' '--with-ldap' '--with-mysqli=/Applications/MAMP/Library/bin/mysql_config' '--with-sqlite' '--with-ttf' '--with-t1lib=/Applications/MAMP/Library' '--enable-mbstring=all' '--with-curl=/Applications/MAMP/Library' '--enable-dbx' '--enable-sockets' '--enable-bcmath' '--with-imap=shared,/Applications/MAMP/Library/lib/imap-2007e' '--enable-soap' '--with-kerberos' '--enable-calendar' '--with-pgsql=shared,/Applications/MAMP/Library/pg' '--enable-dbase' '--enable-exif' '--with-libxml-dir=/Applications/MAMP/Library' '--with-gettext=shared,/Applications/MAMP/Library' '--with-xsl=/Applications/MAMP/Library' '--with-pdo-mysql=shared,/Applications/MAMP/Library' '--with-pdo-pgsql=shared,/Applications/MAMP/Library/pg' '--with-mcrypt=shared,/Applications/MAMP/Library' '--with-openssl' '--enable-zip'Server API Apache 2.0 HandlerVirtual Directory Support disabledConfiguration File (php.ini) Path /Applications/MAMP/conf/php5.3Loaded Configuration File /Applications/MAMP/conf/php5.3/php.iniScan this dir for additional .ini files (none)Additional .ini files parsed (none)PHP API 20090626PHP Extension 20090626Zend Extension 220090626Zend Extension Build API220090626,NTSPHP Extension Build API20090626,NTSDebug Build noThread Safety disabledZend Memory Manager enabledZend Multibyte Support disabledIPv6 Support enabledRegistered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zipRegistered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tlsRegistered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunkThis program makes use of the Zend Scripting Language Engine:Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies with XCache v1.3.0, Copyright © 2005-2009, by mOoPHP CreditsConfigurationapache2handlerApache Version Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2Apache API Version 20020903Server Administrator you@example.comHostname:Port localhost:80User/Group eduard(501)/-1Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100Timeouts Connection: 300 - Keep-Alive: 15Virtual Server NoServer Root /Applications/MAMP/LibraryLoaded Modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_file_cache mod_echo mod_charset_lite mod_cache mod_disk_cache mod_mem_cache mod_example mod_case_filter mod_case_filter_in mod_ext_filter mod_include mod_deflate mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_setenvif mod_proxy proxy_connect proxy_ftp proxy_http mod_bucketeer mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_cgi mod_cgid mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_php5Directive Local Value Master Valueengine 1 1last_modified 0 0xbithack 0 0Apache EnvironmentVariable ValueHTTP_ACCEPT_LANGUAGE esHTTP_ACCEPT_ENCODING gzip, deflateHTTP_USER_AGENT Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; es) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 Safari/533.19.4HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5HTTP_CACHE_CONTROL max-age=0HTTP_CONNECTION keep-aliveHTTP_HOST localhostPATH /usr/bin:/bin:/usr/sbin:/sbinSERVER_SIGNATURE <address>Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 Server at localhost Port 80</address>SERVER_SOFTWARE Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2SERVER_NAME localhostSERVER_ADDR ::1SERVER_PORT 80REMOTE_ADDR ::1DOCUMENT_ROOT /Applications/MAMP/htdocs/SERVER_ADMIN you@example.comSCRIPT_FILENAME /Applications/MAMP/htdocs/website/phpinfo.phpREMOTE_PORT 49246GATEWAY_INTERFACE CGI/1.1SERVER_PROTOCOL HTTP/1.1REQUEST_METHOD GETQUERY_STRING no valueREQUEST_URI /website/phpinfo.phpSCRIPT_NAME /website/phpinfo.phpHTTP Headers InformationHTTP Request HeadersHTTP Request GET /website/phpinfo.php HTTP/1.1Accept-Language esAccept-Encoding gzip, deflateUser-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; es) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 Safari/533.19.4Accept application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5Cache-Control max-age=0Connection keep-aliveHost localhostHTTP Response HeadersX-Powered-By PHP/5.3.2Keep-Alive timeout=15, max=100Connection Keep-AliveTransfer-Encoding chunkedContent-Type text/htmlbcmathBCMath support enabledDirective Local Value Master Valuebcmath.scale 0 0bz2BZip2 Support EnabledStream Wrapper support compress.bz2://Stream Filter support bzip2.decompress, bzip2.compressBZip2 Version 1.0.5, 10-Dec-2007calendarCalendar support enabledCorePHP Version 5.3.2Directive Local Value Master Valueallow_call_time_pass_reference On Onallow_url_fopen On Onallow_url_include Off Offalways_populate_raw_post_data Off Offarg_separator.input & &arg_separator.output & &asp_tags Off Offauto_append_file no value no valueauto_globals_jit On Onauto_prepend_file no value no valuebrowscap no value no valuedefault_charset no value no valuedefault_mimetype text/html text/htmldefine_syslog_variables Off Offdisable_classes no value no valuedisable_functions no value no valuedisplay_errors On Ondisplay_startup_errors Off Offdoc_root no value no valuedocref_ext no value no valuedocref_root no value no valueenable_dl On Onerror_append_string no value no valueerror_log /Applications/MAMP/logs/php_error.log /Applications/MAMP/logs/php_error.logerror_prepend_string no value no valueerror_reporting 30719 ⎮ 2048 30719 ⎮ 2048exit_on_timeout Off Offexpose_php On Onextension_dir /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/ /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/file_uploads On Onhighlight.bg #FFFFFF #FFFFFFhighlight.comment #FF8000 #FF8000highlight.default #0000BB #0000BBhighlight.html #000000 #000000highlight.keyword #007700 #007700highlight.string #DD0000 #DD0000html_errors On Onignore_repeated_errors Off Offignore_repeated_source Off Offignore_user_abort Off Offimplicit_flush Off Offinclude_path .:/Applications/MAMP/bin/php5.3/lib/php .:/Applications/MAMP/bin/php5.3/lib/phplog_errors On Onlog_errors_max_len 1024 1024magic_quotes_gpc On Onmagic_quotes_runtime Off Offmagic_quotes_sybase Off Offmail.add_x_header Off Offmail.force_extra_parameters no value no valuemail.log no value no valuemax_execution_time 30 30max_file_uploads 20 20max_input_nesting_level 64 64max_input_time 60 60memory_limit 32M 32Mopen_basedir no value no valueoutput_buffering no value no valueoutput_handler no value no valuepost_max_size 32M 32Mprecision 12 12realpath_cache_size 16K 16Krealpath_cache_ttl 120 120register_argc_argv On Onregister_globals Off Offregister_long_arrays On Onreport_memleaks On Onreport_zend_debug On Onrequest_order no value no valuesafe_mode Off Offsafe_mode_exec_dir no value no valuesafe_mode_gid Off Offsafe_mode_include_dir no value no valuesendmail_from no value no valuesendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 100 100short_open_tag On OnSMTP localhost localhostsmtp_port 25 25sql.safe_mode Off Offtrack_errors Off Offunserialize_callback_func no value no valueupload_max_filesize 32M 32Mupload_tmp_dir /Applications/MAMP/tmp/php /Applications/MAMP/tmp/phpuser_dir no value no valueuser_ini.cache_ttl 300 300user_ini.filename .user.ini .user.inivariables_order EGPCS EGPCSxmlrpc_error_number 0 0xmlrpc_errors Off Offy2k_compliance On Onzend.enable_gc On Onctypectype functions enabledcurlcURL support enabledcURL Information 7.20.0Age 3FeaturesAsynchDNS NoDebug NoGSS-Negotiate NoIDN YesIPv6 YesLargefile YesNTLM YesSPNEGO NoSSL YesSSPI Nokrb4 Nolibz YesCharConv NoProtocols dict, file, ftp, ftps, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, smtp, smtps, telnet, tftpHost i386-apple-darwin8.11.1SSL Version OpenSSL/0.9.7lZLib Version 1.2.3datedate/time support enabled"Olson" Timezone Database Version 2010.3Timezone Database internalDefault timezone America/SantiagoDirective Local Value Master Valuedate.default_latitude 31.7667 31.7667date.default_longitude 35.2333 35.2333date.sunrise_zenith 90.583333 90.583333date.sunset_zenith 90.583333 90.583333date.timezone America/Santiago America/SantiagodomDOM/XML enabledDOM/XML API Version 20031129libxml Version 2.7.6HTML Support enabledXPath Support enabledXPointer Support enabledSchema Support enabledRelaxNG Support enablederegRegex Library Bundled library enabledexifEXIF Support enabledEXIF Version 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $Supported EXIF Version 0220Supported filetypes JPEG,TIFFDirective Local Value Master Valueexif.decode_jis_intel JIS JISexif.decode_jis_motorola JIS JISexif.decode_unicode_intel UCS-2LE UCS-2LEexif.decode_unicode_motorola UCS-2BE UCS-2BEexif.encode_jis no value no valueexif.encode_unicode ISO-8859-15 ISO-8859-15fileinfofileinfo support enabledversion 1.0.5-devfilterInput Validation and Filtering enabledRevision $Revision: 294106 $Directive Local Value Master Valuefilter.default unsafe_raw unsafe_rawfilter.default_flags no value no valueftpFTP support enabledgdGD Support enabledGD Version bundled (2.0.34 compatible)FreeType Support enabledFreeType Linkage with freetypeFreeType Version 2.3.9T1Lib Support enabledGIF Read Support enabledGIF Create Support enabledJPEG Support enabledlibJPEG Version unknownPNG Support enabledlibPNG Version 1.2.42WBMP Support enabledXBM Support enabledDirective Local Value Master Valuegd.jpeg_ignore_warning 0 0gettextGetText Support enabledhashhash support enabledHashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5iconviconv support enablediconv implementation libiconviconv library version 1.13Directive Local Value Master Valueiconv.input_encoding ISO-8859-1 ISO-8859-1iconv.internal_encoding ISO-8859-1 ISO-8859-1iconv.output_encoding ISO-8859-1 ISO-8859-1imapIMAP c-Client Version 2007eKerberos Support enabledjsonjson support enabledjson version 1.2.1ldapLDAP Support enabledRCS Version $Id: ldap.c 293036 2010-01-03 09:23:27Z sebastian $Total Links 0/unlimitedAPI Version 3001Vendor Name OpenLDAPVendor Version 20219Directive Local Value Master Valueldap.max_links Unlimited UnlimitedlibxmllibXML support activelibXML Compiled Version 2.7.6libXML Loaded Version 20706libXML streams enabledmbstringMultibyte Support enabledMultibyte string engine libmbflHTTP input encoding translation disabledmbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.Multibyte (japanese) regex support enabledMultibyte regex (oniguruma) backtrack check OnMultibyte regex (oniguruma) version 4.7.1Directive Local Value Master Valuembstring.detect_order no value no valuembstring.encoding_translation Off Offmbstring.func_overload 0 0mbstring.http_input pass passmbstring.http_output pass passmbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)mbstring.internal_encoding no value no valuembstring.language neutral neutralmbstring.strict_detection Off Offmbstring.substitute_character no value no valuemcryptmcrypt support enabledVersion 2.5.8Api No 20021217Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledesSupported modes cbc cfb ctr ecb ncfb nofb ofb streamDirective Local Value Master Valuemcrypt.algorithms_dir no value no valuemcrypt.modes_dir no value no valuemysqlMySQL Support enabledActive Persistent Links 0Active Links 0Client API version 5.1.44MYSQL_MODULE_TYPE externalMYSQL_SOCKET /Applications/MAMP/tmp/mysql/mysql.sockMYSQL_INCLUDE -I/Applications/MAMP/Library/include/mysqlMYSQL_LIBS -L/Applications/MAMP/Library/lib/mysql -lmysqlclientDirective Local Value Master Valuemysql.allow_local_infile On Onmysql.allow_persistent On Onmysql.connect_timeout 60 60mysql.default_host no value no valuemysql.default_password no value no valuemysql.default_port no value no valuemysql.default_socket /Applications/MAMP/tmp/mysql/mysql.sock /Applications/MAMP/tmp/mysql/mysql.sockmysql.default_user no value no valuemysql.max_links Unlimited Unlimitedmysql.max_persistent Unlimited Unlimitedmysql.trace_mode Off OffmysqliMysqlI Support enabledClient API library version 5.1.44Active Persistent Links 0Inactive Persistent Links 0Active Links 0Client API header version 5.1.44MYSQLI_SOCKET /Applications/MAMP/tmp/mysql/mysql.sockDirective Local Value Master Valuemysqli.allow_local_infile On Onmysqli.allow_persistent On Onmysqli.default_host no value no valuemysqli.default_port 3306 3306mysqli.default_pw no value no valuemysqli.default_socket no value no valuemysqli.default_user no value no valuemysqli.max_links Unlimited Unlimitedmysqli.max_persistent Unlimited Unlimitedmysqli.reconnect Off OffopensslOpenSSL support enabledOpenSSL Library Version OpenSSL 0.9.7l 28 Sep 2006OpenSSL Header Version OpenSSL 0.9.7i 14 Oct 2005pcrePCRE (Perl Compatible Regular Expressions) Support enabledPCRE Library Version 8.00 2009-10-19Directive Local Value Master Valuepcre.backtrack_limit 100000 100000pcre.recursion_limit 100000 100000PDOPDO support enabledPDO drivers sqlite, sqlite2, pgsql, mysqlpdo_mysqlPDO Driver for MySQL enabledClient API version 5.1.44pdo_pgsqlPDO Driver for PostgreSQL enabledPostgreSQL(libpq) Version 8.4.2Module version 1.0.2Revision $Id: pdo_pgsql.c 293036 2010-01-03 09:23:27Z sebastian $pdo_sqlitePDO Driver for SQLite 3.x enabledSQLite Library 3.6.22pgsqlPostgreSQL Support enabledPostgreSQL(libpq) Version 8.4.2Multibyte character support enabledSSL support enabledActive Persistent Links 0Active Links 0Directive Local Value Master Valuepgsql.allow_persistent On Onpgsql.auto_reset_persistent Off Offpgsql.ignore_notice Off Offpgsql.log_notice Off Offpgsql.max_links Unlimited Unlimitedpgsql.max_persistent Unlimited UnlimitedPharPhar: PHP Archive support enabledPhar EXT version 2.0.1Phar API version 1.1.1SVN revision $Revision: 290435 $Phar-based phar archives enabledTar-based phar archives enabledZIP-based phar archives enabledgzip compression enabledbzip2 compression enabledNative OpenSSL support enabledPhar based on pear/PHP_Archive, original concept by Davey Shafik.Phar fully realized by Gregory Beaver and Marcus Boerger.Portions of tar implementation Copyright © 2003-2009 Tim Kientzle.Directive Local Value Master Valuephar.cache_list no value no valuephar.readonly On Onphar.require_hash On OnposixRevision $Revision: 293036 $ReflectionReflection enabledVersion $Revision: 293036 $sessionSession Support enabledRegistered save handlers files user sqliteRegistered serializer handlers php php_binaryDirective Local Value Master Valuesession.auto_start Off Offsession.bug_compat_42 On Onsession.bug_compat_warn On Onsession.cache_expire 180 180session.cache_limiter nocache nocachesession.cookie_domain no value no valuesession.cookie_httponly Off Offsession.cookie_lifetime 0 0session.cookie_path / /session.cookie_secure Off Offsession.entropy_file no value no valuesession.entropy_length 0 0session.gc_divisor 100 100session.gc_maxlifetime 1440 1440session.gc_probability 1 1session.hash_bits_per_character 4 4session.hash_function 0 0session.name PHPSESSID PHPSESSIDsession.referer_check no value no valuesession.save_handler files filessession.save_path /Applications/MAMP/tmp/php /Applications/MAMP/tmp/phpsession.serialize_handler php phpsession.use_cookies On Onsession.use_only_cookies On Onsession.use_trans_sid 0 0SimpleXMLSimplexml support enabledRevision $Revision: 293036 $Schema support enabledsoapSoap Client enabledSoap Server enabledDirective Local Value Master Valuesoap.wsdl_cache 1 1soap.wsdl_cache_dir /tmp /tmpsoap.wsdl_cache_enabled 1 1soap.wsdl_cache_limit 5 5soap.wsdl_cache_ttl 86400 86400socketsSockets Support enabledSPLSPL support enabledInterfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubjectClasses AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueExceptionSQLiteSQLite support enabledPECL Module version 2.0-dev $Id: sqlite.c 293036 2010-01-03 09:23:27Z sebastian $SQLite Library 2.8.17SQLite Encoding iso8859Directive Local Value Master Valuesqlite.assoc_case 0 0sqlite3SQLite3 support enabledSQLite3 module version 0.7-devSQLite Library 3.6.22Directive Local Value Master Valuesqlite3.extension_dir no value no valuestandardDynamic Library Support enabledPath to sendmail /usr/sbin/sendmail -t -iDirective Local Value Master Valueassert.active 1 1assert.bail 0 0assert.callback no value no valueassert.quiet_eval 0 0assert.warning 1 1auto_detect_line_endings 0 0default_socket_timeout 60 60safe_mode_allowed_env_vars PHP_ PHP_safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATHurl_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=user_agent no value no valuetokenizerTokenizer Support enabledXCacheXCache Support enabledVersion 1.3.0Modules Built cacher optimizer coverager assembler encoder decoderReadonly Protection N/ACache Init Time 2011-04-10 20:32:27Cache Instance Id 374Opcode Cache enabled, 67,108,864 bytes, 1 split(s), with 8192 slots eachVariable Cache enabled, 67,108,864 bytes, 1 split(s), with 8192 slots eachShared Memory Schemes mmapCoverage Auto Dumper disabledDirective Local Value Master Valuexcache.admin.enable_auth On Onxcache.cacher On Onxcache.coredump_directory /Applications/MAMP/tmp/phpcore/ /Applications/MAMP/tmp/phpcore/xcache.count 1 1xcache.coveragedump_directory no value no valuexcache.coverager Off Offxcache.gc_interval 0 0xcache.mmap_path /Applications/MAMP/tmp/xcache /Applications/MAMP/tmp/xcachexcache.optimizer On Onxcache.readonly_protection no value no valuexcache.shm_scheme mmap mmapxcache.size 64M 64Mxcache.slots 8K 8Kxcache.stat On Onxcache.test no value no valuexcache.ttl 0 0xcache.var_count 1 1xcache.var_gc_interval 300 300xcache.var_maxttl 0 0xcache.var_size 64M 64Mxcache.var_slots 8K 8Kxcache.var_ttl 0 0xmlXML Support activeXML Namespace Support activelibxml2 Version 2.7.6xmlreaderXMLReader enabledxmlwriterXMLWriter enabledxslXSL enabledlibxslt Version 1.1.26libxslt compiled against libxml Version 2.7.6EXSLT enabledlibexslt Version 1.1.26yazYAZ Support enabledPHP/YAZ Version 1.0.14YAZ Version 4.0.1Compiled with YAZ version 4.0.1zipZip enabledExtension Version $Id: php_zip.c 294817 2010-02-09 17:51:39Z pajoye $Zip version 1.9.1Libzip version 0.9.0zlibZLib Support enabledStream Wrapper support compress.zlib://Stream Filter support zlib.inflate, zlib.deflateCompiled Version 1.2.3Linked Version 1.2.3Directive Local Value Master Valuezlib.output_compression Off Offzlib.output_compression_level -1 -1zlib.output_handler no value no valueAdditional ModulesModule NameEnvironmentVariable ValueSHELL /bin/bash__AUTHORIZATION auth 7USER eduard__CF_USER_TEXT_ENCODING 0x1F5:0:8PATH /usr/bin:/bin:/usr/sbin:/sbinPWD /HOME /Users/eduardSHLVL 2DYLD_LIBRARY_PATH /Applications/MAMP/Library/lib:SECURITYSESSIONID aa70e0_ /Applications/MAMP/Library/bin/httpdPHP VariablesVariable Value_SERVER["HTTP_ACCEPT_LANGUAGE"] es_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; es) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 Safari/533.19.4_SERVER["HTTP_ACCEPT"] application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5_SERVER["HTTP_CACHE_CONTROL"] max-age=0_SERVER["HTTP_CONNECTION"] keep-alive_SERVER["HTTP_HOST"] localhost_SERVER["PATH"] /usr/bin:/bin:/usr/sbin:/sbin_SERVER["SERVER_SIGNATURE"] <address>Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 Server at localhost Port 80</address>_SERVER["SERVER_SOFTWARE"] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2_SERVER["SERVER_NAME"] localhost_SERVER["SERVER_ADDR"] ::1_SERVER["SERVER_PORT"] 80_SERVER["REMOTE_ADDR"] ::1_SERVER["DOCUMENT_ROOT"] /Applications/MAMP/htdocs/_SERVER["SERVER_ADMIN"] you@example.com_SERVER["SCRIPT_FILENAME"] /Applications/MAMP/htdocs/website/phpinfo.php_SERVER["REMOTE_PORT"] 49246_SERVER["GATEWAY_INTERFACE"] CGI/1.1_SERVER["SERVER_PROTOCOL"] HTTP/1.1_SERVER["REQUEST_METHOD"] GET_SERVER["QUERY_STRING"] no value_SERVER["REQUEST_URI"] /website/phpinfo.php_SERVER["SCRIPT_NAME"] /website/phpinfo.php_SERVER["PHP_SELF"] /website/phpinfo.php_SERVER["REQUEST_TIME"] 1302481977_SERVER["argv"] Array()_SERVER["argc"] 0_ENV["SHELL"] /bin/bash_ENV["__AUTHORIZATION"] auth 7_ENV["USER"] eduard_ENV["__CF_USER_TEXT_ENCODING"] 0x1F5:0:8_ENV["PATH"] /usr/bin:/bin:/usr/sbin:/sbin_ENV["PWD"] /_ENV["HOME"] /Users/eduard_ENV["SHLVL"] 2_ENV["DYLD_LIBRARY_PATH"] /Applications/MAMP/Library/lib:_ENV["SECURITYSESSIONID"] aa70e0_ENV["_"] /Applications/MAMP/Library/bin/httpdPHP LicenseThis program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSEThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

Share this post


Link to post
Share on other sites

This is the third time you've posted that file. What problem are you trying to use that file to solve? I've asked you twice to describe the problems you're having, but either you haven't read those or you have ignored them.

Share this post


Link to post
Share on other sites
This is the third time you've posted that file. What problem are you trying to use that file to solve? I've asked you twice to describe the problems you're having, but either you haven't read those or you have ignored them.
The error message of MAMP is:´checking MySQL databases failed (error 1045)´I think this is the reason my INSERT and SELECT file (MySQL) php files won´t run!P. s. I certainly replied you as I wrote see post ´Explain nr.3? when you asked about my website! Edited by eduardchile

Share this post


Link to post
Share on other sites

OK, this is still the error where the MySQL username and password are not correct. Is this your own web page or are you trying to log in to phpMyAdmin?

Share this post


Link to post
Share on other sites
OK, this is still the error where the MySQL username and password are not correct. Is this your own web page or are you trying to log in to phpMyAdmin?
This is my website! I changed the php files with the information I got of my host, I uploaded the changed files, but still have this error!

Share this post


Link to post
Share on other sites

What´s the first word you have to write after ´mysql_connect´, 2 is username, 3 is password?

Share this post


Link to post
Share on other sites

This is the message I always get when I start my webserver (MAMP):Checking MySQL databases failed/Applications/MAMP/library/bin/mysqlcheckGot error: 1045: access denied for user root@localhost (using password: YES when trying to connectI already changed username and password into the same as for my host server!Is it possible that MAMP uses a ´cache´?How do I solve this problem?

Share this post


Link to post
Share on other sites

I thought about it this morning:Helping (?) me with these computer problems is like helping (?) me with my wheelchair. If you HAVEN´T been in a wheelchair you can´t exactly imagine what kind of problems someone IN a wheelchair has.Most of the people in these fora treat me in the same way (unfortunately!)

Share this post


Link to post
Share on other sites
I thought about it this morning:Helping (?) me with these computer problems is like helping (?) me with my wheelchair. If you HAVEN´T been in a wheelchair you can´t exactly imagine what kind of problems someone IN a wheelchair has.Most of the people in these fora treat me in the same way (unfortunately!)
right, because you assume we were all born with knowledge of programming in our heads? Just because other people haven't felt the need to expose their personal lives in such detailed fashion as yourself, doesn't mean that you can automatically just assume you know everything about the other people on this board. I don't know what it is in your mind that makes you think you're so special, that you should be treated differently from the people here (who could also very well be handicapped). There are people in the world far worse off than you, so get over yourself. If you don't get it, you just don't get it. Not everyone can play an instrument, not everyone can write a book. Not everyone can program. That's just the way it is.

Share this post


Link to post
Share on other sites
right, because you assume we were all born with knowledge of programming in our heads? Just because other people haven't felt the need to expose their personal lives in such detailed fashion as yourself, doesn't mean that you can automatically just assume you know everything about the other people on this board. I don't know what it is in your mind that makes you think you're so special, that you should be treated differently from the people here (who could also very well be handicapped). There are people in the world far worse off than you, so get over yourself. If you don't get it, you just don't get it. Not everyone can play an instrument, not everyone can write a book. Not everyone can program. That's just the way it is.
I don´t assume anything, but there are different ways to approach persons! But I´m here to solve my (programing) problem please!P. s. 1 the comparison to my wheelchair was just an example (not a good one!). No more than that!P. s. I´m NOT special, but NEITHER I´m a number!Sorry, the person above hasn´t understood my latest post! Edited by eduardchile

Share this post


Link to post
Share on other sites
This is the message I always get when I start my webserver (MAMP):Checking MySQL databases failed/Applications/MAMP/library/bin/mysqlcheckGot error: 1045: access denied for user root@localhost (using password: YES when trying to connectI already changed username and password into the same as for my host server!Is it possible that MAMP uses a ´cache´?How do I solve this problem?
Please, can anybody response to this question?

Share this post


Link to post
Share on other sites

There is no cache. That would be plain foolish and insecure.You probably need to also change the host name (which has been mentioned already). The host name is the first argument of mysql_connect. You probably have 'localhost' right now. It should match your host's server name.

Share this post


Link to post
Share on other sites

Why is this problem-which I´ve been trying for 6 days now (still without a positive result!)-so important for me?If you take my website (www.eduardlid.com > webdesigner > insert data (html form!) you´ll see an error message!This message I´m trying to solve!

Share this post


Link to post
Share on other sites
There is no cache. That would be plain foolish and insecure.You probably need to also change the host name (which has been mentioned already). The host name is the first argument of mysql_connect. You probably have 'localhost' right now. It should match your host's server name.
Thanks! No I changed everything! Therefore my question if there was a cache (which there isn´t) The server of my host is a ftp server?

Share this post


Link to post
Share on other sites
This is the message I always get when I start my webserver (MAMP):Checking MySQL databases failed/Applications/MAMP/library/bin/mysqlcheckGot error: 1045: access denied for user root@localhost (using password: YES when trying to connectI already changed username and password into the same as for my host server!Is it possible that MAMP uses a ´cache´?How do I solve this problem?
everybody here elaborated and described the solution as far it can be done. nothing i can add new here..again...you check your access credentials password and username. if you are in remote server (your website where hosted) you will get a username at the time of registration.You have to use that as username.You can not access as root in your (shared) host database. and you have to use the password correctly too.If you are not sure about your username and password you may need to contact your host.This error simply is saying that either the username or password or both are wrong. there is nothing to do with mysql installation or any.

Share this post


Link to post
Share on other sites

you should have no problems using localhost as the server address both locally and on the hosted site. As I have mentioned, usually I just take the hosted login profile for the database (username/password) and just add it as a profile to my local database. Then I only have to worry about one user profile and there's nothing to switch when working locally and then uploading.

Share this post


Link to post
Share on other sites

eduardchile, nobody cares that you're physically disabled, so stop using that as an excuse.Are you trying to upload your actual phpMyAdmin folder to your online web host to use it?If so, that is not going to work.

Share this post


Link to post
Share on other sites
eduardchile, nobody cares that you're physically disabled, so stop using that as an excuse.Are you trying to upload your actual phpMyAdmin folder to your online web host to use it?If so, that is not going to work.
You haven´t understood the post neither, because it has nothing to do with disabillity!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...