[PHP-WIN] problems with ntext DB field in sql query

2002-10-02 Thread Gard Rødahl
I get the following error: Warning: MS SQL message: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier. when running a query from the php script. One of the fields in the table being queried is of a NTEX

[PHP-WIN] exec() on WIMP systems

2002-10-02 Thread MWCT - Markus Weber
Hi, may be someone can help me: I want to use the exec() function to run an executable as background process. This means my php script should not wait for the end of the background process. I tried a lot but without success. My script always wait for the end of the background process. My php sc

php-windows Digest 2 Oct 2002 09:00:36 -0000 Issue 1367

2002-10-02 Thread php-windows-digest-help
php-windows Digest 2 Oct 2002 09:00:36 - Issue 1367 Topics (messages 16107 through 16124): Re: dynamic combo boxes 16107 by: Luis Ferro 16109 by: Scott Carr Re: using exec on WIMP 16108 by: J Wynia Re: Any Squirrelmail users running on Windows NT 5 under IIS 5?

[PHP-WIN] Re: using exec on WIMP

2002-10-02 Thread MWCT - Markus Weber
Hi, thank you very much for help. I will try this solution. Do you believe there is still a way to use the exec() function of PHP ? regards, markus weber "J Wynia" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Mwct - Markus Weber wrote: > > Hi, > > >

[PHP-WIN] Re: note 25599 rejected from function.exec by betz

2002-10-02 Thread MWCT - Markus Weber
<[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > I am running a WIMP configuration and I want to use exec() to call mysql.exe via my PHP script to run a big sql script in the background. The PHP script executes the sql script via mysql.exe but my PHP script hangs until the my

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
nope, hadn't tried it, thanks. I was looking for something that would do that for me. I find it wierd that it would work on a host but not on my comp. Thanks a lot. I'll get back to ya if it works or not "Peter Houchin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
it's giving me this now: Notice: Undefined index: game in C:\Xitami\webpages\index.php on line 5 Notice: Undefined index: game in C:\Xitami\webpages\index.php on line 8 because i'm opening index.php without using ?game= is there anything I can do to not get it to say that? it's not reading $_GET

RE: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread brother - Martin Bagge
Anyang: > it's giving me this now: > Notice: Undefined index: game in C:\Xitami\webpages\index.php on line > 5 Notice: Undefined index: game in C:\Xitami\webpages\index.php on > line 8 > > because i'm opening index.php without using ?game= > is there anything I can do to not get it to say that?

[PHP-WIN] Question Java blocking broncode

2002-10-02 Thread M.B.
I know that this isn't really the place to ask, but mabey someone knows: Does anyone know, if it is possible WHIT a JAVASCRIPT to block the broncode so that you can't see it at all (also when you would save the page)? I know that there is a script of it in PHP format (if any one knwos were I can

[PHP-WIN] Re: Access Violations, CGI errors

2002-10-02 Thread Brian 'Bex' Huff
The SAPI module for IIS is faster than the CGI, but still not quite as stable. There are open bugs about the access violations you mentioned on some versions of IIS... they're being worked on, but from what I can see the errors make no sense, so its tough to track them down. As far as a bazi

[PHP-WIN] apche loadmodule php help.

2002-10-02 Thread Steve Bradwell
Hello all, I am in the process of changing my win 98 box to a 2000 box and am also upgrading from apache 1.3.23 to 1.3.26. Unfortunatly I took the easy route and simply copied my old httpd.conf file over the existing httpd.conf. All is fine except Apache has a problem with the line: "LoadModule

[PHP-WIN] PHP & sendmail

2002-10-02 Thread Nicole
Hello, Would someone give me an example of using sendmail from PHP instead of the usual mail() function. Thanks! Nicole -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 2 Oct 2002 21:22:14 -0000 Issue 1368

2002-10-02 Thread php-windows-digest-help
php-windows Digest 2 Oct 2002 21:22:14 - Issue 1368 Topics (messages 16125 through 16133): Re: using exec on WIMP 16125 by: MWCT - Markus Weber Re: note 25599 rejected from function.exec by betz 16126 by: MWCT - Markus Weber Re: i need help with an undefined variable

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Luis Ferro
You should test first for the existence of the var before using it... a better code would be: You should test for the existence of the var instead of using it's value in a condition... otherwise you will get a warning for each that you use without a previous definition... Cheers... Luis Fer

[PHP-WIN] Number of bytes in a field?

2002-10-02 Thread Kieran Hall
Does anyone know of a way to get the number of bytes from a mysql field? * Kieran Hall *

Re: [PHP-WIN] Number of bytes in a field?

2002-10-02 Thread Cam Dunstan
kieran, try this ... $fieldresult = mysql_list_fields($some_database, $some_table); $fieldcount = mysql_num_fields($fieldresult); for ($my_counter = 0; $my_counter < $fieldcount; $my_counter++} { $fieldsize = mysql_field_len($fieldresult, $my_counter); echo "fieldsize = ".$fieldsize; echo

[PHP-WIN] Re: PHP & sendmail

2002-10-02 Thread Manuel Lemos
On 10/02/2002 06:22 PM, Nicole wrote: > Hello, > > Would someone give me an example of using sendmail from PHP instead of the > usual mail() function. Here you may find a PHP class that does that. It even comes with functions that emulate mail() using the sendmail program directly, qmail-injec

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
thanks for the help. got it to work "Brother - Martin Bagge" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Anyang: > > > it's giving me this now: > > Notice: Undefined index: game in C:\Xitami\webpages\index.php on line > > 5 Notice: Undefined index: game in

[PHP-WIN] RE: i need help with an undefined variable

2002-10-02 Thread Uttam
this is due to 'register_globals' is off by default in php 4. this is for security reasons. pls. use $game as $_GET['game']. alternatively you can turn on 'register_globals' in php.ini (not recommended). regds, -Original Message- From: Anyang [mailto:[EMAIL PROTECTED]] Sent: Wednesday

[PHP-WIN] Re: apche loadmodule php help.

2002-10-02 Thread Seung Hwan Kang
If your PHP is located to c:\php, you can do this way to configue httpd.conf using apache 1.3.x LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c # To use PHP scripts # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Using apache 2.0.x Loa