php-windows Digest 17 Nov 2001 06:02:21 -0000 Issue 858

Topics (messages 10451 through 10458):

is there a File Upload limit 4000bytes...
        10451 by: Gary Davidson
        10455 by: Bill Borum

Re: Include files seem sqiffy
        10452 by: Mike Flynn

For Alain Samoun
        10453 by: Asendorf, John

Session Variables...between pages.
        10454 by: Ryan Marrs

Please add me to your mailing list for PHP + Windows users
        10456 by: Orlando Colamatteo

Apache 2.0.28
        10457 by: Jobarr

PHP + IIS + WIN2K + ODBC Access Problem
        10458 by: Wilman Arambillete

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 ---
I have a script for uploading images which seems to stop working after 4000
bytes?

using $HTTP_POST_FILES I alway get a 'name' and 'type' but
all files bigger than 4000 bytes are returned without tmp_name and size?
MAX_FILE_SIZE is 20000000
and all php memory, post_max and upload_max are set to 8M

Im very confused and my head hurts from thinking too hard but I have a
feeling im
going to have to kick myself in the butt !

see for yourself http://213.61.126.228/up.php
A give out the $HTTP_POST_FILES in the example...

Why me...

Thx in advance.
Gary







--- End Message ---
--- Begin Message ---
Gary,

I am a bit of a php newbie and could be a mile off base, but I suspect that
the answer lies somewhere in your php.ini file.  I noticed that it defaults
several settings to 4096 bytes.

HTH,
Bill

"Gary Davidson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| I have a script for uploading images which seems to stop working after
4000
| bytes?
|
| using $HTTP_POST_FILES I alway get a 'name' and 'type' but
| all files bigger than 4000 bytes are returned without tmp_name and size?
| MAX_FILE_SIZE is 20000000
| and all php memory, post_max and upload_max are set to 8M
|
| Im very confused and my head hurts from thinking too hard but I have a
| feeling im
| going to have to kick myself in the butt !
|
| see for yourself http://213.61.126.228/up.php
| A give out the $HTTP_POST_FILES in the example...
|
| Why me...
|
| Thx in advance.
| Gary
|
|
|
|
|
|
|


--- End Message ---
--- Begin Message ---
You should use your real e-mail as your return address so I can respond to 
you privately.  Some messages aren't deserving of a message to the whole 
list.  This is a recommendation to everyone on the list because it's 
certainly not the first time that I've wanted to give someone private 
advice only to notice that they used a "no spam" e-mail address..

-Mike

At 10:38 PM 11/12/2001 +0000, [EMAIL PROTECTED] wrote:
>I am trying to install a php/mysql board but get warnings about Undefined 
>variable: .
>It appears to be linked to the use of include files. Are these somewhat 
>different under Doze? I'm a bit of a newbie with php but it does 
>appear  some php code needs tweaking to work in windows.
>Any pointers greatfully accepted!

               -=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED]  http://www.mikeflynn.net/  * Give blood *
  ...maintaining lawns, watching televised sports, birthing
  children, listening to Top 40 music, and collecting
  stuffed animals...


--- End Message ---
--- Begin Message ---
Alain,

I am having trouble getting through to you.  Your emails keep bouncing.  Are
you out there?

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

--- End Message ---
--- Begin Message ---
Here's the problem.  I've got an upload script, attached to a message forum.
When the user goes to post a message, they have a link to upload files.
When they click the link, it opens a new window with the upload form, and
that form handles all the uploading.  I then need to pass the filename it
uploaded back to the original message form without refreshing.  I thought
perhaps sessions could do this, but apparently I was mistaken.  In
conclusion, when the user uploads the file, I need it to pass the filename
back to the original page without refreshing the original page, so that it
may dump it to SQL.  I was going to post this to the PHP-SQL list, but I
feel that's not necessary, since the SQL portion of the script is working.
I suppose I could write the filename and the session variable to another
temporary table, and pull via the $PHPSESSID, but I think there's got to be
an easier way to do this.  I'm open to all possibilities, so fire away!

Thanks in advance for any assistance.

Ryan
--- End Message ---
--- Begin Message ---
Please add me to your mailing list for PHP + Windows users.

Thanks for posting such valuable info,
Orlando
--- End Message ---
--- Begin Message ---
I need a build of PHP that can be used as a module with Apache 2.0.28 beta.
Anyone know where I could find one?

thanks
-Jobarr


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

I have been trying to access an Oracle 7.x database through an ODBC DSN and
it shows a message like:
"cannot resolve service name: ...."

Before that I have already tested the whole website with PHP 4.0.4 and
Apache 1.3.14 in 2 different Win9x PCs and it all went *perfectly*. The only
difference with that first scenario was that I used a Windows ODBC
connection with an Access Database.

On the other hand, working with WIN2K I also tried the ODBC connection
outside the application (using the Oracle ODBC Tester) and it seemed to work
fine.

I also tried the same configuration in a different WIN2K box and the same
error ocurred.

I do not know what to do since I am in a race against the time...

Any comments will be appreciated.
My next steps will be update to a newer PHP release and tried with ODBC. I
will also try a new version of my website,  making the necessary changes for
accessing Oracle directly.

Wilman


--- End Message ---

Reply via email to