php-windows Digest 18 May 2002 04:32:34 -0000 Issue 1149

2002-05-17 Thread php-windows-digest-help
php-windows Digest 18 May 2002 04:32:34 - Issue 1149 Topics (messages 13832 through 13851): EXEC and Windows 13832 by: BERNARD Florent 13834 by: Nicole Amashta Re: Displaying checkbox values selected 13833 by: Aziz Durmaz 13835 by: Nicole Amashta 138

[PHP-WIN] Extra space added on import

2002-05-17 Thread Jerry
Hello, When I import a comma delimited text file into a table using MySQL Front, a space is added to one of the fields which is a varchar field. How can I keep this from happening? TIA, Jerry -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] 3 PHP Application Developers Needed - LA Based

2002-05-17 Thread Demi Vitalis
To be hired within 45 days - 3 Programmers - please respond to [EMAIL PROTECTED] I am the CTO of Intravative Software Corporation. I am looking for three hardcore php programmers that reside in the Los Angeles area for a 60 day contract that will pay really well but requires mad hours, lots of co

[PHP-WIN] php_mcrypt.dll

2002-05-17 Thread Michael Reynolds
I've attempted to compile the mcrypt module with libmcrypt 2.4.22 and 2.5.0, both failed. Anyone happen to have a copy of the dll which will work on Windows 2000? __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com --

Re: [PHP-WIN] ASP and PHP

2002-05-17 Thread Steve Magruder, D2 Director
"Benjamin Walling" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > ASP cannot short-circuit a boolean expression > ?costing you milliseconds? Who needs this for performance reasons? This short-circuiting is for logic simplification, thus fewer LOC and easier

[PHP-WIN] install path errors

2002-05-17 Thread George Kesarios
Hi I keep getting these install path errors all over the place (although not on all scripts) ...install_path=c:\php4\pear. On occasion I will change something in the config script and it will be ok. I'm a little new to php, can someone tell me what the default setting should be in th

Re: [PHP-WIN] ASP and PHP

2002-05-17 Thread Olivier Hubert
Just wanted to stop this whole ASP vs PHP thread before it gets started and I receive a zillion e-mails from PHP-WIN list (something that already happened a few times for this particular subject). For those who want to compare the two scription languages, please do so between yourselves. Many

RE: [PHP-WIN] ASP and PHP

2002-05-17 Thread Scott Hurring
> -Original Message- > From: Benjamin Walling [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP-WIN] ASP and PHP > > I'm currently switching from ASP to PHP, so I'm not an MS > zealot. I did > want to clarify some of your statements. > > > ASP cannot short-circuit a boolean expression > ?

Re: [PHP-WIN] ASP and PHP

2002-05-17 Thread Benjamin Walling
I'm currently switching from ASP to PHP, so I'm not an MS zealot. I did want to clarify some of your statements. "Court Shrock" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ASP can't do associative arrays like a hash table? ASP has the dictionary object.

Re: [PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread Alan Brown
I assume that the problem is that olMailItem is a constant and not a string This causes the error: $myItem = $objApp->CreateItem("olMailItem"); This does not: $myItem = $objApp->CreateItem(olMailItem); Of course you have to have: com.autoregister_typelib = true in your php.ini or you will nee

RE: [PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread Scott Hurring
Well Invoke() failing can mean a few different things. 1) That you're requesting something that can't be found 2) There's a more serious error (like Outlook already being loaded in memory a few times) What exactly is on line 11/12 of your code? I just finished writing PHP+COM+Excel program to au

[PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread R.S. Herhuth
This is my code: CreateItem("olMailItem"); $a=$myItem->Recipients->Add("[EMAIL PROTECTED]"); $myItem->Subject="This is a test"; $myItem->Body="This is a Body Section now.!"; $myItem->Display(); $myItem->Send(); ?> This is the error I'm getting... Warning: Invoke() failed: Type mis

RE: [PHP-WIN] Searvh engine...

2002-05-17 Thread Scott Hurring
Well, what you ask for is pretty generic, so here's my 2 line search engine ;-) // Regex to match $data = join('', file('htmlfile')); preg_match("/ ... /", $data, $matches); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Orig

[PHP-WIN] Searvh engine...

2002-05-17 Thread Mircea Goia
Hi, Is there an example of a search engine made in PHP which can search in HTML files (a website made only with HTML)? And, if possible, without needing a database (maybe a flat text file database)? If someone has a piece of code, can he send it to me? Thanks, Mircea -- PHP Windows Mailing L

RE: [PHP-WIN] automation

2002-05-17 Thread Scott Hurring
> -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Subject: RE: [PHP-WIN] automation > > Only one problem: This is the PHP Win32 list. ;) :) > > > Cronning a script works great as well > > (I do this at home on my linux server) > > > > > You can use AT.exe

[PHP-WIN] Re: Displaying checkbox values selected

2002-05-17 Thread Hugh Bothwell
"C Sims" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > would appreciate any help with this (newbie) question. All im trying to do > is to echo on screen the checkbox values selected by the user. Problem is > when submit is pressed, the selected arti

[PHP-WIN] Re: Displaying checkbox values selected

2002-05-17 Thread C Sims
thanks for replies. got it to work. i tried Aziz's solution with $PHP_SELF but didnt work. this though led me to read about environment variables, and to cut long story short i changed register_globals = off to "on" in php.ini file and it worked. cheers "Nicole Amashta" <[EMAIL PROTECTED]> w

[PHP-WIN] Re: Displaying checkbox values selected

2002-05-17 Thread Nicole Amashta
Since this is dynamically generated, you should be able to determine the 'checked' items. If the value is equal to the value of the check box, you need to add in 'checked' to the checkbox tab, like so: Bon Jovi -nicole www.aeontrek.com C Sims wrote: > Hi all, > would appreciate any help with

[PHP-WIN] Re: EXEC and Windows

2002-05-17 Thread Nicole Amashta
Hi, 'exec' will returm the last line of any output. The syntax is: http://www.php.net/manual/en/function.exec.php";> string exec ( string command [, string array [, int return_var]]) If you include the second parameter, the contents of the output will be placed in the array, each line bein

RE: [PHP-WIN] Displaying checkbox values selected

2002-05-17 Thread Aziz Durmaz
Bon Jovi N'Sync Boyzone Britney Spears try this. -Original Message- From: C Sims [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 6:01 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Displaying checkbox values selected Hi all, would appreciate any help with this (newbie) questi

[PHP-WIN] EXEC and Windows

2002-05-17 Thread BERNARD Florent
Hello I try to use EXEC function to execute a command line. The command line is correct but the exec doesn't return anything. Have you any idea about it ? I give you my source : exec('"c:\progra~1\swish-e\swish-e.exe" -w "test" -f C:/Progra~1/EasyPHP/www/atelier_dev/data/index.swish-e',$out);

php-windows Digest 17 May 2002 15:02:17 -0000 Issue 1148

2002-05-17 Thread php-windows-digest-help
php-windows Digest 17 May 2002 15:02:17 - Issue 1148 Topics (messages 13810 through 13831): Beta Test Needed 13810 by: Demi Vitalis 13811 by: Svensson, B.A.T. (HKG) 13830 by: Hugh Bothwell Newline in file using fputs 13812 by: Henry Grech-Cini 13813

[PHP-WIN] Displaying checkbox values selected

2002-05-17 Thread C Sims
Hi all, would appreciate any help with this (newbie) question. All im trying to do is to echo on screen the checkbox values selected by the user. Problem is when submit is pressed, the selected artists dont appear, it just goes back to the original screen (with empty checkboxes). Below is the code