[PHP-WIN] Latest obsession (controlling Winamp with PHP)

2002-02-18 Thread Scott
think I am just not looking hard enough. Would you do something like this with PHP? I know there are a couple of web stations using this set-up on Linux, but I am using Windows for this project. Any thoughts, drop them my way. Thanks, -Scott -- PHP Windows Mailing List (http://www.php.net

RE: [PHP-WIN] Latest obsession (controlling Winamp with PHP)

2002-02-18 Thread Scott
Linux? In the end, I guess nothing prevents me from using Linux other than wanting to take it with me, ie laptop runs XP and I carry it around with me. I did have it working under Linux with mpg123 with ecasound. Just looking for a possible Windows solution. -Scott -- PHP Windows Mailing Li

RE: [PHP-WIN] Latest obsession (controlling Winamp with PHP)

2002-02-18 Thread Scott
ol and having the > >ability to control how often songs get played, etc. > > > >-Scott > > > > > > > > > >On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote: > > > >> > >> Yes, those Linux guys think that they have the answer to ever

Re: [PHP-WIN] Re: Running Windows full binary distribution

2002-02-21 Thread Scott
make a page like this and try to load it: A couple of possible things to check: 1)If you are using IE turn OFF Show friendly HTTP Error Messages 2)Make sure the Apache conf file has the proper information for PHP, either CGI or Module. -Scott -- PHP Windows Mailing List (http://www.

Re: [PHP-WIN] Extensions and php and dll problem on win2k whit php4.1.1

2002-02-21 Thread Scott
I have to check, but I thought the only real support you got with the installer was MySQL and you had to download the CGI version to get all the addtional DLL's, like MS-Sql, etc. On Thu, 21 Feb 2002, Mike Schmid wrote: > Hi NG > > Help needed, i have make a new istallation of php 4.1.1 (w

[PHP-WIN] Anyone use CodeCharge for PHP and have Resources?

2002-03-27 Thread scott
codecharge? Thanks, Scott Szretter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] php and apache 2.0 on windows installed ok?

2002-04-26 Thread scott
Has anyone done this? I just tried installing apache 2.0 (latest on their site) and the latest php as a module for apache (not cgi), and found it doesnt seem to work. When apache starts, it says module not found. I know php is installed right, because the same php folder works under apache vers

[PHP-WIN] Cache and Apache2?

2002-05-21 Thread scott
Hello, I have been experimenting with Apache2 on Win32, and have noticed something different when I access pages - it seems like things are being cached different. For example, phpmyadmin does not work correctly. Its like I have to always click the "reload mysql" link... Stuff like that... I a

Re: [PHP-WIN] header and footer in php

2002-06-14 Thread Scott
On Fri, 14 Jun 2002, Alvin Tan wrote: > how do i insert/add header and footer html/php? i mean > inserting a different file (i.e. header.html). > > Alvin Tan > > __ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http:/

[PHP-WIN] Include problems

2002-08-03 Thread Scott
oblem. Now I want to store all my includes in one directory www.include.com/inc that doesn't work>>> Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP Windows Mailing List (http://ww

[PHP-WIN] SQL Server stored procedures and functions

2001-05-22 Thread Scott
Hi- I was using PHP on WinNT at my old job, when they closed I took this new job where everything is/was done in ASP 3.0. Now I have been told that I am welcome to explore other options--translation, I can use PHP again :) This db they have set-up does a ton of stored procedures and functions i

Re: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Scott
What version of Dreamweaver are you using? Usually Dreamweaver will leave your code alone. I think Dreamweaver 3 and 4 will both open PHP files with no trouble. It will NOT write PHP code for you though. I can tell you that I have used Dreamwever to modify the layouts on a PHP page and have

[PHP-WIN] db performance

2001-06-21 Thread Scott
Hi- I have a Microsoft SQL 2000 server that I am running a simple query from. It is taking up to a minute to call. Running IIS 5.0, IE 5.5. Any thoughts? I checked the following: 1-A similar ASP script is fine. 2-I can ping the server 3-In MS Query analyzer it takes milliseconds to finish

Re: [PHP-WIN] db performance

2001-06-21 Thread Scott
Frank- Thanks for the thoughts. The db Server is not on the same machine as the web server. They are connecting via tcp/ip. I used the IP address to rule out DNS trouble. One interesting note. For fun I downloaded Apache for Win32, installed it and the php modules in it. Used the same exa

[PHP-WIN] Help with convincing to convert from ASP

2001-08-30 Thread Scott
the one web programmer I work with is a total ASP person. Just need some articles to make my point stronger. PS-It would be on a Windows 2000 server. Thanks, -Scott -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: [PHP-WIN] having a problem with windows xp + php

2002-02-28 Thread Scott Parks
version of xp? I heard about .net server but that isn't out yet. And i have the bgi version running now but id like the auth functions of php. Thats why i want to run isapi. I had apache running but then i didn't have vb asp support.:/ - Original Message ----- From: "Scott St

[PHP-WIN] Session Errors

2002-04-11 Thread Scott Carr
I am trying to use sessions on the following setup: Win NT4, Apache 1.3.23, PHP 4.1.2 Every time I try to register a variable using any means possible, it doesn't get registered. If I look at the session files, they are blank. Is there some trick I am missing? -- Scott Carr OpenOffic

[PHP-WIN] Problem with 4.0.6 through 4.2RC2

2002-04-11 Thread Scott Carr
length of the SQL string. (The SQL string works fine if I run it in Access.) Are there any ideas on this?? -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ - This mail sent through IMP: http://hor

Re: [PHP-WIN] Frontpage- help!

2002-04-13 Thread Scott Carr
Download a copy of Apache. It runs on Win32 OS, and just about anywhere else you happen to be. If you have problems setting it up, I'll help you. http://httpd.apache.org -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting JJ in M

[PHP-WIN] COM and ADODB access

2002-04-15 Thread Scott Carr
ed to pass semi-long strings to a COM object? Here is the error I get on the second select statement: Warning: Error in php_OLECHAR_to_char() in d:\php\pear\DB\adodb.php on line 191 It's like that for every large string I pass. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://

Re: [PHP-WIN] COM and ADODB access

2002-04-16 Thread Scott Carr
on at this point. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Alan Brown <[EMAIL PROTECTED]>: > I actually use VERY long strings to COM. Can you send me a small test case > (some snipit from adodb.php, since I do not seem t

Re: [PHP-WIN] COM and ADODB access

2002-04-16 Thread Scott Carr
Sorry, the attachment didn't work right. The DSN structure is as follows: adodb:///Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\path\\to\\database.mdb adodb:///Data Source={ODBC DSN} Everything after the last / is considered the ADO Connection string. -- Scott Carr OpenOffic

RE: [PHP-WIN] re: $POST vars

2002-04-23 Thread Scott Hurring
merely checking a variable is safe (for ex:) if (empty($X)) or if (defined($X)) or if ($X) I just hope you don't check for them and go on to use the dirty values w/o any sanity or bounds checking on them. :) > -Original Message- > From: Ross Fleming [mailto:[EMAIL PROTECTED]] > Subjec

[PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
After working with Excel via COM, i cannot seem to get the instance of Excel to quit (CTL+ALT+DEL shows an 'EXCEL.EXE' in my process list). The script opens up a file, puts some numbers in, adds some numbers up, then closes the sheet and tells excel to exit. I've been trying for a few hours now

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
sp?url=/library/en-us/modcore/htm l/deovrMicrosoftExcel2000.asp --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Neil Lincoln [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 7:17 PM > To

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Scott Hurring
->Close(); unset($sheet); unset($book); $excel->Quit(); com_release($excel); unset($excel) I agree with a previous poster to this list; that it's most likely an "undocumented" MS bug (are there any other kinds of MS bugs? hehe) --- Scott Hurring Systems Programmer EAC Corporati

RE: [PHP-WIN] Re: COM vs. ODBC

2002-04-24 Thread Scott Hurring
f the script, there are a bunch of zombie procs laying around eating up all my free memory... --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Ray Hunter [mailto:[EMAIL PROTECTED]] > Sent:

RE: [PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Scott Hurring
n.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm l/deovrMicrosoftExcel2000.asp --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: Wednesday

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Scott Hurring
script is finished, yet stays alive when the PHP script is finished. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- >Try > > $book->Close("False"); > Doesnt do anything. >

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Scott Hurring
unAs my account "scott", so it shouldn't be plauged by the "SYSTEM" ownership issue... even though i haven't tested it) Please check out: http://furt.com/code/php/com_issues/ (Read 'readme.txt') --- Scott Hurring Systems Programmer EAC Corporation

RE: [PHP-WIN] re: making a DB counter

2002-04-25 Thread Scott Hurring
Try this: http://www.mysql.com/doc/L/O/LOCK_TABLES.html That seems to be what you're asking for... to lock down the table while you select, then update... --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original

RE: [PHP-WIN] MySQL / PHP - possible to run many sql statements in the same execution?

2002-04-25 Thread Scott Hurring
Sorry for seeming a bit dense, but what's the problem with using "LOCL TABLES" for all SQL stmnts? It's my understanding that it will lock tables and prevent other procs from reading/writing to that table while you've got a lock on it. Is that not the case? --- Scott H

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Scott Hurring
ect of something else? Does PHP usually create temp-objects when referencing $obj->another, or is that behaviour only part of the COM subsystem? Sorry for asking questions that are probably obvious, but i'm not really too familiar with the details of PHP's object handling. --- Sc

RE: [PHP-WIN] Re: Security Alert!-cgi.force_redirect=0

2002-04-26 Thread Scott Hurring
I have absolutely no idea if this will help, but i've never seen that "Security Alert", and this is the way i've always configured Apache: Try routing PHP requests through a ScriptAlias like so: ScriptAlias /php-bin/ "C:\PHP" Action application/x-httpd-php "/

RE: [PHP-WIN] MySQL / PHP - possible to run many sql statements in the same execution?

2002-04-26 Thread Scott Hurring
You could also use semaphores/locks :) --- 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: Friday, April 26, 2002 7:22 AM > To: M

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Scott Hurring
properly unset())? --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Neil Lincoln [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 9:23 AM > To: Alan Brown; Scott Hurring; Php-Win (

[PHP-WIN] DDE and PHP; printing a spreadsheet with COM?

2002-04-26 Thread Scott Hurring
d really rather like to keep everything centered around PHP+COM, instead of now having to use two separate languages with two separate interfaces to manipulate and print spreadsheets. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP

[PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Scott Dowd
when I add "?servername=SERVERNAME" as in the url, it does not recognize the command. "PHP Fatal error: Unable to open checksingle.php?servername=SERVERNAME in Unknow n on line 0" Is this the best way to schedule a PHP page to run ? Thanks, Scott. -- PHP Windows Mailing

[PHP-WIN] PHP_SELF - undefined var

2002-04-29 Thread Scott Mc
I am using WinXP (IIS), and PHP 4.1.2. Recently I've upgraded to PHP 4.2. Since the upgrade, all of my scripts that use the PHP_SELF variable will not work - citing undeclared variable. I reverted back to 4.1.2 and everything works fine again. What have I done wrong? Scott -- PHP Wi

RE: [PHP-WIN] executing an external program

2002-04-30 Thread Scott Hurring
Also, try system() if you want to see the output of the called program (http://php.net/system) PS: The online help system is your friend. :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From

RE: [PHP-WIN] Need help with functions

2002-04-30 Thread Scott Hurring
he $form array. If you want to preserve form elements, try using $form['prev'] = serialize($form); then making a hidden field named 'prev', and on the *next* form use: unserialize($form['prev']); to get at the "previous" values. --- Scott Hurring Systems Pro

RE: [PHP-WIN] Problem sending variables with an browser

2002-04-30 Thread Scott Hurring
use: urlencode($param) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Dash McElroy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 30, 2002 4:19 PM > To: 'Waldemar Brand Neto&#x

RE: [PHP-WIN] Re: i'm stuck guys

2002-04-30 Thread Scott Hurring
It probably isnt working becuase AFAIK, it's SHIFT+Click to force a refresh with MSIE. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Luis Ferro [mailto:[EMAIL PROTECTED]] > Sent: Mo

RE: [PHP-WIN] Problem sending variables with an browser

2002-04-30 Thread Scott Hurring
Remember the online help... http://php.net/keyword It is seriously cool... i wish that every language's official site had as easy a way to get documentation as PHP. :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -

RE: [PHP-WIN] Php on windows - Linux and Windows Editors

2002-05-01 Thread Scott Hurring
On my 800Mhz windows, it drags, go figure) And i would also suggest Emacs, but if you're averse to twisted keyboard shortcuts, stay far away ;-) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Re: Question installing and running php

2002-05-01 Thread Scott Hurring
httpd.conf does not have to be in the system dir, and neither does php.ini. my config has httpd.conf in C:\apache\conf\ and php.ini in C:\php-4.1.2\ works like a charm. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Origi

RE: [PHP-WIN] Sessions

2002-05-02 Thread Scott Hurring
you have to setup the directory for sessions in your 'php.ini' file. It defaults to '/tmp', which is *not* a subdir, but a root-dir (AFAIK), so either create "C:/tmp" or set it to something else. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROT

RE: [PHP-WIN] reg exp

2002-05-03 Thread Scott Hurring
Off the top of my head, try something like: preg_match('/(\d+)/', $var, $matches); then look what's in $matches. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Alberto. S

Re: [PHP-WIN] File Uploader - Progress

2002-05-03 Thread Scott Carr
File Uploads are a client side "post" feature, aren't they? Is there a browser that offers this functionality? -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Arijit Chaudhuri <[EMAIL PROTECTED]>: > Hi all, >

RE: [PHP-WIN] Re: PHP generation of fields

2002-05-03 Thread Scott Hurring
$i)) ] = date("F",mktime(0,0,0,$i)); print $html->select('form[months]', $all_months, date("m")); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Dash McElro

Re: [PHP-WIN] Simple function question

2002-05-09 Thread Scott Carr
Use $GLOBALS['var1'] That will get the variable from the correct scope. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Matt Babineau <[EMAIL PROTECTED]>: > Ok, I just read a section in a book about functions. In my

RE: [PHP-WIN] Simple function question

2002-05-09 Thread Scott Hurring
// Setup the function like this function runvar ($var1) { ... } // Call it like this runvar($var1); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]]

RE: [PHP-WIN] how do i display errors

2002-05-09 Thread Scott Hurring
Look for trace_errors in php.ini and it'll tell you about itself. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Mauricio [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 08, 200

RE: [PHP-WIN] how do i split text on multi linez .... ????

2002-05-09 Thread Scott Hurring
Yes. If you're outputting to a browser, the browser ignores linefeeds. you *need* some kind of HTML to split up lines. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Mike Flynn [ma

RE: [PHP-WIN] flushing output to the browser whilst the script does something useful

2002-05-09 Thread Scott Hurring
an then see the output of the long process. What is the long proc. doing anyway? --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Olivier Hubert [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 0

RE: [PHP-WIN] XML parsing

2002-05-10 Thread Scott Carr
Use the "" ending will not be parsed at all. Reference from: http://www.w3.org/TR/2000/REC-xml-20001006#sec-cdata-sect -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Carl Lerche <[EMAIL PROTECTED]>: > Well, > >

RE: [PHP-WIN] php 4.2 and database conn

2002-05-15 Thread Scott Hurring
If you don't want to install that god-awful MS SQL thing, MySQL is free, open-source, and runs on Win32 platforms (and is a snap to install) Just have it running as a service on whatever computer you need to access it on... plug in the IP, name, password, and you're good to go. I do all my devel

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 g

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 Fa

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 Prog

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: Thur

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---

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

2002-05-16 Thread Scott Hurring
ly mess things up... I've had entire scripts refuse to run because i used a text editor that felt like throwing in "\r" after every line. (Open up a "windows" file in "vi" to see the mess) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROT

RE: [PHP-WIN] automation

2002-05-17 Thread Scott Hurring
> > > > > You can use AT.exe or the scheduler. > > > D'oh. Sorry... i use PHP on both platforms daily, so sometimes i forget to restrict suggestions to win-only on this list :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-

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] Vo

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

2002-05-17 Thread Scott Hurring
xcel program to automatically populate and then print out spreadsheets, so i may be able to help ya out... but send some more info, thanks. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: R.S. H

RE: [PHP-WIN] ASP and PHP

2002-05-17 Thread Scott Hurring
annot short-circuit a boolean expression > ?costing you milliseconds? ... or (more importantly), unwanted side-effects. :) > > ASP does not have mult-line comments > So what? Because it's a HUGE pain to not be able to quickly comment out entire blocks of code for testing a

Re: [PHP-WIN] Re: EXEC and Windows

2002-05-18 Thread Scott Carr
First, have you made sure to: $out = array(); before the exec line? Also, does the program swish-e.exe return anything to output when you run it from the command line? -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting firepages <[EM

RE: [PHP-WIN] Searching for many keywords simultaneously

2002-05-21 Thread Scott Hurring
Personally, i'd go with preg_replace and/or preg_match_all. http://www.php.net/manual/en/function.preg-replace.php They might not be the fastest way, but certainly one of the easiest for the programmer. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462

RE: [PHP-WIN] COM Problem

2002-05-21 Thread Scott Hurring
[False]->WritePasswordDocument[""]->WritePassword > Template[""]->Format["wdOpenFormatAuto"]; I know it's a pain, but try splitting that up into one-call-per-line, and then it'll be a pieced of cake to see where the error is. *always* check error message

RE: [PHP-WIN] COM Problem

2002-05-21 Thread Scott Hurring
object: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm l/deovrMicrosoftWord2000.asp --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]]

Re: [PHP-WIN] Can someone explain to me....

2002-05-21 Thread Scott Carr
rence, from what I can tell. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting "Asendorf, John" <[EMAIL PROTECTED]>: > Can someone explain to me why everytime someone answers a question where > the > answer includes the s

RE: [PHP-WIN] Can someone explain to me....

2002-05-21 Thread Scott Hurring
Well, i personally use them becuase i used to do a lot of Perl programming, and i like perl-style regex's more. IMO, they're more powerful too, and are more commonly used in other programs and utilities than PHP-style regex's... it's not a speed issue for me. --- S

Re: [PHP-WIN] basic form processing

2002-05-23 Thread Scott Carr
Try: echo "Thanks " . $_POST['FirstName'] . " " . $_POST['LastName']"; -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Bill Hudspeth <[EMAIL PROTECTED]>: > I am new to PHP and have

RE: [PHP-WIN] htaccess and PHP in general

2002-05-31 Thread Scott Hurring
user data is in the database, and eveyrtime a change is made to the DB, the .htpasswd file is written to disk to keep it constantly updated. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Ma

RE: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-31 Thread Scott Hurring
Or, as always, try a preg ;) $string = preg_replace("/\n/", "\n", $string); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Nikolai Jeliazkov [mailto:[EMAIL PROTECTE

RE: [PHP-WIN] htaccess and PHP in general

2002-06-03 Thread Scott Hurring
sions and auth and a login/logout page, etc... the project wasn't that big -- and there was a severe time constraint. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Matt Babineau [mailto:

Re: [PHP-WIN] redirecting to a new page

2002-06-05 Thread Scott Carr
After the tag, you can put: The 2 is for seconds to wait before a send. This works in standard HTML files as well. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Renaldo De Silva <[EMAIL PROTECTED]>: > is there any way o

RE: [PHP-WIN] redirecting to a new page

2002-06-05 Thread Scott Hurring
many ways to tell a browser "go here instead". 'Location: ...' is by far the reliable. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Renaldo De Silva [mailto:[EMAIL PROTECTED]] >

RE: [PHP-WIN] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
You get that message when it doesn't match the pattern "(\\\$[0-9]+\\.[0-9]+)" in the returned data. $quote is set by eregi(); All this stuff is in the php documentation: http://php.net/eregi --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-46

RE: [PHP-WIN] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
pen the URL"; exit; } $contents= fread($fp, 100); fclose($fp); if (preg_match("/([0-9]+\.[0-9]+<\/b>)/",$contents, $quote)) { echo "$symbol was sold at: "; echo $quote[1]; } else { echo "No quote available."; } echo ""."This info

[PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-10 Thread Scott Hurring
PHP support for Apache2 is still experimental, so i'd go with Apache 1.3.x for now. Most people i hear from say that PHP/apache is much faster than PHP/IIS. "Matt Babineau" <[EMAIL PROTECTED]> wrote in message 003101c21097$69822c40$6501a8c0@developerx">news:003101c21097$69822c40$6501a8c0@develop

Re: [PHP-WIN] How to pass passwd Server <-> Client in a "secure" way

2002-06-10 Thread Scott Hurring
l out encrypted passwords... this way, speed won't be such an issue, and you can use 3072-bit keys, which are quite secure. Of course, this would mean the client MUST have PGP/GPG installed on his computer :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com &q

Re: [PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-10 Thread Scott Hurring
ion server, but I do almost all my development work on a Win2k machine running mysql/apache/php, i love it :-) Apache is still classified "beta" on windows, but from what i've seen, it's a VERY solid beta. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac

RE: [PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-10 Thread Scott Carr
>From what I understand, there is support for SSL just not in the Binary form of Apache 2.0. You have to compile it yourself. The reason being is US export laws of encryption stuff. The Apache Group is very if'y when it comes to that. With DMCA and such laws, I can understand why. -

[PHP-WIN] Re: HTTP_WEREFERER / HTTP_REFERER

2002-06-10 Thread Scott Hurring
Why not check to see which one is set? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com "Hippo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I found the following problem, When using varia

[PHP-WIN] Re: Connecting to MS Access

2002-06-12 Thread Scott Hurring
looking for, but go over the documentation again, and try to look for code examples. ** And always check your status vars ** -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Bill Hudspeth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news

Re: [PHP-WIN] Connecting to MS Access

2002-06-12 Thread Scott Carr
Try username="admin", password="". Most databases start off with those u and p settings. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Bill Hudspeth <[EMAIL PROTECTED]>: > I am having problems connecting to a

[PHP-WIN] COM Problem

2002-06-13 Thread Scott Carr
hat stops it, or if I let the function fall through without setting the var to null. (I guess the garbage routine would try to set it to Null) Any ideas? Thanks. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/

[PHP-WIN] Re: Extracting data from a URL using PHP

2002-06-13 Thread Scott Pier
printing); I then put the table back in when I printed the string. I hope this helps, Scott "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Is there any way to extract *specific* data off a page - like text wi

Re: [PHP-WIN] COM Problem

2002-06-14 Thread Scott Carr
Fixed... Found that the COM object had a form it used for some proecessing and it did not Unload the form before exiting. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Scott Carr <[EMAIL PROTECTED]>: > I have a VB ActiveX DLL

Re: [PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread Scott Hurring
Try putting a "LIMIT 10" after a valid query -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > top 10 *? What is that supposed

[PHP-WIN] Re: Script not working correctly

2002-06-18 Thread Scott Hurring
Adjust the 'max_execution_time' in php.ini or with a call to ini_set() and it won't timeout. PHP is a great language, don't let something a silly as a default timeout value dissuade you from using it to do "longer running" things. -- Scott Hurring Systems Pr

Re: [PHP-WIN] Newbye question

2002-06-26 Thread Scott Hurring
developing code, so i suggest you keep them turned ON for local dev, but it's harmless to turn them off. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Saci" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

[PHP-WIN] Re: Parsing HTML Error

2002-07-02 Thread Scott Hurring
HP is just NS 4 acting dumb. the browser/OS of the client's computer has absolutely zero effect on the server-side parsing and output of PHP scripts. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Ivan Arbitman" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP-WIN] case-sensitive

2002-07-02 Thread Scott Hurring
I assure you, include() does work ;-) Verify that the file is indeed present in the 'include_path' (as set manually by ini_set() or in 'php.ini'), and make sure that the server is actually parsing PHP files correctly. -- Scott Hurring Systems Programmer EAC Corporati

Re: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-02 Thread Scott Hurring
ey wrote some pretty slipshod code if you're getting that many notices and errors. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Tracker 1" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > okay, in yo

Re: [PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-07-02 Thread Scott Hurring
n (if you use register_globals). -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Dash McElroy" <[EMAIL PROTECTED]> wrote in message ABA3F1F1A223D411BE6C006008A6F7E260434D@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E260434D@MSX1-PTON... > PHP w

Re: [PHP-WIN] case-sensitive

2002-07-02 Thread Scott Hurring
iables. what version of PHP are you using? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Chris Schmidt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes includes work My problem is with case of vars >

Re: [PHP-WIN] Re: Closest store location by zip code

2002-07-08 Thread Scott Hurring
Actually, a fine gentleman from Nigera the other day emailed me the encrypted source code to just such a script all i had to do was give him my bank account information and let him transfer over $25 million to me so i could afford some machines to crack the encryption. :-) -- Scott Hurring

  1   2   3   >