[phorm] Help

  • From: José Antonio Viadas O. <raton_viadas@xxxxxxxxxxx>
  • To: <phorm@xxxxxxxxxxxxx>
  • Date: Thu, 18 Apr 2002 02:01:34 +0200

Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi.. i need help .. i dont know what happen, i see the forum in =
phorm.com and i dont find any solution ..=20
i know about the log file bug... .ok ok ..=20

but if i declare a log file and that log file is set in the templates =
folder..=20

it appear to me the alert 80 ... can you help me '??
im using php 4.0.6

my form is decalred lijke this.

<form name=3D"eventosvao" action=3D"registro.php3" method=3D"post">
<INPUT TYPE=3DHIDDEN NAME=3D"PHORM_CONFIG" VALUE=3D"chicharo.php3">
....
.
....
<input class=3Dbginput maxlength=3D50 size=3D25 name=3DPHORM_FROM>

etc...


this is my phpinfo.

PHP Version 4.0.6

      System Linux dhrystone8.ensim.com 2.4.2-2smp #1 SMP Sun Apr 8 =
20:21:34 EDT 2001 i686 unknown=20
      Build Date Mar  5 2002=20
      Configure Command  './configure' '--prefix=3D/usr' =
'--with-config-file-path=3D/etc' '--disable-debug' '--enable-pic' =
'--enable-inline-optimization' '--with-apxs=3D/usr/sbin/apxs' =
'--with-exec-dir=3D/usr/bin' '--with-regex=3Dsystem' =
'--with-gettext=3Dshared' '--with-gd' '--with-flex' =
'--with-jpeg-dir=3D/usr' '--with-png' '--with-ttf' '--with-zlib' =
'--with-db3' '--with-gdbm' '--with-pear' '--with-openssl' =
'--with-layout=3DGNU' '--enable-debugger' '--enable-magic-quotes' =
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem=3Dshared' =
'--enable-sysvshm=3Dshared' '--enable-track-vars' '--enable-yp' =
'--enable-ftp' '--enable-wddx' '--without-mysql' '--without-unixODBC' =
'--without-oracle' '--without-oci8'=20
      Server API Apache=20
      Virtual Directory Support disabled=20
      Configuration File (php.ini) Path /etc/php.ini=20
      ZEND_DEBUG disabled=20
      Thread Safety disabled=20

       This program makes use of the Zend scripting language engine:
      Zend Engine v1.0.6, Copyright (c) 1998-2001 Zend Technologies

    =20


-------------------------------------------------------------------------=
-------

PHP 4.0 Credits

-------------------------------------------------------------------------=
-------

Configuration
PHP Core=20
      Directive Local Value Master Value=20
      allow_call_time_pass_reference
     On On=20
      allow_url_fopen
     1 1=20
      arg_separator.input
     & &=20
      arg_separator.output
     & &=20
      asp_tags
     Off Off=20
      auto_append_file
     no value no value=20
      auto_prepend_file
     no value no value=20
      browscap
     no value no value=20
      default_charset
     no value no value=20
      default_mimetype
     text/html text/html=20
      define_syslog_variables
     Off Off=20
      disable_functions
     no value no value=20
      display_errors
     On On=20
      display_startup_errors
     Off Off=20
      doc_root
     no value no value=20
      enable_dl
     On On=20
      error_append_string
     no value no value=20
      error_log
     no value no value=20
      error_prepend_string
     no value no value=20
      error_reporting
     2039 2039=20
      expose_php
     On On=20
      extension_dir
     /usr/lib/php4 /usr/lib/php4=20
      file_uploads
     1 1=20
      gpc_order
     GPC GPC=20
      highlight.bg
     #FFFFFF #FFFFFF=20
      highlight.comment
     #FF9900 #FF9900=20
      highlight.default
     #0000CC #0000CC=20
      highlight.html
     #000000 #000000=20
      highlight.keyword
     #006600 #006600=20
      highlight.string
     #CC0000 #CC0000=20
      html_errors
     On On=20
      ignore_user_abort
     Off Off=20
      implicit_flush
     Off Off=20
      include_path
     .:/php/includes:/usr/share/php .:/php/includes:/usr/share/php=20
      log_errors
     Off Off=20
      magic_quotes_gpc
     On On=20
      magic_quotes_runtime
     Off Off=20
      magic_quotes_sybase
     Off Off=20
      max_execution_time
     30 30=20
      open_basedir
     no value no value=20
      output_buffering
     Off Off=20
      output_handler
     no value no value=20
      post_max_size
     8M 8M=20
      precision
     14 14=20
      register_argc_argv
     On On=20
      register_globals
     On On=20
      safe_mode
     On Off=20
      safe_mode_exec_dir
     no value no value=20
      sendmail_from
     me@xxxxxxxxxxxxx me@xxxxxxxxxxxxx=20
      sendmail_path
     /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i =20
      short_open_tag
     On On=20
      SMTP
     localhost localhost=20
      sql.safe_mode
     Off Off=20
      track_errors
     Off Off=20
      upload_max_filesize
     2M 2M=20
      upload_tmp_dir
     no value no value=20
      user_dir
     no value no value=20
      variables_order
     EGPCS EGPCS=20
      y2k_compliance
     Off Off=20


yp
      YP Support enabled=20


xml
      XML Support active=20


wddx
      WDDX Support enabled=20


standard
      Regex Library System library enabled=20
      Dynamic Library Support enabled=20
      Path to sendmail /usr/sbin/sendmail -t -i =20

      Directive Local Value Master Value=20
      assert.active
     1 1=20
      assert.bail
     0 0=20
      assert.callback
     no value no value=20
      assert.quiet_eval
     0 0=20
      assert.warning
     1 1=20
      safe_mode_allowed_env_vars
     PHP_ PHP_=20
      safe_mode_protected_env_vars
     LD_LIBRARY_PATH LD_LIBRARY_PATH=20
      session.use_trans_sid
     1 1=20


sockets
      sockets support enabled=20


session
      Session Support enabled=20

      Directive Local Value Master Value=20
      session.auto_start
     Off Off=20
      session.cache_expire
     180 180=20
      session.cache_limiter
     nocache nocache=20
      session.cookie_domain
     no value no value=20
      session.cookie_lifetime
     0 0=20
      session.cookie_path
     / /=20
      session.cookie_secure
     Off Off=20
      session.entropy_file
     no value no value=20
      session.entropy_length
     0 0=20
      session.gc_maxlifetime
     1440 1440=20
      session.gc_probability
     1 1=20
      session.name
     PHPSESSID PHPSESSID=20
      session.referer_check
     no value no value=20
      session.save_handler
     files files=20
      session.save_path
     /tmp /tmp=20
      session.serialize_handler
     php php=20
      session.use_cookies
     On On=20


posix
      Revision $Revision: 1.28.2.1 $=20


pcre
      PCRE (Perl Compatible Regular Expressions) Support enabled=20
      PCRE Library Version 3.4 22-Aug-2000=20


openssl
      OpenSSL support enabled=20
      OpenSSL Version OpenSSL 0.9.6 24 Sep 2000=20


gd
      GD Support enabled=20
      GD Version 1.6.2 or higher=20
      FreeType Support enabled=20
      FreeType Linkage with TTF library=20
      JPG Support enabled=20
      PNG Support enabled=20
      WBMP Support enabled=20


ftp
      FTP support enabled=20


dba
      DBA support enabled=20
      Supported handlers gdbm db3 =20


zlib
      ZLib Support enabled=20
      'zlib:' fopen wrapper enabled=20
      Compiled Version 1.1.3=20
      Linked Version 1.1.3=20


gettext
      GNU GetText Support enabled=20


imap
      IMAP Support enabled=20
      IMAP c-Client Version 2000=20
      SSL Support enabled=20


mysql
      MySQL Support enabled=20
      Active Persistent Links 0=20
      Active Links 0=20
      Client API version 3.23.36=20
      MYSQL_MODULE_TYPE none=20
      MYSQL_SOCKET /var/lib/mysql/mysql.sock=20
      MYSQL_INCLUDE  =20
      MYSQL_LIBS  =20

      Directive Local Value Master Value=20
      mysql.allow_persistent
     Off Off=20
      mysql.default_host
     no value no value=20
      mysql.default_password
     no value no value=20
      mysql.default_port
     no value no value=20
      mysql.default_socket
     no value no value=20
      mysql.default_user
     no value no value=20
      mysql.max_links
     Unlimited Unlimited=20
      mysql.max_persistent
     Unlimited Unlimited=20


pgsql
      PostgreSQL Support enabled=20
      Active Persistent Links 0=20
      Active Links 0=20

      Directive Local Value Master Value=20
      pgsql.allow_persistent
     On On=20
      pgsql.max_links
     Unlimited Unlimited=20
      pgsql.max_persistent
     Unlimited Unlimited=20


ming
      Ming SWF output library the funk in your trunk=20
      Version 0.2a=20


apache
      APACHE_INCLUDE  =20
      APACHE_TARGET  =20
      Apache Version Apache/1.3.19=20
      Apache Release 10319100=20
      Apache API Version 19990320=20
      Hostname:Port www.neutech.com.mx:80=20
      User/Group apache(48)/48=20
      Max Requests Per Child: 0<br>Keep Alive: on<br>Max Per Connection: =
100=20
      Timeouts Connection: 300<br>Keep-Alive: 5=20
      Server Root /etc/httpd=20
      Loaded Modules mod_iasp, httpdmon, mod_perl, mod_php4, =
mod_frontpage, mod_ssl, mod_setenvif, mod_so, 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_negotiation, mod_mime, mod_log_referer, mod_log_agent, =
mod_log_config, mod_env, http_core=20


Apache Environment
      Variable Value=20
      DOCUMENT_ROOT /home/virtual/site624/fst/var/www/html=20
      HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, =
application/vnd.ms-excel, application/vnd.ms-powerpoint, =
application/msword, */*=20
      HTTP_ACCEPT_ENCODING gzip, deflate=20
      HTTP_ACCEPT_LANGUAGE es-mx=20
      HTTP_CONNECTION Keep-Alive=20
      HTTP_HOST www.neutech.com.mx=20
      HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) =

      PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin=20
      REMOTE_ADDR 200.39.231.162=20
      REMOTE_PORT 3416=20
      SCRIPT_FILENAME =
/home/virtual/site624/fst/var/www/html/prueba/phpinfo.php3=20
      SCRIPT_URI http://www.neutech.com.mx/prueba/phpinfo.php3=20
      SCRIPT_URL /prueba/phpinfo.php3=20
      SERVER_ADDR 66.186.6.245=20
      SERVER_ADMIN raton_viadas@xxxxxxxxxxx=20
      SERVER_NAME www.neutech.com.mx=20
      SERVER_PORT 80=20
      SERVER_SIGNATURE <ADDRESS>Apache/1.3.19 Server at =
www.neutech.com.mx Port 80</ADDRESS>
    =20
      SERVER_SOFTWARE Apache/1.3.19 (Unix)  (Red-Hat/Linux) =
mod_perl/1.24_01 PHP/4.0.6 FrontPage/5.0.2 mod_ssl/2.8.1 OpenSSL/0.9.6=20
      SITE_CGIROOT /home/virtual/site624/fst/var/www/cgi-bin=20
      SITE_HTMLROOT /home/virtual/site624/fst/var/www/html=20
      SITE_ROOT /home/virtual/site624/fst=20
      GATEWAY_INTERFACE CGI/1.1=20
      SERVER_PROTOCOL HTTP/1.1=20
      REQUEST_METHOD GET=20
      QUERY_STRING  =20
      REQUEST_URI /prueba/phpinfo.php3=20
      SCRIPT_NAME /prueba/phpinfo.php3=20


HTTP Headers Information
      HTTP Request Headers=20
      HTTP Request GET /prueba/phpinfo.php3 HTTP/1.1=20
      Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, =
application/vnd.ms-excel, application/vnd.ms-powerpoint, =
application/msword, */*=20
      Accept-Encoding gzip, deflate=20
      Accept-Language es-mx=20
      Connection Keep-Alive=20
      Host www.neutech.com.mx=20
      User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)=20
      HTTP Response Headers=20
      X-Powered-By PHP/4.0.6=20
      Keep-Alive timeout=3D5, max=3D100=20
      Connection Keep-Alive=20
      Transfer-Encoding chunked=20
      Content-Type text/html=20


Additional Modules
      sysvsem=20
      sysvshm=20


Environment
      Variable Value=20
      PWD /root=20
      HOSTNAME ss05.mediatemple.net=20
      MACHTYPE i386-redhat-linux-gnu=20
      LANG en_US=20
      LOGNAME root=20
      SHLVL 2=20
      SHELL /bin/sh=20
      HOSTTYPE i386=20
      OSTYPE linux-gnu=20
      HOME /root=20
      TERM dumb=20
      PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin=20
      _ /usr/sbin/httpd=20


PHP Variables
      Variable Value=20
      PHP_SELF /prueba/phpinfo.php3=20
      HTTP_SERVER_VARS["DOCUMENT_ROOT"] =
/home/virtual/site624/fst/var/www/html =20
      HTTP_SERVER_VARS["HTTP_ACCEPT"] image/gif, image/x-xbitmap, =
image/jpeg, image/pjpeg, application/vnd.ms-excel, =
application/vnd.ms-powerpoint, application/msword, */* =20
      HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] gzip, deflate =20
      HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] es-mx =20
      HTTP_SERVER_VARS["HTTP_CONNECTION"] Keep-Alive =20
      HTTP_SERVER_VARS["HTTP_HOST"] www.neutech.com.mx =20
      HTTP_SERVER_VARS["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE =
6.0; Windows NT 5.0) =20
      HTTP_SERVER_VARS["PATH"] =
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin =20
      HTTP_SERVER_VARS["REMOTE_ADDR"] 200.39.231.162 =20
      HTTP_SERVER_VARS["REMOTE_PORT"] 3416 =20
      HTTP_SERVER_VARS["SCRIPT_FILENAME"] =
/home/virtual/site624/fst/var/www/html/prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["SCRIPT_URI"] =
http://www.neutech.com.mx/prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["SCRIPT_URL"] /prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["SERVER_ADDR"] 66.186.6.245 =20
      HTTP_SERVER_VARS["SERVER_ADMIN"] raton_viadas@xxxxxxxxxxx =20
      HTTP_SERVER_VARS["SERVER_NAME"] www.neutech.com.mx =20
      HTTP_SERVER_VARS["SERVER_PORT"] 80 =20
      HTTP_SERVER_VARS["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.19 Server =
at www.neutech.com.mx Port 80</ADDRESS>
       =20
      HTTP_SERVER_VARS["SERVER_SOFTWARE"] Apache/1.3.19 (Unix)  =
(Red-Hat/Linux) mod_perl/1.24_01 PHP/4.0.6 FrontPage/5.0.2 mod_ssl/2.8.1 =
OpenSSL/0.9.6 =20
      HTTP_SERVER_VARS["SITE_CGIROOT"] =
/home/virtual/site624/fst/var/www/cgi-bin =20
      HTTP_SERVER_VARS["SITE_HTMLROOT"] =
/home/virtual/site624/fst/var/www/html =20
      HTTP_SERVER_VARS["SITE_ROOT"] /home/virtual/site624/fst =20
      HTTP_SERVER_VARS["GATEWAY_INTERFACE"] CGI/1.1 =20
      HTTP_SERVER_VARS["SERVER_PROTOCOL"] HTTP/1.1 =20
      HTTP_SERVER_VARS["REQUEST_METHOD"] GET =20
      HTTP_SERVER_VARS["QUERY_STRING"]  =20
      HTTP_SERVER_VARS["REQUEST_URI"] /prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["SCRIPT_NAME"] /prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["PATH_TRANSLATED"] =
/home/virtual/site624/fst/var/www/html/prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["PHP_SELF"] /prueba/phpinfo.php3 =20
      HTTP_SERVER_VARS["argv"] Array
(
)

       =20
      HTTP_SERVER_VARS["argc"] 0 =20
      HTTP_ENV_VARS["PWD"] /root =20
      HTTP_ENV_VARS["HOSTNAME"] ss05.mediatemple.net =20
      HTTP_ENV_VARS["MACHTYPE"] i386-redhat-linux-gnu =20
      HTTP_ENV_VARS["LANG"] en_US =20
      HTTP_ENV_VARS["LOGNAME"] root =20
      HTTP_ENV_VARS["SHLVL"] 2 =20
      HTTP_ENV_VARS["SHELL"] /bin/sh =20
      HTTP_ENV_VARS["HOSTTYPE"] i386 =20
      HTTP_ENV_VARS["OSTYPE"] linux-gnu =20
      HTTP_ENV_VARS["HOME"] /root =20
      HTTP_ENV_VARS["TERM"] dumb =20
      HTTP_ENV_VARS["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin =
=20
      HTTP_ENV_VARS["_"] /usr/sbin/httpd =20


well my config file is.

$PHORM_BASE    =3D "jos";
$PHORM_FROM    =3D ph_DECLARE;
$PHORM_ACK     =3D "gracias.htm";
$PHORM_ERRPAGE =3D "errpage.htm";
$PHORM_TO      =3D "chicharo@xxxxxxxxxxxxxx";
$PHORM_TMPL    =3D "tmpl.txt";
$PHORM_SUBJECT =3D "Contactanos";
$PHORM_HEADERS =3D "X-Dont-Read-This: I Warned You!!!\n";
$PHORM_LOG     =3D "plog.txt";
$PHORM_LOGVAR  =3D "correo PHORM_FROM";
$PHORM_RESPOND =3D "resp.txt";
$PHORM_RESFROM =3D "Contacto Vao <chicharo@xxxxxxxxxxxxxx>";
$PHORM_RESUBJ  =3D "Contactanos";
$PHORM_RESRPLY =3D "chicharo@xxxxxxxxxxxxxx";
$PHORM_RESHDRS =3D "X-Mailer: Contactanos responder =
v1.0\nX-Dont-Read-This: I Warned You!!!\n";
$PHORM_MYDBV   =3D "setdbv.php3";
$PHORM_MYTABLE =3D "contactovao";
$PHORM_MYVARS  =3D "Nombre=3DNombre, Apellidos=3DApellidos, =
Empresa=3DEmpresa, Telefono=3DTelefono, Email=3DPHORM_FROM";

and then .. i have in the folder jos another folder called templates and =
inside that.
- gracias.htm
- errpage.htm
- resp.txt
- tmpl.txt
- setdbv.php3
- and plog.txt

and a put all the debug modes, and when i run the script it appear this.

NS: Registry Load
NS: Library Load...done
JS: Setup 1
REGEX: \{\{([^}]*)\}\}
NS: PHORM_CONFIG (./chicharo.php3)
NS: Open Log File .
Alerts:
080 - Unable to open the text log file .

and i receive a mail with.
Internal Alerts:
080 - Unable to open the text log file .

Phorm Variables:
PHORM_REGEX: 0
PHORM_CONFIG: chicharo.php3
PHORM_ALERTTO: chicharo@xxxxxxxxxxxxxx
PHORM_URL: contactanos.htm
PHORM_NAME:=20
PHORM_LOG: Array
PHORM_LOGVAR: Array
PHORM_LDELIM:=20
PHORM_LOGQUOT: '

HTTP_REFERER: http://www.neutech.com.mx/prueba/contactanos.htm
REMOTE_ADDR: 200.39.231.162




thanks.... please help me.. thanks





-- Binary/unsupported file stripped by Ecartis --
-- Type: application/octet-stream
-- File: phpinfo.php3?=PHPE9568F35-D428-11d2-A769-00AA001ACF42


-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: