Re: Re: Re: [PHP-WIN] Permission deny on connecting MS Access database

2004-11-30 Thread Emperor Kang Xi
I use MySQL for PHP and I need to retrieve data from MDB directly and display it to user browser.If php possible to retrive mdb data, so i do not need to write converter for MDB to MySQL.Why MDB + MySQL for PHP?VB --> MDB  ---> running applicationPHP --> MySQL and a view tables in MDB --> new

RE: [PHP-WIN] Secure SMTP

2004-11-30 Thread Charles P. Killmer
Not to nitpick but my message said SMTPS. For SMTP Secure. I would be interested in taking a look at your class when complete. Does anyone else have ideas about SMTPS? Charles -Original Message- From: phpWalter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 2:22 PM To:

Re: [PHP-WIN] HI! can u help me?

2004-11-30 Thread Kurlic
ok thank you! ^_^ - [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MySQL 4.1 Server

2004-11-30 Thread phpWalter
> Does anyone know where I can download the latest MySQL PHP API to connect > to MySQL 4.1? Best API out there... http://adodb.sourceforge.net/ walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] MySQL 4.1 Server

2004-11-30 Thread Dale Attree
Hi Does anyone know where I can download the latest MySQL PHP API to connect to MySQL 4.1? Kind Regards, Dale Attree (NDECS) Technical Manager - Kwik IT Solutions www.kwikitsolutions.co.za Tel : +27 35 786 1416 Cel : +27 83 407 2911 [EMAIL PROTECTED]

Re[2]: [PHP-WIN] While loops to build an array

2004-11-30 Thread re_action
Hello S.D.Price, Sorry, but i can't clearly understand, what do you mean by this: SDP> $days = array([date]=>array(id),) if every $days[date] should contains array of id's you should use this: $days[date(j,$row3['entry_date'])][] = $row3['newsid']; SDP> Hi thanks but this gives: SDP> $days[date]

RE: [PHP-WIN] While loops to build an array

2004-11-30 Thread S.D.Price
Hi thanks but this gives: $days[date] = id; What I need is a multidimensional array in the form $days = array([date]=>array(id),) Do you know how to do this? thanks Steve -Original Message- From: re_action [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 17:10 To: [EMAIL PROTECTED

Re: [PHP-WIN] While loops to build an array

2004-11-30 Thread re_action
Hello S.D.Price, Your syntax is not correct, try this, instead: if (mysql_num_rows($result3) > 0){ while ($row = mysql_fetch_array($result3)) { $days[date(j,$row3['entry_date'])] = $row3['newsid']; }; } else { echo "The array has not been built."; }; SDP> Hi, I wonder if you

Re[2]: [PHP-WIN] problem to open dir

2004-11-30 Thread re_action
Hello Vincent, It'a bad way to do so, becouse the default sharing (like c$, d$, admins$) could be turned off. This code, should work fine, if the user, under witch php is running have permissions to access target folder: $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2\\"; if (is_dir($dir)

[PHP-WIN] While loops to build an array

2004-11-30 Thread S.D.Price
Hi, I wonder if you could help. I am trying to build a php based calendar for a news blog. The calendar should create hyperlinks directly to a news story. However in order to do this I need to create a $days array which takes the date value of the story submitted and the id of the story and creat

Re: [PHP-WIN] Problemas con las igualdades

2004-11-30 Thread Luis Moreira
I do speak Spanish, but for the sake of everyone who doesn't, let's keep the English :-) 1) Drop the comparison using "==", since you are comparing strings 2) Use STRCMP instead 3) Since this function is "case sensitive", maybe it's best to convert the string to upper case, and compare it after

[PHP-WIN] Secure SMTP

2004-11-30 Thread Charles P. Killmer
Does anyone know of a class or something to send email with smtps? Thanks Charles Killmer

RE: [PHP-WIN] Problemas con las igualdades

2004-11-30 Thread Gryffyn, Trevor
Sorry, the english link for file() is: http://us2.php.net/manual/en/function.file.php > -Original Message- > From: Gryffyn, Trevor > Sent: Tuesday, November 30, 2004 10:17 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Problemas con las igualdades > > > Ta

RE: [PHP-WIN] Problemas con las igualdades

2004-11-30 Thread Gryffyn, Trevor
Tango: - En español: ¿Usted habla inglés? Mucha gente en esta lista habla solamente inglés y ella puede no entender su pregunta. Estoy utilizando un software de la traducción (Babelfish) para intentar ayudar. Recomiendo el usar de la función del file

RE: [PHP-WIN] Difference between Installer and ZIP?

2004-11-30 Thread Gryffyn, Trevor
I like the manual install too. Plus, if the installer only contains the CGI, then what happens if you end up wanting to write command line PHP stuff? I'm assuming the CGI version requires integration with a web server to function. Just some extra overhead and totally unnecessary if you're just

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Vincent DUPONT
Hi, I experienced the same problem some time ago. Try to use \\remote_computer instead of a mounted drive (G:\). Also, there is something like a BUG in is_dir(). The is_dir function does not return the good value for remote shares. Use !is_file() instead of is_dir(). Make sure your script or th

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
Good call.. With the ~1 and all. Using short filenames/paths might help sometime (when things have an issue with spaces in filenames). To get short filenames and paths, use the "dir /x" command at a command prompt. Also.. Regarding the \ only sometimes giving issues... It'll only give you a probl

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
Also.. Any permissions issues? Can PHP or the user that PHP is running as access that folder? > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 1:28 AM > To: Mike > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] problem to open dir >

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
I think \' is going to quote the single-quote too. Best to quote the backslashes I guess. Change all the \ to \\ Also.. Silly question.. But that directory DOES exist, right? I assume the is_dir() line is 69 and the opendir() is line 70, correct? -TG > -Original Message- > From: Mik

[PHP-WIN] LDAP:: undefined function: ldap_parse_reference

2004-11-30 Thread Vincent DUPONT
Hi, I'm trying to use the ldap_parse_reference LDAP function. I have the following error message : Fatal error: Call to undefined function: ldap_parse_reference I upgraded PHP from 4.3.4 to 4.3.9 (latest stable) but the problem remains. Other ldap functions like ldap_connect or ldap_search d

php-windows Digest 30 Nov 2004 13:40:34 -0000 Issue 2489

2004-11-30 Thread php-windows-digest-help
php-windows Digest 30 Nov 2004 13:40:34 - Issue 2489 Topics (messages 25065 through 25080): cannot send mail via localhost 25065 by: Ross Hulford 25066 by: Mike 25067 by: Mike Problemas con las igualdades 25068 by: T4NG0 problem to open dir 25069 by:

RES: [PHP-WIN] problem to open dir

2004-11-30 Thread Rafael Soares
Mike wrote: > Oh - and about the slashes, only use the \\ when you're using double > quotes > and only use \ with single quotes. Double quotes tells PHP to try to > evaulate the contents of the string (replace varables with their value, > interperate \[character] with their proper escaped value, e

Re[2]: [PHP-WIN] problem to open dir

2004-11-30 Thread re_action
Hello Pravin-Kumar, I hope you've noticed that you use disk "F" in $dest, and the actualy dir seems to be on disk "G". This code, should work fine, i test it on my system: $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2\\"; if (is_dir($dir)) { if ($dh = opendir($dir)) {

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Mike
Definitely use the is_dir() function as Rafael suggests. Also, make sure that the user that PHP will be running as has permissions to read from that location. I had some troubles a while back reading, writing and deleting from some locations that the user IIS was running as did not have the proper

RES: [PHP-WIN] problem to open dir

2004-11-30 Thread Rafael Soares
Hello! The sintax I use is this: $dir = 'C:\\dir\\subdir\\'; But I haven't tried to access windows dirs like Documents and Settings The only way to be sure is using the is_dir(); function. See you. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original- De: Luis Moreira

Re: [PHP-WIN] problem to open dir

2004-11-30 Thread Luis Moreira
Remove the double quotes. $dh = opendir('F:/vyapar-2/test/cdaci'); Pravin-Kumar wrote: hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 o

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Pravin-Kumar
hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 on windows Warning: opendir(F:/vyapar-2/test/cdaci): failed to open dir: Invalid