php-windows Digest 21 Jan 2003 07:24:04 -0000 Issue 1547

2003-01-20 Thread php-windows-digest-help
php-windows Digest 21 Jan 2003 07:24:04 - Issue 1547 Topics (messages 17996 through 18009): Re: Moving an uploaded file keeps failing 17996 by: Matt Babineau 17997 by: Matt Babineau 17998 by: Chris Kranz 17999 by: Matt Babineau 18001 by: The Head Sage

[PHP-WIN] RE: Odd for loop behavior.

2003-01-20 Thread Uttam
i think the problem is not with this code but with the code u r filling your array with. r u sure the array $traits is the way u want it to be? i got correct result with following code: 1, 'traitname' => 'Ideas'), Array ( 'traitid' => 3, 'traitname' => 'Voice' ),Array ( 'traitid' => 5, 'traitn

Re: [PHP-WIN] arrays and nested arrays and loops and databases...

2003-01-20 Thread Dash McElroy
Eric, If I understand your request, it seems as if you are wondering what would happen if the array got too large. If you want to do some kind of processing with the array, instead of loading it into an array, do the processing in the while loop. $query = "select email, fullname from tablename wh

[PHP-WIN] Re: Non-thread safe Win32 builds

2003-01-20 Thread Edin Kadribasic
Its a case of simple misunderstanding. There are no plans to discontinue PHP support for Windows. Non-thread safe Win32 builds have not been made for quite some time (if ever for 4.x.x) so the question on php-dev was weather to remove obsolete source files needed for those builds. Edin "Victor Me

[PHP-WIN] how to read lob,clob and long field in oracle

2003-01-20 Thread Ha Duy Thien
Dear PHP gurus, Do you know the way to read data from LOB, CLOB, or LONG field in Oracle database Please tell me how to do it. Thanks very much Thien -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: ssl:// with fsockopen () on Windows XP

2003-01-20 Thread Edin Kadribasic
If you replace your php4ts.dll with http://ftp.proventum.net/pub/php/win32/misc/openssl/php-4.3.0-ssl.zip you problem should be solved. Edin "Alexander Stirmlinger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > when I try to open a SSL-connection

[PHP-WIN] Re: Unable to load dynamic library php_oci8.dll on Windows XP SPK1

2003-01-20 Thread Edin Kadribasic
You need to have Oracle client on the machine where PHP is installed. Edin "Andre Matos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am receiving the mensage "Unable to load dynamic library > "C:\ApacheGroup\PHP\extensions\php_oci8.dll" > > I am u

Re: [PHP-WIN] SQL-query

2003-01-20 Thread Cam Dunstan
Wow! thanks fellas I really enjoyed that! except when Sean fired me! Hey Sean can I get my Mars Bars and stuff out of my drawer or is it straight out onto the street? Nothing like the subject of auto increment to cause a few hot flushes hey girls!! Proof indeed you have all had your moments wi

[PHP-WIN] CH 5 pg 150

2003-01-20 Thread Wade
01202003 1702 CST Ive been going back over all these exercises trying to do them with the Global Variables off. Its much more difficult. Below is the exercise on Switch and Case. Im uncertain about the $_X["Y"] in each statement. This code currently produces nothing when run. $Duration = 0;

[PHP-WIN] Re: Moving an uploaded file keeps failing

2003-01-20 Thread The Head Sage
I encountered the same problem recently while working on my sites Fan Art section. There's a small error in the PHP manual which solves your problem. With the move_uploaded_file(); function, in the end string you need to put the actual file name as well.. e.g: $filename = $_FILES['userfile']['n

[PHP-WIN] Unable to load dynamic library php_oci8.dll on Windows XP SPK1

2003-01-20 Thread Andre Matos
Hi, I am receiving the mensage "Unable to load dynamic library "C:\ApacheGroup\PHP\extensions\php_oci8.dll" I am using Windows XP SPK1 with Apache2.0.43 with PHP4-4.2.3. I tried to use with Oracle but when I uncomment the line: extension=php_oci8.dll I started to receive this mensage: Unable

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
I tried that, and it did not create d:\blah.txt. Alternatively, I also tried "d:\\" . $_FILES['userfile']['name'] With no luck either. --> -Original Message- --> From: Chris Kranz [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 3:59 PM --> To: [EMAIL PROTECTED] --> Subje

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Chris Kranz
move_uploaded_file("d:\\temp\\" . $_FILES['userfile']['tmp_name'], "d:\\blah.txt"); see if that creates a file called blah.txt if it does, then you gonna have to name your file, rather than just tell it d:\ chris kranz fatcuban.com -Original Message- From: Matt Babineau [mailto:[EMAIL

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
UPDATE: Ok, I got the page to stop giving me errors by supplying the source file path like this: move_uploaded_file("d:\\temp\\" . $_FILES['userfile']['tmp_name'], "d:\\"); But that still doesn't move the uploaded file to the d:\ either. Any ideas? --> -Original Message- --> From: Matt

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
Well, I made these changes, and it still is giving me errors for some reason. Also, the drive IIS is on is FAT32, so I don't think it can be a security issue...since there is none ;-) db.txt d:\Temp\php4EE.tmp 0 PHP Warning: move_uploaded_file(d:\) [function.move-uploaded-file]: failed to create

php-windows Digest 20 Jan 2003 18:55:08 -0000 Issue 1546

2003-01-20 Thread php-windows-digest-help
php-windows Digest 20 Jan 2003 18:55:08 - Issue 1546 Topics (messages 17985 through 17995): encrypt a string with pgp... 17985 by: Ermelir Re: PHP Search 17986 by: Radovan Radic Bar code reader 17987 by: Sichta Daniel 17988 by: Luis Ferro Re: Apahce Windows

[PHP-WIN] Odd for loop behavior.

2003-01-20 Thread Sterling Anderson
I have the following code: for($x = 0; $x < sizeof($traits); $x++) { echo '' . '' . $traits[$x]['traitname'] . $x . '' . ' 1' . ' 2' . ' 3' . ' 4' . ''; } The array this code is

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
Thanks Stephen, I'll try this out now! --> -Original Message- --> From: Stephen Edmonds [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 12:26 PM --> To: Matt Babineau --> Cc: PHP Windows Helplist --> Subject: Re: [PHP-WIN] Moving an uploaded file keeps failing --> --> -->

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Chris Kranz
Dunno if it's just me, but you don't NEED the MAX_FILE_SIZE form item. I never use it, I always define max file sizes and types in a separate config file. My uploads work just fine. Sorry, don't mean to nit pick :) In your upload script, try defining where you actually want it copies to as an abs

Re: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Stephen Edmonds
Currently from what I can see there are a few problems: The Form: Send this file: action is not essential if the form is sending to itself (okay, maybe thats just me being lazy :p). However, you missed out a vital field This needs to appear just before the file upload input. It tells PHP

[PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
Here is the error: PHP Warning: move_uploaded_file(/) [function.move-uploaded-file ]: failed to create stream: No such file or directory in D:\wwwroot\kingmanchamber\secure-area\administration\upload\file_upload. php on line 22 PHP Warning: move_up

Re: [PHP-WIN] arrays and nested arrays and loops and databases...

2003-01-20 Thread H Marc Bower
This worked wonderfully. Thanks, Dash. - Original Message - From: "Dash McElroy" <[EMAIL PROTECTED]> Subject: Re: [PHP-WIN] arrays and nested arrays and loops and databases... > If I understand correctly, you want to have an array containing an array > with people's email address and nam

[PHP-WIN] Re: Apahce Windows problems

2003-01-20 Thread toby z
u forgot to attach the files n attach ur code too if ud like to share it with us that is 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 Wi

Re: [PHP-WIN] Bar code reader

2003-01-20 Thread Luis Ferro
Please refrase the question... and be more precise on what is the problem. By bar code reader you mean what? What hardware are you trying to use (both reader and computer)? What do you intend to do and what seams to be missing? If i recall correctly, all bar code readers just add to the keyboar

[PHP-WIN] Bar code reader

2003-01-20 Thread Sichta Daniel
Hi, cfg: w2k, MSSQL, php4.2 Any idea how to read %subject% ? THX Ing. Daniel Šichta EIF AS TIS SWH s.r.o. Bytčická 2 010 01 Žilina tel.: +421 41 505 5889 fax: +421 41 505 5809 ICQ:84700861 -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] Re: PHP Search

2003-01-20 Thread Radovan Radic
Thanks for the answers and tips. I think i am gonna quit this project and try to get some easier. Maybe regular expr. could help, but some designers dont use ... but only so i could have much problems about it. Thanks again, i was hoping this could be easier:( Radovan "Radovan Radic" <[EMAIL PRO

[PHP-WIN] encrypt a string with pgp...

2003-01-20 Thread Ermelir
hello everybody, I'm new on this mailing list and I hope you can help me. I search to encrypt a string with the algorithm of pgp, for sending me a email and I can decrypt it easyly. but pgp under windows cannot be execute with a command line. Have you a solution about it? thanks ermelir