[PHP-WIN] ODBC - What Perl can and PHP not

2005-05-12 Thread Markus Tacker
Hoi all, I am a bit curious about that issue. I have a ODBC datasource with an AcuODBC driver. I can connect to it with various windows query tools, excel etc. But PHP fails to connect as the driver complains about a missing license file. So i tried it with Perl DBI::ODBC and it worke

[PHP-WIN] covert binary data with php

2005-05-12 Thread Burkhard Herre
hello i have a problem with reading binary data from a file. i read byte by byte with fread... now i want to convert the 1. byte in an ascii sign. and the next step is to read 2 bytes and convert the 2 bytes input into 1 sign in ascii...(16 bit) and so on. but php convert always 1 byte to 1 sign.

[PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
Hi can anyone help, I would like to develop a PHP breadcrumb trail for navigation. The examples I have seen on the web look at the location of the page the user is on, attempt to break up the URL and use breadcrumb links to point the user to each folder level. Problem: 1. I need to have a flat f

Re: [PHP-WIN] ODBC - What Perl can and PHP not

2005-05-12 Thread Robert Twitty
iOther than the fact that the PHP odbc extension uses ODBC 2 instead of ODBC 3, I don't know of any other reason why it should not work. Try using ODBTP and the odbtp extension available at http://odbtp.sourceforge.net. It uses ODBC 3. -- bob On Thu, 12 May 2005, Markus Tacker wrote: > > Hoi a

[PHP-WIN] RE: Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
> -Original Message- > From: S.D.Price > Sent: 12 May 2005 12:41 > To: php-windows@lists.php.net > Subject: Breadcrumb trial as sessions > > > Hi can anyone help, I would like to develop a PHP breadcrumb trail for > navigation. The examples I have seen on the web look

[PHP-WIN] Re: covert binary data with php

2005-05-12 Thread Louis Solomon \[SteelBytes\]
show us your code -- Louis Solomon www.SteelBytes.com "Burkhard Herre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hello > > i have a problem with reading binary data from a file. > i read byte by byte with fread... > > now i want to convert the 1. byte in an ascii sign. > >

RE: [PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
You are right Murray, I din't think it through properly. Probably why I haven't seen any examples of this. Steven -Original Message- From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 15:20 To: 'S.D.Price'; 'php-windows' Subject: RE: [PHP-WIN] Breadcrumb trial a

RE: [PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread Murray @ PlanetThoughtful
> 1. I need to have a flat folder structure if a user goes down a level > the file will probably be in the same folder and will not be an index > file. > > 2. The development server url will be totally different form the live > url, so the breadcrumb trail won't work properly on both. > > Would i

Re: [PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread Leif Gregory
Hello S.D.Price, Thursday, May 12, 2005, 5:41:10 AM, you wrote: SDP> Hi can anyone help, I would like to develop a PHP breadcrumb SDP> trail for navigation. The examples I have seen on the web look at SDP> the location of the page the user is on, attempt to break up the SDP> URL and use breadcrumb

RE: [PHP-WIN] covert binary data with php

2005-05-12 Thread Wu, Jin Yong
Did you use the function ORD() for conversion? The function only convert the first byte into ASCII. If you want to convert multi-bytes, you should use UNPACK(). About the use of UNPACK(), you can link here: http://us4.php.net/manual/en/function.unpack.php Yong from Xerox,China 2005/5/13 -Ori