[PHP-WIN] Re: Beta Test Needed

2002-05-16 Thread Hugh Bothwell
> It has been in the works for a year now and developed exclusivley by me. A > little over 1.2 million lines of code for the whole thing to be 100% ... so you're telling me you average 5000 lines of new code per workday? I'd be interested to know how you manage this. > have to know how to prog

RE: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Scott Hurring
Or just use a real text-editor that will properly handle files with "\n" and "\r\n". Anything more advanced than MS Notepad should properly grok what's going on. Unless you're going to be exclusively on Win32, those little bastard "\r"'s can really mess things up... I've had entire scripts refu

RE: [PHP-WIN] ASP and PHP

2002-05-16 Thread Shrock, Court
Sure ASP can't do associative arrays ASP can only do numerical multi-dimension arrays ASP can't do serious string manipulation ASP carries way too much around in each function call--global scope all the time for all variables ASP cannot short-circuit a boolean expression ASP database connecti

RE: [PHP-WIN] Return portion of a string

2002-05-16 Thread Scott Hurring
...Or you could preg_match on the string. $data = preg_match('/EXTERNALLINK\(\'(\d+)\'\)/', $data, $matches); var_dump($matches); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: R.S. Herhuth [mail

RE: [PHP-WIN] automation

2002-05-16 Thread Scott Hurring
Cronning a script works great as well (I do this at home on my linux server) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 1

RE: [PHP-WIN] searching the text in uploazded Word docs

2002-05-16 Thread Scott Hurring
I've never used COM+Word, but i assume you can read the contents of a Word file using COM, then search for specific words. If you're on a windows platform, that is -- becuase COM is windows-only do some google.com searches for COM, PHP, Word. --- Scott Hurring Systems Programmer EAC Corporation

[PHP-WIN] searching the text in uploazded Word docs

2002-05-16 Thread R.S. Herhuth
Is there a way to include the text contained in Word Docs in a php based search? Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] ASP and PHP

2002-05-16 Thread Scott Hurring
Personally, there are 3 biggies for me 1) Free, open-source 2) works on linux and windows 3) it's NOT anything like VB :) If you're looking for a technical in-depth review, try google.com --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-151

[PHP-WIN] login authentification ?????

2002-05-16 Thread toby z
guys ... im stuck as usual . im making a login-passward page to allow login to my site .. now i have read a bit about SSL ... client/server authentication ... n the works now guyz help me pleez . i dont know how to do it .. i mean how can i authentify a user again

[PHP-WIN] $PHP_SELF generating an error

2002-05-16 Thread R.S. Herhuth
I am using the $PHP_SELF variable on a form page and while the page works fine I'm getting an error: Undefined variable PHP_SELF in... This is very odd because it parses the link correctly and it works fine. Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Ross Fleming
Just to clarify, is the problem getting explorer to save the name properly?... or is it still the carriage returns? Isn't it amazing how typewriters are cause problems in todays programming exercises?... :) and yes, u can call me Ross :) R Henry Grech-Cini wrote: > B.A.T.Svensson wrote (poss

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Scott Carr
Try passing the file through preg_replace. Replace all \n with \r\n. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Henry Grech-Cini <[EMAIL PROTECTED]>: > Dear All, > > Firstly, I am a newbie to php so please be gentle. > > I'm havin

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Henry Grech-Cini
B.A.T.Svensson wrote (possibly not visible as a post yet) > Are you trying to get line breaks on a web pages with CR/LF? > (IF so: it not possible, use the HTML tag "" to induce a line break.) No I'm not trying to do that, I'm trying to generate a CSV file from a collection of tabels within a My

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Henry Grech-Cini
Dear All (and B.A.T.Svensson in particular) I agree. It should not be necessary with a proper language. Could it be that I need to use a different header as opposed to: header("Content-type: Application/octet-stream"); In anycase doing TrimRight() and adding on a "\n" did not work! Henry "B.

RE: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Svensson, B.A.T. (HKG)
> Congratulations on discovering the difference between windows and linux > carriage returns. :) There are 2 types of new-line character, \r (carriage > return, ie move the cursor back the the left hand side of the screen) and \n > (new line, strictly interpreted as "move cursor down one line, b

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Henry Grech-Cini
Thankyou Ross, (may I call you Ross?) :-) Worked a treat. The correct order is \r\n (\n\r just produces 2 undisplayable characters [][]). I had tried \n\r but hadn't considered using \r\n. Thankyou Thankyou Thankyou Henry "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

RE: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Svensson, B.A.T. (HKG)
> The downloaded file does not contain Windows type carriage returns of > newlines! However it does contains the data thank goodness. > > What is the fix? The problem you encounter is that one system is using soft line breaks weather the other is using hard (never remember which one who did what

Re: [PHP-WIN] Newline in file using fputs

2002-05-16 Thread Ross Fleming
Congratulations on discovering the difference between windows and linux carriage returns. :) There are 2 types of new-line character, \r (carriage return, ie move the cursor back the the left hand side of the screen) and \n (new line, strictly interpreted as "move cursor down one line, but not a

[PHP-WIN] Newline in file using fputs

2002-05-16 Thread Henry Grech-Cini
Dear All, Firstly, I am a newbie to php so please be gentle. I'm having problems with carriage returns placed in a file on a Linux based server. When this file is download to a WindowsXP machine the carriage returns are quite frankly useless. I just get "[]" (where "[]" represents an undisplayab

RE: [PHP-WIN] Beta Test Needed

2002-05-16 Thread Svensson, B.A.T. (HKG)
> -Original Message- > From: Demi Vitalis [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 12:18 PM > To: Php-Windows@Lists. Php. Net > Subject: [PHP-WIN] Beta Test Needed > > > I have just launched a new online entertainment portal written entirely > in php. I need some beta te

[PHP-WIN] Beta Test Needed

2002-05-16 Thread Demi Vitalis
I have just launched a new online entertainment portal written entirely in php. I need some beta testers please to go through and see if they experience any problems. http://www.dancepass.net Please note, the search will not return any results... I will not have that done until tommorrow. The t

php-windows Digest 16 May 2002 10:03:45 -0000 Issue 1147

2002-05-16 Thread php-windows-digest-help
php-windows Digest 16 May 2002 10:03:45 - Issue 1147 Topics (messages 13803 through 13809): automation 13803 by: Tim Blackwell 13809 by: Svensson, B.A.T. (HKG) $_FILES, backslashes, input=file and IE 6 13804 by: BOb Pardoe Please Help! 13805 by: Hugo GB Is

RE: [PHP-WIN] automation

2002-05-16 Thread Svensson, B.A.T. (HKG)
> i need to automate a php script i'm writing. php doesn't look like it's the > best for this. > > is there a way to automate a php script? You can use AT.exe or the scheduler. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Is there a timeout or similar en MySql?

2002-05-16 Thread Matt Parlane
http://www.php.net/manual/en/function.mysql-ping.php and don't double post. Matt "Hugo Gb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I'm developing a web site with PHP and I want to show some information > only > if I'm able to connect to a mys

[PHP-WIN] Spell check query

2002-05-16 Thread Jeff Waldock
I would like to be able to run a spell check on information being entered by users on a web form handled by PHP. I have seen that PHP supports the Pspell library, and have downloaded this, but the problem for me is that it appears that the Windows binary does not by default provide Pspell support

[PHP-WIN] Is there a timeout or similar en MySql?

2002-05-16 Thread Hugo GB
Hi, I'm developing a web site with PHP and I want to show some information only if I'm able to connect to a mysql database . If I can´t connect , simply I don´t show some parts of the web page. Sounds easy and it works fine in local , but when I install it in the web server , if it can´t c

[PHP-WIN] Please Help!

2002-05-16 Thread Hugo GB
Hi, I'm developing a web site with PHP and I want to show some information only if I'm able to connect to a mysql database . If I can´t connect , simply I don´t show some parts of the web page. Sounds easy and it works fine in local , but when I install it in the web server , if it can´t c