RE: [PHP] Talkback or community type participation.....

2001-12-22 Thread Warren Vail
complains that it does not have a record of the Post variable values (the Data Has Expired). There may be other ways to deal with this, but this is one way that I have found that works. Good Luck, Warren Vail -Original Message- From: Deron [mailto:[EMAIL PROTECTED]] Sent: Friday, December

RE: [PHP] installing php3 and php4 on the same server

2002-01-27 Thread Warren Vail
the php3 version, regardless of changes I have made to httpd.conf, my php3 scripts invoke php4. Thanks, Warren Vail -Original Message- From: Manu Verhaegen [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 12:59 AM To: Alex Dowgailenko Cc: [EMAIL PROTECTED] Subject

[PHP] Exchange Server Access

2002-02-26 Thread Warren Vail
analysts who respond to reports of problems made via email. Has anyone had any success with MS Exchange, I will consider all options, but would prefer to use PHP. Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Writing to files

2002-02-26 Thread Warren Vail
What you are describing is exactly how session management works, storing things in a file in the /tmp directory. Perhaps you could consider using the session save handler functions to store the session data in your protected database (MySQL?). Warren Vail -Original Message- From

RE: [PHP] Writing to files

2002-02-27 Thread Warren Vail
there are log files that are updated on your server every time someone accesses one of your web pages. Good luck, Warren Vail -Original Message- From: Chris Kay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:36 AM To: 'Warren Vail' Cc: [EMAIL PROTECTED

RE: [PHP] Re: Empty form variables when uploading, Help please???

2001-11-13 Thread Warren Vail
Interesting because I have used multiple submit buttons on forms for years. Each can have a different name, and even if I use the same name for all of them, which I often do, each can have a separate value. Each will cause all other form fields to transmit their variables in their usual manner,

RE: [PHP] search array for value

2001-07-30 Thread Warren Vail
How about; $valuelist = explode(, , $array); $query = select * from table where column in ($valuelist); etc. Warren Vail -Original Message- From: Matthew Delmarter [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 9:41 PM To: PHP Mailing List Subject:[PHP

RE: [PHP] search array for value

2001-07-30 Thread Warren Vail
Sorry, mixed this up with your other query; For this If(in_array(1, $array)) { } Warren Vail -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 9:57 PM To: Matthew Delmarter; PHP Mailing List Subject:RE: [PHP] search array

RE: [PHP] Re: storing array in mysql

2001-07-31 Thread Warren Vail
[column])); } Note: serialize allows me to store the array in a single column and addslashes makes the data mysql safe (i.e. allows me to store quotes in the column, just in case they are in the array). Warren Vail -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: [PHP] Re: storing array in mysql

2001-07-31 Thread Warren Vail
stored in that field because they are comma seperated. Warren Vail [EMAIL PROTECTED] wrote in message 001701c119c8$562b0ca0$b5887ed8@nicker">news:001701c119c8$562b0ca0$b5887ed8@nicker... What I have used to store an array in mysql is; $value = addslashes(serialize($array)); $query

RE: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-15 Thread Warren Vail
by MySQL, not PHP. Perhaps someday MySQL will have temp tables and SELECT INSERT capability. On the other had PHP does a very nice job of looping thru the result set. Warren Vail -Original Message- From: Herouth Maoz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 11:35 PM

RE: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-16 Thread Warren Vail
you are seeing are produced by a UNION, but I'm not certain). Sybase can compile its query procedures on the fly, with only slightly longer run times, or you could create a new procedure from what you find and store that one. Good Luck, Warren Vail -Original Message- From: Herouth Maoz

RE: [PHP] Dissapearing Session Variables (long post)

2001-09-05 Thread Warren Vail
addslashes() before updating the column and stripslashes() retrieving it (turns out some of my variables contained characters that MySQL was sensitive to, and others that caused serialize/unserialize problems). Not sure this is your problem, but it's worth checking. Warren Vail -Original Message

RE: [PHP] Saving to a file

2001-06-20 Thread Warren Vail
\r\n if going to windows browser \n if going to unix } To Save a file to the server machine hosting your website; use normal fopen, fputs, etc (see the manual) good luck, Warren Vail -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 1:04 AM

RE: [PHP] Code check please

2001-06-21 Thread Warren Vail
and execute the preceding text as a query and after executing that query, continue on from the next character. hope you got it working, Warren Vail -Original Message- From: Andreas Skarin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 9:00 AM To: PHP General Subject: [PHP] Code check

RE: [PHP] Code check please

2001-06-21 Thread Warren Vail
to the mysql query processor. of course when you select the column you need to run it thru; $resultstring = stripslashes($dbcolumnvalue); to get back your original value. good luck, Warren Vail -Original Message- From: Andreas Skarin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20

RE: [PHP] newbie algorithm help!!!!!

2001-06-23 Thread Warren Vail
You'll probably get as many approaches as replies. How about the following; after you have connected to mysql and selected the database; $query = SELECT * FROM table; $result = mysql_query ($query) or die (Query b$query/b failed. The error message was .mysql_error ()); // The

RE: [PHP] Telnet and PHP

2001-06-30 Thread Warren Vail
the options above, Warren Vail -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 30, 2001 10:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Telnet and PHP I was doing some research on creating a webbased telnet client and I am unsatisfied with Java

RE: [PHP] reading records alphebetically

2001-06-30 Thread Warren Vail
If you are planning to have a lot of records, you may want to create a column with just that letter and index it, followed by the full name. SELECT name from Table WHERE first_letter = $letter ORDER by name should produce pretty fast results if first_letter, name is indexed. Warren Vail

RE: [PHP] Telnet and PHP

2001-07-01 Thread Warren Vail
Jon, Looked like a nice solution, but couldn't get the code to work. Kept going into an endless loop or wait state somewhere. still forced to use rexec. Warren Vail -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 30, 2001 11:06 AM To: Warren

RE: [PHP] Can any one spot the Parse error Here

2001-07-03 Thread Warren Vail
I use indentation to check out the form; missing brace at end? Check it out. ?php $usersfile = users.php; session_start(); session_register(user,pass); if(isset($user)) $username = $user; if(isset($pass)) $password = $pass; if(!$username) { ? form User : input

RE: [PHP] What the heck is this

2001-07-11 Thread Warren Vail
When all else fails, check the mainual; http://www.php.net/manual/en/language.oop.php appears to be an instance reference (not sure that is the term). Warren Vail -Original Message- From: Adam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 11:35 PM To: [EMAIL PROTECTED

[PHP] File Download Mouse Behavior

2001-07-11 Thread Warren Vail
as an hour glass, even though the mouse is active and still allows further clicks on the page. Has anyone come up with a method of cleaning up this behavior? Browser is IE on NT. Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] File Download IE behavior

2001-07-11 Thread Warren Vail
the file where the second Open works just fine. Is there a way to allow this first open to work, or cause the open option on the first download window to be removed? Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] NT Authentication

2001-07-18 Thread Warren Vail
I am running php4/mysql/apache in a large NT complex, behind a firewall. How can I authenticate users to my site using NT authentication? Has anyone done this? thanks, Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] can't get gd working at all

2001-07-25 Thread Warren Vail
/php_gd.dll); good luck. Warren Vail -Original Message- From: Matt Greer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 6:55 AM To: php-gen Subject:[PHP] can't get gd working at all I'm trying to get a simple piece of code involving gd functions to work just to ensure

RE: [PHP] file_exists

2007-11-14 Thread Warren Vail
if (file_exists('/srv/www/../images/pic412.jpg') { Two left parens, one right, surprised you don't get a syntax error? Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can I create flash via php?

2007-11-27 Thread Warren Vail
Have you checked out ming? http://ming.sourceforge.net/ Warren Vail -Original Message- From: Ronald Wiplinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 7:50 PM To: PHP General list Subject: [PHP] Can I create flash via php? I want to create flash animations via a web

RE: [PHP] Re: PHP/AJAX File DragDrop

2007-11-30 Thread Warren Vail
open. I would suggest you use something like a signed on user name to your site to organize uploads, and not depend on where a given user stores things on his system. Warren Vail -Original Message- From: Dan [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 4:40 PM To: php

RE: [PHP] including parenthesis, space and dashes in a phone number

2007-11-30 Thread Warren Vail
quite, quite, I was just jesting :-) Oh good, I'll call back the troups,, Warren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] including parenthesis, space and dashes in a phone number

2007-11-30 Thread Warren Vail
Not to mention that syntax works in the US, but not large portions of the rest of the world. (even with the 1 country code in front). Warren vail -Original Message- From: afan pasalic [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 12:03 PM To: Daevid Vincent Cc: 'php

RE: [PHP] Calling a stored procedure

2007-11-30 Thread Warren Vail
I believe you need to send the call to the stored procedure to the database as if it were a query, instead of asking PHP to execute it. HTH, Warren Vail -Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 10:57 AM To: Daniel Brown Cc: php

RE: [PHP] including parenthesis, space and dashes in a phone number

2007-11-30 Thread Warren Vail
site designer, will plan for a global market, instead of a local US one, even if others fail to share his vision. Warren -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 1:57 PM To: Warren Vail Cc: 'afan pasalic'; 'Daevid Vincent'; 'php

RE: [PHP] Banned from #php

2007-12-03 Thread Warren Vail
I always love a good flame war. A bunch of disrespected patriots running around trying to prove who has a bigger flame, and punish the persons who they feel did the disrespecting. At least no one is calling for the death of the offender, at least not yet ;-) Warren -- PHP General Mailing

RE: [PHP] control browser with a href tag

2007-12-18 Thread Warren Vail
will be refreshed. HTH, Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] First stupid post of the year.

2008-01-02 Thread Warren Vail
). As you can see I can ignore the value, and submit buttons are not sent in the form if they are not clicked. Another option, Warren Vail -Original Message- From: Nathan Nobbe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 10:46 AM To: tedd Cc: PHP General list Subject: Re

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

2008-01-04 Thread Warren Vail
Hey Dan, Are you trying to win the prize, below? warren -Original Message- From: PostTrack [Dan Brown] [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 2:55 PM To: php-general@lists.php.net Subject: [PHP] Posting Summary for Week Ending 4 January, 2008: php- [EMAIL

RE: [PHP] Dependant listboxes

2008-01-10 Thread Warren Vail
in their javascript section, a good place to see different techniques. Also Google can be your friend. HTH, Warren Vail -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 8:48 AM To: Humani Power Cc: php-general@lists.php.net Subject: Re: [PHP

RE: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Warren Vail
These things are all on the bleeding edge, and if I'm not mistaken, Zend may be one of the newest, no? Extrapolate (Bleeding Edge = painful development) Warren Vail -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 1:18 PM To: [php] PHP

RE: [PHP] php competion

2008-02-04 Thread Warren Vail
There's probably even a tee-shirt. As in; been there, done that, got the tee-shirt. Warren -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 5:32 PM To: php-general@lists.php.net Subject: Re: [PHP] php competion And a newer adage,

RE: [PHP] PHP/mySQL question about groups

2008-02-06 Thread Warren Vail
be faster if indexes are available for use in row ordering, and while the same totaling occurs, comparison is limited to the columns specified in the group by. The biggest impact on one or the other would be a well placed index, but for the most part they should be about the same. Warren Vail

RE: [PHP] PHP/mySQL question about groups

2008-02-07 Thread Warren Vail
list Subject: Re: [PHP] PHP/mySQL question about groups On Feb 7, 2008 1:20 AM, Warren Vail [EMAIL PROTECTED] wrote: I did some looking into performance issues many years ago at company that developed and marketed another database server, comparing the query plan to the actual code

RE: [PHP] How to read excel sheet and display it's contents.

2008-02-11 Thread Warren Vail
out there seems to have a different version of excel (even within the same company), I finally gave up. If you can get your users to save their files in csv format, you might have better luck being able to read them, but don't hold me to it. Good Luck, Warren Vail I finally settled for CSV

RE: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-20 Thread Warren Vail
to deal with this, you want to stay away from community sites, or find some way to make the communities very private. My 2 cents, Warren Vail -Original Message- From: TS [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 6:42 PM To: php-general@lists.php.net Subject: [PHP] What

RE: [PHP] AMP installer

2008-02-21 Thread Warren Vail
I can recommend apache2triad http://apache2triad.net Downloads at http://sourceforge.net/project/showfiles.php?group_id=93507 release 1.5.4 includes php perl python mysql postgress and much more included pop and ftp servers, open SSL, etc, that all run on Windows HTH, Warren Vail

RE: [PHP] RE: temprorary error

2008-02-25 Thread Warren Vail
That sound like the lineage to me. (Don't you hear the voices?) Warren Vail -Original Message- From: Matty Sarro [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 2:50 PM To: Wolf Cc: tedd; php-general@lists.php.net Subject: Re: [PHP] RE: temprorary error So, if God

RE: [PHP] checking for and enforcing https

2008-02-26 Thread Warren Vail
using the wrong protocol, I'll issue a redirect to correct things. HTH, Warren Vail -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 9:11 AM To: tedd Cc: PHP General list Subject: Re: [PHP] checking for and enforcing https On Tue

RE: [PHP] Sessions

2008-02-28 Thread Warren Vail
set session handlers. HTH Warren Vail -Original Message- From: VamVan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 5:11 PM To: php-general@lists.php.net Subject: [PHP] Sessions Hello People, I wanted to have your assistance in deciding few things here

RE: [PHP] Sessions

2008-02-29 Thread Warren Vail
. I had users who shut down their browsers and returned the next day to have their session data remain. Warren Vail -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 12:24 PM To: Warren Vail Cc: VamVan; php-general@lists.php.net Subject

RE: [PHP] save image in database vs folder

2008-03-11 Thread Warren Vail
Probably has to do with what GFY means in texting short hand. Go F... Yourself ;-). Warren -Original Message- From: David Giragosian [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 7:34 AM To: php-general@lists.php.net Subject: Re: [PHP] save image in database vs folder

RE: [PHP] phpinfo displays blank page

2007-06-20 Thread Warren Vail
For what it's worth, this can happen if you have a error in your PHP script. Say like invoking a non-existing function php_info(); instead of phpinfo(); with errors and warnings going to a log file or something like that. Warren Vail -Original Message- From: Jeff Schwartz [mailto:[EMAIL

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread Warren Vail
Did you know that VM-ware actually runs under RH linux? Warren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 1:16 PM To: php-general@lists.php.net Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Small LAMP install/distro Yeah, I took a

RE: [PHP] Small LAMP install/distro

2007-06-22 Thread Warren Vail
I can recommend Fedora Core 6, it has more uptodate Apache, PHP and MySQL, than does Red Hat Enterprise 4, which is what the company I consult for installed on their VM-ware environment. We spent a lot of time upgrading everything on the VM Host because the RH Enterprise was so far behind. I run

RE: [PHP] Re: php SHOW

2007-08-03 Thread Warren Vail
That would be dependent on the database you are interfaced to, not your programming language. For MySQL 5.0 http://dev.mysql.com/doc/refman/5.0/en/charset-show.html Or 5.1 http://dev.mysql.com/doc/refman/5.1/en/charset-show.html Not all database systems support the SHOW command. Warren

RE: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Warren Vail
Does anyone know the relationship between goDaddy.com and WildWestDomains.com? :W -Original Message- From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 12:47 PM To: Austin Denyer; PHP Subject: Re: [PHP] OT- why is network solutions more than godaddy?

RE: [PHP] About Session And Cookies

2007-08-17 Thread Warren Vail
Kelvin, Sessions is just one of the items recommended for an e-commerce website. I seem to recall that if cookies were not enabled that there was a way of passing the session id in the URL as a Get parameter. Basically you will store the items to be purchased in a special table and a shopper ID

RE: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-14 Thread Warren Vail
= .$qty . where cart_lineid = .$idx; mysql_query you get the rest } your form now becomes a list of line items with quantities in text boxes for each item, and a single submit button allows you to apply all changes at once. Hope this is clear enough, Warren Vail Vail Systems

RE: [PHP] inserting ´ in a db

2007-10-04 Thread Warren Vail
, but will be stored in the DB string variable. Course in this case you need to be careful that if you copy the table contents you don't then execute the imbedded query. Hope this helps, Warren Vail -Original Message- From: Yamil Ortega [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

RE: [PHP] inserting ´ in a db

2007-10-04 Thread Warren Vail
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 10:28 AM To: Warren Vail Cc: 'Yamil Ortega'; php-general@lists.php.net Subject: RE: [PHP] inserting ´ in a db On Thu, 2007-10-04 at 10:18 -0700, Warren Vail wrote: You need to escape the single

RE: [PHP] INPUT

2006-08-10 Thread Warren Vail
http://us3.php.net/manual/en/function.addslashes.php Good luck, Warren Vail -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:11 AM To: php-general@lists.php.net Subject: [PHP] INPUT Hi everyone, Excuse me

RE: [PHP] INPUT

2006-08-10 Thread Warren Vail
query is used for something like adding themselves as an administrator to your site. I believe the addslashes I mentioned before would fix this for this field, but you may want to check other text fields on your forms. Warren Vail -Original Message- From: João Cândido de Souza Neto

RE: [PHP] INPUT

2006-08-10 Thread Warren Vail
Many of the older PHP implementations don't have the mysql_escape_string function, if not addslashes should work I would be interested to know what might get past the addslashes function that the mysql_escape_string function catches. Warren Vail -Original Message- From: Jochem

RE: [PHP] I need an array of state abbrev to names...

2006-08-17 Thread Warren Vail
Assuming you are talking about states in the US (it's a big world out there), you might try. http://www.usps.com/ncsc/lookups/usps_abbreviations.html Good luck, Warren Vail Vail Systems Technology http://www.vailtech.net [EMAIL PROTECTED] -Original Message- From: Daevid Vincent

RE: [PHP] one click - two actions?

2006-11-13 Thread Warren Vail
javascript. Hope this helps, Warren Vail -Original Message- From: Mel [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 12:32 PM To: John Meyer Cc: PHP General List Subject: Re: [PHP] one click - two actions? I really don't know? My site is all php and ready to go live except

RE: [PHP] one click - two actions?

2006-11-13 Thread Warren Vail
what I want to do without the use of them. I think at one time some browsers didn't support frames, not sure any more. Warren Vail -Original Message- From: Mel [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 1:32 PM To: Warren Vail Cc: 'John Meyer'; 'PHP General List' Subject

RE: [PHP] backing up a database

2006-11-28 Thread Warren Vail
I think it becomes an issue only if the database structure is complex with multiple related tables, and have lots of update activity. I think most people design applications that don't require anything so complex, and most queries are of the select variety. Warren Vail -Original Message

RE: [PHP] newbie needs help with session variables

2008-04-19 Thread Warren Vail
to control the source of data coming into your programs. HTH, Warren Vail -Original Message- From: Rod Clay [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 2:20 PM To: php-general@lists.php.net Subject: [PHP] newbie needs help with session variables Hi. I'm still very

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Warren Vail
evolving requirements, with and without a framework. Changing design requirements several times in a project will do that. Using a framework is not the guarantee you may be looking for (it could be, but it usually isn't). Warren Vail -Original Message- From: Nathan Nobbe [mailto:[EMAIL

RE: [PHP] Big companies that use PHP?

2008-04-24 Thread Warren Vail
How about Yahoo and Google, extensively, in fact, I believe Rasmus Lerdorf is still on staff at Yahoo, unless it's Micro Hoo by now ;-). Warren -Original Message- From: Nathan Nobbe [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 1:50 PM To: Thiago Pojda Cc:

RE: [PHP] Fun with SOAP.

2008-04-30 Thread Warren Vail
You should be able to parse it manually in PHP, but probably not with a XML parser or reader. Simply var_dump() the responses you are getting and write the code to break it up into values you can use. In some respects I've found this easier than XML, which tends at times to be somebody else's

RE: [PHP] validating textarea using php

2008-05-13 Thread Warren Vail
most of these if they appear at either end of what was typed, in this case the entire thing. If(trim($_POST[textareaname]) == ) echo You didn't type anything significant!; HTH, Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] page suck attack

2008-05-21 Thread Warren Vail
Hmmm, sounds like a search engine scan, Google or Yahoo Slurpy? Do a reverse lookup on the requesting IP. I would think the goal would be to get this increased? You can stop it (or control it a bit) by placing a robots.txt file in the root directory, then telling the robot which paths not to

RE: [PHP] Trying to keep a dropdown selection sticky

2008-07-05 Thread Warren Vail
;-) echo $value/option\n; } When you fail to indicate which item in a select list is selected most browsers will default to showing the first entry (effectively unsticking your choice). Good luck, Warren Vail -Original Message- From: Michael S. Dunsavage [mailto:[EMAIL PROTECTED

RE: [PHP] Re: Passing variable to a page in a frameset

2008-08-15 Thread Warren Vail
Actually you may want to check back with basic html at the target parameter on your search form statement. HTH, Warren Vail Vail Systems Technology [EMAIL PROTECTED] -Original Message- From: Jay Moore [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 7:03 AM To: php

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Warren Vail
exposure, but I believe CURL is what you want. Hth, Warren Vail -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 11:31 AM To: [EMAIL PROTECTED]; php-general@lists.php.net Subject: RE: [PHP] How to submit form via PHP [snip] Hello. I'm

RE: [PHP] Re: Passing variable to a page in a frameset

2008-08-15 Thread Warren Vail
variable to a page in a frameset On Aug 15, 2008, at 1:22 PM, Warren Vail wrote: Actually you may want to check back with basic html at the target parameter on your search form statement. HTH, Warren Vail Vail Systems Technology [EMAIL PROTECTED] Target won't work for me

RE: [PHP] Breaking a line in two

2008-08-17 Thread Warren Vail
to be 46 characters long because a long word was placed at the break point? Hth, Warren Vail -Original Message- From: Ron Piggott [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2008 3:11 PM To: PHP General Subject: [PHP] Breaking a line in two Is there a way to add br

RE: [PHP] FCKEditor, TinyMCE, ... I need a light weight WYSIWYG HTML Editor

2008-08-17 Thread Warren Vail
your users do (again, no free lunch). I like TinyMCE, it allows me to make sure that my users have a simple interface, and is real easy to setup (relative to developing the whole thing myself), but most of the ones you cite can probably fill that bill. Warren Vail -Original Message

RE: [PHP] Re: Breaking a line in two

2008-08-21 Thread Warren Vail
Right, that's what I can't imagine why he would possibly need to keep the space. Warren Vail -Original Message- From: Micah Gersten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 9:24 AM To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] Re: Breaking a line in two

RE: [PHP] Restore Leading Zeros in Zip Codes

2008-08-21 Thread Warren Vail
is not 10 digits but rather 5 plus 4, or 9 digits. Warren Vail -Original Message- From: Keith Spiller [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 7:44 PM To: php-general@lists.php.net Subject: [PHP] Restore Leading Zeros in Zip Codes Hi, RE: Restore Leading Zeros

RE: [PHP] Restore Leading Zeros in Zip Codes

2008-08-21 Thread Warren Vail
); } -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 8:08 PM To: 'Keith Spiller'; php-general@lists.php.net Subject: RE: [PHP] Restore Leading Zeros in Zip Codes I'd try something like; If(strlen($zipcode) = 5) $zipcode = sprintf(%05d,$zipcode

RE: [PHP] Restore Leading Zeros in Zip Codes

2008-08-21 Thread Warren Vail
I never considered the dash a digit, but then I forgot a dollar sign on one of the variable names, but you can probably figure that out. Warren Vail -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 8:17 PM To: 'Warren Vail'; 'Keith

RE: [PHP] photo file size

2008-10-01 Thread Warren Vail
speed connection, the difference in time required to download larger files can be under a second, and most users will not notice a difference. Everything is a compromise. Warren Vail -Original Message- From: elk dolk [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 9:26 AM

RE: [PHP] Plotting Tool

2008-10-07 Thread Warren Vail
You might check out JPGraph, I think it's available on source forge, very little php code on your part can produce some pretty impressive results. Warren Vail -Original Message- From: paragasu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 7:42 PM To: Daniel Brown Cc

RE: [PHP] html editor written in PHP

2005-05-19 Thread Warren Vail
tuned, however. http://gtk.php.net/ Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Beautiful HTML Invoice - Prints like crap! I need somesuggestions!

2005-06-09 Thread Warren Vail
Isn't this a user selectable option, which by default is turned off (on most browsers)? My Internet explorer has an advance configuration option that enables Print background colors and images. Don't think you can override the users selection on this. Warren Vail [EMAIL PROTECTED

RE: [PHP] Beautiful HTML Invoice - Prints like crap! I need somesuggestions!

2005-06-09 Thread Warren Vail
on for the upload time, nothing is free). Warren Vail [EMAIL PROTECTED] -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 2:38 PM To: Leif Gregory; Matt Babineau Subject: RE: [PHP] Beautiful HTML Invoice - Prints like crap! I need

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Warren Vail
Warren Vail [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Warren Vail
it in the page with JavaScript based on some event, but I didn't think that is what you were looking for. Warren Vail [EMAIL PROTECTED] -Original Message- From: abrea [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 8:16 AM To: Warren Vail; 'PHP General List' Subject: RE: [PHP] Updating

RE: [PHP] Help - need to quickly optimize a record count!

2005-07-10 Thread Warren Vail
, make it your primary index and set it up with an auto increment key. Once you do this, your query should run like greased lightning, because, I believe, MySQL will use the index cardinality to determine number of rows, instead of counting them. Warren Vail -Original Message- From: Burhan

[PHP] Merging Images

2005-07-18 Thread Warren Vail
to place an image inside a picture frame with an irregular shape in another image would be great. thanks, Warren Vail

RE: [PHP] SoundEx in swedish?

2005-09-03 Thread Warren Vail
My understanding is that soundex was developed by several mathemeticians at MIT in the 1950's. The idea was to create a way for similar sounding family names to be grouped together reguardless of how they might be spelled, and since english was the language their world spoke, the algorithm tends

RE: [PHP] Inserting records question

2005-09-08 Thread Warren Vail
It might also be a factor, but the variable containing the table name is $table (not $table1 as coded in the query string). Warren Vail [EMAIL PROTECTED] -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 6:41 PM To: Iggep Cc: php

Re: [PHP] session vars

2006-03-21 Thread Warren Vail
Sessions only have access to Global Vars. http://us3.php.net/manual/en/ref.session.php I understand it's because the local vars inside a function are free'd when you exit the function, and the actual post to the session record occurs during script wrappup operations, long after exiting the

Re: [PHP] Is there a way to get multiple values for a single input in a form submission?

2006-03-21 Thread Warren Vail
this is what you were looking for. Warren Vail At 02:44 PM 3/21/2006, mslemko wrote: this is what I am trying to do: On a web form I might have a select input with multiple selections enabled, however I want to have access to the list within PHP after submission. select multiple='true' name

Re: [PHP] switching between admin areas on two domeins with one login?

2006-03-23 Thread Warren Vail
I think the key to your problem is finding a way that the two domains can share information, do these domains have access to the same physical disk space, or a common database? You can use the your own save handler routines to give them both access to the same area (database may work the

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
Looks like you have a unix machine, if you have a shell account you may be able to use the command; which php to identify it's path. hope this helps, Warren Vail At 10:45 AM 3/27/2006, tedd wrote: Hi: Related to my cron problem -- where do you get the path to php? My phpinfo() says

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
); echo $result; ? Upload it to your website and execute it in your browser. I uploaded it to my RedHat Linux server and it showed the following; /usr/local/bin/php good luck, Warren Vail At 11:05 AM 3/27/2006, tedd wrote: Warren Vail said: Looks like you have a unix machine, if you have

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
would expect, so relative path names will give you problems. hope this helps, Warren Vail At 11:59 AM 3/27/2006, tedd wrote: try creating a file called which.php have it contain the following; ?php $result = exec(which php); echo $result; ? Upload it to your website and execute it in your

Re: [PHP] Join - Two Columns with the same name

2006-04-13 Thread Warren Vail
used the same notation in left and right joins if you don't want to use the hard join illustrated here. (In a hard join, if the value in table1 is missing from table2 no row is returned, even if one exists in table 1). hope this helps, Warren Vail At 03:29 PM 4/13/2006, Kevin Murphy wrote

  1   2   >