Re: [PHP] Re: Variables via url

2012-05-12 Thread Ashley M. Kirchner
On 5/12/2012 7:21 AM, Jim Giner wrote: Of course, someone here with much more knowledge than I could very soon make me look stupid :) Meh, I don't call that looking stupid. I call it a different way of skinning the cat. :) We're all here to learn from one another, right? Thanks

[PHP] Variables via url

2012-05-11 Thread Ashley M. Kirchner
Can someone point me at examples or directions on how I can pass a variable via a URL in the following way: http://server.domain.com//script///variable/ I will only be passing one single /variable/. And I want the /script/ to use that. I don't want to see what the script

[PHP] Extracting data from exec() call

2011-06-14 Thread Ashley M. Kirchner
I'm trying to extract data coming from an exec() call. The exec() call is performing an ncdump on a netCDF file: ?php $filename = mlab.20110101.cdf; exec(/usr/bin/ncdump -l 2048 -v wmax .$filename, $output); echo ---\n; print_r($output); echo ---\n; ?

[PHP] Re: Extracting data from exec() call

2011-06-14 Thread Ashley M. Kirchner
On 6/14/2011 12:03 PM, Shawn McKenzie wrote: --or to search for wmax = if($array = preg_grep('/^ wmax = $/', $output)) { $wmax = explode(', ', $array[0]); } array_shift($wmax); print_r($wmax); May need some more error checking. Yeah, error checking ... Can't search for '/^ wmax

[PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
Is there a clean or reliable way of checking to see if a file is still being written to before doing anything with it? Here's the scenario: we have a Samba share that we can copy files to (from within Windows or Macs). The server picks up the file and does

RE: [PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
Write the file with a temporary name and extension. Once the file is closed, change the name to the pattern your server is looking for. Once you finish processing it, either change the name again, or move it to a different directory. Don't reuse the same file name, but add a numeric value

RE: [PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
As far as I was aware, if you're in the middle of writing to a file and another script was attempting to write to it, the OS would prevent that as you had an open lock on it. -- Thanks, Ash http://www.ashleysheridan.co.uk I guess I would have to test that. -- PHP General

[PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
I'm currently using Google Visualization API[1] to generate both interactive and static charts for a client and they're viewing these online[2]. However they now want to be able to download a PDF containing the charts (static) in it. Does anyone know of a way where I can take the same

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
On 2/17/2011 12:26 PM, Ashley Sheridan wrote: Googles API creates an image which you can save locally and insert into a PDF that you create with something like fpdf. There are plenty of functions in PHP which can be used for this, such as fread(), etc. That's the thing, I know it does,

RE: [PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
So. Easy peasy. Not exactly. Those examples are not from the Visualization API - it's two different things. The API is written so that one does not have to generate those parameters individually and then pass them through POST/GET to Google. It's cleaner and faster to work with.

[PHP] Printing in columns

2010-08-27 Thread Ashley M. Kirchner
I need some guidance here. I've been fighting with this problem for a few days now and not having a whole lot of luck. I have some, but I run into issues sooner or later. So I'm hoping that someone here can give me some ideas of how to better approach this, perhaps help with

[PHP] MySQL select matching

2010-07-19 Thread Ashley M. Kirchner
I may be going at this completely wrong but at the moment I'm stuck. I have a DB from a client and need to do several searches on it. This one sentence is important because it's their DB, not mine. So I can't modify the way the DB was created in the first place, I can only work with

[PHP] Re: [MySQL] Re: MySQL select matching

2010-07-19 Thread Ashley M. Kirchner
On 7/19/2010 10:48 AM, Michael Dykman wrote: Not quite sure what the question is. from: mysql select * from table where id='1'; +---+-+-+---+ | 1 | 123 | 0.0 | C | | 1 | 234 | 0.1 | D | | 1 | 345 | 0.0 | D | | 1 | 456 | 0.1 | C | | 1 | 567 | 0.1 | G |

Re: [PHP] is ?= good?

2010-06-11 Thread Ashley M. Kirchner
On 6/11/2010 11:40 AM, Daevid Vincent wrote: I use short tags and I output XML all the time. I think there's a difference to note here. You're outputting XML from PHP, versus files having XML tags in the files ... I ran into a problem with short tags not too long ago when a client

Re: [PHP] is ?= good?

2010-06-11 Thread Ashley M. Kirchner
On 6/11/2010 4:07 PM, David Harkness wrote: *PHP* files? I would have flagged that as the problem rather than disabling short tags. Yeah, whoever created their site originally mixed XML/HTML/PHP all in the same file (all the files were .html but contained xml and php snippets) so I

RE: [PHP] Need login suggestions

2010-05-03 Thread Ashley M. Kirchner
-Original Message- From: Karl DeSaulniers [mailto:k...@designdrumm.com] Sent: Monday, May 03, 2010 12:03 AM To: PHP Subject: Re: [PHP] Need login suggestions I see, well I have a login that has multiple levels and here is how I have it. Obvious pertinent info has been changed,

[PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
Slightly OT, but I can't think of a better forum to ask this in. I'm sure a lot of us here have at some point or another built a system that requires registration to gain access. What I'm trying to figure is how to set different levels of access. We're building a large site for a school

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Nilesh Govindarajan [mailto:li...@itech7.com] Sent: Sunday, May 02, 2010 8:20 PM To: php-general@lists.php.net Subject: Re: [PHP] Need login suggestions Its a very bad idea to allow public registration for parents, instead the school IT department should

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Nathan Rixham [mailto:nrix...@gmail.com] Sent: Sunday, May 02, 2010 8:39 PM To: Ashley M. Kirchner Cc: php-general@lists.php.net; Nilesh Govindarajan Subject: Re: [PHP] Need login suggestions Ashley, I think Nilesh, (and later both Bobby I), were just

[PHP] RE: Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Nathan Rixham [mailto:nrix...@gmail.com] Sent: Sunday, May 02, 2010 8:21 PM To: Ashley M. Kirchner Cc: php-general@lists.php.net Subject: Re: Need login suggestions Ideally you need to be able to unambiguously identify either a student or a parent

RE: [PHP] Re: Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Bobby Pejman [mailto:bpej...@gmail.com] Sent: Sunday, May 02, 2010 8:30 PM To: Nathan Rixham; Ashley M. Kirchner Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Need login suggestions I would also agree that allowing parent registration could be risky

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Angus Mann [mailto:angusm...@pobox.com] Sent: Sunday, May 02, 2010 10:43 PM To: Ashley M. Kirchner; php-general@lists.php.net Subject: Re: [PHP] Need login suggestions It sounds like it really doesn't matter how you do it. Nothing bad happens if a student

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Sunday, May 02, 2010 10:53 PM To: php-general@lists.php.net Subject: Re: [PHP] Need login suggestions The only reliable way to resolve this is to let the school administration to handle it. Each

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Adam Richardson [mailto:simples...@gmail.com] Sent: Sunday, May 02, 2010 10:59 PM To: php-general@lists.php.net Subject: Re: [PHP] Need login suggestions Just be cautious with FERPA guidelines (which can actually get quite confusing) if you're doing this

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
-Original Message- From: Karl DeSaulniers [mailto:k...@designdrumm.com] Sent: Sunday, May 02, 2010 11:44 PM To: PHP Subject: Re: [PHP] Need login suggestions Hi Ashley, I would have your database that is attached to this part of the website, verify with another database that

Re: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
On 4/14/2010 2:39 AM, Ashley Sheridan wrote: On Tue, 2010-04-13 at 23:01 -0600, Ashley M. Kirchner wrote: $array1 = array(12, 34, 56, 78, 90); $array2 = array(12, 23, 56, 78, 89); $diff1 = array_diff($array1, $array2); $diff2 = array_diff($array2, $array1

RE: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
Sun [mailto:ryansu...@gmail.com] Sent: Wednesday, April 14, 2010 8:45 AM To: a...@ashleysheridan.co.uk Cc: Ashley M. Kirchner; php-general@lists.php.net Subject: Re: [PHP] Array differences Maybe this one works? array_diff(array_unique($array1 + $array2), array_intersect($array1, $array2

RE: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
-Original Message- From: lala [mailto:l...@mail.theorb.net] Sent: Wednesday, April 14, 2010 10:15 AM To: Ashley M. Kirchner Cc: php-general@lists.php.net Subject: Re: [PHP] Array differences Ashley M. Kirchner wrote: $array1 = array(1, 2, 3, 4, 5, 6); $array2 = array

[PHP] Array differences

2010-04-13 Thread Ashley M. Kirchner
I have the following scenario: $array1 = array(12, 34, 56, 78, 90); $array2 = array(12, 23, 56, 78, 89); $result = array_diff($array1, $array2); print_r($result); This returns: Array ( [1] = 34 [4] = 90 )

[PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
I have a PHP script that queries a DB to get a list of image names. Then it processes each name and generate thumbnails and what not. What I want to do is have a page called (through the browser) which updates as the PHP process in the background is working. So when you first pull up the page

RE: [PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
? -Original Message- From: TG [mailto:tg-...@gryffyndevelopment.com] Sent: Monday, April 05, 2010 8:48 PM To: Ashley M. Kirchner; php-general@lists.php.net Subject: Re: [PHP] Updating HTML on page The only way to do it with PHP alone would be to control the output buffering and I've found

[PHP] preg_match? Or something else?

2010-04-02 Thread Ashley M. Kirchner
I have an array that's created as follows: $string = 73G146C 311- 309.1C; $arr = preg_split(/[\s]+/, $string); Now I need to take each element in that array, and break them up even further so that I get: 73G= 73 and G 146C = 146 and C 311- = 311 and - 309.1C =

[PHP] ldap_bind() connectivity

2010-03-15 Thread Ashley M. Kirchner
Thanks to Jochem Mass for helping earlier to the string splitting. Works great (so far). Now on to my next problem, which has to do with ldap_bind(). I have the following code: $ldapconn = @ldap_connect($adServer); $ldapbind = ldap_bind($ldapconn, $ldapuser, $ldappass);

[PHP] Splitting a string ...

2010-03-14 Thread Ashley M. Kirchner
I'm not a regexp person (wish I was though), and I'm hoping someone can give me a hand here. Consider the following strings: - domain\usern...@example.org - domain\username - the same as above but with / instead of \ (hey, it happens) -

[PHP] Connect to LDAP

2009-11-08 Thread Ashley M. Kirchner
Hi folks, I've never done any PHP-LDAP code writing (nor have I ever dealt with an LDAP server to begin with.) However I'm writing an app which requires verifying a user's credentials against an LDAP server. The admin of the server sent me the following snippet, however also made it

Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
Brady Mitchell wrote: I'm sure it can be done, but without seeing your code we can't really help. Easily solved. From the PHP manual (http://www.php.net/manual/en/function.imagick-roundcorners.php): ?php $image = new Imagick(); $image-newPseudoImage(100, 100,

Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com

[PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
Typing 'pear segmentation fault' in Google produces tons of responses so I know I'm not the only one with this issue, but I'll be damned if I can figure out what the problem is and how to fix it. I rolled my own PHP 5.3.0 from source. Compilation went fine, no errors. Installation went

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
from php.net and installed that. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
is that PEAR segfaults no matter what I try to install. PECL works just fine (at least I was able to install something with it.) -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
) ..done: 291,634 bytes Segmentation fault -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
| It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
I needed, but it doesn't actually fix the problem: enabling zlib will cause pear to segfault. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130

Re: [PHP] Email configuration

2009-02-06 Thread Ashley M. Kirchner
Nathan Rixham wrote: Hmmm... So Ashley is a him? yeah quot: Actually I'm a guy, but we can't all be perfect ;) http://www.mail-archive.com/php-general@lists.php.net/msg235765.html Wouldn't be the first Ashley who's a guy. I happen to be one of those too ... -- PHP General Mailing List

[PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
Maybe I'm asking for trouble here, but, is there any way to make PHP 5.2.8 understand the old $HTTP variables? Like: $HTTP_SESSION_VARS $HTTP_GET_VARS $HTTP_POST_VARS $HTTP_SESSION_VARS $HTTP_COOKIE_VARS etc., etc. I have an old application for which development has stopped back

Re: [PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
mike wrote: $HTTP_GET_VARS = $_GET; etc. :) I know what they are. I'm not about to change a couple of thousand lines of someone else's code unless there's no other way. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
Larry Garfield wrote: http://us3.php.net/manual/en/ini.core.php#ini.register-long-arrays Bingo. That's what I needed. Although you should probably take the time to upgrade the app anyway, as those variables are deprecated and won't be around forever. Yeah, that would be nice, except

Re: [PHP] phpguru.org back up

2008-08-13 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A

Re: [PHP] running base64 code from unknown source

2008-07-24 Thread Ashley M. Kirchner
[EMAIL PROTECTED] wrote: If this is a false code, hope we can do something about it. Code works as expected and spits out 'Hello World' as it should. -- H | It's not a bug - it's an undocumented feature. + Ashley M

Re: [PHP] WAMP servers

2008-03-27 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Ashley M. Kirchner
Well, at least we know which subject will make it to the top next week -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director

Re: [PHP] running Batch process using php

2007-10-22 Thread Ashley M. Kirchner
cells at the moment, I'd say run it through a cron task (or 'at' task if you're on a Win32 platform). -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
Paul Scott wrote: I am taking a quick look through the access logs on our dev box, and came across this little nasty that was trying to execute itself as a XSS attack(?) Interestingly enough, MimeDefang/ClamAV quarantined your message because of that script: Quarantine Messages:

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
the remote host is already infected and is now looking for more targets. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
up in the log files. But, without further information, I'm just as clueless... -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin

[PHP] Re: [Fedora] [PHP] Installation of pear

2007-09-28 Thread Ashley M. Kirchner
feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http

[PHP] Re: [horde] Requirement of IMP / Horde

2007-09-26 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder

[PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this something I need to do in JavaScript? Or can I somehow trick

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: But Javascript != PHP, so if this is what you want, you're on the wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I can get it accomplished with PHP. :) -- PHP General

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
one of those events and hit a submit button to trigger an external script. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin

Re: [PHP] People's misbehavior on the list

2007-05-18 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com

Re: [PHP] Just to prove my point (used to be - Re: [PHP] People's misbehavior on the list)

2007-05-18 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http

[PHP] set_time_limit failing...

2007-04-30 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder

Re: [PHP] Intro to PHP question

2007-03-08 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP

Re: [PHP] whois Domain??

2007-01-09 Thread Ashley M. Kirchner
Curt Zirzow wrote: Assuming paths is evil :) To add to what Curt says here, so is assuming the command actually exists. :) -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL

[PHP] Database Question

2006-12-19 Thread Ashley M. Kirchner
Someone's going to tell me to go buy a book, I just know it. I'll ask anyway: I'm starting to log weather data to a database and I'm trying to figure out what's the best way to create the tables. The reports are coming in every minute, of every hour, 24 hours a day. Eventually, I'd

[PHP] Converting array keys to variables?

2006-11-17 Thread Ashley M. Kirchner
]; $day = $array[0][day]; $hhmm = $array[0][hhmm]; -- A -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith

Re: [PHP] Converting array keys to variables?

2006-11-17 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder

[PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
' to the index value. There's got to be a saner way... -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith

Re: [PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
, then 6 through 10. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft

Re: [PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
of course. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging

[PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging

Re: [PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6

Re: [PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
, and unless somehow the camera quits, it'll be fine. I know, way too many 'unless's... It's a way of life. :) -- A -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED

[PHP] date() function

2006-11-14 Thread Ashley M. Kirchner
if it's 10. But I'm wondering if there's a better way. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith

Re: [PHP] [funny] The state of Java Development

2006-10-27 Thread Ashley M. Kirchner
Daevid Vincent wrote: The state of Java Development A friend snapped this picture at the Barnes Noble in Woodinville, WA... Nice and ... blank. -- W | It's not a bug - it's an undocumented feature. + Ashley M

[PHP] Proxy and header redirection

2006-09-08 Thread Ashley M. Kirchner
an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave

[PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Given this piece of code: $i = 0; if ($dir = opendir($path)) { while ($dh = readdir($dir)) { if ($dh != '.' $dh != '..') { $Dirs[$i] = $dh; $i++; } } } closedir($dir); sort($Dirs); Why does sort() give me the following warning: PHP Warning: sort()

Re: [PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Robert Cummings wrote: It's because you have written sloppy code and didn't bother to initialize $Dirs to an array. So it's default value is null. You would know this if you had notices enabled. Error fixed. Also, the other problem is that you are either a) opening the wrong path, b)

Re: [PHP] Problems installing 5.1.4

2006-07-03 Thread Ashley M. Kirchner
Richard Lynch wrote: Looks to me like PEAR is trying to phone home to download more PEAR stuff to install PEAR stuff... Are you connected to the internet? Yep, 24/7. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems installing 5.1.4

2006-07-02 Thread Ashley M. Kirchner
I'm trying to get v5.1.4 installed on my server and running into something of a mystery. I can configure and run make with no problem. When I run 'make install' however, it starts the process, installing the dynamic modules, PHP SAPI module, make the necessary changes in httpd.conf and

[PHP] Checking for empty()

2006-06-14 Thread Ashley M. Kirchner
. -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc

Re: [PHP] Checking for empty()

2006-06-14 Thread Ashley M. Kirchner
hits a space and/or a return, empty() will fail. off the top of my head, the functions strlen() and isset() come to mind. Will look into them. Danke. -- W | It's not a bug - it's an undocumented feature. + Ashley M

[PHP] Color matching magic?

2006-04-06 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A

Re: [PHP] Different Values for intval(float)

2006-02-18 Thread Ashley M. Kirchner
backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe

[PHP] GD Graph tutorial?

2005-12-05 Thread Ashley M. Kirchner
an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave

Re: [PHP] PHP 5.0.5

2005-11-22 Thread Ashley M. Kirchner
Curt Zirzow wrote: On Mon, Nov 21, 2005 at 09:41:40PM -0700, Ashley M. Kirchner wrote: ext/ftp/ftp.lo(.text+0x76): In function `data_close': /usr/local/src/apache/php-5.0.5/ext/ftp/ftp.c:1566: undefined reference to `SSL_shutdown' This means basically that the header files (*.h

[PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
compiles just fine just before this bomb. Any sugestions anyone? -- R | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin

Re: [PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
--with-mysql=/usr --with-ncurses=shared --with-zlib=shared --enable-sockets --with-tsrm-pthreads --with-ldap=shared --with-openssl=shared --with-mcal=shared -- R | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M

Re: [PHP] Re: previous + next buttons, no DB

2005-08-19 Thread Ashley M. Kirchner
name, such_n_such_mountain, this_beach, small_flower, blah, blah, blah. -- H | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director

[PHP] previous + next buttons, no DB

2005-08-18 Thread Ashley M. Kirchner
that relationship or how to start coding that. Ideas/suggestions/pointers are much appreciated here. -- R | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED

Re: [PHP] Re: previous + next buttons, no DB

2005-08-18 Thread Ashley M. Kirchner
that make sense? -- R | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft

[PHP] SAFEMODE w/ PEAR

2005-06-24 Thread Ashley M. Kirchner
. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP

[PHP] radio buttons in $_POST

2005-04-23 Thread Ashley M. Kirchner
is checked, but I need it to show up when empty as well.) -- H | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith

[PHP] Converting hexadecimal string

2005-03-27 Thread Ashley M. Kirchner
Short (possibly simple) question: How do I convert a hexadecimal string back into it's ascii representation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multidimensional array sort

2005-03-14 Thread Ashley M. Kirchner
I have a multidimensional array that's built as follows (it's pretty much a directory tree): Array ( [Dir1] = Array ( [User1] = Array ( [0] = File1 [1] = File2 ) [User2] = Array { [0] = File1 [1] = File2 [2] = File3 } )

Re: [PHP] multidimensional array sort

2005-03-14 Thread Ashley M. Kirchner
) ) ) S, I'm at a loss here. I think I need to create the array differently for it to work. -- H | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED

  1   2   3   >