[PHP-WIN] Oracle or OCI8

2002-07-17 Thread Lung
Hi, I have tried both, it seems Oracle (i.e Ora_?) is much faster but OCI8 is more powerful. So, how can I tune OCI8 in order to have faster response. Also, I can't use Ora_bind() inside a function. Ora_exec will return an error of "Cannot find variable" when executed. Is there any way to sol

Re: Re[2]: [PHP-WIN] Problem in passing parameters

2002-07-17 Thread Lung
Thanks all of you, I have solved the problems by using $_REQUEST. The problem comes as I use php 4 with register_global off. So, my old scripts won't work! "Asmodean" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > RF> Which variables? I hope you mean $_POST[u

Re[2]: [PHP-WIN] Problem in passing parameters

2002-07-17 Thread Asmodean
RF> Which variables? I hope you mean $_POST[username] and $_POST[password] ? RF> If not, read the manual about accessing variables. Otherwise, let us know RF> Ross >> -Original Message- >> From: Lung [mailto:[EMAIL PROTECTED]] >> Sent: 12 July 2002 16:26 >> To: [EMAIL PROTECTED] >> Sub

RE: [PHP-WIN] Problem in passing parameters

2002-07-17 Thread Ross Fleming
Which variables? I hope you mean $_POST[username] and $_POST[password] ? If not, read the manual about accessing variables. Otherwise, let us know Ross > -Original Message- > From: Lung [mailto:[EMAIL PROTECTED]] > Sent: 12 July 2002 16:26 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] P

[PHP-WIN] Problems in passing parameters

2002-07-17 Thread Lung
Hi, -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Restart process from code?

2002-07-17 Thread Peter
You need a program to control the ASP process. This is proably some sort of command line tool and you just put whatever you would type in the commandline into the exec() function. (in quotes of course!) "Noah Spitzer-Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP-WIN] Re: [PHP] Restart process from code?

2002-07-17 Thread Brian Huff
NET STOP only works if its running as a service. Otherwise you'll need the "kill" utility. It comes with the NT Resource Kit, which works on NT and 2000, I haven't tested it on XP, or anybody else. you can give kill a pid, or an executable name, like > kill java.exe or whatever... Im not

php-windows Digest 17 Jul 2002 20:08:39 -0000 Issue 1246

2002-07-17 Thread php-windows-digest-help
php-windows Digest 17 Jul 2002 20:08:39 - Issue 1246 Topics (messages 14807 through 14823): Fopen on ascii files 14807 by: Mathias B Function problem 14808 by: Jan Hanèiè delete a file 14809 by: j.a.z. 14810 by: j.a.z. CRON JOB 14811 by: MAAS

[PHP-WIN] Problem in passing parameters

2002-07-17 Thread Lung
Hi, I have built a form for inputting username & password and called login.php to handle. However, I fail to pass the variables to index.php like: http://localhost/php/login.php?username=test&password=test. When I check the variables in login.php, it said these variables are unset. Please adivs

RE: [PHP-WIN] CRON JOB

2002-07-17 Thread Svensson, B.A.T. (HKG)
% man crontab -Original Message- From: MAAS To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 2002-07-17 14:51 Subject: [PHP-WIN] CRON JOB What do I have to do before I can run my file.php as a cron job in Linux? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP-WIN] Re: [PHP] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
How do I end the process using exec? Is there an equivalent to NET STOP? - Noah - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'Noah Spitzer-Williams'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 2:28 PM Subject: RE: [PH

[PHP-WIN] Re: [PHP] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
But I would like to restart the process as in it's currently running and I want to end it and then start it again... - Noah - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'Noah Spitzer-Williams'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

RE: [PHP-WIN] Searching a string for everything but a-z and 0-9

2002-07-17 Thread Shrock, Court
preg_match('/[^a-z0-9]/i', $stringToSearch); http://www.php.net/preg_match > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 10:56 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Searching a string for everything but a-z and 0-9 > >

[PHP-WIN] Searching a string for everything but a-z and 0-9

2002-07-17 Thread Matt Babineau
Cold Fusion has RegEx to do this with. If I want to search a string looking for anything non 0-9 and non a-z what should I be looking at? Could I do: $EXPR = "non a-z, non numerical"; strstr($SEARCH_STRING, $EXPR) I hope this makes sense, I am not sure what PHP calls this type of searching but

RE: [PHP-WIN] Problem on file_exists() function

2002-07-17 Thread Ross Fleming
It's likely a permissions problem under NT. > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: 17 July 2002 08:55 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP-WIN] Problem on file_exists() function > > > Dear all > I had made a test.txt file which stored

[PHP-WIN] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
Is there a way to restart a process (actually the process to handle ASP pages) from code? - Noah -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] RE: [PHP] CRON JOB

2002-07-17 Thread Miguel Cruz
On Wed, 17 Jul 2002, Jay Blanchard wrote: > Look at the archives for the past couple of days, it has been covered in > some detail. Make sure to compile PHP without apsx, and for practical > purposes move the PHP executable to the /usr/local/bin directory. Then put > this as the first line of the

[PHP-WIN] Re: compiling with VC++

2002-07-17 Thread Brian Huff
It sounds like you are not linking into the proper DLLs so that your custom DLL can be built. It sounds like you need to add the entry "php4ts_debug.lib" or "php4ts.lib" to your linkage list. The easiest way to do this is to open up your ".dsp" file in a text editor, and add them to the line

[PHP-WIN] Accessing Network Shares and Mapped Drives

2002-07-17 Thread James Mclean
hello list, I just built a site to run on IIs5 and php 4.2.?, and it had to fopen() files over a network. I have had some problem with accessing the files over the network, and I am fairly sure, that is an issue with Windows users, rather than PHP etc, but just thought some of you fellas could he

[PHP-WIN] RE: [PHP] CRON JOB

2002-07-17 Thread Jay Blanchard
[snip] What do I have to do before I can run my file.php as a cron job in Linux? [/snip] Look at the archives for the past couple of days, it has been covered in some detail. Make sure to compile PHP without apsx, and for practical purposes move the PHP executable to the /usr/local/bin directory.

[PHP-WIN] CRON JOB

2002-07-17 Thread MAAS
What do I have to do before I can run my file.php as a cron job in Linux? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: delete a file

2002-07-17 Thread j.a.z.
thanks for all answers. however in my php-referenz (book) they sad: unlink does not take effect on windows system thats why i did not try this function! but it worked well. thank you. (PS: the dummy-entry "delete" did NOT work) :-) jaz "J.A.Z." <[EMAIL PROTECTED]> schrieb im Newsbeitr

[PHP-WIN] delete a file

2002-07-17 Thread j.a.z.
hi does anybody know how to delete a file? you are able to generate a file with fwrite. you can open a file with fopen. however i found no command to delete a generated file? thanx, j.a.z. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Function problem

2002-07-17 Thread Jan Hanèiè
Hi I hawe the following script : http://*";, $url)) { return TRUE; } else { return FALSE; } } function preveri($vir, $vir_url) { if ($vir || ( $vir && je_url($vir_url)) || (!$vi

[PHP-WIN] Fopen on ascii files

2002-07-17 Thread Mathias B
Hello Quick question: what happens if i try to open a ascii-file/text-file with fopen($file, 'wb'); on a windows system? does the file get scrambled because of the 'b' or is the 'b' just ignored? /Mathias -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

php-windows Digest 17 Jul 2002 07:56:23 -0000 Issue 1245

2002-07-17 Thread php-windows-digest-help
php-windows Digest 17 Jul 2002 07:56:23 - Issue 1245 Topics (messages 14801 through 14806): Re: [PHP] Problem on file_exists() 14801 by: Ross Fleming Re: Forward 14802 by: James Mclean help for shopping cart 14803 by: Alvin Tan compiling with VC++ 14804 by

[PHP-WIN] Problem on file_exists() function

2002-07-17 Thread Jack
Dear all I had made a test.txt file which stored in the following window path : c:\pdf_reports\dealing\test.txt, In my page, i ask php to check the test.txt exist in foler (c:\pdf_reports\dealing) using the following script: if (file_exists("c:\\pdf_reports\\dealing\\test.txt")) { print (