php-windows Digest 22 Feb 2001 01:53:46 -0000 Issue 457

Topics (messages 5672 through 5679):

Re: Apache, PHP4, PHPLIB, include_path
        5672 by: Ben Cairns
        5673 by: Matt Williams
        5675 by: Martin Burger

Deny List Project
        5674 by: Charles Williams \( CEO ACNS \)

POST against GET
        5676 by: Denis L. Menezes

A better Winhelp file for PHP
        5677 by: John Henckel
        5679 by: John Henckel

Re: Trying to understand this example
        5678 by: Asendorf, John

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


the path of the include file withing an included file need to be relative.

I cant remember if they need to relative to the Main script, or the first 
include file

-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com

"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"






> php_value auto_prepend_file d:\server\htdocs\www.test.de\php\prepend.php3
>
> php_value include_path \server\htdocs\www.test.de\php\:./

Hi

try changing the prepend_file to just prepend.php3
also I always use forward slashes for my include path and separate paths
with ; not :
and use the drive letter

this works for me

HTH

M@
>





"Martin Burger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
970a5g$3c3$[EMAIL PROTECTED]">news:970a5g$3c3$[EMAIL PROTECTED]...

> Fatal error: Failed opening required 'db_mysql.inc'
> (include_path='d:\server\htdocs\www.test.de\php\:./') in
> d:\server\htdocs\www.test.de\php\prepend.php3 on line 19

I tried some hints of de.comp.lang.php and php.windows, so I use these
lines in my .htaccess:


php_value include_path ;/server/data/www/www.test.dom/php;.;

php_value auto_prepend_file prepend.php3


But there are still some problems, there are different error messages:


Fatal error: Failed opening required 'local.inc' (include_path='') in
prepend.php3 on line 31

Fatal error: Failed opening required 'ct_sql.inc' (include_path='Wed,
21 Feb 2001 13:16:13 GMT') in prepend.php3 on line 20

Fatal error: Failed opening required '_includes/metatags.inc.bd'
(include_path='àwd') in
/server/data/www/www.test.dom/www/html/leftmargin.bd on line 13


One considers the include_path - that is very strange!

The  error  occurs  by the way only if a "long" frameset is loaded. If
the pages are requested individually, there will not occur an error.

I  assume,  PHP4-mod gets problems, if several documents are requested
at the same time (by the frameset).

Regards,
  Martin Burger





HEY,

I have started a Centralized Deny List.  If you wish to help out and
contribute just send your deny list to [EMAIL PROTECTED]

Am working on cron job now for automatic update of list.

Also the url for the list is http://www.acnsnet.com/~denylist

Will also be having a zipped and tarball archive of the list.

Chuck


==============================================
Charles Williams
(Owner)
Accent Computer & Network Services
Markt 2
D-95679 Waldershof
Tel: +49 (0) 9231 972670
Fax: +49 (0) 9231 972671
http://www.acns-online.com
GB/CS/O/U d-- -p+ c+++ l++ u- e+ m+ s++/ !n h---- f !g w++ t+ r x**
==============================================

**************Email Confidentiality Footer************** 

The information contained in this email and any attachments is intended 
for the named recipients only. It may contain privileged and confidential 
information and if you are not the intended recipient, you must not copy, 
distribute or take any action in reliance on it. If you have received this 
email in error, please return it to the originator advising of the error 
and delete all copies from your system. 






Hello friends.

I am running PHP4 on an Intel Win NT server 4 sp6 machine.

When I use POST the feedback form does not work but itw works when I use
GET. Can anyone advise why this is so? The data that I am using are only 2
string variables of one word each.

thank you
denis






I am starting to learn PHP and I use TextPad.  This editor gives context 
sensitive help by searching a CHM or HLP file.

I downloaded the manual.chm from php.net however it doesn't work because 
the "Index" search was not built properly.

Does anyone have a php HLP or CHM file with a working "index"?  I would 
really appreciate it!

TIA

John Henckel          alt. mailto:[EMAIL PROTECTED]
Zumbro Falls, Minnesota, USA   (507) 753-2216

http://geocities.com/jdhenckel/





At 01:29 PM 2/21/01 -0500, Asendorf, John wrote:
>This one has worked well for me...

Thanks, but that doesn't work either.  From what I can tell, a "help" file 
has three ways to lookup things... the Contents, the Search, and the Index.

The file I got from php.net has an empty Index, and the file you sent me 
does not have any Index.  TextPad context-sensitive help uses the Index, so 
neither one of the CHM files will work as a "Tool" in TextPad.

I'm sorry that I am being so persistent about this, but when it works, it 
is really really nice for learning a new language.

John Henckel          alt. mailto:[EMAIL PROTECTED]
Zumbro Falls, Minnesota, USA   (507) 753-2216

http://geocities.com/jdhenckel/





Since our external email was down all morning, I worked this out.. funny you
mentioning print vs. echo...  I prefer echo too..

echo "<TABLE BORDER=\"0\" width=\"100%\">\n";
echo "<TR>\n";
echo "<TD>Name</TD><TD>Address</TD><TD>City</TD>\n";
echo "</TR>\n";

while ( OCIFetchInto ( $stmt_search , $results ) ) { 
    echo "<TR>\n";
    echo "<TD><a
href=\"dl_post_2.php?input_customer=$results[0]\">$results[1]</a></TD>
\n<TD>$results[2] <br> $results[3]</TD> \n<TD>$results[4]</TD>\n";
    echo "</TR>\n";}
}

echo "</TABLE>\n";

What I finally realized was that I was looking at the example in an entirely
wrong light.  Once I figured out the difference between FetchStatement and
FetchInto, the solution became much more obvious.

Thanks for trying to explain it to me.

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aut insanit homo, aut versus facit


> -----Original Message-----
> From: Tom Mathews [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 4:15 AM
> To: Asendorf, John
> Subject: Re: [PHP-WIN] Trying to understand this example
> 
> 
> John
> 
> You're (mis) understanding should all be cleared up by 
> knowing what the 'each'
> keyword does.
> Column is not a misnomer at all, what it does is cycle 
> through a single row,
> pulling out one entry for each column.
> Thus the first while loops through the columns of the first 
> row - the row
> titles
> the for loop then cycles through all the rows, one at a time
> the second while cycles through the columns of the $ith row
> 
> I'm not going to help you with the print statements - I 
> personally find them
> very unfriendly and prefer to use the echo keyword. Any 
> formatting I do is
> arranged by assigning classes in the style sheet. This tends 
> (not infallibly)
> to produce faster code, and definitely makes it easier to read.
> 
> Tom
> 
> >
> > $nrows = OCIFetchStatement($stmt,$results);
> > if ( $nrows > 0 ) {
> >    print "<TABLE BORDER=\"1\">\n";
> >    print "<TR>\n";
> >    while ( list( $key, $val ) = each( $results ) ) {
> >       print "<TH>$key</TH>\n";
> >    }
> >    print "</TR>\n";
> >
> >    for ( $i = 0; $i < $nrows; $i++ ) {
> >       reset($results);
> >       print "<TR>\n";
> >       while ( $column = each($results) ) {
> >          $data = $column['value'];
> >          print "<TD>$data[$i]</TD>\n";
> >       }
> >       print "</TR>\n";
> >    }
> >    print "</TABLE>\n";
> >
> > ---------------------
> > John Asendorf - [EMAIL PROTECTED]
> > Web Applications Developer
> > http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> > Licking County, Ohio, USA
> > 740-349-3631
> > Aut insanit homo, aut versus facit
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 


Reply via email to