php-windows Digest 20 Mar 2004 00:58:11 -0000 Issue 2173

Topics (messages 23193 through 23202):

variable passing problem
        23193 by: Viraj Kalinga Abayarathna
        23194 by: Svensson, B.A.T. (HKG)
        23196 by: Viraj Kalinga Abayarathna
        23197 by: Svensson, B.A.T. (HKG)

install win95 problem
        23195 by: Bobo Wieland
        23201 by: DvDmanDT

Re: OK, ahí voy...
        23198 by: Cesar Cordovez
        23200 by: George Pitcher

Re: [PHP-DB] An old dog, with a new trick..
        23199 by: Galbreath, Mark A

PHP5 RC1 for Windows
        23202 by: romain bourdon

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 all,

I have a script to upload  a file into MySQL as BLOB.

this script works nicely on a LAMP server, but i have to implement it
on a Windows2000 server running PHP, Apache and MySQL.


-- here goes the "gather.php" content, which allow us to browse for a
specific
file in the system, and a "Upload" button.
---------------------- gather.php -----------------------------
<?php

<form enctype="multipart/form-data" action="show.php" method="post">
        <input type="file" name="fileToUpload" size="35">
         <input type="submit" value="Upload the file" name="Submit">
</form>

?>
----------------- end of gather.php ---------------------------

-- here goes the "show.php" content, which show us the index of the
file to upload in to MySQL.

(on windows:  Notice: Undefined variable: fileToUpload in
e:\viraj\office\inventory\2.php on line 3)
(on Linux: Resource id #1 )

---------------------- show.php -----------------------------
<?php

$fileHandle = fopen($fileToUpload, "r");

echo $fileHandle;

?>
---------------------- end show.php -------------------------

It seems a problem in passing variables through the POST array.(but if
we
make the Form input type from "file" to "text" it pass the value
correctly.)

pls direct me on this issue..

thanks a lot.


Viraj.




--- End Message ---
--- Begin Message ---
 
> (on windows:  Notice: Undefined variable: fileToUpload in
> e:\viraj\office\inventory\2.php on line 3) (on Linux:
> Resource id #1 )

Using $_POST['fileToUpload'], will probably solve that
problem for you.

--- End Message ---
--- Begin Message ---
then it says...

Notice: Undefined index: fileToUpload in e:\viraj\office\inventory\2.php
on line 3



(fileToUpload is the variable name)

any suggestions?

Viraj.



"Svensson, B.A.T. (HKG)" wrote:

>
> > (on windows:  Notice: Undefined variable: fileToUpload in
> > e:\viraj\office\inventory\2.php on line 3) (on Linux:
> > Resource id #1 )
>
> Using $_POST['fileToUpload'], will probably solve that
> problem for you.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
When you upload a file in PHP it get stored in an upload
temp directory. The manual describes how to get them:

 http://nl2.php.net/manual/en/features.file-upload.php

-----Original Message-----
From: Viraj Kalinga Abayarathna
To: Svensson, B.A.T. (HKG)
Cc: '[EMAIL PROTECTED] '
Sent: 19-3-2004 12:42
Subject: Re: [PHP-WIN] variable passing problem

then it says... 

Notice: Undefined index: fileToUpload in e:\viraj\office\inventory\2.php
on line 3 
  
  


(fileToUpload is the variable name) 


any suggestions? 


Viraj. 
  
  


"Svensson, B.A.T. (HKG)" wrote: 


  
> (on windows:  Notice: Undefined variable: fileToUpload in 
> e:\viraj\office\inventory\2.php on line 3) (on Linux: 
> Resource id #1 ) 

Using $_POST['fileToUpload'], will probably solve that 
problem for you. 


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

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

I'm trying to install PHP under windows95. I'm using "easyphp" from
www.easyphp.org .
Whn I'm trying to run php.exe I get an error message saying something like:

"PHP4TS.DLL is linked for export,
ole32.dll:createInstance("something something") which does not exist"

Anyone know what this is?


.bobo

--- End Message ---
--- Begin Message ---
Support for windows 95 has been dropped.. Maybe that error is why..
Although, you are not supposed to like doubleclick php.exe or something,
cause that gives error for me too..

-- 
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Bobo Wieland" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi!
>
> I'm trying to install PHP under windows95. I'm using "easyphp" from
> www.easyphp.org .
> Whn I'm trying to run php.exe I get an error message saying something
like:
>
> "PHP4TS.DLL is linked for export,
> ole32.dll:createInstance("something something") which does not exist"
>
> Anyone know what this is?
>
>
> .bobo

--- End Message ---
--- Begin Message --- Felipe Eduardo Ortiz López wrote:

Mi primera pregunta: ¿PHP tiene algún editor o IDE tipo las que tiene HTML?
Clarifico; por ejemplo puedo trabajar con FrontPage, o el editor de textos,
para generar los archivos HTML, ¿existe algo así para PHP?


My first question: Has PHP some editor or IDE kinda HTML has? I'll be clear: for instance i can work with FrontPage, or text edito to generate the HTML files, it does exist something similar for PHP?

_________________________________________
Felipe Eduardo Ortiz López,
Consultor.
Tiammat Software.
Yahoo! Messenger: tiammatsoftware
MSN Messenger: [EMAIL PROTECTED]
http://www.prodigyweb.net.mx/tiammat/default.html



Yes... But you are about to start a Holly War here... Be aware... (And please, do not cross-post, and If you can, please write only in english. Gracias!!)
--- End Message ---
--- Begin Message ---
Surely we're still months away from a 'Holly War'.

George

> -----Original Message-----
> From: Cesar Cordovez [mailto:[EMAIL PROTECTED]
> Sent: 19 March 2004 2:23 pm
> To: Felipe Eduardo Ortiz López
> Cc: lPHP and Databases; lPHP Para Todos; lPHP For Windows;
> [EMAIL PROTECTED]; LProgramación en PHP
> Subject: Re: [PHP-WIN] OK, ahí voy...
>
>
> Felipe Eduardo Ortiz López wrote:
>
> >Mi primera pregunta: ¿PHP tiene algún editor o IDE tipo las que
> tiene HTML?
> >Clarifico; por ejemplo puedo trabajar con FrontPage, o el editor
> de textos,
> >para generar los archivos HTML, ¿existe algo así para PHP?
> >
> >
> >My first question: Has PHP some editor or IDE kinda HTML has?
> I'll be clear:
> >for instance i can work with FrontPage, or text edito to
> generate the HTML
> >files, it does exist something similar for PHP?
> >
> >_________________________________________
> >Felipe Eduardo Ortiz López,
> >Consultor.
> >Tiammat Software.
> >Yahoo! Messenger: tiammatsoftware
> >MSN Messenger: [EMAIL PROTECTED]
> >http://www.prodigyweb.net.mx/tiammat/default.html
> >
> >
> >
> Yes...  But you are about to start a Holly War here... Be aware...  (And
> please, do not cross-post, and If you can, please write only in
> english.  Gracias!!)
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
You bet!

http://www.catb.org/~esr/faqs/smart-questions.html

Mark

-----Original Message-----
From: Felipe Eduardo Ortiz López [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:06 PM
To: lPHP and Databases; [EMAIL PROTECTED]; lPHP For Windows; lPHP
Para Todos
Subject: [PHP-DB] An old dog, with a new trick..


Bueno, héme aquí, un perro viejo tratando de aprender nuevos trucos.
Comienzo a desarrollar en PHP, con la idea de conectar bases de datos MySQL
y Firebird a las aplicaciones. ¿Me podrían orientar de por dónde comenzar,
libros, sitios, algo así? Les estaré muy agradecido, y disculpen si comienzo
a hacer preguntas tontas...

Well, I'm here, an old dog trying to learn new tricks. I'm starting to
develop in PHP, having the idea to connect MySQL and Firebord databases to
the aplications. Can anyone lend me a hand to have a good starting, bokks,
sites, something else? I'll be very grateful, and very sorry if I'm starting
with the silly questions...

_________________________________________
Felipe Eduardo Ortiz López,
Consultor.
Tiammat Software.
Yahoo! Messenger: tiammatsoftware
MSN Messenger: [EMAIL PROTECTED]
http://www.prodigyweb.net.mx/tiammat/default.html

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

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

PHP RC1 is now out!
To allow you to easily try it, we have included it in the new version of
WAMP5 0.4
(APACHE, PHP5 RC1, MySQL, PHPMYADMIN, SQLite MANAGER).

You can find it at :
http://www.wampserver.com

Have Fun

--- End Message ---

Reply via email to