Ga naar inhoud

ladot php uploaden


anoniem

Aanbevolen berichten

ik heb een ladotaccount, klantnummer < 500000, en wil graag een mysql database online zetten met een php formulier. lokaal werkt alles, maar nu is mijn vraag hoe ik het moet uploaden naar een ladot account. waar moet de map met de database komen te staan en waar moet het php bestandje komen te staan. wat is de host, username of password? heeft iemand ervaring met ladot [code:1:d1b790525a]<?php $host="localhost"; // $username = "uw_gebruikersnaam"; // $password = "uw_wachtwoord"; $dbnaam="bc_php"; $fout = "FOUT: openen database mislukt"; $query="SELECT * FROM werknemers"; $db=mysql_connect($host); mysql_select_db($dbnaam, $db) or die($fout); $result = mysql_query($query); ?> <html> <head> <title>Een tabel op het scherm tonen</title> </head> <body> <h2>Alle records in een while-lus met mysql_fetch_row()</h2> <?php while (list($id, $voornaam, $achternaam, $kamer, $toestel) = mysql_fetch_row($result)){ echo("$id | $voornaam $achternaam | $kamer | $toestel<br>\n"); }?> </body> </html>[/code:1:d1b790525a] [code:1:d1b790525a] PHP Version 3.0.12 by Rasmus Lerdorf, Andi Gutmans, Zeev Suraski, Stig Bakken, Shane Caraveo, Jim Winstead, and countless others. -------------------------------------------------------------------------------- System: Linux porky.devel.redhat.com 2.2.5-22smp #1 SMP Wed Jun 2 09:11:51 EDT 1999 i686 unknown Build Date: Sep 26 1999 -------------------------------------------------------------------------------- Extensions Extensions Additional Information PHP core CFLAGS= HSREGEX= Basic Functions No additional information. PHP_DL Dynamic Library support enabled. PHP_dir No additional information. PHP_filestat No additional information. PHP_file No additional information. PHP_head No additional information. Sendmail Path to sendmail: /usr/lib/sendmail -t Debugger No additional information. Syslog No additional information. Socket functions No additional information. Regular Expressions System regex library enabled gd Version 1.3 with FreeType support Apache APACHE_INCLUDE= APACHE_TARGET= Apache Version: Apache/1.3.9 Apache Release: 10309100 Apache API Version: 19990320 Hostname/port: srv009.ladot.com:80 User/Group: nobody(99)/99 Max Requests: per child: 5 keep alive: on max per connection: 100 Timeouts: connection: 300 keep-alive: 10 Server Root: /etc/httpd Loaded modules: mod_php3, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_proxy, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, http_core Crypt No additional information. DBM This is GDBM version 1.8.0, as of May 19, 1999. bcmath No additional information. browscap No additional information. PHP_pack No additional information. zlib Zlib support active (compiled with 1.1.3, linked with 1.1.3). PCRE Perl Compatible Regular ExpressionsPCRE library version: 2.05 21-Apr-1999 Posix $ Revision: $ -------------------------------------------------------------------------------- Configuration php3.ini file path is set to: /etc/httpd Directive Master Value Local Value arg_separator & & asp_tags 0 0 auto_prepend_file auto_append_file browscap none none cgi_ext none none debugger.host none none debugger.port 0 0 define_syslog_variables 0 0 display_errors 1 1 doc_root enable_dl 1 1 engine 1 1 error_log none none error_append_string none none error_prepend_string none none error_reporting 7 7 extension_dir /usr/lib/apache/ /usr/lib/apache/ gpc_order GPC GPC ignore_user_abort 0 0 include_path isapi_ext none none last_modified 0 0 log_errors 0 0 max execution time 30 30 magic_quotes_gpc 1 1 magic_quotes_runtime 0 0 magic_quotes_sybase 0 0 memory limit 8388608 8388608 nsapi_ext none none open_basedir none none precision 14 14 safe_mode 1 1 safe_mode_exec_dir /blaat /blaat sendmail_from me@localhost.com me@localhost.com sendmail_path /usr/lib/sendmail -t /usr/lib/sendmail -t short_open_tag 1 1 smtp localhost localhost sql_safe_mode 0 0 track_errors 0 0 track_vars 1 1 upload_max_filesize 2097152 2097152 upload_tmp_dir none none user_dir warn_plus_overloading 0 0 xbithack 0 0 browscap none none y2k_compliance 0 0 highlight_comment #FF8000 #FF8000 highlight_default #0000BB #0000BB highlight_html #000000 #000000 highlight_string #DD0000 #DD0000 highlight_bg #FFFFFF #FFFFFF highlight_keyword #007700 #007700 -------------------------------------------------------------------------------- Environment Variable Value USERNAME root ENV /root/.bashrc HISTSIZE 1000 HOSTNAME srv009 LOGNAME root HISTFILESIZE 1000 SSH_TTY /dev/pts/0 MAIL /var/spool/mail/root TERM vt100 HOSTTYPE i386 PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin HOME /root INPUTRC /etc/inputrc SHELL /bin/bash USER root LC_ALL en_US LANG en_US SSH_CLIENT 217.22.64.130 3012 22 OSTYPE Linux LINGUAS en_US SHLVL 2 _ /bin/nice -------------------------------------------------------------------------------- PHP Variables Variable Value PHP_SELF /zooi/index1.php -------------------------------------------------------------------------------- Apache Environment Variable Value DOCUMENT_ROOT /var/httpd/html/404 HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE nl HTTP_CONNECTION Keep-Alive HTTP_HOST www.xxx.nl HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin REMOTE_ADDR 217.121.255.82 REMOTE_PORT 1484 SCRIPT_FILENAME /ext/f/fi/xxx.nl/html/zooi/index1.php SCRIPT_URI http://www.xxx.nl/zooi/index1.php SCRIPT_URL /zooi/index1.php SERVER_ADDR 217.22.66.19 SERVER_ADMIN webadmin@ladot.com SERVER_NAME www.xxx.nl SERVER_PORT 80 SERVER_SIGNATURE SERVER_SOFTWARE Apache/1.3.9 (Unix) (Red Hat/Linux) PHP/3.0.12 UNIQUE_ID PlunqNkWQhMAAAdQeMY GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING REQUEST_URI /zooi/index1.php SCRIPT_NAME /zooi/index1.php -------------------------------------------------------------------------------- HTTP Headers Information HTTP Request Headers HTTP Request GET /zooi/index1.php HTTP/1.1 Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Encoding gzip, deflate Accept-Language nl Connection Keep-Alive Host www.xxx.nl User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) HTTP Response Headers Keep-Alive timeout=10, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html -------------------------------------------------------------------------------- PHP License This program is free software; you can redistribute it and/or modify it under the terms of: A) the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. B) the PHP License as published by the PHP Development Team and included in the distribution in the file: LICENSE This 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. See the GNU General Public License for more details. You should have received a copy of both licenses referred to here. If you did not, or have any questions about PHP licensing, please contact core@php.net. [/code:1:d1b790525a]
Link naar reactie

Om een reactie te plaatsen, moet je eerst inloggen

Gast
Reageer op dit topic

×   Geplakt als verrijkte tekst.   Herstel opmaak

  Er zijn maximaal 75 emoji toegestaan.

×   Je link werd automatisch ingevoegd.   Tonen als normale link

×   Je vorige inhoud werd hersteld.   Leeg de tekstverwerker

×   Je kunt afbeeldingen niet direct plakken. Upload of voeg afbeeldingen vanaf een URL in

×
×
  • Nieuwe aanmaken...