[PHP-WIN] Random Numbers Script

2002-10-28 Thread Raheel Hussain
I want to generate three to Six digit long random numbers with the foloowing input 1 - length in digits : 4 2 - How many numbers do you want to generate : 4 and then the script runs and generate the following 1220 1282 7324 3343 simillarly 1 - length in digits : 6 2 - How ma

php-windows Digest 29 Oct 2002 07:22:18 -0000 Issue 1412

2002-10-28 Thread php-windows-digest-help
php-windows Digest 29 Oct 2002 07:22:18 - Issue 1412 Topics (messages 16597 through 16605): PHP require() circumvents IIS security? Please help. 16597 by: Jack Kelly Dobson 16598 by: Mikey 16600 by: Jack Kelly Dobson 16601 by: Mikey Extension Load Error

Re: [PHP-WIN]

2002-10-28 Thread Steve Yates
"Jason Porembski" <[EMAIL PROTECTED]> wrote in message news:01c27d5c$0487d830$6401a8c0@;HOMEPC... > page refuses to use PHP and is in love with ASP. I need to run some PHP > code from within ASP. How can this be done? Have you tried using fopen()? - Steve Yates - Why is it called "rush

[PHP-WIN] Re: Extension Load Error

2002-10-28 Thread Brett Curtiss
Fixed. There was a version conflict between an old version of php_ts.dll and php.exe in System32. "Brett Curtiss" <[EMAIL PROTECTED]> wrote in message news:20021028201638.11446.qmail@;pb1.pair.com... > Ok, here is another extension problem. This one has me stumped. I have the > 4.2.3 (Sept. 6) bi

[PHP-WIN] How to prevent error email from being sent?

2002-10-28 Thread Noah Spitzer-Williams
Hey guys, My service sends out emails every few days to members who wish to have stats sent to them. The problem is once an email becomes inactive, I the webmaster gets a failure email sent to me. This is starting to add up and I can get upwards of 20 of these a day. It just seems likea waste

[PHP-WIN] configuraton of mail server with PHP/Apache

2002-10-28 Thread Dorothy Vankoughnett
HI not sure if anyone can help on this but am learning the basics of PHP with Apache .. am getting errors and pinpointed to this line: mail($to, $subject, $msg, $mailheaders); I've looked at Apache set up and cant seem to find any errors in the setup .. Any help with this would

RE: [PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Mikey
> Actually a misunderstanding of how require() works, but the answer I was > looking for. Cool. > Can I assume by this that all of the PHP functions that access files work > outside of the scope of the webserver? I'm suffering from "just enough > knowledge to get myself in trouble" syndrome. Yes

RE: [PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Jack Kelly Dobson
> -Original Message- > From: Mikey [mailto:mikey@;splatted.net] > Sent: Monday, October 28, 2002 1:18 PM > To: Jack Kelly Dobson; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] PHP require() circumvents IIS security? Please > help. > > > > Hello, > > > > I just noticed something very concerning

[PHP-WIN] Extension Load Error

2002-10-28 Thread Brett Curtiss
Ok, here is another extension problem. This one has me stumped. I have the 4.2.3 (Sept. 6) binary release. I have it installed and working properly with Apache 1.3.24. All the DLLs are in the correct directories, phpinfo() works, ect. But, when I try to load an extension it returns the error: (For

RE: [PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Mikey
> Hello, > > I just noticed something very concerning and hope someone has some > answers... > > I'm running php 4.2.3 under W2k IIS as a .dll. > > I have a directory set up with no anonymous access to it and > security set to > "Integrated Windows Authentication". > > If I try to load the page dir

[PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Jack Kelly Dobson
Hello, I just noticed something very concerning and hope someone has some answers... I'm running php 4.2.3 under W2k IIS as a .dll. I have a directory set up with no anonymous access to it and security set to "Integrated Windows Authentication". If I try to load the page directly from the brows

php-windows Digest 28 Oct 2002 19:05:07 -0000 Issue 1411

2002-10-28 Thread php-windows-digest-help
php-windows Digest 28 Oct 2002 19:05:07 - Issue 1411 Topics (messages 16585 through 16596): odbc_num_rows() function 16585 by: Raheel Hussain 16587 by: Svensson, B.A.T. (HKG) Has anyone got PHP working with IIS5 16586 by: Neil 16596 by: Mikey Re: spam prote

RE: [PHP-WIN] Has anyone got PHP working with IIS5

2002-10-28 Thread Mikey
Yes. RTM. > -Original Message- > From: Neil [mailto:nlaker@;jbennett.co.uk] > Sent: 28 October 2002 11:26 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Has anyone got PHP working with IIS5 > > > on win2k? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, v

Re: [PHP-WIN] spam protection boxes

2002-10-28 Thread Stephen Edmonds
I suggest using GD to generate the images in PHP then output them to a browser. http://www.php.net/manual/en/ref.image.php I use GD 1, as I have had issues loading fonts into GD 2 Good luck Stephen - Original Message - From: "Dash McElroy" <[EMAIL PROTECTED]> To: "Svensson, B.A.T. (HKG

RE: [PHP-WIN] spam protection boxes

2002-10-28 Thread Dash McElroy
I read an article in Wired (I think) that said that spammers are filling out Yahoo info automatically, then when it comes to that, it spits out the graphic to someone at a computer who looks at the graphic, then types in the letters, then the spammer's script keeps going. Nasty. -Dash QUOTE OF TH

[PHP-WIN] Re: google API via nuSoap

2002-10-28 Thread Brian 'Bex' Huff
Check out the: setHTTPProxy() function for the 'soapclient' object. Its new, so be sure to download the latest stuff: http://dietrich.ganx4.com/nusoap/ I dont know if it supports username and passwords for the proxy server tho... maybe you should ask the CURL people if they are doing it rig

[PHP-WIN] GD2 and PHP

2002-10-28 Thread Stephen Edmonds
Yesterday I decided to switch my GD library from gd.dll to gd2.dll... big mistake Now, when I try to create text using imageTTFtext( ), I get the error message of Warning: Could not find/open font in C:\server\scryt_pages\members\interface\buttons\base.php on line 53 I've tried the suggestions

Re: [PHP-WIN] Create file!

2002-10-28 Thread Radovan Radic
"Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message news:7A08E8036BBBAA4FBD9071B169EDC9B6843E@;mailserver01.spicergroup.com... Your code works for me on Windows 2000 with IIS and Windows 2000 with Apache. >Could it be file permissions on the server. Yes, maybe i didnt set permissions on my se

RE: [PHP-WIN] Create file!

2002-10-28 Thread Nichols, Mark A.
Your code works for me on Windows 2000 with IIS and Windows 2000 with Apache. Could it be file permissions on the server. -Original Message- From: Radovan Radic [mailto:rasho@;ving.co.yu] Sent: Monday, October 28, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Create file! Hi

[PHP-WIN] Create file!

2002-10-28 Thread Radovan Radic
Hi (Win2000, PHP 4.0.6 IIS) $filename="streets.dat"; if (file_exists($filename)) { Read From File; Print To Html; } else { $f=fopen($filename,"w"); read from database to file; Print To Html; fclose($f); } But fopen will not create $filename, and i get an error like: You dont have

RE: [PHP-WIN] spam protection boxes

2002-10-28 Thread Svensson, B.A.T. (HKG)
It will just last a matter of time before the spam devils applies patter recognition algorithms to circumvent this things. :( > -Original Message- > From: Dash McElroy [mailto:php@;l1te.net] > Sent: Saturday, October 26, 2002 7:49 AM > To: Blue Presley > Cc: [EMAIL PROTECTED] > Subject: Re

RE: [PHP-WIN] odbc_num_rows() function

2002-10-28 Thread Svensson, B.A.T. (HKG)
> while (odbc_fetch_row($rec)) { $counter++; } > print ($counter); //prints the total records > > but this alternate way is very time and resource consuming, > > any suggestions ??? $Query = "SELECT COUNT(*) FROM WHERE " -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP-WIN] Has anyone got PHP working with IIS5

2002-10-28 Thread Neil
on win2k? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] odbc_num_rows() function

2002-10-28 Thread Raheel Hussain
hi, I m doing a database connectivity with MS Access Database now when i get the recordset with the following code $rec= odbc_exec($conn,$Qry); //executes without any error $num_records=odbc_num_rows($rec); //executes without any error print ($num_records); //prints -1 because it is written