php-windows Digest 10 Oct 2002 16:27:26 -0000 Issue 1381

Topics (messages 16306 through 16324):

Re: Information not always saved in MySQL when too slow
        16306 by: Paul van der Vlis

Re: Creating files with PHP - need help
        16307 by: Aidal

Re: works on one server and not another
        16308 by: toby z
        16318 by: Tim Blackwell

uploading filez with $HTTP_POST_FILES ?????
        16309 by: toby z
        16311 by: Mikey
        16314 by: Mikey
        16319 by: toby z

Need help with Echo
        16310 by: Keith Calvert
        16312 by: Davy Obdam
        16320 by: Rich Gray

Re: Rows of data all the same
        16313 by: Douglas F. Keim
        16315 by: Svensson, B.A.T. (HKG)
        16316 by: Douglas F. Keim

Re: multiple include_paths
        16317 by: Asendorf, John

PESR Installation on windows...
        16321 by: Asendorf, John

uploading multiple files with $HTTP_POST_FILES
        16322 by: Nino V
        16323 by: Nino V

Re: passing variables part 2
        16324 by: db

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 ---
Paul Van Der Vlis wrote:
> Hello,
> 
> I have problems with some pages which work fine under Linux (with 
> different program versions). The problem is, that when I am too slow (5 
> minutes?), the information from a PHP page is not always saved in the 
> MySQL database. Does somebody know more about this problem?
> 
> PHP 4.06
> Apache 1.3.20
> MySQL 3.23.34
> 
> With regards,
> Paul van der Vlis.
> 

Hello,

I have the following extra information:

When I use "if($result = mysql_query($sql))  { }" twice, it will always 
save in de MySQL database:

----
       #update record
       $sql ="UPDATE $usetablegoals SET SecGain = '$qSecGain' WHERE 
GoalID = '$GoalID'";
       if($result = mysql_query($sql))  { }
       if($result = mysql_query($sql))  { }
----

With regards,
Paul van der Vlis.







--- End Message ---
--- Begin Message ---
If I use full path I get in trouble with spaces in the path like "c:\program
files\Apache ...", in this case the path would be "c:\program" due to the
space in the path.
Of cause I could make a new dir on C like "c:\articles" to work around this,
but if I could get the files into a sub folder of http-server-root that
would be prefered.

"Luis Moreira" <[EMAIL PROTECTED]> wrote in message
00d901c26f78$67228770$5a655080@lamoreira2000">news:00d901c26f78$67228770$5a655080@lamoreira2000...
When you refer to a ROOT; to create a file, you are not referring to the
MACHINE's root, but to the FILE SYSTEM ROOT.
That is why the file goes to HTDOCS.
Try creating the file using an ABSOLUTE PATH, e.g
"c:\Docs\example-dir\54.txt"

Regards,
Luis

----- Original Message -----
From: "Sviss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 9:46 PM
Subject: [PHP-WIN] Creating files with PHP - need help


> Hi NG.
>
> I'm having problems creating files at a certain location.
> If I attemt to create a file it gets created in the rootdir (htdocs) even
> though I add a path infront of the file name. I've tried severel ways of
> adding a path but nothing works.
>
> eksample: "/nef/articles/54.txt"
>
> File 54.txt gets created but not at the intented location, instead it gets
> created in htdocs.
>
> Can anyone help me by telling me how I'm suppose to do this?
> I'm running PHP on Win98 with Apache.
>
> ~ Sviss
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
hay tim

y doesnt it work ?????
vat error do u get 

its really strange coz i ve XP at my home n win2k pro
at my workplace and  all the code i bring from home
vorks on my vrkplace machine

do do lemme no bout any errors i MIGHT b able to help

goodluck

toby....

--- Tim Blackwell <[EMAIL PROTECTED]> wrote: >
this works on a windows XP machine i have but when i
> put it on a w2kserver
> it doesn't work?
> 
> 
> <html>
> 
> <body>
> 
> <?
> 
>   @ $db = mysql_pconnect("localhost", "", "");
> 
>    mysql_select_db("database_name");
>    $query = "insert into table_name values
> ('".$name."')";
>    $result = mysql_query($query);
> 
> ?>
> 
> </body>
> </html>
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
below is the html form and php file that inserts the info into the database.

for some reason it's not passing the data from the form to the php script
and i'm getting undefined variables.  it ends up just inserting a blank
record into the database.

these are the errors i get?

Notice: Undefined variable: name in e:\web\addtutorial.php on line 26

Notice: Undefined variable: date in e:\web\addtutorial.php on line 26

Notice: Undefined variable: max in e:\web\addtutorial.php on line 26

Notice: Undefined variable: room in e:\webaddtutorial.php on line 26

Notice: Undefined variable: tutdesc in e:\web\addtutorial.php on line 26

Notice: Undefined variable: name in e:\web\addtutorial.php on line 31
___________________________________________________________
<html>
<head>
</head>

<body>

  <h1>Add a tutorial</h1>

  <form action="addtutorial.php" method="post" onsubmit="return
FrontPage_Form1_Validator(this)" language="JavaScript"
name="FrontPage_Form1">
    <table border=0 height="133" width="800" style="border-collapse:
collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
      <tr>
        <td height="17" width="160">Tutorial</td><td height="17"
width="640">
        <input type="text" name="name" size="20"><br></td>
      </tr>
      <tr>
        <td height="17" width="160"></td><td height="17" width="640">
        </td>
      </tr>
      <tr>
        <td height="17" width="160"></td>
        <td height="17" width="640">
        </td>
      </tr>
      <tr>
        <td height="17" width="800" colspan="2">
        </td>
      </tr>
      <tr>
        <td height="1" width="160"></td>
        <td height="1" width="640">
        </td>
      </tr>
      <tr><td colspan=2 height="26" width="800">&nbsp;</td></tr>
      <tr><td colspan=2 height="26" width="800"><input type=submit
value="Submit"></td></tr>
    </table>
  </form>
</body>
</html></textarea>

_________________________________________________________________________

<html>
<head>
  <title>Add Tutorial to database</title>
</head>
<body>
<h1>Add Tutorial</h1>
<?
  if (!$name)
  {
     echo "You have not entered all the required details.<br>"
          ."Please go back and try again.";
     exit;
  }

   $db = mysql_pconnect("localhost", "", "");

  if (!$db)
  {
     echo "Error: Could not connect to database.  Please try again later.";
     exit;
  }

   mysql_select_db("quick");
   $query = "insert into quickie values ('".$name."')";
   $result = mysql_query($query);

   if ($result)
 {
    echo  "$name has been added to the tutorial database";
 }
   else
 {
   echo "you screwed up, fix the database    ";

}
?>

</body>
</html>
___________________________________________________________

"Toby z" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hay tim
>
> y doesnt it work ?????
> vat error do u get
>
> its really strange coz i ve XP at my home n win2k pro
> at my workplace and  all the code i bring from home
> vorks on my vrkplace machine
>
> do do lemme no bout any errors i MIGHT b able to help
>
> goodluck
>
> toby....
>
> --- Tim Blackwell <[EMAIL PROTECTED]> wrote: >
> this works on a windows XP machine i have but when i
> > put it on a w2kserver
> > it doesn't work?
> >
> >
> > <html>
> >
> > <body>
> >
> > <?
> >
> >   @ $db = mysql_pconnect("localhost", "", "");
> >
> >    mysql_select_db("database_name");
> >    $query = "insert into table_name values
> > ('".$name."')";
> >    $result = mysql_query($query);
> >
> > ?>
> >
> > </body>
> > </html>
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com


--- End Message ---
--- Begin Message ---
ok now i know i ve actually lost it all

i cant upload files now

this file waz workin fine till i turned register
globalz off

n now im gettin this error

Warning: Unable to open 'Array' for reading: No such
file or directory in e:\final project\zroot\s i
r\up.php on line 52
Either you did not upload any file, or you uploaded an
empty file! (Y) :P:P:P



n line 52 is

if (copy($HTTP_POST_FILES['userfile'], "E:/final
project/zroot/" . $unique_id))


what onearth is it with it
or is it only me ????


id really appriciate anyhelp with this

thnx a mill

toby




__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Try using the $_FILES array...

regards,

Mikey
<-- Insert stream of consciousness here 

> -----Original Message-----
> From: toby z [mailto:[EMAIL PROTECTED]]
> Sent: 10 October 2002 11:15
> To: php hlp list
> Subject: [PHP-WIN] uploading filez with $HTTP_POST_FILES ?????
> 
> 
> ok now i know i ve actually lost it all
> 
> i cant upload files now
> 
> this file waz workin fine till i turned register
> globalz off
> 
> n now im gettin this error
> 
> Warning: Unable to open 'Array' for reading: No such
> file or directory in e:\final project\zroot\s i
> r\up.php on line 52
> Either you did not upload any file, or you uploaded an
> empty file! (Y) :P:P:P
> 
> 
> 
> n line 52 is
> 
> if (copy($HTTP_POST_FILES['userfile'], "E:/final
> project/zroot/" . $unique_id))
> 
> 
> what onearth is it with it
> or is it only me ????
> 
> 
> id really appriciate anyhelp with this
> 
> thnx a mill
> 
> toby
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 

--- End Message ---
--- Begin Message ---
Also - do you have track_vars set to on?

Please let me know how you get on, as I am about to try using this myself in
a bit.

regards,

Mikey
"If you give someone a program, you will frustrate them for a day. If you
teach them how to program, you will frustrate them for a lifetime."

> -----Original Message-----
> From: toby z [mailto:[EMAIL PROTECTED]]
> Sent: 10 October 2002 11:15
> To: php hlp list
> Subject: [PHP-WIN] uploading filez with $HTTP_POST_FILES ?????
>
>
> ok now i know i ve actually lost it all
>
> i cant upload files now
>
> this file waz workin fine till i turned register
> globalz off
>
> n now im gettin this error
>
> Warning: Unable to open 'Array' for reading: No such
> file or directory in e:\final project\zroot\s i
> r\up.php on line 52
> Either you did not upload any file, or you uploaded an
> empty file! (Y) :P:P:P
>
>
>
> n line 52 is
>
> if (copy($HTTP_POST_FILES['userfile'], "E:/final
> project/zroot/" . $unique_id))
>
>
> what onearth is it with it
> or is it only me ????
>
>
> id really appriciate anyhelp with this
>
> thnx a mill
>
> toby
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


--- End Message ---
--- Begin Message ---

ya mikey its workin now thnx .....

heres me code pal .....

in load.php

echo("<input type=hidden name=MAX_FILE_SIZE
value=2000000>
Send this file: <input name=userfile type=file>
<input type=submit value='Send File'>
");


in up.php


        if (copy($_FILES['userfile']['tmp_name'], "E:\\final
project\\zroot\\" . $unique_id.".pdf"))
                {
                        echo(" file successfully uploaded ");

} // endda if copy


       else { echo("either u didn upload a file or its
empty ! ! ! ! ");}


hope it helps 
(aftr the if chk i ve got a qry if u van 2 c dat lemme
no n i ll mail dat 2 ....)

luck 

toby .....

 --- Mikey <[EMAIL PROTECTED]> wrote: > Also - do you
have track_vars set to on?
> 
> Please let me know how you get on, as I am about to
> try using this myself in
> a bit.
> 
> regards,
> 
> Mikey
> "If you give someone a program, you will frustrate
> them for a day. If you
> teach them how to program, you will frustrate them
> for a lifetime."
> 
> > -----Original Message-----
> > From: toby z [mailto:[EMAIL PROTECTED]]
> > Sent: 10 October 2002 11:15
> > To: php hlp list
> > Subject: [PHP-WIN] uploading filez with
> $HTTP_POST_FILES ?????
> >
> >
> > ok now i know i ve actually lost it all
> >
> > i cant upload files now
> >
> > this file waz workin fine till i turned register
> > globalz off
> >
> > n now im gettin this error
> >
> > Warning: Unable to open 'Array' for reading: No
> such
> > file or directory in e:\final project\zroot\s i
> > r\up.php on line 52
> > Either you did not upload any file, or you
> uploaded an
> > empty file! (Y) :P:P:P
> >
> >
> >
> > n line 52 is
> >
> > if (copy($HTTP_POST_FILES['userfile'], "E:/final
> > project/zroot/" . $unique_id))
> >
> >
> > what onearth is it with it
> > or is it only me ????
> >
> >
> > id really appriciate anyhelp with this
> >
> > thnx a mill
> >
> > toby
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >
> >
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Hi I've just started with Php and MySql
I have installed the PhpTriad all in one package on my windows XP and all
seems to be going
well.

I have the following problem, here is the code

$result = mysql_query("select * from proprietaires") or die(
mysql_error() );

while ($row = mysql_fetch_row($result))

{

echo "Id:";
echo $row["Id"];
echo "<br>\n";

echo $row[2];
echo "<br>\n";

}

The Echo $row["ID"] does not work
The Echo $row[2] does

This works on some of my other forms. any ideas or hints woul most certainly
be welcome


Thanks in advance
Keith
France





--- End Message ---
--- Begin Message ---
Hi Kieth,

I would use this :

$result = mysql_query("select * from proprietaires") or die(
mysql_error() );

while ($row = mysql_fetch_row($result))

{
echo ".$row['Id'].";
echo "<br>\n";

echo $row[2];
echo "<br>\n";
}

I hope this works,

Best regards,
 
Davy Obdam,
mailto:[EMAIL PROTECTED]


You wrote:
Hi I've just started with Php and MySql
I have installed the PhpTriad all in one package on my windows XP and
all seems to be going well.

I have the following problem, here is the code

$result = mysql_query("select * from proprietaires") or die(
mysql_error() );

while ($row = mysql_fetch_row($result))

{

echo "Id:";
echo $row["Id"];
echo "<br>\n";

echo $row[2];
echo "<br>\n";

}

The Echo $row["ID"] does not work
The Echo $row[2] does

This works on some of my other forms. any ideas or hints woul most
certainly be welcome


Thanks in advance
Keith
France






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

================================================================
Deze e-mail is door E-mail VirusScanner van Planet Internet
gecontroleerd op virussen. Op http://www.planet.nl/evs staat een
verwijzing naar de actuele lijst waar op wordt gecontroleerd.



--- End Message ---
--- Begin Message ---
Bonjour Keith

Use mysql_fetch_array($result) not mysql_fetch_row($result) - this will
return an associative as well as a standard array.

Ciao
Rich

-----Original Message-----
From: Keith Calvert [mailto:[EMAIL PROTECTED]]
Sent: 07 July 2002 07:56
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Need help with Echo


Hi I've just started with Php and MySql
I have installed the PhpTriad all in one package on my windows XP and all
seems to be going
well.

I have the following problem, here is the code

$result = mysql_query("select * from proprietaires") or die(
mysql_error() );

while ($row = mysql_fetch_row($result))

{

echo "Id:";
echo $row["Id"];
echo "<br>\n";

echo $row[2];
echo "<br>\n";

}

The Echo $row["ID"] does not work
The Echo $row[2] does

This works on some of my other forms. any ideas or hints woul most certainly
be welcome


Thanks in advance
Keith
France






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

--- End Message ---
--- Begin Message ---
This is an update on this problem.  Direct SQL commands are working just
fine with the query, but as soon as I use the php commands it get these
results.  I have tried stepping through the rows with various odbc commands
with similar results.  Now I am suspecting that the $Results are only
getting the first record in the table three times since there are three
records in the table.

I have tried while statements, odbc_fetch_row, next ... the list goes on.
All I have accomplished if seeing the whole of or parts of the same record
each time.

I just don't think the query is working in php.  And if so, I don't know how
to verify that.

Any suggestions?

"Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have this query that I performing on the database.
>
> Unfortunately, it is returning all the same information for all rows.
>
> The table has three rows of data in it
> Tbl_ID        Tbl_Name        Tbl_Age
> 1                    Horse                21
> 2                    Cow                  30
> 3                    Eagle                 14
>
> My php script looks like this.
> $TableName = "PUB.table1";
> $Link = odbc_connect ($DBName,$User,$Password);
> $Query = "SELECT * from $TableName";
> $Results = odbc_do($Link, $Query);
> print odbc_result_all($Results);
>
> My browser results are as follows ...
>       Tbl_ID Tbl_Name Tbl_Age
>       1 Horse 21
>       1 Horse 21
>       1 Horse 21
>
>
> I am not sure what I am doing wrong here.
>
>


--- End Message ---
--- Begin Message ---
How did you do loop? Did you do something like this:

$result = mssql_query($query);

while (@line = mssql_fetch_row($result)) {
        print "$line[0], @line[1], @line[3]\n";
}

> -----Original Message-----
> From: Douglas F. Keim [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Rows of data all the same
> 
> 
> This is an update on this problem.  Direct SQL commands are working just
> fine with the query, but as soon as I use the php commands it get these
> results.  I have tried stepping through the rows with various odbc commands
> with similar results.  Now I am suspecting that the $Results are only
> getting the first record in the table three times since there are three
> records in the table.
> 
> I have tried while statements, odbc_fetch_row, next ... the list goes on.
> All I have accomplished if seeing the whole of or parts of the same record
> each time.
> 
> I just don't think the query is working in php.  And if so, I don't know how
> to verify that.
> 
> Any suggestions?
> 
> "Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I have this query that I performing on the database.
> >
> > Unfortunately, it is returning all the same information for all rows.
> >
> > The table has three rows of data in it
> > Tbl_ID        Tbl_Name        Tbl_Age
> > 1                    Horse                21
> > 2                    Cow                  30
> > 3                    Eagle                 14
> >
> > My php script looks like this.
> > $TableName = "PUB.table1";
> > $Link = odbc_connect ($DBName,$User,$Password);
> > $Query = "SELECT * from $TableName";
> > $Results = odbc_do($Link, $Query);
> > print odbc_result_all($Results);
> >
> > My browser results are as follows ...
> >       Tbl_ID Tbl_Name Tbl_Age
> >       1 Horse 21
> >       1 Horse 21
> >       1 Horse 21
> >
> >
> > I am not sure what I am doing wrong here.
--- End Message ---
--- Begin Message ---
$Query = "SELECT * from $TableName";
$Results = odbc_do($Link, $Query);
while (odbc_fetch_row($Results))
{
    echo odbc_result_all($Results);
}

"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
000b01c27056$815a91d0$[EMAIL PROTECTED]">news:000b01c27056$815a91d0$[EMAIL PROTECTED]...
> How did you do loop? Did you do something like this:
>
> $result = mssql_query($query);
>
> while (@line = mssql_fetch_row($result)) {
> print "$line[0], @line[1], @line[3]\n";
> }
>
> > -----Original Message-----
> > From: Douglas F. Keim [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 10, 2002 1:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Re: Rows of data all the same
> >
> >
> > This is an update on this problem.  Direct SQL commands are working just
> > fine with the query, but as soon as I use the php commands it get these
> > results.  I have tried stepping through the rows with various odbc
commands
> > with similar results.  Now I am suspecting that the $Results are only
> > getting the first record in the table three times since there are three
> > records in the table.
> >
> > I have tried while statements, odbc_fetch_row, next ... the list goes
on.
> > All I have accomplished if seeing the whole of or parts of the same
record
> > each time.
> >
> > I just don't think the query is working in php.  And if so, I don't know
how
> > to verify that.
> >
> > Any suggestions?
> >
> > "Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I have this query that I performing on the database.
> > >
> > > Unfortunately, it is returning all the same information for all rows.
> > >
> > > The table has three rows of data in it
> > > Tbl_ID        Tbl_Name        Tbl_Age
> > > 1                    Horse                21
> > > 2                    Cow                  30
> > > 3                    Eagle                 14
> > >
> > > My php script looks like this.
> > > $TableName = "PUB.table1";
> > > $Link = odbc_connect ($DBName,$User,$Password);
> > > $Query = "SELECT * from $TableName";
> > > $Results = odbc_do($Link, $Query);
> > > print odbc_result_all($Results);
> > >
> > > My browser results are as follows ...
> > >       Tbl_ID Tbl_Name Tbl_Age
> > >       1 Horse 21
> > >       1 Horse 21
> > >       1 Horse 21
> > >
> > >
> > > I am not sure what I am doing wrong here.


--- End Message ---
--- Begin Message ---
I figured it out, I think... it seems you can't have multiple include paths
on different drives.

Does that sound right?  Would anyone consider that a bug or should that be
the way it is?

Thanks,

John

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -----Original Message-----
> From: Asendorf, John [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 3:42 PM
> To: Php-Windows (E-mail)
> Subject: [PHP-WIN] multiple include_paths
> 
> 
> I'm attempting to install PEAR and from what I can tell, I 
> only need to add
> the PEAR installation directory to the include_path...
> 
> The website already has an extensive use of include in directory
> d:\here\is\a\path
> 
> but, when I change the indlue_path from
> 
> include_path "D:\here\is\a\path"
> 
> to
> 
> include_path "D:\here\is\a\path;C:\path\for\pear"
> 
> I continue to get the "Failed opening required file PEAR.php 
> (include path:
> D:\here\is\a\path)" notice...
> 
> phpinfo shows that the new include path line is being used 
> but it seems that
> I only get one path...
> 
> Any help?
> 
> ---------------------
> John Asendorf - [EMAIL PROTECTED]
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
Has anyone ever successfully installed pear on a windows machine?  If so,
could you give me a hand?  I've been racking my head for a dayand a half now
and the docs are fairly useless when it comes to to windows install...


--- End Message ---
--- Begin Message ---
Hi, how can I upload multiple files?

What's wrong with these lines?

 echo("<input type=hidden name=MAX_FILE_SIZE value=2000000>
Send this file: <input name=userfile type=file1>
and this other: <input name=userfile type=file2>
<input type=submit value='Send File'>
");

They seem not working!

Thanks,
Nino

=================================
http://www.vessella.it (italiano, esperanto, kiswahili, english)
http://www.changamano.org (Iniziative di solidarietà per la Tanzania)
Corso di lingua swahili: http://corsoswahili.vessella.net
Corso di lingua esperanto: http://esperanto.vessella.net
Jifunze lugha ya Kiesperanto: http://kiesperanto.vessella.net
Kamusi/Vortaro: http://kamusi.vessella.net
Vocabolario esperanto-italiano: http://vortaro.vessella.net

--- End Message ---
--- Begin Message ---
Sorry, I mistyped the code!

echo("<input type=hidden name=MAX_FILE_SIZE value=2000000>
Send this file: <input name=userfile1 type=file>
and this other: <input name=userfile2 type=file>
<input type=submit value='Send File'>
");


Bye,
Nino

=================================
http://www.vessella.it (italiano, esperanto, kiswahili, english)
http://www.changamano.org (Iniziative di solidarietà per la Tanzania)
Corso di lingua swahili: http://corsoswahili.vessella.net
Corso di lingua esperanto: http://esperanto.vessella.net
Jifunze lugha ya Kiesperanto: http://kiesperanto.vessella.net
Kamusi/Vortaro: http://kamusi.vessella.net
Vocabolario esperanto-italiano: http://vortaro.vessella.net

--- End Message ---
--- Begin Message ---
ah, thanks!

"Dash McElroy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Use an ampersand (&) like follows:
>
> echo "<a href=\"passtest.php?i={$i}&j={$j}\">Press to continue</a>";
>
> -Dash
>
> Faith, n:
> That quality which enables us to believe what we know to be
> untrue.
>
> On Wed, 9 Oct 2002, db wrote:
>
> > this is a follow-up question to my question about passing a variable
through
> > a link  ie,
> >
> >     echo "<a href='passtest.php?i={$i}'>Press to continue</a>";
> >
> > how would i go about passing more than one variable, say $i and $j?
> >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.400 / Virus Database: 226 - Release Date: 10/9/2002


--- End Message ---

Reply via email to