[PHP-DB] Help wanted, Writing to the LPT Port.

2005-04-21 Thread JB
Hello, I want to write a switch board in PHP. So that it is possible to write data 1 or 0 to the D0 - D7. So that It is possible to switch a relais wich I connected to the LPT port of my webserver. I could not find any examples or documentation on this theme. Could somebody help me with this

[PHP-DB] Help wanted, writing to a LPT port with PHP.

2005-04-21 Thread CNFPC
Hello, I want to write a switch board in PHP. So that it is possible to write data 1 or 0 to the D0 - D7. So that It is possible to switch a relais wich I connected to the LPT port of my webserver. I could not find any examples or documentation on this theme. Could somebody help me with this

[PHP-DB] mixing charactersets

2005-04-21 Thread Juffermans, Jos
Hi, I have a script that needs to connect to two database. Unfortunately, one of them uses US7ASCII encoding (similar to LATIN1) and the other one uses UTF-8 encoding. Before I connect to the first one, I set these environment variables: putenv(NLS_LANG=AMERICAN_AMERICA.US7ASCII);

[PHP-DB]MYSQL

2005-04-21 Thread Ong Teng Siong
I am using mysql 4.1 and php 5.0 in my WINDOWS XP. I am trying to use it. But, this error msg eccurs. Fatal error: Call to undefined function mysqli_connect() in c:\Inetpub\wwwroot\mysql_up.php Anyone can help me? Thank you. __ Do You Yahoo!?

Re: [PHP-DB]MYSQL

2005-04-21 Thread Petar Nedyalkov
On Thursday 21 April 2005 13:41, Ong Teng Siong wrote: I am using mysql 4.1 and php 5.0 in my WINDOWS XP. I am trying to use it. But, this error msg eccurs. Fatal error: Call to undefined function mysqli_connect() in c:\Inetpub\wwwroot\mysql_up.php Your PHP installation does not support the

Re: [PHP-DB] Losing the ability to connect to Oracle database

2005-04-21 Thread Leo D. Geoffrion
It worked! I did not need to restart apache this morning in order to get an oracle connection. Michael Caplan wrote: Leo, Please let me know how that works for you. I don't remember the specifics (if we where testing using plogon, nlogon or just logon), but we did try and implement that fix and

Re: [PHP-DB] Losing the ability to connect to Oracle database

2005-04-21 Thread Leo D. Geoffrion
The patch described in 30808 worked fine last night. Leo D. Geoffrion wrote: Turns out that it's covered in bug report 30808. I've applied the edit mentioned there and will see if this solves my problem (have to wait for the next Oracle restart overnight). The discussion there is quite revealing

[PHP-DB] MySQL query + PHP : Warning: implode() [function.implode]: Bad arguments : What's wrong here?

2005-04-21 Thread jinxed
I have 2 tables employees transactions. 'employees' carry info about the employees and transactions carry there payslip info for each period. I am trying to display a list of employees that don't have transactions in the current ($pp_id) period, thus doing an array of the $emp_ids, having

[PHP-DB] mime-type related to extension?

2005-04-21 Thread mel list_php
Hi guys! I have a basic form to upload files, my problem is about the mime type. I use $type= $_FILES[$file_uploaded]['type']; to check the mime-type of the fila as I want to allow only .jpeg. I have then a test like: if ($type==image/pjpeg || $type==image/jpeg) { ... } Upload working fine if I

[PHP-DB] Can not insert local language data into db

2005-04-21 Thread JohnyG
Hi, I installed phpbb forum application on commercial server (brinkster.com) with mySql as database. You can see the application here: http://www.adeo.co.il/forum/ When i try to insert English characters everythink works fine but when i try to insert Hebrew (my local language) characters weird

[PHP-DB] Can not insert local language data into db

2005-04-21 Thread JohnyG
Hi, I installed phpbb forum application on commercial server (brinkster.com) with mySql as database. You can see the application here: http://www.adeo.co.il/forum/ When i try to insert English characters everythink works fine but when i try to insert Hebrew (my local language) characters weird