RE: [PHP] Apache config + PHP include paths

2001-06-21 Thread Aaron Bennett
n the manual as well, i believe) -- Aaron Bennett [EMAIL PROTECTED] -Original Message- From: lenar [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:32 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Apache config + PHP include paths in your virtualhost definition use: php_val

RE: [PHP] SMTP/mail question

2001-06-21 Thread Aaron Bennett
velope headers to be 'originating' from your address, instead of something like [EMAIL PROTECTED], which inevitably returns bounced emails to root... Let me know if that works, Aaron Bennett [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: [PHP] Is this a joke?!

2001-06-23 Thread Aaron Bennett
Title: RE: [PHP] Is this a joke?! Indeedy... http://uptime.netcraft.com/up/graph?mode_u=off&mode_w=on&site=www.perl.com&submit=Examine -- Aaron -Original Message- From: James Moore [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 1:06 PM To: 'Fredrik Arild Takle'; [EMAIL PROT

[PHP] PHP code secrity on VirtualHost

2001-06-27 Thread Aaron Bennett
have any ideas short of running outside a virtualhost? Thanks in advance! -- Aaron Bennett

Re: [PHP] Using PHP + GD to make bar graphs?

2001-07-05 Thread Aaron Bennett
more exchangable (due to its XML nature). Hope this proves to be helpful! -- Aaron Bennett [EMAIL PROTECTED] - Original Message - From: "Gonyou, Austin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 1:13 PM Subject: [PHP] Using PHP + GD to make bar

RE: [PHP] PHP/Apache security question

2001-07-07 Thread Aaron Bennett
t, and they set each user to their own unique primary group, and are (i believe) using suexec in their apache config setting each VirtualHost with their respective user and group... But does that really 'secure' everyone's code from other equally privileged users? :-? --

[PHP] Getting any possible value inside an array

2001-07-07 Thread Aaron Bennett
myarray[5] = "blue"; $myarray[6] = "red"; and i'd output "red", "blue" and "green", but not have multiple instances of each. Thanks in advance! -- Aaron Bennett

RE: [PHP] Getting any possible value inside an array

2001-07-07 Thread Aaron Bennett
Perfect! I actually was making up the 'colors' analogy, but i've adapted it to what i need! -- Aaron -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 11:05 PM To: Aaron Bennett; [EMAIL PROTECTED] Subject: Re: [PHP] Getti

[PHP] Sort an array by its values

2001-07-08 Thread Aaron Bennett
Hi All, I'm trying to sort an array of objects by the value of one of those objects... for instance, I'll have an object with 2 properties, "id" and "score", where id is unique and score is its relevant (and sometimes simelar) score. i've tried using sort() and asort() but i can't figure how to

RE: [PHP] Sort an array by its values

2001-07-08 Thread Aaron Bennett
ROTECTED]] Sent: Sunday, July 08, 2001 1:33 AM To: Aaron Bennett Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sort an array by its values Do you mean something like www.php.net/ksort or www.php.net/krsort? I'm not sure of the actual structure of your array, though, so those might not work as expecte

RE: [PHP] Sort an array by its values

2001-07-08 Thread Aaron Bennett
help, i think i got it from here. -- Aaron -Original Message- From: Chris Lambert - WhiteCrown Networks [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 1:38 AM To: Aaron Bennett Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sort an array by its values Can you print_r($variable) and post it here?

RE: [PHP] Polls

2001-07-08 Thread Aaron Bennett
ou are going to store your response... You will need another table if you are going to capture it to a database.. You'll also need to reference the questionId and answerId (or you can do a join with just the answerId)... Best of Luck! -- Aaron Bennett -Original Message- From: Andrew

[PHP] Splitting a string first by quotes then spaces

2001-07-09 Thread Aaron Bennett
Ok, heres one for y'all I have the user entering a free formed string (such as a search engine query).. and i want to parse that string into an array of string elements... If the user enters elements within double quotes, that would appear as one entity.. for each word outside of containing q

Re: [PHP] Book (and DVD) Database

2001-07-09 Thread Aaron Bennett
How about DVDs? Unfortunatly, sitting at work right now, i'm not able to pick up a stack of dvd's and look for a unique number.. Do they have ISBN? is there a central repository to search for pertinant info (and parse it)? just wondering, Aaron - Original Message - From: "Chris Lott" <[EMA

Re: [PHP] HTML/PHP's static state problem.

2001-07-10 Thread Aaron Bennett
And don't forget the 'no-no' of requiring javascript for basic functionality... Split it onto 2 pages, or have it resubmit to $PHP_SELF with a hidden field (how about a button that says "Get Cities >>"?) and populate from there.. If you're hell-bent on having it auto-populate the second select bo

Re: [PHP] PHP Conference in California

2001-07-10 Thread Aaron Bennett
Well, exhibit hall is free... I'll be there.. of course, its only 10 minutes away. *grin* -- Aaron - Original Message - From: "Uri Even-Chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 9:11 AM Subject: [PHP] PHP Conference in California > I have heard about

Re: [PHP] PHP Conference in California

2001-07-10 Thread Aaron Bennett
a guys.. I'd also like to see what Roadsend.com is doing with their PHP-SiteManager.. (www.roadsend.com). Jabber.com is also going to be there, and (from what i hear) they're doing some stuff with XML exchanges... -- Aaron - Original Message - From: "Uri Even-Chen" &l

Re: [PHP] how to find out the mysql version from php?

2001-07-10 Thread Aaron Bennett
Jakob, See if this does what you're looking for. // returns a string with the current mySQL version connecting handled by $dbh. $mysqlver = pos(mysql_fetch_row(mysql_query("SELECT VERSION()",$dbh))); -- Aaron - Original Message - From: "Jakob" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

Re: [PHP] how to find out the mysql version from php?

2001-07-10 Thread Aaron Bennett
or the more simple: mysql_get_server_info($dbh); // where $dbh is optional. http://www.php.net/manual/en/function.mysql-get-server-info.php Note: this is a new function for 4.0.5+. cheers, Aaron - Original Message - From: "Aaron Bennett" <[EMAIL PROTECTED]> To: &

[PHP] .htaccess php_value

2001-07-11 Thread Aaron Bennett
relying on the config to find include()'s Any suggestions? -- Aaron Bennett [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Export to Excel

2001-07-13 Thread Aaron Bennett
Interesting... I have excel2k, and it worked fine for me... The only thing i can think of is maybe some extra garbage you get when it generates the file... maybe headers? -- Aaron Bennett [EMAIL PROTECTED] - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To:

Re: [PHP] Using an image as a reset button on a PHP script

2001-07-13 Thread Aaron Bennett
though... In fact, i much like this way, and if no one has objections, i think i'll start doing it. ;-) -- Aaron Bennett - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 2:4