RE: [PHP-WIN] (No subject header)

2005-06-16 Thread Asendorf, John
I hate to ask, but have you installed GD? http://www.boutell.com/gd/ -Original Message- From: David Collard [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16, 2005 10:48 AM To: ddiffa Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] (No subject header) ddiffa wrote: >Okay I at lo

RE: [PHP-WIN] ereg_replace help wanted

2004-09-29 Thread Asendorf, John
Actually, what you need is split() by the sounds of it. Spliting the groups of pages by ',' would give you an array of either single pages or ranges of pages. From there, it is just a matter of mathematics to take the pieces of the new array and adding them together. -Original Message

RE: [PHP-WIN] Date Formatting

2004-09-22 Thread Asendorf, John
You are looking for the strtotime() function. $original_date = "Sep 12 2004 2:16AM"; $reformat = date ( "m/d/Y" , strtotime ($original_date) ); echo $reformat; John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 9:13 AM To: [EMAI

RE: [PHP-WIN] Date Formatting

2004-09-22 Thread Asendorf, John
You are looking for the strtotime function... $original_date = "Sep 12 2004 2:16AM"; $reformat = date ( "m/d/Y" , strtotime ($original_date) ); echo $reformat; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 9:13 AM To: [EMAIL

RE: [PHP-WIN] Displaying errors

2003-10-23 Thread Asendorf, John
Interesting... PHP 4.3.4RC2 picks up the php.ini file from C:\PHP instead of C:\WINNT Anyone know why that might be? -Original Message- From: Asendorf, John [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 10:57 AM To: Php-Windows (E-mail) Subject: [PHP-WIN] Displaying errors

[PHP-WIN] Displaying errors

2003-10-23 Thread Asendorf, John
So I installed 4.3.4RC2 the other day and I can't see any errors. I using cgi on IIS4, have error_reporting set to E_ALL, display_errors set to ON, display_startup_errors to ON and am getting absolutely no errors at all. Any suggestions? Thanks, John -- PHP Windows Mailing List (http://www.ph

RE: [PHP-WIN] free windows editor with ftp?

2003-09-10 Thread Asendorf, John
The answer to both of those is HTML-Kit by Chamisoft... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original

RE: [PHP-WIN] PHP and beers...

2003-04-04 Thread Asendorf, John
How rude to us Americans. We're just starting our workday and you taunt us with your proximity to beer drinking time! I fart in your general direction! - John Asendorf - [EMAIL PROTECTED] Web Applications Developer > -Original Message- > From: Svensson, B.A.T. (HKG

[PHP-WIN] ADOdb for PHP Website... anyone know what's wrong?

2003-03-04 Thread Asendorf, John
I think I'm going to shoot myself. I LOVE ADOdb for PHP but his website seems to be down (has been for two days now)... anyone have an inside track as to when/if he's coming back? http://php.weblogs.com/adodb Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications

[PHP-WIN] For those who ask about a great host...

2003-01-30 Thread Asendorf, John
I would just like to say that I have been with Spenix for a month for a personal domain now and am so incredibly happy that I wanted everyone to know how great these guys are. http://www.spenix.com I will never switch to another host (and I've probably worked with a dozen for a variety of project

RE: [PHP-WIN] Urgent Very Urgent

2003-01-29 Thread Asendorf, John
We'd love to help you but I don't think anyone is going to be sending you their php.ini file so you can see all of their paths, permissions, installed extensions, etc. Please send us your PROBLEM and we'll see if we can help. - John Asendorf - [EMAIL PROTECTED] Web Application

RE: [PHP-WIN] Re: Looking for something like floor() only to roun d to a nearest div

2003-01-28 Thread Asendorf, John
hing like floor() only to > roun d to a nearest div > > > > --- "Asendorf, John" <[EMAIL PROTECTED]> wrote: > > $floor_val = 6 * ((int) 15/6) // yielded 15 for > > me... not what I was going > > for. > > This returned 15 for me, too. > >

[PHP-WIN] Looking for something like floor() only to round to a nearest div isor

2003-01-28 Thread Asendorf, John
ES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message----- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 2:53 PM > To: Php-Windows (E-mail) > Subject: [PHP-WIN] Looking f

RE: [PHP-WIN] Re: Looking for something like floor() only to round to a nearest div

2003-01-28 Thread Asendorf, John
I'm not sure if you understood what I was trying to do... I went ahead a wrote something... if there's something else out there I should use, let me know: //this only works for positive numbers where input > divisor (so far)!! function alt_floor ( $input , $divisor ) { if ( $input % $divi

[PHP-WIN] Looking for something like floor() only to round to a nearest divisor

2003-01-28 Thread Asendorf, John
I'm looking for a function like floor() only I want it rounded to a number that is divisible by another number. For instance, if the divisor is 6, alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the divisor. Or, alt_floor ( 174 , 20 ) would yield 160... Anyone already do somet

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Asendorf, John
I doubt that it's a globals problem since it doesn't look like you're even checking any php variables. Perhaps try http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: par

RE: [PHP-WIN] Who is foo & what is bar?

2003-01-22 Thread Asendorf, John
That's a very good possibility! Now, uh, for us non-German speakers, what is "furchtbar?" - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtur

RE: [PHP-WIN] Who is foo & what is bar?

2003-01-22 Thread Asendorf, John
> Whatever happened to good ole' x, y and z??? They're just so Pythagorean... s, you know, Bronze Age-ish... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum mag

[PHP-WIN] Looking for something simple

2003-01-14 Thread Asendorf, John
I miss the old days of PHP when all you could find were little snippets of code instead of "huge suites for working with everything"... I'm looking for a simple script that just writes html. ALl I want is something that will look at the fields in a MySQL database and spits out a form that can be

RE: [PHP-WIN] New to PHP

2003-01-06 Thread Asendorf, John
Your register_globals is probably turned off, and since you probably don't have the ability to alter the ini file, try putting this at the top of your code: $Action = $_REQUEST['Action']; - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.co

RE: [PHP-WIN] PHP compiler

2002-12-09 Thread Asendorf, John
www.zend.com - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: mst [mailto:[EMAIL PRO

RE: [PHP-WIN] eregi problem

2002-12-05 Thread Asendorf, John
eregi( "^wm(li|si|wi)[0-9]{6}[a-z]?$", $wm_id) That should do it... tear it apart and understand it :) Part of the problem was in the alternation in the li|si|wi Part of the problem was that the + would accept sisi or wisilisiwi With {min,max}... if they are the same number, you only need on

RE: [PHP-WIN] update tablename

2002-11-12 Thread Asendorf, John
RTFM - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Rodrigo San Martin [mailto:rod

RE: [PHP-WIN] Tough decision ASP or PHP

2002-11-07 Thread Asendorf, John
I'm filling out form PDFs on the fly with IIS and FDF without any problems... I don't know if that's what you mean by "creating PDF's" but if this ( http://www.lcounty.com/lchd/record_search/ ) is what you're looking for, (enter a name like smith then click on one of the application request icons)

RE: [PHP-WIN] dates

2002-11-05 Thread Asendorf, John
Actually, you'd probably want to do that in the SQL for whatever database you're using. i.e. ORDER BY story_date LIMIT 4 - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631

RE: [PHP-WIN] PHP Editor

2002-11-05 Thread Asendorf, John
I use HTML-Kit http://www.chami.com/html-kit/ Has all the PHP functions and highlighting. There's no built in debugger, but it integrates flawlessly and seamlessly with FTP so I just test on the server. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer htt

RE: [PHP-WIN] Upload image file

2002-11-01 Thread Asendorf, John
Throw some debugging echoes in there to show you what the file names and directories are looking like. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@;lumc.nl] > Sent: Friday, November 01, 2002 11:36 AM > To: Ase

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread Asendorf, John
cking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Michael Hazelden [mailto:michael.hazelden@;ocado.com] > Sent: Friday, November 01, 2002 11:23 AM > To: 'Asendorf, John'; Svensson, B.A.T. (HKG); Php-Win

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
Yes. You need to set the goblin_init variable in the php.ini file to "Off" usually these commands are set in the Header information which explains why you are getting them whenever you open a page. Before I found out about the php.ini field, I was using rat traps on them... just set a line of th

RE: [PHP-WIN] I could use some help

2002-11-01 Thread Asendorf, John
register_globals, an option in the php.ini file has been denegrated and will shortly no longer be supported in PHP. You can still turn it on (which should fix your problem); but, in future releases you will need to use variables such as $_POST['name'] to get your post variables. As a fix, at the

RE: [PHP-WIN] COM gurus... please help

2002-10-25 Thread Asendorf, John
hn Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Asendorf, John [mailto:JAsendorf@;lcounty.com] > Sen

RE: [PHP-WIN] Date validation

2002-10-24 Thread Asendorf, John
fuit > -Original Message- > From: Asendorf, John [mailto:JAsendorf@;lcounty.com] > Sent: Thursday, October 24, 2002 10:27 AM > To: John Meyer; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Date validation > > > Actually, you could use explodo or split and reorder t

RE: [PHP-WIN] Date validation

2002-10-24 Thread Asendorf, John
Actually, you could use explodo or split and reorder the pieces: from the docs: $date = "04/30/1973"; // Delimiters may be slash, dot, or hyphen list ($month, $day, $year) = split ('[/.-]', $date); echo "Month: $month; Day: $day; Year: $year\n"; - John Asendorf - [EMAIL PR

RE: [PHP-WIN] COM gurus... please help

2002-10-24 Thread Asendorf, John
um sine mixtura dementiae fuit > -Original Message- > From: Scott Carr [mailto:scarr@;progbits.com] > Sent: Thursday, October 24, 2002 10:08 AM > To: Asendorf,John > Cc: PHP Windows > Subject: Re: [PHP-WIN] COM gurus... please help > > > What are you trying

[PHP-WIN] COM gurus... please help

2002-10-24 Thread Asendorf, John
Hello all, PHP 4.2.3, NT4, IIS4 I finally have a practical application to use COM and I'm trying to port some ASP scripting. I'm getting an error (Warning: Invoke() failed: Exception occurred. Source: Unavailable Description: Unavailable in D:\spoof\gis\file.php on line 66 and then the timeout e

RE: [PHP-WIN] HTTP_POST_VARS - need help

2002-10-23 Thread Asendorf, John
Your action in the form may be the problem... I think you need action=\"$PHP_SELF\" instead of action=\"$PHSELF\" - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum mag

[PHP-WIN] Does anyone know the status of PHPDoc

2002-10-15 Thread Asendorf, John
PHPDoc: Who is maintaining it? Is it still being worked on? I've found a couple conflicting sites and dates and wonder if anyone is using it and how they're coming with it? http://www.phpdoc.de says they are at 0.1.0 beta? but http://www.callowayprints.com/phpdoc/ says they are at 2.3.5? Very

RE: [PHP-WIN] multiple include_paths

2002-10-10 Thread Asendorf, John
http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 09, 2002 3:42 PM > To: Php-Windows (E-mail

[PHP-WIN] multiple include_paths

2002-10-09 Thread Asendorf, John
I'm attempting to install PEAR and from what I can tell, I only need to add the PEAR installation directory to the include_path... The website already has an extensive use of include in directory d:\here\is\a\path but, when I change the indlue_path from include_path "D:\here\is\a\path" to inc

RE: [PHP-WIN] IIS 5 - ASP & PHP dev enviorment

2002-10-07 Thread Asendorf, John
I also use both extensively on the same server. I have had absolutely no problems running both. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine

RE: [PHP-WIN] phpBB won't install

2002-10-07 Thread Asendorf, John
This may sound like a silly question, but did you make sure MySQL was the selected database type during the PHPBB install? I **just** installed PHPBB2 this weekend with no hitches... so, maybe I can help while it's still fresh in my mind. - John Asendorf - [EMAIL PROTECTED]

RE: [PHP-WIN] Login on IIS

2002-10-01 Thread Asendorf, John
You'll need to use sessions. Then, on each page (you can do this in an include I think)... you will have session_start beginning each page. From there you can do a check to see if the user has already logged in... if they are logged in, it will spit out the page... if not, it will ask them to lo

RE: [PHP-WIN] PHP/MySQL/APache on CD

2002-09-10 Thread Asendorf, John
> Please, > > > > Post/repost on the mailling list (or send a copy to me) as i'm also > > interested on how to assemble a solution like that... > > > > Thanx in advance, > > Luis Ferro > > > > Asendorf, John wrote: > > > > >Oh, I

RE: [PHP-WIN] PHP/MySQL/APache on CD

2002-08-29 Thread Asendorf, John
ugust 29, 2002 10:02 AM > To: Asendorf, John > Cc: Php Win32 list > Subject: RE: [PHP-WIN] PHP/MySQL/APache on CD > > > > I thought a couple of weeks ago I saw someone working on a > PHP/MySQL/Apache > > (all running from a CD) on here. Does anyone remember who tha

[PHP-WIN] PHP/MySQL/APache on CD

2002-08-28 Thread Asendorf, John
I thought a couple of weeks ago I saw someone working on a PHP/MySQL/Apache (all running from a CD) on here. Does anyone remember who that was? Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Lic

RE: [PHP-WIN] PDF Forms

2002-07-31 Thread Asendorf, John
I think you'd actually have to tear apart the PDF file with a text editor, determine where you want the field and do a replace on that space... Luke Welling and Laura Thomson gave a pretty good talk about this at the PHP conference in San Diego in 2001... they showed how you can tear apart the PDF

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
reset ( $arr_places ); //probably not necessary but we'll do it anyway //sort ascending numerically by the "mileage" $sortarray array_multisort($arr_places,SORT_ASC,SORT_NUMERIC,$sortarray); while ( list($key, $val) = each($arr_places) ) { echo "$val[mileage]

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
http://www.php.net/manual/en/function.asort.php http://www.php.net/manual/en/ref.array.php Is the information (non-mileage) going to be stored in a database? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY!

RE: [PHP-WIN] Urgent!!!!

2002-06-27 Thread Asendorf, John
Can you give us "line 2" My guess is that you either have a bad DSN or a bad line in the connect string. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum inge

RE: [PHP-WIN] php Expanding Menu System Wanted

2002-06-26 Thread Asendorf, John
If you want what I created (you can see it in action at www.lcounty.com) I'd be happy to send you the files. It's fairly simple and could be altered very easily to fit your needs. The menus are created on the fly from an include file... Once you've checked it out, let me know if it's what you'r

[PHP-WIN] Moron question: What is the & in a class meant to do?

2002-06-24 Thread Asendorf, John
I'm a bit confused. I keep stealing code and using it for my own devious purposes and parts of it I don't understand. What is the "&" in a piece of code that looks like this meant to do? I looked all through the Class stuff in the docs but can't seem to find the reason for it. $foo = &$bar->so

RE: [PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
SA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 2:30 PM > To: Php-Windows (E-mail) > Subject: [PHP-WIN] PDF Form download changes in IE broke my app

[PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
Has anyone else having trouble with the latest IE and PDF Forms (FDF)? I had a nice application that used to work and is now broken. I think it has something to do with the latest "upgrades and cold(I mean hot)fixes" to IE. I now get a "download file" alert with the "Open" button grayed out. It

RE: [PHP-WIN] PHP + PDF

2002-05-28 Thread Asendorf, John
Isn't it called php_fdf.dll? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Scott

RE: [PHP-WIN] mySQL and ODBC

2002-05-23 Thread Asendorf, John
I don't believe so. I've gone to using adoDB ( http://php.weblogs.com/ADODB ) for everything. Perhaps it has a solution for you? I know it has a get_insert type of statement, but I've never used it. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.l

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

2002-05-21 Thread Asendorf, John
Can someone explain to me why everytime someone answers a question where the answer includes the suggestion to use eregi_replace why someone has to chime in to use the perl regexes? Are they really all that much faster than the POSIX implementation? John - John Asendorf - [E

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

2002-05-21 Thread Asendorf, John
Here is something that may help. It looks like a good start http://www.phpbuilder.com/forum/read.php3?num=2&id=132692&thread=132689 - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Asendorf, John
Hi Anders, There are a couple of possibilities. First, in the php.ini file you must make sure you've turned on the extention for what you're trying to do. Uncomment the line, ;php_poultry.dll Then you'll have access to the compression and upload schemas for poultry. Although this extension is

[PHP-WIN] How do Pear::DB and ADODB stack up against each other?

2002-04-15 Thread Asendorf, John
I've been using ADODB for quite a while (since version 1.4) and I just love it. But, I've been considering looking at Pear's DB layer. Has anyone used both of them enough to compare? I'm connecting to Oracle, Access, MSSQL and MySQL databases... so that is one of the considerations I have to ma

RE: [PHP-WIN] IIS + Oracle 7.* connection

2002-03-25 Thread Asendorf, John
It sounds like you don't have the oracle or OCI8 dlls loading. The major problem with connections to oracle are usually these: 1) Use the 8.1.6 client, even if you're connecting to an 7.3.4 database... 2) Make sure you have the oracle dlls uncommented in the php.ini file 3) Use PHP in cgi mode,

RE: [PHP-WIN] PHP4, ASP, and IIS

2002-03-22 Thread Asendorf, John
Dear David, I run PHP, ASP, Perl and MySQL all on the same NT4 IIS4 server. This server also connects to MSSQL, Oracle and Access databases. I have no problems and if you need me to tell someone that, just give them my address. John Asendorf - John Asendorf - [EMAIL

[PHP-WIN] Multiple conditions in an if statement

2002-03-15 Thread Asendorf, John
I have a question about the efficiency of an if statement... Say you have the following statement, if ( $i == 6 && eregi ( "foo" , $bar ) ) { } And the first portion ( $i == 6 ) IS NOT true, does PHP even attempt to run the regular expression? Just wondering. Thanks, John --

[PHP-WIN] eregi_replace on a text file

2002-03-14 Thread Asendorf, John
I'm trying to figure out how to add a piece of text to the beginning of every line of a text file. Somewhere, I'm not understanding how the filesystem stuff works. This is what I have right now. I am certain that I'm missing some kind of fgets and/or fwrites or something in this and can't figur

RE: [PHP-WIN] Displaying a MS Access - Medium time field

2002-03-07 Thread Asendorf, John
($class_time)); - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Asendorf, John [

[PHP-WIN] Displaying a MS Access - Medium time field

2002-03-05 Thread Asendorf, John
I have a MS Access 2000 database, which has a field whose format is "Medium Time" named $class_time. The $class_date (Format "Short Date") prints with no problem. If I try to take the field from the database (without formatting) and echo it, I get "1899-12-30 13:00:00" If I try: date ("format",

RE: [PHP-WIN] Building a list of filenames (w2k)

2002-02-08 Thread Asendorf, John
I'm sure I stole this code from somewhere else... //Load Directory Into Array $path = "D:Program Files/Adobe/Acrobat 4.0/PDF Output/"; $handle=opendir($path); while ($file = readdir($handle)) $retVal[count($retVal)] = $file; //Clean up and reverse sort closedir($handle); rsort($retVal); ech

RE: [PHP-WIN] Re: PHP & MySQL problems, updating database..

2002-01-17 Thread Asendorf, John
or die ("Error Message"); - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Nico

RE: [PHP-WIN] Unique id Number

2002-01-14 Thread Asendorf, John
You can, but there are a number of issues to deal with. One of the potential solutions is to grab the MAX value from the table id field and then increment that number for the next inserted record. The problem arises though when you have multiple users attempting to add records... --

RE: [PHP-WIN] Editor

2002-01-10 Thread Asendorf, John
I've started uing HTML-Kit and it's been great... I had been using the CoffeeCup HTML editor for the past 3 years and couldn't find anything I liked as much... until now... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADD

RE: [PHP-WIN] Re: Humor... Was: Mathimatical equations in PHP [This message has nothing to do with PHP and if thats your prime concern, please, delete t his message]

2001-12-31 Thread Asendorf, John
Hey Anders, I recognize humor. You're just not funny. But, never fear, when it comes to pomposity you've got a corner on the market. John -- A sample of Ander's "humor": "Yes, there is naive approach to this: remove every single web page with scripting." "To beging with, why not give t

RE: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Asendorf, John
I agree, he is a bit on the edgy side... but he's also right. This is simple math. Here, I'll write you a function: function average ( $array_numbers ) { $total_numbers = count ( array_keys ( $array_numbers ) ); $sum = array_sum ( $array_numbers ); $average = $sum / $total_number

RE: [PHP-WIN] Re: [PHP] PHP software tool

2001-12-28 Thread Asendorf, John
Is that the same as PHPEd? If so, it's no longer free, NuSphere bought it and is selling it at something like $299... It was nice when it was still free, not spectacular, but nice... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW

RE: [PHP-WIN] includes problem

2001-12-28 Thread Asendorf, John
nal Message- > From: Jim Lucas [php] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 27, 2001 3:12 PM > To: Asendorf, John > Subject: Re: [PHP-WIN] includes problem > > > why don't you send me a copy and I will look at it. > Jim Lucas > - Original Message

[PHP-WIN] includes problem

2001-12-27 Thread Asendorf, John
I have three files: adodb.inc.php - a database abstract class soldier_db.inc.php - a specific include for the databases I am working with index.php - a page that displays lots of different things... soldier_db.inc.php has the include line for adodb.inc.php and establishes a connection to a

RE: [PHP-WIN] closing an ODBC connection to mysql

2001-12-18 Thread Asendorf, John
agnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2001 6:53 PM > To: ben; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] closing an ODBC connection to mysql > > > I know this

RE: [PHP-WIN] closing an ODBC connection to mysql

2001-12-18 Thread Asendorf, John
I know this may not be very helpful, but is there a reason you're not using the native MySQL calls or adodb? In the meantime, have you tried: if ( !odbc_close($link) ) { die ("connection not closed"); } - John Asendorf - [EMAIL PROTECTED] Web Applications Developer ht

[PHP-WIN] Has anyone figured out the Access slash problems?

2001-12-18 Thread Asendorf, John
I am trying to use MySQL on a new projest, but I have a number of Access databases which seem to get confused with only runtime magic quotes on... I've turned off GPC and sybase style magic quotes but have broken roughly half of the Access db apps... The more I look at it, the more it confuses me

RE: [PHP-WIN] Re: coffe message

2001-12-17 Thread Asendorf, John
Does anyone know if adodb will connect with the temperature databases on the coffee pot? I'd like to keep track of the instances of "smelly, burnt" coffee temperatures. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED

RE: [PHP-WIN] Magic Quotes

2001-12-14 Thread Asendorf, John
xtura dementiae fuit > -Original Message- > From: Michael Sims [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 13, 2001 8:46 PM > To: Asendorf, John; Php-Windows (E-mail) > Subject: Re: [PHP-WIN] Magic Quotes > > > At 10:57 AM 12/13/2001 -0500, Asendorf, John wrote:

[PHP-WIN] Magic Quotes

2001-12-13 Thread Asendorf, John
OK, maybe I'm just off my rocker or have something set incorrectly or something, but... What's the deal with magic quotes? you turn it on, and it automatically performs the addslashes for data being entered into databases, right? But it doesn't automatically run stripslashes when you retreive t

RE: [PHP-WIN] MySQL: What if .... ?

2001-12-10 Thread Asendorf, John
ntiae fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 10, 2001 8:19 AM > To: G Schneider; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] MySQL: What if ? > > > There's a section of MySQL just for this pr

RE: [PHP-WIN] MySQL: What if .... ?

2001-12-10 Thread Asendorf, John
There's a section of MySQL just for this problem http://www.mysql.com/doc/R/e/Resetting_permissions.html Make sure you follow ALL of the instructions. If you need further help, please feel free to contact me directly. I JUST went through this, so it's still rather fresh. John ---

RE: [PHP-WIN] PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon Windows 2000 Server

2001-12-07 Thread Asendorf, John
y.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Robin Bolton [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 07, 2001 2:55 AM > To: 'Asendorf, John'; [EMAIL PRO

RE: [PHP-WIN] PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon Windows 2000 Server

2001-12-06 Thread Asendorf, John
The main reason is because you're probably NOT getting a persistent connection with IIS. I've been fighting with this problem of Oracle for so long that I finally gave up on it. I started on IIS4 but couldn't keep the server from breaking down after a couple of hours after the first login while

RE: [PHP-WIN] Auto reply

2001-12-06 Thread Asendorf, John
You can tell that it's near the end of the work day in Europe when they start getting goofy on the list! At least they make a good car... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, US

RE: [PHP-WIN] in_array with an associative array... stuck

2001-12-04 Thread Asendorf, John
fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 1:17 PM > To: Php-Windows (E-mail) > Subject: [PHP-WIN] in_array with an associative array... stuck > > > I'm attempting to see if a variable exis

[PHP-WIN] in_array with an associative array... stuck

2001-12-04 Thread Asendorf, John
I'm attempting to see if a variable exists in an associative array but I've come up empty after two hours... any help out there? I've already tried array_search and the psuedo functions inside_array and array_in_array from the user comments in the documentation but they all return false for what

RE: [PHP-WIN] Please help with PHP COM problem (using MS Office)

2001-11-26 Thread Asendorf, John
Here are the gifs if you're still looking for them. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Orig

RE: [PHP-WIN] Please help with PHP COM problem (using MS Office)

2001-11-26 Thread Asendorf, John
Nick, You may need to work on the configuration for DCOM. I had an identical problem on NT. You'll need to run the DCOM configuration and then, and this is the real meat of what you need to do, is make sure Word's DCOM properties are using the "interactive user"... this seemed to be the main s

RE: [PHP-WIN] iis apache together?

2001-11-21 Thread Asendorf, John
xtura dementiae fuit > -Original Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 2:27 PM > To: Mike Webby; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] iis apache together? > > > I'm doing it. > > I had

RE: [PHP-WIN] iis apache together?

2001-11-21 Thread Asendorf, John
I'm doing it. I had to do it because I couldn't keep Oracle stable while using IIS with PHP. I've put Apache on a separate port. I'm running NT4 and IIS4 and Apache... it has wroked very nicely. I should say that I'm running Apache from the console. I haven't attempted to run Apache as a serv

[PHP-WIN] For Alain Samoun

2001-11-16 Thread Asendorf, John
Alain, I am having trouble getting through to you. Your emails keep bouncing. Are you out there? John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum inge

RE: [PHP-WIN] I need urgent problem help with php!

2001-11-14 Thread Asendorf, John
Reading the manual is for the weak. Call M$ tech support and pay them $600/hour for them to help you continue keeping your system broken. If your system isn't broken when you call, it will be after you have paid them $3000. Or none of your money back! - John Asendorf - [EMA

RE: [PHP-WIN] Re: ADODB - FieldCount? Where is it????

2001-11-02 Thread Asendorf, John
I wish I had saved the exact code I was having the problem with. I can't even remember the exact function which was using the FieldCount subfunction for it. Aaargh... Actually, I think it was in the GetUpdateSQL function. Perhaps I had messed up the exact thing you are mentioning... it was my

RE: [PHP-WIN] Re: ADODB - FieldCount? Where is it????

2001-11-02 Thread Asendorf, John
Well now I see it, but I don't understand why the function definition appears **after** function definitions which use it. But since I'm including the entire adodb.inc.php file before I use any of the functions FROM ADODB, it shouldn't be returning an error should it? I have a common include for

[PHP-WIN] ADODB - FieldCount? Where is it????

2001-11-01 Thread Asendorf, John
I'm getting calls to an undefined function in ADODB called FieldCount but it doesn't seem to be in the adodb.inc.php Does anyone know where I can find it? Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED

RE: [PHP-WIN] Recommendations for books for beginners for PHP & mySQL?

2001-10-25 Thread Asendorf, John
I saw Luke Welling and Laura Thompson at OSCON and they have a book out. If it's half as good as their presentation, it'd be the winner hands down. Please note that is meant to infer that I haven't read it, but probably will. PHP and MySQL Web Development http://www.amazon.com/exec/obidos/ASIN/

RE: [PHP-WIN] php array

2001-10-08 Thread Asendorf, John
OK. Here's some source. Figure it out for yourself from there. And do me a favor, strip out the specific stuff and post it to phpbuilder, would ya? Thank, John -- /*** external links list ***/ //array for out of site links //CASE SENSATIVE - upper case proceeds lower case

RE: [PHP-WIN] Setting up MySQL for PHP

2001-10-04 Thread Asendorf, John
amless Setup of Apache, SSL, MySQL, and PHP > >http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ > >Suit you? > >Alain > > > >On Thu, Oct 04, 2001 at 02:58:00PM -0400, Asendorf, John wrote: > > > I've been looking to and fro for a "setting up My

  1   2   3   >