[PHP-DOC] cvs: phpdoc /en/chapters install.iplanet.xml

2003-08-11 Thread Uwe Schindler
thetaphiTue Aug  5 17:52:44 2003 EDT

  Modified files:  
/phpdoc/en/chapters install.iplanet.xml 
  Log:
  Partial rewrite of configuration (was really needed because of simply wrong 
infomations...). New things in PHP 4.3.3
  Index: phpdoc/en/chapters/install.iplanet.xml
diff -u phpdoc/en/chapters/install.iplanet.xml:1.4 
phpdoc/en/chapters/install.iplanet.xml:1.5
--- phpdoc/en/chapters/install.iplanet.xml:1.4  Thu Jul 17 10:48:32 2003
+++ phpdoc/en/chapters/install.iplanet.xml  Tue Aug  5 17:52:44 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
   sect1 id=install.netscape-enterprise
titleServers-Netscape, iPlanet and SunONE/title
para
@@ -8,12 +8,19 @@
 and link linkend=install.netscape.windowsWindows/link versions.
/para
para
+From PHP 4.3.3 on you can use PHP scripts with the link 
linkend=ref.nsapiNSAPI module/link to 
+link linkend=install.netscape.specialpagesgenerate custom directory listings 
and
+error pages/link. Additional functions for Apache compatibility are also 
available.
+For support in current webservers read the
+link linkend=install.netscape.notesnote about subrequests/link.
+   /para
+   para
 You can find more information about setting up PHP for the Netscape
 Enterprise Server (NES) here:
 ulink url=url.netscape.nsapi;url.netscape.nsapi;/ulink
/para
sect2 id=install.netscape.sun
-titleInstalling PHP with Netscape on Sun Solaris/title
+titleInstalling PHP with NES/iPlanet/SunONE Webserver on Sun Solaris/title
 para
  To build PHP with NES/iPlanet/SunONE webservers, enter the proper install
  directory for the
@@ -22,12 +29,6 @@
  filename class=directory/opt/netscape/suitespot//filename.
  Please also read 
filename/php-xxx-version/sapi/nsapi/nsapi-readme.txt/filename.
 /para
-note
- simpara
-  These instructions are written for Sun Solaris 2.6 with Netscape
-  Enterprise Server 3.6, conributed by bhager at invacare dot com.
- /simpara
-/note
 para
  orderedlist
   listitem
@@ -102,11 +103,11 @@
  you may need to perform some additional configuration steps.
 /para
 formalpara
- titleConfiguration Instructions for NES/title
+ titleConfiguration Instructions for NES/iPlanet/SunONE/title
  para
   Firstly you may need to add some paths to the LD_LIBRARY_PATH environment
-  for Netscape to find all the shared libs. This can best done in the start
-  script for your Netscape server. Windows users can probably skip this
+  for SunONE to find all the shared libs. This can best done in the start
+  script for your SunONE webserver. Windows users can probably skip this
   step. The start script is often located in: filename
   class=directory/path/to/server/https-servername/start/filename.
   You may also need to edit the configuration files that are
@@ -115,7 +116,8 @@
   orderedlist
listitem
 para
- Add the following line to filenamemime.types/filename:
+ Add the following line to filenamemime.types/filename (you can do
+ that by the administration server):
  screen
 ![CDATA[
 type=magnus-internal/x-httpd-php exts=php
@@ -125,17 +127,18 @@
/listitem
listitem
 para
- Edit filenameobj.conf/filename and add the following, shlib will
+ Edit filenamemagnus.conf/filename (for servers gt;= 6) or
+ filenameobj.conf/filename (for servers lt; 6) and add the following, 
shlib will
  vary depending on your OS, for Unix it will be something like
  filename/opt/netscape/suitespot/bin/libphp4.so/filename. You should
  place the following lines after literalmime types init/literal.
  programlisting
 ![CDATA[
 Init fn=load-modules funcs=php4_init,php4_execute,php4_auth_trans 
shlib=/opt/netscape/suitespot/bin/libphp4.so
-Init fn=php4_init errorString=Failed to initialize PHP! [php_ini=/path/to/php.ini]
+Init fn=php4_init LateInit=yes errorString=Failed to initialize PHP! 
[php_ini=/path/to/php.ini]
 ]]
  /programlisting
- The literalphp_ini/literal parameter is optional but with it you can 
place your
+ (PHP gt;= 4.3.3) The literalphp_ini/literal parameter is optional but 
with it you can place your
  php.ini; in your webserver config directory.
 /para
/listitem
@@ -144,25 +147,26 @@
  Configure the default object:
  programlisting
 ![CDATA[
-object name=default
+Object name=default
 .
 .
 .
 .#NOTE this next line should happen after all 'ObjectType' and before all 'AddLog' 
lines
 Service fn=php4_execute type=magnus-internal/x-httpd-php [inikey=value 
inikey=value ...]
-.
-.
-/Object
+.
+.
+/Object
 ]]
  /programlisting
- As additional parameters you can add some special php.ini;-values, for 
example you
+ 

[PHP-DOC] #25026 [Opn-Bgs]: http://rohitfotedar.port5.com

2003-08-11 Thread ae
 ID:   25026
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rohitft at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: win 98
 PHP Version:  4.3.3RC3
 New Comment:

spam


Previous Comments:


[2003-08-11 00:45:33] rohitft at hotmail dot com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com





-- 
Edit this bug report at http://bugs.php.net/?id=25026edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25024 [Opn-Bgs]: http://rohitfotedar.port5.com

2003-08-11 Thread ae
 ID:   25024
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rohitft at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: win 98
 PHP Version:  4.3.3RC3
 New Comment:

spam


Previous Comments:


[2003-08-11 00:45:27] rohitft at hotmail dot com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com





-- 
Edit this bug report at http://bugs.php.net/?id=25024edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25012 [NEW]: http://rohitfotedar.port5.com

2003-08-11 Thread rohitft at hotmail dot com
From: rohitft at hotmail dot com
Operating system: win 98
PHP version:  4.3.3RC3
PHP Bug Type: Documentation problem
Bug description:  http://rohitfotedar.port5.com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com

-- 
Edit bug report at http://bugs.php.net/?id=25012edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25012r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25012r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=25012r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=25012r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25012r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=25012r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=25012r=support
Expected behavior:  http://bugs.php.net/fix.php?id=25012r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=25012r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=25012r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=25012r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25012r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=25012r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=25012r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=25012r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] [PATCH] phpdoc/howto/working.xml

2003-08-11 Thread dave
On Saturday, August 9, 2003, 9:55:21 PM, Derick wrote:

 Can you please make your email cliena attach it as plain text? (You
 might need to rename it to .txt for your client).

Sure. Sorry about that.

 Derick

DaveIndex: working.xml
===
RCS file: /repository/phpdoc/howto/working.xml,v
retrieving revision 1.36
diff -u -r1.36 working.xml
--- working.xml 23 Jun 2003 09:47:28 -  1.36
+++ working.xml 9 Aug 2003 11:49:52 -
@@ -409,7 +409,7 @@
   Function names should be created, and documented, in lowercase
   format with an underscore separating the name components. Names
   without underscores are often only kept for backward
-  compatibilty. Document the function named with underscores
+  compatibility. Document the function named with underscores
   separating components, and mention the old one as an alias.
  /simpara
  note
@@ -457,13 +457,13 @@
 /listitem
 listitem
  simpara
-  Brevity is appreciated. Long winded descriptions of each and
+  Brevity is appreciated. Long-winded descriptions of each and
   every function are not appropriate for the reference sections.
   Using the errata comments as guidelines, it's easier to tell when
   more documentation is needed, as well as the inverse, when too
   much documentation in one section has increased confusion.
-  footnotesimparaNoone complained about too much documentation
-  in any section till now, so be brave to add longer explanations,
+  footnotesimparaNo one complained about too much documentation
+  in any section until now, so be brave to add longer explanations,
   and more than one example per function. :)/simpara/footnote
  /simpara
 /listitem
@@ -655,9 +655,9 @@
 
   para
There are many active translations out there of the PHP
-   documentation. Some lanaguages are being maintaned by
+   documentation. Some languages are being maintained by
a group of translators (eg. the German), some are one person
-   projects (eg. the Japanese). There are quite many things for
+   projects (eg. the Japanese). There are quite a few things for
translators to know, though these are simple.
   /para
   
@@ -665,7 +665,7 @@
titleStarting a New Translation/title
para
 Starting a new language translation comes down to
-the following simple steps now.
+the following simple steps:
 itemizedlist
  listitem
   simpara
@@ -678,7 +678,7 @@
  listitem
   simpara
link linkend=cvs-accountAsk for a CVS account/link.
-   Mention, that you would like to start a new translation.
+   Mention that you would like to start a new translation.
   /simpara
  /listitem
  listitem
@@ -696,7 +696,7 @@
and literalphpdoc-LANGCODE/literal (using the 
literalphpdoc-LANGCODE-dir/literal alias) as
described in the link linkend=chapter-cvsCVS chapter/link
-   of this howto.
+   of this HOWTO.
   /simpara
  /listitem
  listitem
@@ -716,7 +716,7 @@
link linkend=translation-revtrackrevision
tracking/link for help about
how can you ease your work of tracking the English
-   versions, and your languages versions.
+   version and your language's version.
   /simpara
  /listitem
 /itemizedlist
@@ -752,15 +752,15 @@
 If you see that a manual for your language is set
 up, and you would like to join the group, please
 ask on the appropriate link linkend=chapter-maillistmailing
-list/link about who is responsible to manage that
+list/link about who is responsible for managing that
 translation.
/para
para
 If you are new to the PHP project, and you have no
 CVS account, you need to link linkend=cvs-accountrequest
-one account/link, before you can join the work. Although
+an account/link before you can join the group. Although
 there are some translations where just a few people have
-CVS accounts, and they are responsible for comitting the
+CVS accounts, and they are responsible for committing the
 other's works, this may not be ideal.
/para
   /sect1
@@ -788,7 +788,7 @@
   simpara
Use a system to coordinate with the translators
in your language. Currently we have two systems
-   used paralelly, the Translators files and the
+   used in parallel, the Translators files and the
Revision comments. See the section about
link linkend=translation-revtrackrevision
tracking/link to learn more about this subject.
@@ -833,8 +833,8 @@
made to your language's files, are correct.
You may introduce illegal characters. Please
always do a link linkend=chapter-validatingmake
-   test/link before commiting. Introducing an
-   error in your languages manual can stop the
+   test/link before committing. Introducing an
+   error in 

[PHP-DOC] #25023 [NEW]: http://rohitfotedar.port5.com

2003-08-11 Thread rohitft at hotmail dot com
From: rohitft at hotmail dot com
Operating system: win 98
PHP version:  4.3.3RC3
PHP Bug Type: Documentation problem
Bug description:  http://rohitfotedar.port5.com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com

-- 
Edit bug report at http://bugs.php.net/?id=25023edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25023r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25023r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=25023r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=25023r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25023r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=25023r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=25023r=support
Expected behavior:  http://bugs.php.net/fix.php?id=25023r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=25023r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=25023r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=25023r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25023r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=25023r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=25023r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=25023r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25024 [NEW]: http://rohitfotedar.port5.com

2003-08-11 Thread rohitft at hotmail dot com
From: rohitft at hotmail dot com
Operating system: win 98
PHP version:  4.3.3RC3
PHP Bug Type: Documentation problem
Bug description:  http://rohitfotedar.port5.com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com

-- 
Edit bug report at http://bugs.php.net/?id=25024edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25024r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25024r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=25024r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=25024r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25024r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=25024r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=25024r=support
Expected behavior:  http://bugs.php.net/fix.php?id=25024r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=25024r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=25024r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=25024r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25024r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=25024r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=25024r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=25024r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] phpdoc access

2003-08-11 Thread Gabor Hojtsy
Can I have write access to /phpdoc module in CVS?

I have some translated files to add to /phpdoc/ru/ and I'm planning to continue 
translating it in the future.
Should I send them to some person with enough carma?
Currently I have access only to /peardoc, but I suppose it will be more suitable for 
me to have write access to /phpdoc too.
Thanx in advance and sorry if this is a wrong list for such question.
You actually need to write access to phpdoc-ru and definitely *not* 
phpdoc. [EMAIL PROTECTED] or [EMAIL PROTECTED] can give you more Karma.

Goba

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DOC] #25031 [Opn-Bgs]: http://rohitfotedar.port5.com

2003-08-11 Thread ae
 ID:   25031
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rohitft at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: win 98
 PHP Version:  4.3.3RC3
 New Comment:

spam


Previous Comments:


[2003-08-11 00:46:01] rohitft at hotmail dot com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com





-- 
Edit this bug report at http://bugs.php.net/?id=25031edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25015 [Opn]: http://rohitfotedar.port5.com

2003-08-11 Thread ae
 ID:   25015
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rohitft at hotmail dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: win 98
 PHP Version:  4.3.3RC3
 New Comment:

spam


Previous Comments:


[2003-08-11 00:44:54] rohitft at hotmail dot com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com





-- 
Edit this bug report at http://bugs.php.net/?id=25015edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pdf/functions pdf-setpolydash.xml

2003-08-11 Thread Mehdi Achour
didou   Mon Aug 11 09:08:39 2003 EDT

  Modified files:  
/phpdoc/en/reference/pdf/functions  pdf-setpolydash.xml 
  Log:
  deprecated as stated on a note, confirmed by andrey
  
Index: phpdoc/en/reference/pdf/functions/pdf-setpolydash.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-setpolydash.xml:1.4 
phpdoc/en/reference/pdf/functions/pdf-setpolydash.xml:1.5
--- phpdoc/en/reference/pdf/functions/pdf-setpolydash.xml:1.4   Sat Aug  9 00:31:34 
2003
+++ phpdoc/en/reference/pdf/functions/pdf-setpolydash.xml   Mon Aug 11 09:08:38 
2003
@@ -1,21 +1,16 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --
   refentry id=function.pdf-setpolydash
refnamediv
 refnamepdf_setpolydash/refname
-refpurposeSets complicated dash pattern/refpurpose
+refpurposeDeprecated: Sets complicated dash pattern/refpurpose
/refnamediv
refsect1
 titleDescription/title
- methodsynopsis
-  typebool/typemethodnamepdf_setpolydash/methodname
-  methodparamtyperesource/typeparameterpdfdoc/parameter/methodparam
-  methodparamtypefloat/typeparameterdasharray/parameter/methodparam
- /methodsynopsis
 para
- Sets a more complicated dash pattern defined by the 
parameterdasharray/parameter
- parameter. return.success;
+ This function is deprecated, use functionpdf_setdash/function
+ instead.
 /para
/refsect1
   /refentry



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #14298 [Asn-Csd]: PUT method not supported in PHP 4

2003-08-11 Thread hholzgra
 ID:  14298
 Updated by:  [EMAIL PROTECTED]
 Reported By: Information-Cascade at ntlworld dot com
-Status:  Assigned
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 4.0.6
 Assigned To: hholzgra
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2002-12-26 06:38:50] om671 at aol dot com

is my system being buged



[2002-12-07 06:47:58] [EMAIL PROTECTED]

Once again, this is an ASSIGNED bug, do not play with this pollita,
please.



[2002-12-01 23:58:32] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Provided example of using php://stdin and note re: change from PHP3.



[2002-11-12 07:41:26] [EMAIL PROTECTED]

this is a PHP 3 only feature 
that noone ever ported to PHP 4 ...

with 4.3 you will be able to read
the PUT data from the php://input stream

as the $PHP_PUT stuff in PHP 3 seems to
be something almost never used and as 
the new streams solution is so easy to 
use i think it is not worth to port the
PHP 3 feature here ...

in 4.3 you will be able to just do a

$in = fopen(php://input,rb);
$out = fopen($outfile,wb);
while(!feof($in)) {
  fwrite($out, fread($in, $bufsize));
}
fclose($in);
fclose($out);

no nead to deal with temporary files,
no disk space wasted when the script
doesn't need the PUT data, and the
approach is not limited to PUT requests
but will work with all HTTP methods
carrying content

changed to documentation problem



[2002-05-13 08:27:02] jimmy at lusidor dot com

Just wanted to drop a note about a test I've done:

I tried a simple perl script getting the PUT file and it worked.

Calling the same script through PHP yields no file meaning that PHP
does something the uploaded file since the perlscript used by itself
works and then called through PHP does'nt.



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/14298

-- 
Edit this bug report at http://bugs.php.net/?id=14298edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25034 [NEW]: http://rohitfotedar.port5.com

2003-08-11 Thread rohitft at hotmail dot com
From: rohitft at hotmail dot com
Operating system: win 98
PHP version:  4.3.3RC3
PHP Bug Type: Documentation problem
Bug description:  http://rohitfotedar.port5.com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com

-- 
Edit bug report at http://bugs.php.net/?id=25034edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25034r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25034r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=25034r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=25034r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25034r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=25034r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=25034r=support
Expected behavior:  http://bugs.php.net/fix.php?id=25034r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=25034r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=25034r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=25034r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25034r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=25034r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=25034r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=25034r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #25021 [Opn-Bgs]: http://rohitfotedar.port5.com

2003-08-11 Thread ae
 ID:   25021
 Updated by:   [EMAIL PROTECTED]
 Reported By:  rohitft at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: win 98
 PHP Version:  4.3.3RC3
 New Comment:

spam


Previous Comments:


[2003-08-11 00:45:17] rohitft at hotmail dot com

Description:

http://rohitfotedar.port5.com

Reproduce code:
---
http://rohitfotedar.port5.com

Expected result:

http://rohitfotedar.port5.com

Actual result:
--
http://rohitfotedar.port5.com





-- 
Edit this bug report at http://bugs.php.net/?id=25021edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] Template for the Docs pages

2003-08-11 Thread Stephen Toutonghi
Hi,

I really like the template used to create the pages for the PHP
documentation--with the article at the top of the page, followed by user
comments. What tools did you use to create those pages? Is there a
product that can help me create pages with a similar template? I'd like
to produce something similar but am fairly resource constrained :-)

Thanks,

Steve


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #14165 [Bgs-Opn]: No way to return variables from remote include()

2003-08-11 Thread elmicha
 ID:   14165
 Updated by:   [EMAIL PROTECTED]
 Reported By:  steve at petabit dot com
-Status:   Bogus
+Status:   Open
-Bug Type: Feature/Change Request
+Bug Type: Documentation problem
 Operating System: Linux
 PHP Version:  4.0.5
 New Comment:

If you use
  include('http://some_server/something.php');
something.php is executed on some_server. It's impossible to return
strings with return from there.

But the output of http://some_server/something.php is included in your
script and executed there. So just make _the output_ of something.php a
valid php script which sets your variables - so you can use these
variables in your local script. E.g.:

?php  // something.php on the remote server
echo '?php $return_value = a string; ?';
?

On the local server:

?php
  include('http://some_server/something.php');
  echo $return_value;
?

As the manual explicitly mentions that you can use a return statement
to pass values from the included script, but does not mention that this
doesn't work via HTTP or FTP, I'd say this is a Documentation problem.
(I don't know what the manual said in 2001, maybe the return statement
could not be used in included files back then.)


Previous Comments:


[2003-08-06 21:09:41] tim at pmedia dot be

Allow me to rephrase Steve's problem described in #14165 again as I'm
experiencing the same trouble.

When including a remote php-file (a php-file on another server) in a
script, that php-file is parsed (if server configured to) which
basically means the script is runned. 

The problem we experience is that the parsed script's return value(s)
defined at the end in a return() statement don't seem to arrive in the
original script. Steve reports only 'integers'. I have seen only a '1',
which is according the docs just the value returned if no return()
statement is used. 

If the 2 scripts are located on the same server, the problem doesn't
show up.



[2001-11-21 17:32:22] steve at petabit dot com

Okay, there's some simple sample code at bug 14164. 

Basic idea is that I have 2 machines, one public,
one firewalled and non-routed.  The public one should
be able to access the database on the private one, but
nobody else should.

Thanks for the attention!

Steve



[2001-11-21 17:01:34] [EMAIL PROTECTED]

Maybe if you added some example script here (which you think
should work) we might understand what you mean?

And note that include/require don't return anything.
They are language constructs, not functions.

--Jani




[2001-11-21 16:35:14] steve at petabit dot com

Dear Brian, Marco et al:
Sorry to be persistent, but I am pretty sure that
my postings have been misunderstood, and the last
reply I just got from Marco confirms it.

I'm hoping once you understand the question, the
bogus nature of the question will go away.

According to the php include() manual, and
in my own experience, it is perfectly valid to
request that a remote file be executed as php, 
using include() or require().  One need only
compile using URL fopen wrappers: (manual quotes in [[[ ]]])

[[[If URL fopen wrappers are enabled in PHP (which they are in the
default configuration), you can specify the file to be include() ed
using an URL instead of a local pathname. See Remote files and fopen()
for more information.
]]]

It is also possible to pass variables to the include()ed
file:

[[[ If the require() ed file is called via HTTP using the fopen
wrappers, and if the target server interprets the target file as PHP
code, variables may be passed to the require() ed file using an URL
request string as used with HTTP GET. This is not strictly speaking the
same thing as require() ing the file and having it inherit the parent
file's variable scope; the script is actually being run on the remote
server and the result is then being included into the local script.
]]]

SO:
The missing feature/doc is:
How do I get the require()ed file to pass back some string
information?

I can't use the HTTP GET-style request string, or even the return()
function
within an include() (because it only returns an integer).

I don't think this is a bogus request, it seems to me to be a logical
extension of the URL request idea.  If it's currently impossible, I'm
looking for a workaround.  

Marco's suggestion to print out the database using cvs doesn't change
anything, since I still can't pass a string back.

Best regards,

Steve Rapaport.






[2001-11-21 15:55:06] [EMAIL PROTECTED]

Hi,

what are you means with remote?

include(http://www.mysite.com/phpscript.php;);
Dont work. the .php are parsed befor and you cant get
source to your script.