[PHP] php4 as a module AND a cgi

2001-02-25 Thread colin olkowski
hi all, my question is this, how would one install PHP4 as a module and as a cgi? somewhere in the install notes for php4 (redhat) the docs clearly say do not install both, yet my old hosting company was able to do it. btw, i just moved from the world of virtual hosting on a FreeBSD box to my o

Re: [PHP-CVS] cvs: php4 /ext/midgard midgard.c

2001-02-25 Thread Andi Gutmans
Are you sure you shouldn't be using zval_ptr_dtor(args[0]) as opposed to zval_dtor(). I see you guys doing this a lot and usually you'd want to use zval_ptr_dtor(). It reduces reference count and only if the zval really needs freeing does it run zval_dtor() and efree(). In any case, you guys s

[PHP-CVS] cvs: php4 / dynlib.m4 run-tests.php /ext/aspell aspell.c php_aspell.h /ext/bcmath bcmath.c php_bcmath.h /ext/bz2 bz2.c php_bz2.h /ext/calendar cal_unix.c calendar.c easter.c /ext/ccvs ccvs.c ccvs.h /ext/com COM.c typedef_VARIANT.c /ext/ctype ctype.c php_ctype.h /ext/curl curl.c php_curl.h /ext/db db.c php_db.h /ext/dbase dbase.c php_dbase.h /ext/domxml php_domxml.c php_domxml.h /ext/dotnet dotnet.cpp /ext/exif exif.c php_exif.h /ext/fdf fdf.c php_fdf.h /ext/filepro filepro.c php_filepro.h /ext/fribidi fribidi.c php_fribidi.h /ext/gd gd.c gdt1.c gdt1.h php_gd.h /ext/gettext gettext.c php_gettext.h /ext/gmp gmp.c php_gmp.h /ext/hyperwave hg_comm.c hg_comm.h hw.c hw_error.h php_hyperwave.h /ext/iconv iconv.c php_iconv.h /ext/iisfunc iisfunc.cpp iisfunc.h setup.c setup.h /ext/imap php_imap.c /ext/informix ifx.ec /ext/ingres_ii ii.c ii.h php_ii.h /ext/interbase interbase.c php_interbase.h /ext/ircg ircg.c ircg_scanner.c ircg_scanner.re php_ircg.h /ext/java java.c reflect.java /ext/ldap ldap.c php_ldap.h /ext/mcal php_mcal.c /ext/mcrypt mcrypt.c /ext/mhash mhash.c /ext/ming ming.c php_ming.h /ext/msql php_msql.c php_msql.h /ext/mssql php_mssql.c php_mssql.h /ext/mysql php_mysql.c php_mysql.h /ext/notes php_notes.c php_notes.h /ext/oci8 oci8.c php_oci8.h /ext/odbc php_odbc.c php_odbc.h php_velocis.h velocis.c /ext/openssl openssl.c php_openssl.h /ext/oracle oracle.c /ext/ovrimos ovrimos.c /ext/pcre php_pcre.c php_pcre.h /ext/pdf pdf.c php_pdf.h /ext/pfpro pfpro.c php_pfpro.h /ext/pgsql pgsql.c php_pgsql.h /ext/printer php_printer.h printer.c /ext/pspell php_pspell.h pspell.c /ext/qtdom qtdom.c qtdom.h /ext/readline php_readline.h readline.c /ext/recode php_recode.h /ext/sablot php_sablot.h sablot.c /ext/satellite Makefile.in class.c class.h common.c common.h corba.c corba.h enum.c enum.h findtype.c findtype.h hashtable.c hashtable.h namedvalue_to_zval.c namedvalue_to_zval.h object.c object.h php_orbit.c php_orbit.h struct.c struct.h typecode.c typecode.h typemanager.c typemanager.h zval_to_namedvalue.c zval_to_namedvalue.h /ext/session mod_files.c mod_mm.c mod_user.c mod_user.h session.c /ext/shmop php_shmop.h shmop.c /ext/snmp php_snmp.h snmp.c /ext/sockets php_sockets.h sockets.c /ext/standard array.c assert.c base64.c base64.h basic_functions.c basic_functions.h browscap.c crc32.c credits.c credits.h crypt.c cyr_convert.c cyr_convert.h datetime.c datetime.h dir.c dl.c dl.h dns.c dns.h exec.c exec.h file.c file.h filestat.c flock_compat.c flock_compat.h formatted_print.c fsock.c fsock.h ftp_fopen_wrapper.c head.c head.h html.c html.h http_fopen_wrapper.c image.c incomplete_class.c info.c info.h iptc.c lcg.c levenshtein.c link.c mail.c math.c md5.c md5.h metaphone.c microtime.c microtime.h output.c pack.c pack.h pageinfo.c pageinfo.h php_array.h php_assert.h php_browscap.h php_crypt.h php_dir.h php_ext_syslog.h php_filestat.h php_fopen_wrapper.c php_fopen_wrappers.h php_image.h php_incomplete_class.h php_iptc.h php_lcg.h php_link.h php_mail.h php_math.h php_metaphone.h php_output.h php_parsedate.h php_rand.h php_smart_str.h php_smart_str_public.h php_standard.h php_string.h php_var.h quot_print.c quot_print.h rand.c reg.c reg.h scanf.c scanf.h soundex.c string.c syslog.c type.c type.h uniqid.c uniqid.h url.c url.h url_scanner.c url_scanner.h url_scanner_ex.c url_scanner_ex.h url_scanner_ex.re var.c /ext/swf php_swf.h swf.c /ext/sybase php_sybase_db.c php_sybase_db.h /ext/sybase_ct php_sybase_ct.c php_sybase_ct.h /ext/sysvsem php_sysvsem.h sysvsem.c /ext/sysvshm php_sysvshm.h sysvshm.c /ext/vpopmail php_vpopmail.h /ext/wddx php_wddx_api.h /ext/xml php_xml.h xml.c /ext/yaz php_yaz.c php_yaz.h /ext/yp php_yp.h yp.c /ext/zlib php_zlib.h zlib.c zlib_fopen_wrapper.c /ext/zziplib php_zziplib.h zziplib.c /main SAPI.c SAPI.h build-defs.h.in fopen_wrappers.c fopen_wrappers.h internal_functions.c.in internal_functions_registry.h internal_functions_win32.c main.c network.c php.h php_content_types.c php_globals.h php_ini.c php_ini.h php_logos.c php_main.h php_network.h php_open_temporary_file.c php_open_temporary_file.h php_reentrancy.h php_sprintf.c php_ticks.c php_ticks.h php_variables.c php_variables.h reentrancy.c rfc1867.c safe_mode.c snprintf.h /sapi/aolserver aolserver.c /sapi/apache mod_php4.c mod_php4.h php_apache.c sapi_apache.c /sapi/apache2filter apache_config.c php_apache.h php_functions.c sapi_apache2.c /sapi/caudium caudium.c /sapi/cgi cgi_main.c /sapi/fhttpd fhttpd.c /sapi/isapi php4isapi.c /sapi/nsapi nsapi.c /sapi/phttpd php_phttpd.h phttpd.c /sapi/pi3web pi3web_sapi.c /sapi/roxen roxen.c /sapi/servlet formatter.java servlet.c servlet.java /sapi/thttpd php_thttpd.h thttpd.c /scripts conv_z_macros

2001-02-25 Thread Andi Gutmans
andiSun Feb 25 22:07:42 2001 EDT Modified files: /php4 dynlib.m4 run-tests.php /php4/ext/aspellaspell.c php_aspell.h /php4/ext/bcmathbcmath.c php_bcmath.h /php4/ext/bz2 bz2.c php_bz2.h /php4/ext/calendar cal_unix.c calendar.

[PHP] Escape %

2001-02-25 Thread Website4S
Hi, Anyone know the best method to escape the % sign in PHP? I`ve checked the manual and devshed and didn`t come across much, is there a command like addslashes() or would I have to use something like this... $Field="A%D%E"; $Field1=str_replace("%","percent",$Field); Thanks for any input Ade

Re: [PHP] Escape %

2001-02-25 Thread John LYC
there is addslashes(); http://www.php.net/manual/en/function.addslashes.php john [EMAIL PROTECTED] wrote: > Hi, > > Anyone know the best method to escape the % sign in PHP? > > I`ve checked the manual and devshed and didn`t come across much, is there a > command like addslashes() or would I h

Re: [PHP] Escape %

2001-02-25 Thread Website4S
In a message dated 26/02/2001 07:17:57 GMT Standard Time, [EMAIL PROTECTED] writes: << there is addslashes(); http://www.php.net/manual/en/function.addslashes.php john >> addslashes() doesn`t work on the % sign though Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

<    1   2