Re: [PHP] Drawing graphs - opinions
Take a look at jpgraph, it's on freshmeat. David Lee P Reilly wrote: Hi, I see there a number of PHP scripts/libraries out there for the purpose of graphing data. Which one is considered to be the best, most powerful / easiest to use? I need to plot X/Y graphs for some data sets with vertical error margin lines going along the y-axis. Any recommendations? Cheers, Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two easy HTML/CSS questions
I beg to differ :) FORM INPUT[type=text] { height: 16px; width: 8em; } FORM INPUT[type=text]:hover { color: inherit; background-color: yellow; } Works just dandy. -d Hunter, Ray wrote: Actually, If I understand correctly, you want the actual text field box to be the same size as the text (as in height)...You can only change the width of the text field which is done by size= and this is based on characters... Example: input type=text name=stuff size=25 Then the width of the text field will be 25 characters...This is for the text and password fields... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Darren Gamble [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 11:32 AM To: 'Hunter, Ray'; 'Phil Schwarzmann'; [EMAIL PROTECTED] Subject: RE: [PHP] Two easy HTML/CSS questions Good day, Just to clarify, yes, you can set the size of a text field, as well as its color, text font, border, and so on. This is also done with css and is outside the scope of this mailing list. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Hunter, Ray [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 11:31 AM To: 'Phil Schwarzmann'; [EMAIL PROTECTED] Subject: RE: [PHP] Two easy HTML/CSS questions Answers: 1. Yes you can do it with css. http://www.w3schools.com/css/default.asp 2. The text field area is defined by the browse...You cannot change the size of the actual box that is the text field... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: [PHP] Two easy HTML/CSS questions I know I shouldn't be asking these questions on this mailing list but you guys are ALWAYS EXTREMELY helpful... 1) I want a a text link to change color when the mouse is hovering over top of it. How do I do this? Im sure it's some CSS thingy. 2) Is it possible to make a text field smaller when using forms. Let's say I'm using font size 1, I want the text field to be just as small as the rest of text. Thanks again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] pg_connect and error messages
Is there any way to get an error message via pg_errormessage() when using pg_connect() and it fails? Currently I have $conn=@pg_connect(), I don't want error text showing up where the HTML cursor is, I intend to put any error text elsewhere. Unfortunately, $conn is FALSE and pg_errormessage() doesn't like that. Suggestions? David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] apache md5 vs. php md5
Does anyone have a crypt() function that can use the $apr1$ prefixed salt that apache's htpasswd uses? David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] apache md5 vs. php md5
On the same box, php is generating $1$ md5 hashes properly, two char and $apr1$ hashes as DES. The htpassword is generating $apr1$ hashes. Where is the gadget that needs fixed? David Rasmus Lerdorf wrote: The PHP one supports that if your OS does. On Thu, 14 Mar 2002, David Ford wrote: Does anyone have a crypt() function that can use the $apr1$ prefixed salt that apache's htpasswd uses? David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php smime.p7s Description: S/MIME Cryptographic Signature
Re: [PHP] md5() different from md5sum on Linux
hehehyou forgot something :) echo blah is actually blah\n # echo -n blah |md5sum 6f1ed002ab5595859014ebf0951522d9 stdin -d Mikhail Avrekh wrote: Hello, Don't know if this is a question of (mis)configuration; I'm posting this just in case someone had run into this before: PHP's native md5() appears to return a different value from Linux's md5sum command: [mavrekh ~]$ echo blah | md5sum 0d599f0ec05c3bda8c3b8a68c32a1b47 - [mavrekh ~]$ php testmd5.php X-Powered-By: PHP/4.0.3pl1 Content-type: text/html 6f1ed002ab5595859014ebf0951522d9 [mavrekh ~]$ cat testmd5.php ?=md5(blah)? I've tried it without the quotes too, or with single quotes. I wonder if this is something that can be configured at compile time ? I'm using PHP/4.0.3pl1 RedHat7.1 Thanks ! M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php