RE: [PHP] PHP String convention

2009-10-28 Thread Warren Vail
The curly braces look like something from the smarty template engine. Warren Vail -Original Message- From: Kim Madsen [mailto:php@emax.dk] Sent: Wednesday, October 28, 2009 10:18 AM To: Nick Cooper Cc: Jim Lucas; php-general@lists.php.net Subject: Re: [PHP] PHP String convention Hi

RE: [PHP] Re: Best way to test for form submission?

2009-08-29 Thread Warren Vail
(); javascript entry. Be careful designing forms that are dependent on some of these behaviors, like positioning a submit button to the right of a text box to intentionally receive the enter, because different browsers will probably behave differently. Hope this helps a bit. Warren Vail Vail

RE: [PHP] What if this code is right ? It worked perfectly for years!!

2009-08-24 Thread Warren Vail
You are absolutely right, more information is needed. Many ISP's are changing port number assignments on their SMTP outgoing email to prevent abuse. A simple change like that could cause the email to not go out, and it has nothing to do with PHP. Warren Vail Vail Systems Technology

RE: [PHP] Re: A form and an array

2009-07-23 Thread Warren Vail
Did you correct the missing double quote in your sending form first? Warren Vail -Original Message- From: Jason Carson [mailto:ja...@jasoncarson.ca] Sent: Thursday, July 23, 2009 9:33 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: A form and an array Jason Carson wrote

RE: [PHP] Formating Numbers

2009-04-25 Thread Warren Vail
As an alternative you might consider; $number = sprintf(%01.2f,$number); There was a time many years ago you had to be careful doing math with floats. Test, test and test some more. Warren -Original Message- From: kranthi [mailto:kranthi...@gmail.com] Sent: Saturday, April 25,

RE: [PHP] MAIL Error

2009-04-21 Thread Warren Vail
Isn't mail a function and not a class? Warren -Original Message- From: ramesh.marimu...@wipro.com [mailto:ramesh.marimu...@wipro.com] Sent: Tuesday, April 21, 2009 12:29 AM To: php-general@lists.php.net Subject: [PHP] MAIL Error Hi All, While using $m=new MAIL; I get an

RE: [PHP] Am I being hacked?

2009-04-08 Thread Warren Vail
Looks like an attempt to get your SQL server to execute a command, Microsoft SQL server will do that(among others), and if not properly set up can do it with root access. If you don't properly escape and store this comment in a database, it could execute (called SQL injection, no?). Warren Vail

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] 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] 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] 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: 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Idea/Suggestion for PHP App

2007-04-05 Thread Warren Vail
/installation_example_12.php). Remember that an application in the hand is worth a dozen that were started over because you may have been trying to reinvent a wheel that could be found for free on the internet. You can learn how to leverage your time a lot with PHP and the PHP community. Warren Vail

RE: [PHP] Job Opportunity

2007-03-21 Thread Warren Vail
Too bad we have to constrain our messages to fit the threading algorithm of your list server. Another case of where man becomes servant to the machine? 8-) Warren Vail -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 11:57 AM To: Chris Ditty

RE: [PHP] Job Opportunity

2007-03-21 Thread Warren Vail
are doing here ;-), pretty soon we should hear from those police. Warren Vail -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:58 PM To: Warren Vail Cc: 'Jim Lucas'; 'Chris Ditty'; php-general@lists.php.net Subject: Re: [PHP] Job Opportunity Warren Vail

RE: [PHP] Text Editor for Windows?

2007-02-07 Thread Warren Vail
matches a standard function. This feature also works pretty well for letting me know when I'm inside a string value and forgot to escape an imbedded quote, the color is wrong. And the price is right. Try; http://www.chami.com/html-kit/download/ good luck, Warren Vail -Original Message

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] 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] 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] 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] Re: odbc remote

2006-06-07 Thread Warren Vail
odbc manager utility, if you have one, and try adding the datasource, looking for host name provisions). Hope this helps, Warren Vail -Original Message- From: Peter Kuma [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 2:51 PM To: php-general@lists.php.net Subject: [PHP] Re: odbc

RE: [PHP] Looping through a Db query result twice in PEAR

2006-05-24 Thread Warren Vail
']; } Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Possible?

2006-04-28 Thread Warren Vail
/faq/ Good luck, Warren Vail -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 4:50 PM To: PHP-General; John Hicks Subject: Re: [PHP] Possible? Anyway, I've started looking at this, but I'm not quite sure if it's even possible. I mean, can

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
if there was a function that accepted PHP code as input and tranlated it to Javascript, returning the resulting text ready for imbedding in html? Any creative masochists out there? Has it already been attempted? Warren Vail -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
... . again carefull with quotes) .more html stuff here); // end of echo statement --- snip -- Warren -Original Message- From: Evan Priestley [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 1:47 PM To: Warren Vail Cc: PHP

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
Lynch found, as soon as I can. Warren Vail -Original Message- From: Evan Priestley [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:16 PM To: Warren Vail Cc: 'PHP General List' Subject: Re: [PHP] New Help with Javascript Navigation No, I'm saying that Javascript can't read

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
stage it would be necessary to implement a means of communicating back to the server, but just to be able to provide interaction on the client machine would be a great start. Warren Vail -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006

RE: [PHP] I want to write a Multi-threaded PHP Application

2006-04-26 Thread Warren Vail
some numbers to manage disk space utilization with. Probably not what you had in mind, but the whole process handled 5 concurrent processes running against 30 databases, once every evening. Warren Vail -Original Message- From: D. Dante Lorenso [mailto:[EMAIL PROTECTED] Sent: Wednesday

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

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] 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] 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] Site bloated by images

2006-02-16 Thread Warren Vail
MARG's suggestion is right on, I took a look at some of the images, and while relatively small at 250 x 300 pixels, they end up displaying in an image statement that limits them to 15 x 16 pixels (or there abouts) on the finished page. If you only need 15 x 16 pixels, resize the files to

Re: [PHP] Site bloated by images

2006-02-16 Thread Warren Vail
be a factor as well. Warren Vail [EMAIL PROTECTED] At 03:14 PM 2/16/2006, Curt Zirzow wrote: On Thu, Feb 16, 2006 at 02:39:54PM -0800, Warren Vail wrote: MARG's suggestion is right on, I took a look at some of the images, and while relatively small at 250 x 300 pixels, they end up displaying

Re: [PHP] Re: Image size?

2006-01-11 Thread Warren Vail
Try; http://www.php.net/manual/en/function.getimagesize.php Warren At 09:16 AM 1/11/2006, M. Sokolewicz wrote: zerof wrote: William Stokes escreveu: Hello, Can I get pixel sizes from a uploaded web applicable image with PHP? I mean width and height as pixels. If so How? Thanks -Will

Re: [PHP] problem with currency signs

2006-01-09 Thread Warren Vail
see http://us2.php.net/manual/en/function.htmlspecialchars.php note: I believe the dollar sign will also be translated, could be wrong. Warren At 03:14 AM 1/10/2006, Angelo Zanetti wrote: Hi guys, Im having problems with the Euro and Pound currency signs and storing them etc... here is my

Re: [PHP] Pages Expiring

2006-01-06 Thread Warren Vail
anything and when done should redirect the user to another separate page which will display the results by pulling results from the database (or session, or url GET string). hope this helps, Warren Vail At 04:40 PM 1/5/2006, Ben Miller wrote: When using forms with PHP sessions, hitting the back

Re: [PHP] Earlier versions hurt PHP 5

2005-12-19 Thread Warren Vail
and they are reporting week demand for php5, even though they expect that to change. Warren Vail Be careful when throwing out the bath water, there could still be a very valuable baby in it. Many PHP open source applications like PHP-Nuke and, I believe, Sugar CRM, just to name a few

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] 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

[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] 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

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] 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] 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] handling a user pressing browser's back button

2005-04-26 Thread Warren Vail
that it no longer has the post data to complete rendering of the page (it only saved the URL). Does that make sense? Warren Vail Solution in PHP for forms that use POST, is to have the PHP routine perform whatever updating is necessary, or what ever, then redirect the browser (header function) to a page

  1   2   >