php-windows Digest 4 Aug 2002 12:58:21 -0000 Issue 1273

Topics (messages 15106 through 15111):

PHP on IIS CGI timeout problems
        15106 by: Daniel Massón
        15108 by: Peter

Include problems
        15107 by: Scott

Undefined Constant error Anybody Help?
        15109 by: Sean M. Mayhew

Full path of selected file on client machine
        15110 by: Daniel Massón

Bot
        15111 by: alexmart.php

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]


----------------------------------------------------------------------
--- Begin Message ---

Hi there !! ... im Daniel im new in the list !!

Hi there !!!

Im Daniel ... im new in the list !!

Im working with php on IIS 4 .. its an ftp client but im having problems 
when the file size is too large ... i already increased the CGI timeout on 
the server and it worked !! ... but im recently having this:
The page cannot be displayed
i know that the transfer of a very big file can take long time ... i just 
wnat to know if theres is a way to keep alive the script during transfer ... 
or maybe break the file into smaller parts and restore it once uploaded ... 
id like to have some help about this situation ..

Thanks








Daniel

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--- End Message ---
--- Begin Message ---
Isn't there a setting in php.ini which restricts the maximum file size that
can be uploaded?
Does your program work for small files?


"Daniel MassóN" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi there !! ... im Daniel im new in the list !!
>
> Hi there !!!
>
> Im Daniel ... im new in the list !!
>
> Im working with php on IIS 4 .. its an ftp client but im having problems
> when the file size is too large ... i already increased the CGI timeout on
> the server and it worked !! ... but im recently having this:
> The page cannot be displayed
> i know that the transfer of a very big file can take long time ... i just
> wnat to know if theres is a way to keep alive the script during transfer
...
> or maybe break the file into smaller parts and restore it once uploaded
...
> id like to have some help about this situation ..
>
> Thanks
>
>
>
>
>
>
>
>
> Daniel
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>


--- End Message ---
--- Begin Message ---
I have PHP4 on both a windows IIS server and a windows apache server.  The
include function only works in the same directory of the file I wish to
access.

ex.  www.include.com/default.php
all files in same directory (i guess the root)?
<?php
include 'test.inc'
?>

everything works fine.  Here's where I have the problem.

Now I want to store all my includes in one directory   www.include.com/inc

<?php
include 'inc/test.inc'
?>
that doesn't work>>>
Warning: Failed opening 'test.inc' for inclusion (include_path='')

Can anyone help me with this???

Thanks
scott


--- End Message ---
--- Begin Message ---
Can anyone tell me why the following php code produces the errors below

$products = array(array(Code => "TIR", Description => "Tires", price =>
100),
 array (Code => "OIL", Description => "Oil", price => 10),
 array (Code => "SPK", Description => "Spark Plugs", price => 4)
 );

for ($row = 0; $row < 3; $row++)
 {
 while (list($key, $value) = each ($products[$row]))
   {
   echo "|$value";
   }
   echo "|<br>";
 }



ERROR RESULTS


Warning: Use of undefined constant Code - assumed 'Code' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 24

Warning: Use of undefined constant Description - assumed 'Description' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 24

Warning: Use of undefined constant price - assumed 'price' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 24

Warning: Use of undefined constant Code - assumed 'Code' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 25

Warning: Use of undefined constant Description - assumed 'Description' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 25

Warning: Use of undefined constant price - assumed 'price' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 25

Warning: Use of undefined constant Code - assumed 'Code' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 26

Warning: Use of undefined constant Description - assumed 'Description' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 26

Warning: Use of undefined constant price - assumed 'price' in
c:/apache/apache/htdocs/www/testsite/multiarray.php on line 26





--- End Message ---
--- Begin Message ---
Hi there !!

id like to know if theres a way to know the full path of a selected file on 
the client machine through and input tag of type file, ive noticed that the 
enviroment variable $_FILES['file']['name'] only gets the name of the file 
but not the full path ... i need some help on this ...


Thanks

Daniel ....

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--- End Message ---
--- Begin Message ---
    I made a php irc bot and i am testing it on my local machine becouse i
have apache and a ircd installed.
    The problem is, when i run the file with my bowser it says "Connection
Error" and doesnt connect to my ircd on localhost
    Have any ideas what is the problem? You would help me a lot.

--- End Message ---

Reply via email to