[PHP-DOC] bug in configure with cygwin found
Hi, I isolated the problem, and fixed it. Notice that it wasn't detecting PHP in the output below. Line 1320 of configure was the problem: if test yes = `echo '?php echo phpversion()3?yes:no; ?' | $PHP -q`; then Apprently, cygwin doesn't support piping fully, as this generates no output at all when I run it independently: $echo '?php echo phpversion()3?yes:no; ?' | php -q [EMAIL PROTECTED] ~/peardoc $ However, if I save the contents into a small file testphpver.php, and change line 1320 to: if test yes = `$PHP -q testphpver.php`; then it works as expected and successfully configures. Regards, Greg Greg Beaver wrote: Hello, Thanks. Here is the complete output. It turns out that the .infig.status is the result of .in overwriting the current line. I discovered this through a ./configure out 2 out2. Here is the full output: $./configure checking for php... /cygdrive/c/PHP4.3.2/php checking php version... ./configure: line 1320: test: yes: unary operator expected PHP 4.3.2 (cli) (built: May 28 2003 15:10:38) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies configure: WARNING: PHP version 4.0.0 or newer needed checking for docbook.dsl... autodetected: ../phpdoc-tools/dsssl checking for docbook.xsl... checking for PHP source path... ../php4 checking for language... en (default) checking for openjade... no checking for jade... no checking for jade in phpdoc-tools... yes checking for onsgmls... /usr/local/bin/onsgmls configure: creating ./config.status config.status: creating \ config.status: error: cannot find input file: \ .in I appreciate any pointers on mistakes I am making here. Regards, Greg Moshe Doron wrote: please send the whole output Greg Beaver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm trying to build peardoc/ in cygwin. I've got ./configure to work, but I'm getting a strange bug in config.status config.status: creating \ .infig.status: error: cannot find input file: \ a quick text search of config.status reveals no presence of infig Where do I start to debug this one? Regards, Greg -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #24749 [Opn]: Installation problem with workaround
ID: 24749 User updated by: michael at insitesinc dot com Reported By: michael at insitesinc dot com Status: Open -Bug Type: Unknown/Other Function +Bug Type: Documentation problem Operating System: winXP Pro PHP Version: 5.0.0b1 (beta1) New Comment: this isnt a copy to system32 and problems over situation because many of us like to run multiple installations of php and have to compartmentalize the installations ensuring that no dll's are improperly used by a wrong version. Previous Comments: [2003-07-22 02:06:30] michael at insitesinc dot com Description: Ok this gets pretty close to the dont submit this bug issue above but is not related to the name change of the php module. When you attempt to install and configure php5.0b1+ (maybe others below) to run as module of apache 2.0.47 you now must copy the file iconv.dll into either the sapi directory (in addition to php4ts.dll as well) or into another acceptable location (mentioned in regards to the thread safe dll in install.txt). Im fairly certain that this isnt an intended requirement but not sure if it my problem (although i have heard many others complain as well). If you fail to copy this dll to one of the three directories apache will produce an error on start up which says Cannot load C:/pathto/php5/sapi/php4apache2.dll -- Edit this bug report at http://bugs.php.net/?id=24749edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/chapters install.apache.xml install.apache2.xml
philip Tue Jul 22 05:38:26 2003 EDT Modified files: /phpdoc/en/chapters install.apache.xml install.apache2.xml Log: Expanded the installation docs, and added PHP 5 install instructions. Index: phpdoc/en/chapters/install.apache.xml diff -u phpdoc/en/chapters/install.apache.xml:1.19 phpdoc/en/chapters/install.apache.xml:1.20 --- phpdoc/en/chapters/install.apache.xml:1.19 Mon Jul 21 08:51:37 2003 +++ phpdoc/en/chapters/install.apache.xml Tue Jul 22 05:38:26 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.19 $ -- +!-- $Revision: 1.20 $ -- sect1 id=install.apache titleServers-Apache/title para @@ -22,7 +22,7 @@ example id=install.apache.unix.longer title - Installation Instructions (Apache Shared Module Version) for PHP 4 + Installation Instructions (Apache Shared Module Version) for PHP /title screen ![CDATA[ @@ -35,38 +35,74 @@ 7. make 8. make install 9. cd ../php-xxx -10. ./configure --with-mysql --with-apxs=/www/bin/apxs + +10. Now, configure your PHP. This is where you customize your PHP +with various options, like which extensions will be enabled. Do a +./configure --help for a list of available options. In our example +we'll do a simple configure with Apache 1 and MySQL support. Your +path to apxs may differ from our example. + + ./configure --with-mysql --with-apxs=/www/bin/apxs + 11. make 12. make install - If you decide to change your configure options after installation - you only need to repeat the last three steps. You only need to - restart apache for the new module to take effect. A recompile of - Apache is not needed. - -13. cp php.ini-dist /usr/local/lib/php.ini - - You can edit your .ini file to set PHP options. If - you prefer this file in another location, use - --with-config-file-path=/path in step 10. - -14. Edit your httpd.conf or srm.conf file and check that these lines are -present and not commented out: +If you decide to change your configure options after installation, +you only need to repeat the last three steps. You only need to +restart apache for the new module to take effect. A recompile of +Apache is not needed. - AddType application/x-httpd-php .php +Note that unless told otherwise, 'make install' will also install PEAR, +various PHP tools such as phpize, install the PHP CLI, and more. + +13. Setup your php.ini file: + + cp php.ini-dist /usr/local/lib/php.ini + +You may edit your .ini file to set PHP options. If you prefer your +php.ini in another location, use --with-config-file-path=/some/path in +step 10. + +If you instead choose php.ini-recommended, be certain to read the list +of changes within, as they affect how PHP behaves. + +14. Edit your httpd.conf to load the PHP module. The path on the right hand +side of the LoadModule statement must point to the path of the PHP +module on your system. The make install from above may have already +added this for you, but be sure to check. + +For PHP 4: + + LoadModule php4_module libexec/libphp4.so + +For PHP 5: + + LoadModule php5_module libexec/libphp5.so + +15. And in the AddModule section of httpd.conf, somewhere under the +ClearModuleList, add this: + +For PHP 4: + + AddModule mod_php4.c + +For PHP 5: + + AddModule mod_php5.c - LoadModule php4_modulelibexec/libphp4.so - - You can choose any extension you wish here. .php is simply the one - we suggest. You can even include .html, and .php3 can be added for - backwards compatibility. - - The path on the right hand side of the LoadModule statement must point - to the path of the PHP module on your system. The above statement is - correct for the steps shown above. +16. Tell Apache to parse certain extensions as PHP. For example, +let's have Apache parse the .php extension as PHP. You could +have any extension(s) parse as PHP by simply adding more, with +each separated by a space. We'll add .phtml to demonstrate. + AddType application/x-httpd-php .php .phtml -15. Use your normal procedure for starting the Apache server. (You must +It's also common to setup the .phps extension to show highlighted PHP +source, this can be done with: + + AddType application/x-httpd-php-source .phps + +17. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) ]] @@ -79,8 +115,11 @@ lines used in restarting the server, for different apache/unix installations. You should replace literal/path/to//literal with the path to these applications on your systems. - informalexample - screen + /para + para + example + titleExample
Re: [PHP-DOC] bug in configure with cygwin found
I isolated the problem, and fixed it. Notice that it wasn't detecting PHP in the output below. Line 1320 of configure was the problem: if test yes = `echo '?php echo phpversion()3?yes:no; ?' | $PHP -q`; then Apprently, cygwin doesn't support piping fully, as this generates no output at all when I run it independently: $echo '?php echo phpversion()3?yes:no; ?' | php -q [EMAIL PROTECTED] ~/peardoc $ However, if I save the contents into a small file testphpver.php, and change line 1320 to: if test yes = `$PHP -q testphpver.php`; then it works as expected and successfully configures. This is what we have already done a very long time ago. You are using a *very* old phpdoc checkout. The current configure script first prints debug information, version numbers, environment values and then starts its work. If you update the phpdoc checkout, everything will work well. Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] File sizes in revcheck.php
Feel free to add this to the script. Goba Jan Fabry rta: Hello, We all know size doesn't matter, but to have a better overview of the status of a translation, I've modified scripts/revcheck.php to include file sizes in the File summary by type. This patch also adds links to the Untranslated files, so you can see the English version of those files in the CVS. I hope this patch is useful to someone, Greetings, Jan Fabry --- revcheck.php 2003-07-12 12:54:08.0 +0200 +++ revcheck.size.php 2003-07-13 02:47:27.0 +0200 @@ -173,6 +173,7 @@ { // The information is contained in these global arrays and vars global $DOCDIR, $LANG, $MAINT, $files_by_mark, $files_by_maint; +global $file_sizes_by_mark; global $missing_files, $missing_tags, $using_rev; // Transform english file name to translated file name @@ -182,7 +183,9 @@ if ([EMAIL PROTECTED]($trans_file)) { $files_by_mark[REV_NOTRANS]++; $trans_name = substr($trans_file, strlen($DOCDIR) + strlen($LANG) + 1); -$missing_files[$trans_name] = array( round(filesize($file)/1024, 1) ); +$size = round(filesize($file)/1024, 1); +$missing_files[$trans_name] = array( $size ); +$file_sizes_by_mark[REV_NOTRANS] += $size; // compute en-tags just if they're needed in the WIP-Table if($using_rev) { $missing_files[$trans_name][] = 1..get_tags($file); @@ -220,6 +223,7 @@ // file in the missing tags list if (count($trans_tag) == 0) { $files_by_mark[REV_NOTAG]++; +$file_sizes_by_mark[REV_NOTAG] += $en_size; $missing_tags[] = array(substr($trans_file, strlen($DOCDIR)), $en_size, $trans_size, $size_diff); return FALSE; } @@ -247,6 +251,7 @@ // Store file by status and maintainer $files_by_mark[REV_UPTODATE]++; $files_by_maint[$this_maint][REV_UPTODATE]++; +$file_sizes_by_mark[REV_UPTODATE] += $en_size; return FALSE; } @@ -268,6 +273,7 @@ // Store files by status, and by maintainer too $files_by_mark[$status_mark]++; $files_by_maint[$this_maint][$status_mark]++; +$file_sizes_by_mark[$status_mark] += $en_size; return array( full_name = $file, @@ -679,10 +685,13 @@ thFile status type/th thNumber of files/th thPercent of files/th +thSize of files (kB)/th +thPercent of size/th /tr END_OF_MULTILINE; $files_sum = array_sum($files_by_mark); +$file_sizes_sum = array_sum($file_sizes_by_mark); $file_types = array( array (REV_UPTODATE, Up to date files), @@ -699,10 +708,13 @@ td.$type[1]./td. td class=c.intval($files_by_mark[$type[0]])./td. td class=c.number_format($files_by_mark[$type[0]] * 100 / $files_sum, 2 ). - %/td/tr\n; + %/td. + td class=c.intval($file_sizes_by_mark[$type[0]])./td. + td class=c.number_format($file_sizes_by_mark[$type[0]] * 100 / $file_sizes_sum, 2). + %/td/tr\n; } - print tr class=bluethFiles total/thth$files_sum/thth100%/th/tr\n. + print tr class=bluethFiles total/thth$files_sum/thth100%/thth$file_sizes_sum/thth100%/th/tr\n. /table\npnbsp;/p\n; } @@ -923,7 +935,7 @@ $prev_dir = $new_dir; } -print tr class=wiptd$short_file/td . +print tr class=wiptda href=\http://cvs.php.net/co.php/phpdoc/en/$file\;$short_file/a/td . td class=r$info[0]/td/tr\n; } print /table\npnbsp;/p\n$navbarpnbsp;/p\n; -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php
momoTue Jul 22 09:00:21 2003 EDT Modified files: /phpdoc/scripts/rtlpatchHtmlExtParser.class.php Log: more rtl tuning Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.9 phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.10 --- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.9 Thu Jul 10 05:23:30 2003 +++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Tue Jul 22 09:00:21 2003 @@ -16,7 +16,7 @@ | Authors:Moshe Doron [EMAIL PROTECTED] | +--+ - $Id: HtmlExtParser.class.php,v 1.9 2003/07/10 09:23:30 momo Exp $ + $Id: HtmlExtParser.class.php,v 1.10 2003/07/22 13:00:21 momo Exp $ */ class CHtmlExtParse extends CHtmlParse{ @@ -79,6 +79,23 @@ $tmp=0; do{ if($tmp = $this-get_element_id_by_rule(array(tag=tt,properties=array(class,option),offset=($tmp+1{ + $this-ATE[$tmp][dir] = ltr; + } + } while($tmp); + + + //fix filenames: + $tmp=0; + do{ + if($tmp = $this-get_element_id_by_rule(array(tag=tt,properties=array(class,filename),offset=($tmp+1{ + $this-ATE[$tmp][dir] = ltr; + } + } while($tmp); + + //fix varnames: + $tmp=0; + do{ + if($tmp = $this-get_element_id_by_rule(array(tag=tt,properties=array(class,varname),offset=($tmp+1{ $this-ATE[$tmp][dir] = ltr; } } while($tmp); -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] clearing the behaviour of unset()
Hi Konstantin and/or Ursula, please do notwrite your local announcements tothis PHPDOC list. It isn´t very interesting for agricultural students at the University of Hohenheim :). -Egon - Original Message - From: Konstantin Schukraft To: [EMAIL PROTECTED] Sent: Monday, July 21, 2003 8:49 PM Subject: Re: [PHP-DOC] clearing the behaviour of unset() Hallo liebe Studierende und Fachschaftsaktive, alle Halbjahre wieder .. Wir vom Büro für Internationale Angelegenheiten planen gerade wieder die Einführungsveranstaltung - genannt Orientation Seminar - für alle neuen internationalen Studierenden zum Wintersemester 2003. Der Termin wird der 8.-10. Oktober sein. Wie immer möchten wir den Studierenden auch eine Fachstudienberatung anbieten, wofür wir Eure Hilfe brauchen. Der Termin wäre am Freitag, dem 10. Oktober und zwar zwischen 11:00 und 13:00 Uhr im K2, Keplerstraße 17, 9. und 10. Stock. Es könnten aber auch Termine in Vaihingen vereinbart werden, wenn dies sinnvoll erscheint, weil man den 'Neuen' gleich das Institut/Einrichtungen etc. vor Ort zeigen möchte oder wenn es für Euch den Aufwand nicht rechtfertigt, da es sich nur um 1-2 Studierende handelt. Wir werden sicherlich wieder jemanden brauchen für Architektur, BWL, E- technik, Maschinenbau, Verfahrenstechnik. Genauere Zahlen werde ich halt erst kurz vorher haben, auch wie immer. Wer von Euch Interesse und Zeit hat, einer kleinen Gruppe von Studierenden aus aller Welt bei der Stundenplangestaltung und durch den Vorlesungsdschungel zu helfen, sollte sich diesen Termin schon mal vormerken und möglichst bald bei mir rückmelden (email). Nähere Infos zu den Studierenden und um was es bei dieser Fachstudienberatung genau gehen soll, bekommt ihr auch bei mir. Herzlichen Dank schon mal vorab und viele Grüße aus dem International Office --- Ursula Habel Advisor for International Scholarship Holders Office of International Affairs Universitaet Stuttgart Geschwister-Scholl-Str. 24 D-70174 Stuttgart Tel: +49 711 121-2793 Fax: +49 711 121-4104 http://www.uni-stuttgart.de/ia/ Office hours: Mon 1:30-4 pm, Tues 9-12 am, Wedn 1:30-5 pm Thurs 9-12 am, Frid closed -- PHP Documentation Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] File sizes in revcheck.php
On Tue, 2003-07-22 at 14:09, Gabor Hojtsy wrote: Feel free to add this to the script. I don't have a CVS account (yet), because I've joined the nl team only a few weeks ago, and I first want to work with a more experienced reviewer above me. And I try to stay inside the nl/ tree, so if one of the original authors of the script thinks it's a good addition, (s)he can add it. Greetings, Jan Fabry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions filetype.xml
davey Tue Jul 22 11:57:46 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions filetype.xml Log: added mime_content_type to see also Index: phpdoc/en/reference/filesystem/functions/filetype.xml diff -u phpdoc/en/reference/filesystem/functions/filetype.xml:1.7 phpdoc/en/reference/filesystem/functions/filetype.xml:1.8 --- phpdoc/en/reference/filesystem/functions/filetype.xml:1.7 Sat Feb 22 13:55:36 2003 +++ phpdoc/en/reference/filesystem/functions/filetype.xml Tue Jul 22 11:57:45 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -- refentry id=function.filetype refnamediv @@ -28,8 +28,8 @@ simpara See also: functionis_dir/function, functionis_file/function, - functionis_link/function, functionfile_exists/function, and - functionstat/function. + functionis_link/function, functionfile_exists/function, + functionstat/function, and functionmime_content_type/function. /simpara /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] bug in configure with cygwin found
Hi, I checked out *peardoc* yesterday afternoon. I will report this bug on the pear.doc list. Greg Gabor Hojtsy wrote: I isolated the problem, and fixed it. Notice that it wasn't detecting PHP in the output below. Line 1320 of configure was the problem: if test yes = `echo '?php echo phpversion()3?yes:no; ?' | $PHP -q`; then Apprently, cygwin doesn't support piping fully, as this generates no output at all when I run it independently: $echo '?php echo phpversion()3?yes:no; ?' | php -q [EMAIL PROTECTED] ~/peardoc $ However, if I save the contents into a small file testphpver.php, and change line 1320 to: if test yes = `$PHP -q testphpver.php`; then it works as expected and successfully configures. This is what we have already done a very long time ago. You are using a *very* old phpdoc checkout. The current configure script first prints debug information, version numbers, environment values and then starts its work. If you update the phpdoc checkout, everything will work well. Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] bug in configure with cygwin found
I checked out *peardoc* yesterday afternoon. I will report this bug on the pear.doc list. Ugh, I have not expected a peardoc question here at phpdoc. It would be better to ask there... Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc / Makefile.in
momoTue Jul 22 14:30:41 2003 EDT Modified files: /phpdoc Makefile.in Log: typo Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.137 phpdoc/Makefile.in:1.138 --- phpdoc/Makefile.in:1.137Tue Jul 22 01:09:21 2003 +++ phpdoc/Makefile.in Tue Jul 22 14:30:41 2003 @@ -13,7 +13,7 @@ # # -# $Id: Makefile.in,v 1.137 2003/07/22 05:09:21 momo Exp $ +# $Id: Makefile.in,v 1.138 2003/07/22 18:30:41 momo Exp $ # all: html @@ -191,7 +191,7 @@ @test -d php || mkdir php $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR) -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml - $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php he + $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php en $(PHP) -q $(scriptdir)/phpweb-entities.php `pwd` remove $(HACK_RTL_LANGS_PHPWEB) -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/image/functions exif-imagetype.xml getimagesize.xml
philip Tue Jul 22 15:06:01 2003 EDT Modified files: /phpdoc/en/reference/image/functionsgetimagesize.xml exif-imagetype.xml Log: Document XBM and WBMP support, as of PHP 4.3.2. (and fix some typos) Index: phpdoc/en/reference/image/functions/getimagesize.xml diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.15 phpdoc/en/reference/image/functions/getimagesize.xml:1.16 --- phpdoc/en/reference/image/functions/getimagesize.xml:1.15 Wed Jul 16 13:14:17 2003 +++ phpdoc/en/reference/image/functions/getimagesize.xmlTue Jul 22 15:06:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.36 -- refentry id=function.getimagesize refnamediv @@ -19,21 +19,28 @@ acronymPNG/acronym, acronymSWF/acronym, acronymSWC/acronym, acronymPSD/acronym, acronymTIFF/acronym, acronymBMP/acronym, -acronymIFF/acronym, acronymJP2/acronym or -acronymJPC/acronym -image file and return the dimensions along with the file type and -a height/width text string to be used inside a normal +acronymIFF/acronym, acronymJP2/acronym, +acronymJPC/acronym, acronymXBM/acronym, or +acronymWBMP/acronym image file and return the dimensions along with +the file type and a height/width text string to be used inside a normal acronymHTML/acronym literalIMG/literal tag. /para + note +para + Support for acronymJPC/acronym, acronymJPC/acronym, + acronymXBM/acronym, and acronymWBMP/acronym became available in + PHP 4.3.2. +/para + /note para Returns an array with 4 elements. Index 0 contains the width of the image in pixels. Index 1 contains the height. Index 2 is a flag indicating the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2, 11 = JPX, 12 = -JB2, 13 = SWC, 14 = IFF. These values correspond to the IMAGETYPE -constants that were added in PHP 4.3. Index 3 is a text string with -the correct height=yyy width=xxx string that can be used +JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM. These values correspond to +the IMAGETYPE constants that were added in PHP 4.3. Index 3 is a text +string with the correct height=yyy width=xxx string that can be used directly in an IMG tag. example titlegetimagesize (file)/title Index: phpdoc/en/reference/image/functions/exif-imagetype.xml diff -u phpdoc/en/reference/image/functions/exif-imagetype.xml:1.11 phpdoc/en/reference/image/functions/exif-imagetype.xml:1.12 --- phpdoc/en/reference/image/functions/exif-imagetype.xml:1.11 Thu May 29 16:22:12 2003 +++ phpdoc/en/reference/image/functions/exif-imagetype.xml Tue Jul 22 15:06:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.81 -- refentry id=function.exif-imagetype refnamediv @@ -22,7 +22,7 @@ para The following constants are defined: table -titleImagetyp Constants/title +titleImagetype Constants/title tgroup cols=2 thead row @@ -67,7 +67,7 @@ /row row entry9/entry -entryconstantMAGETYPE_JPC/constant/entry +entryconstantIMAGETYPE_JPC/constant/entry /row row entry10/entry @@ -76,11 +76,27 @@ row entry11/entry entryconstantIMAGETYPE_JPX/constant/entry - /row + /row row entry12/entry +entryconstantIMAGETYPE_JB2/constant/entry + /row + row +entry13/entry entryconstantIMAGETYPE_SWC/constant/entry - /row + /row + row +entry14/entry +entryconstantIMAGETYPE_IFF/constant/entry + /row + row +entry15/entry +entryconstantIMAGETYPE_WBMP/constant/entry + /row + row +entry16/entry +entryconstantIMAGETYPE_XBM/constant/entry + /row /tbody /tgroup /table @@ -93,7 +109,7 @@ /para note simpara - This function is only available if PHP 4 is compiled using + This function is only available if PHP is compiled using option role=configure--enable-exif/option. /simpara /note -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/image constants.xml
philip Tue Jul 22 15:29:09 2003 EDT Modified files: /phpdoc/en/reference/image constants.xml Log: Added a few missing constants. Index: phpdoc/en/reference/image/constants.xml diff -u phpdoc/en/reference/image/constants.xml:1.5 phpdoc/en/reference/image/constants.xml:1.6 --- phpdoc/en/reference/image/constants.xml:1.5 Wed May 28 19:03:07 2003 +++ phpdoc/en/reference/image/constants.xml Tue Jul 22 15:29:09 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- section id=image.constants reftitle.constants; extension.constants; @@ -248,6 +248,28 @@ /varlistentry varlistentry term +constantIMAGETYPE_WBMP/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term +constantIMAGETYPE_XBM/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term constantIMAGETYPE_TIFF_II/constant (typeinteger/type) /term @@ -260,6 +282,28 @@ varlistentry term constantIMAGETYPE_TIFF_MM/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term +constantIMAGETYPE_IFF/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term +constantIMAGETYPE_JB2/constant (typeinteger/type) /term listitem -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/image/functions exif-imagetype.xml getimagesize.xml
philip Tue Jul 22 16:28:16 2003 EDT Modified files: /phpdoc/en/reference/image/functionsgetimagesize.xml exif-imagetype.xml Log: Finish docs for jpeg2000 and wbmp/xbm support as of PHP 4.3.2, and mention SWC became available in PHP 4.3.0. (fix a copy-n-paste error too). This closes bug #21883. Index: phpdoc/en/reference/image/functions/getimagesize.xml diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.16 phpdoc/en/reference/image/functions/getimagesize.xml:1.17 --- phpdoc/en/reference/image/functions/getimagesize.xml:1.16 Tue Jul 22 15:06:01 2003 +++ phpdoc/en/reference/image/functions/getimagesize.xmlTue Jul 22 16:28:16 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.16 $ -- +!-- $Revision: 1.17 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.36 -- refentry id=function.getimagesize refnamediv @@ -20,6 +20,7 @@ acronymSWC/acronym, acronymPSD/acronym, acronymTIFF/acronym, acronymBMP/acronym, acronymIFF/acronym, acronymJP2/acronym, +acronymJPX/acronym, acronymJB2/acronym, acronymJPC/acronym, acronymXBM/acronym, or acronymWBMP/acronym image file and return the dimensions along with the file type and a height/width text string to be used inside a normal @@ -27,9 +28,10 @@ /para note para - Support for acronymJPC/acronym, acronymJPC/acronym, + Support for acronymJPC/acronym, acronymJP2/acronym, + acronymJPX/acronym, acronymJB2/acronym, acronymXBM/acronym, and acronymWBMP/acronym became available in - PHP 4.3.2. + PHP 4.3.2. Support for acronymSWC/acronym as of PHP 4.3.0. /para /note para Index: phpdoc/en/reference/image/functions/exif-imagetype.xml diff -u phpdoc/en/reference/image/functions/exif-imagetype.xml:1.12 phpdoc/en/reference/image/functions/exif-imagetype.xml:1.13 --- phpdoc/en/reference/image/functions/exif-imagetype.xml:1.12 Tue Jul 22 15:06:01 2003 +++ phpdoc/en/reference/image/functions/exif-imagetype.xml Tue Jul 22 16:28:16 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.81 -- refentry id=function.exif-imagetype refnamediv @@ -101,6 +101,14 @@ /tgroup /table /para + note +para + Support for acronymJPC/acronym, acronymJP2/acronym, + acronymJPX/acronym, acronymJB2/acronym, + acronymXBM/acronym, and acronymWBMP/acronym became available in + PHP 4.3.2. Support for acronymSWC/acronym as of PHP 4.3.0. +/para + /note para This function can be used to avoid calls to other exif functions with unsupported file types or in conjunction with -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #21883 [Opn-Csd]: jpc and jp2
ID: 21883 Updated by: [EMAIL PROTECTED] Reported By: olivier dot jacquemard at wanadoo dot fr -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: 4.3.2 New Comment: This is now fixed/documented in CVS and will show up when the manual is next built, thanks for the report! Previous Comments: [2003-02-23 09:42:49] [EMAIL PROTECTED] 4.3.1 is identical to 4.3.0 except that one security change to CGI so the change hasn't happened yet. [2003-02-23 06:56:23] olivier dot jacquemard at wanadoo dot fr I have downloaded PHP 4.3.1 and i didn't found any change in using something like getimagesize(jpeg2000.jp2). I have two questions : Is there a remedy to read the header of a jpeg2000 and extract the length and height of the image ? Is it possible to define a class and use it as a buffer to read the header of a jpeg2000 image ? [2003-02-13 01:18:31] [EMAIL PROTECTED] Only thing to document is that since 4.3.1 PHP supports JPEG 2000 and WBMP imagetypes too.. [2003-01-27 12:50:10] [EMAIL PROTECTED] This remains open until jpc and jp2 are documented properly. This may need to be faq that's referred to in various places? Or maybe a language-snippet? Because I doubt getimagesize() is the only appropriate place for this information. [2003-01-27 12:42:37] olivier dot jacquemard at wanadoo dot fr Thank you, i think the bug is closed. I am waiting for PHP 4.3.x where x 1. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21883 -- Edit this bug report at http://bugs.php.net/?id=21883edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] HELP: Translation problem: /chapters/streams.xml
Hi, I ask for help. I have difficulties to understand the meaning of this expression mainly because of the word ''userland'' (Userland stream functions can be found in the link linkend=ref.streamStream Reference/link.) Thanks Hafid -- PHP Arabization Forum: (http://www2.php4arab.info/doc.ar.list/) Dictionary: (http://www2.php4arab.info/acronyms) -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] HELP: Translation problem: /chapters/streams.xml
Hi Hafid- I ask for help. I have difficulties to understand the meaning of this expression mainly because of the word ''userland'' (Userland stream functions can be found in the link linkend=ref.streamStream Reference/link.) Userland is referring to functions that PHP users can use. In otherwords: streams api : Functions users don't use, unless they are working with the php sources, like writing a new extension. Over 99% users will never use these. ref.stream : PHP functions. Users use these in PHP code. But I don't believe you should be translating the streams api as it will eventually live in the Developmental manual, and only be in English. Regards, Philip -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/math/functions round.xml
didou Tue Jul 22 21:34:31 2003 EDT Modified files: /phpdoc/en/reference/math/functions round.xml Log: see also number_format() Index: phpdoc/en/reference/math/functions/round.xml diff -u phpdoc/en/reference/math/functions/round.xml:1.4 phpdoc/en/reference/math/functions/round.xml:1.5 --- phpdoc/en/reference/math/functions/round.xml:1.4Mon Jun 16 14:31:33 2003 +++ phpdoc/en/reference/math/functions/round.xmlTue Jul 22 21:34:31 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/math.xml, last change in rev 1.2 -- refentry id=function.round refnamediv @@ -70,8 +70,9 @@ /note /para simpara - See also functionceil/function and - functionfloor/function. + See also functionceil/function, + functionfloor/function and + functionnumber_format/function. /simpara /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php