php-windows Digest 5 Feb 2001 00:35:49 -0000 Issue 428 Topics (messages 5368 through 5371): php_imap4r2.dll not loaded ?!?! (win2k) 5368 by: Eelco de Vries 5369 by: phobo odbc/array 5370 by: Jello File Uploading 5371 by: Randall Barber 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] ----------------------------------------------------------------------
Hello, I'm trying to use some POP3 functions and the manual states I would need to use the IMAP functions. So I uncommented the ";extension=php_imap4r2.dll" line in my "c:\winnt\php.ini" file. But it gave me the following error: "Unable to load dynamic library './php_imap4r2.dll' - The specified module could not be found". I read I needed the download install the "imap-4.5.tar" module. The README file has only instructions how to "make" it for UNIX. The default "MakeFile" is for UNIX. So I tried to clown around and rename "MakeFile.nt" to "MakeFile" and make it. But I only get errors: Could Not Find D:\temp\imap-4.5\c-client\LINKAGE.* NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' Stop. I also tried this with the "MakeFile.ntk" (don't know what ntk stands for), but no fix. Can anybody help me with this problem? Regards; Eelco.
Surely all you need to do is find the php_imap4r2.dll ? its probably in the large windows (~3mb) download ? Otherwise, just search for it on the net... Siggy ----- Original Message ----- From: "Eelco de Vries" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 04, 2001 10:39 PM Subject: [PHP-WIN] php_imap4r2.dll not loaded ?!?! (win2k) > Hello, > > I'm trying to use some POP3 functions and the manual states I would need to > use the IMAP functions. > So I uncommented the ";extension=php_imap4r2.dll" line in my > "c:\winnt\php.ini" file. But it gave me the following error: > > "Unable to load dynamic library './php_imap4r2.dll' - The specified module > could not be found". > > I read I needed the download install the "imap-4.5.tar" module. The README > file has only instructions how to "make" it for UNIX. The default "MakeFile" > is for UNIX. So I tried to clown around and rename "MakeFile.nt" to > "MakeFile" and make it. But I only get errors: > > Could Not Find D:\temp\imap-4.5\c-client\LINKAGE.* > NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' > Stop. > NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' > Stop. > > > I also tried this with the "MakeFile.ntk" (don't know what ntk stands for), > but no fix. > Can anybody help me with this problem? > > Regards; > Eelco. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > >
i use $Outer=0; while( odbc_fetch_row( $sql_result )){ $Outer++; print "<tr>"; for($i=1; $i <= $Fields; $i++){ printf("<td>%s</td>", odbc_result( $sql_result, $i )); } print "</tr>"; } which gets and prints the info from my DB.... how can i assign a variable to each of the fields returned $var1 = row1 data $var2 = row2 data etc.... like the mysql_fetch_array .... please help as this is driving me up the wall. Thanks Jeremy
I have scanned the archives (probably looking in the wrong place), and have tried the code in the documentation to no avail. I need help understanding the issues of file uploading using php. Here is the setup: PHP (ISAPI) installation. PHP.INI is in C:\WINNT the two DLLs are in C:\WINNT\SYSTEM32 (php4st.dll and msrcvt.dll) i think those are the names my entensions reside in C:\PHP\EXTENSIONS. My PATH variable includes this location. Here is the code: ---formtest.html--------------------------------- <html> <body> <form action="file-upload.php" method="post" enctype="multipart/form-data"> Send these files:<br> <input name="userfile[]" type="file"><br> <input name="userfile[]" type="file"><br> <input type='submit' value='Send Files'> </form> </body> </html> --file-upload.php-------------------------------- <html> <body> Files uploaded... <?php move_uploaded_file($userfile[0], "\\temp"); // Just move the first file. ?> </body> </html> I get one of two things happening: 1) I get two WARNINGS: Cannot open/create ([1] the file I uploaded, and [2] the target directory) or 2) No errors, no warnings, but also no file was copied to the C:\TEMP directory where I asked it to copy to. It is also never consistent. I either get the warnings with no result, or NO warnings with no result. In either case, I get no results. <frown>. I am on Win2k and FAT32 disk format. Therefore I don't have much directory/file security to worry about. Anyone help me please? This is my first look at PHP and I can see the power, but if it won't do what it is supposed to do, I don't see much use in it. Thanks in advance RDB