Re: [PHP] Algorithm Help

2013-10-03 Thread Floyd Resler
On Oct 2, 2013, at 6:23 PM, Tamara Temple wrote: > > On Oct 2, 2013, at 9:05 AM, Marc Guay wrote: > >> If you have the technology handy, it could also just be easier to wipe >> the children's memories after each stay. >> >> Marc >> >> -- >> PHP General Mailing List (http://www.php.net/) >

Re: [PHP] Algorithm Help

2013-10-02 Thread Floyd Resler
On Oct 2, 2013, at 9:51 AM, Tamara Temple wrote: > > On Oct 1, 2013, at 1:51 PM, Floyd Resler wrote: > >> Here's my task: A group of kids is going to be staying with different host >> families throughout the next 8 months. The number of kids staying with a >&

Re: [PHP] Algorithm Help

2013-10-01 Thread Floyd Resler
is put in a home with another kid, ++ that index. When dispatching kids, >> sort by index ASC. >> >> Aziz >> >> >> On Tue, Oct 1, 2013 at 3:01 PM, John Meyer >> wrote: >> >>> On 10/1/2013 12:51 PM, Floyd Resler wrote: >>>

[PHP] Algorithm Help

2013-10-01 Thread Floyd Resler
Here's my task: A group of kids is going to be staying with different host families throughout the next 8 months. The number of kids staying with a host family can range from 2 to 10. When deciding which kids should stay together at a host family, the idea is for the system to put together kid

[PHP] Output to File Instead of Browser

2013-08-20 Thread Floyd Resler
I have a php file that generates a form. Of course, this displays in the browser. How can I have the form generated from my script but either saved to a file or the output returned to another script? Thanks! Floyd

Re: [PHP] Ambiguous?

2013-08-09 Thread Floyd Resler
On Aug 9, 2013, at 8:00 AM, Karl-Arne Gjersøyen wrote: > 1) query > foreach($varenr_inn_pa_lager as $vnr){ >include('../../tilkobling.php'); >$sql = "SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT > 1"; >$resultat = mysql_query($sql, $tilkobling) or >

Re: [PHP] Some Advice

2013-06-25 Thread Floyd Resler
he answer) > > > On Tue, Jun 25, 2013 at 9:15 AM, Floyd Resler wrote: > I use sessions to store login information. However, a particular user of a > site can only access it at the library which has cookies shut off. So, I'm > thinking of creating an entry in the datab

[PHP] Some Advice

2013-06-25 Thread Floyd Resler
I use sessions to store login information. However, a particular user of a site can only access it at the library which has cookies shut off. So, I'm thinking of creating an entry in the database with a unique identifier and expiration time. I would then pass that identifier to each page. Do

Re: [PHP] Finding an Address

2013-02-28 Thread Floyd Resler
osoft! > They need to add TRUNCATE PARTITION in SQL Server > https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table > > > 2013/2/28 Floyd Resler > > > > On Feb 28, 2013, at 1:04 PM, kenrb...@rbnsn.com wrote: > > > On 28.0

Re: [PHP] Finding an Address

2013-02-28 Thread Floyd Resler
On Feb 28, 2013, at 1:04 PM, kenrb...@rbnsn.com wrote: > On 28.02.2013 12:36, Floyd Resler wrote: >> I have a project where my client would like to find the nearest >> street address from where he current is. Getting the longitude and >> latitude is easy enough but I

[PHP] Finding an Address

2013-02-28 Thread Floyd Resler
I have a project where my client would like to find the nearest street address from where he current is. Getting the longitude and latitude is easy enough but I'm having a hard time finding out how to get the nearest house. I have found a lot of solutions for addresses maintained in a database

Re: [PHP] Rewrite Help

2012-12-28 Thread Floyd Resler
On Dec 28, 2012, at 11:26 AM, Marco Behnke wrote: > On 28.12.2012 17:13, Floyd Resler wrote: >> On Dec 28, 2012, at 11:09 AM, Marco Behnke wrote: >> >>> On 28.12.2012 16:30, Floyd Resler wrote: >>>> I'm having a perplexing problem with a rewrite r

Re: [PHP] Rewrite Help

2012-12-28 Thread Floyd Resler
On Dec 28, 2012, at 11:09 AM, Marco Behnke wrote: > On 28.12.2012 16:30, Floyd Resler wrote: >> I'm having a perplexing problem with a rewrite rule (it's off topic but it's >> Friday!). My initial path is >> piccDetails/index/0/linetypes/2012-01-01/2012

[PHP] Rewrite Help

2012-12-28 Thread Floyd Resler
I'm having a perplexing problem with a rewrite rule (it's off topic but it's Friday!). My initial path is piccDetails/index/0/linetypes/2012-01-01/2012-12-31/Successful and that works great. However, in my script I want to change the zero in the path to a 1. This tells it to generate a spre

Re: [PHP] Re: limiting

2012-10-10 Thread Floyd Resler
On Oct 10, 2012, at 9:12 AM, Andy McKenzie wrote: > >>> Have you read a book on php and perhaps one on CSS to help >>> with your "hiding" problem? (BTW - that last was a hint.) >> >> I've read plenty of PHP books I own at least 5 and ALL of them I've read >> hardly ever explain anything at a

Re: [PHP] Highlight Search Results

2012-09-18 Thread Floyd Resler
On Sep 18, 2012, at 8:42 AM, David OBrien wrote: > On Tue, Sep 18, 2012 at 8:36 AM, Floyd Resler wrote: > > > > I want to highlight the word searched in search results. I know I can use > > str_ireplace to do a case insensitive search and replace. However, is >

[PHP] Highlight Search Results

2012-09-18 Thread Floyd Resler
I want to highlight the word searched in search results. I know I can use str_ireplace to do a case insensitive search and replace. However, is there an easy way to maintain the case of the word found when I do the replace? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] FoxPro Table Structure

2012-08-28 Thread Floyd Resler
On Aug 28, 2012, at 11:32 AM, Paul M Foster wrote: > On Tue, Aug 28, 2012 at 10:46:24AM -0400, Floyd Resler wrote: > >> Is there a way in PHP to get the structure of a FoxPro table (using >> ODBC) without having to query the table? I know I can get it by >> getting

[PHP] FoxPro Table Structure

2012-08-28 Thread Floyd Resler
Is there a way in PHP to get the structure of a FoxPro table (using ODBC) without having to query the table? I know I can get it by getting a row from the table and using odbc_field_type but I'd rather not have to query an entire table since there is no LIMIT command in FoxPro. I've looked and

[PHP] vCard Image

2012-07-12 Thread Floyd Resler
I'm trying to extract the image from a vCard and display it. I'm not having any luck. I saw a sample of putting an image into a vCard via PHP and use base64_encode. So I thought base64_decode would work. However, still no luck. Anyone have any ideas? Thanks! Floyd

[PHP] Session Checking

2012-07-09 Thread Floyd Resler
I want to have an alert pop up to let the user know their session is about to expire. Would the best approach be to do a timer in Javascript or check it in PHP. I'm storing session data in a MySQL database so I can know when a session will expire. If I check it through PHP will the session ex

Re: [PHP] sms class

2012-04-17 Thread Floyd Resler
On Apr 17, 2012, at 5:11 PM, Mike Mackintosh wrote: > In reality, a SMS messages are transported the SS7 network, or voice network. > To make the digital transition, carriers use a box called an SMPP gateway. To > get access to this box, is by contract and terms of he carrier, and most > commo

Re: [PHP] Sorting Help

2012-04-11 Thread Floyd Resler
On Apr 11, 2012, at 1:11 PM, admin wrote: > > > -Original Message- > From: Floyd Resler [mailto:fres...@adex-intl.com] > Sent: Wednesday, April 11, 2012 11:26 AM > To: PHP > Subject: [PHP] Sorting Help > > I need to sort the following array: >

[PHP] Sorting Help

2012-04-11 Thread Floyd Resler
I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The array needs to be sorted by the first number (i.e. 137.5) and then the second in descending order. I looked at array_multisort but couldn't figure out how to make wo

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think,

2012-03-16 Thread Floyd Resler
On Mar 16, 2012, at 3:15 PM, Jim Giner wrote: > > "rene7705" wrote in message > news:cadegsebtv7ffuvcbxkothqzah3ethegdedyuarxene2d1mw...@mail.gmail.com... >> Hi Folks.. >> >> I could waste a lot of text on what I've accomplished during the last >> months, but the easiest thing is if you have

Re: [PHP] Autoloading

2012-01-26 Thread Floyd Resler
On Jan 26, 2012, at 10:15 AM, Stuart Dallas wrote: > On 26 Jan 2012, at 14:44, Floyd Resler wrote: > >> I am using __autoload for my site which is conflicting with the autoloading >> of PHPExcel. I tried using spl_autoload_register thinking that might be the >> way

[PHP] Autoloading

2012-01-26 Thread Floyd Resler
I am using __autoload for my site which is conflicting with the autoloading of PHPExcel. I tried using spl_autoload_register thinking that might be the way to go but when I tried I got a "cannot be redeclared" error. I include my autoload script (include_once "../../lib/autoload.php";) and my

Re: [PHP] re: More Error Reporting Problems

2011-12-30 Thread Floyd Resler
On Dec 30, 2011, at 11:05 AM, Matt Graham wrote: > From: Floyd Resler >> I'm still having problems with error reporting and I'm not sure why. >> php.ini section: >> error_reporting = E_ALL & ~E_DEPRECATED >> display_errors = On >> log_err

[PHP] More Error Reporting Problems

2011-12-30 Thread Floyd Resler
I'm still having problems with error reporting and I'm not sure why. This is the section in my php.ini file: error_reporting = E_ALL & ~E_DEPRECATED display_errors = On log_errors = On error_log = /var/log/php_errors.log Errors are neither getting displayed nor recorded in my error log. I can'

[PHP] Error Reporting

2011-12-23 Thread Floyd Resler
I know this is a very basic question and I'm almost embarrassed to ask it, but it's something I really struggle with. That is, getting the right combination of error reporting options together to report the errors I want. Right now, I get the errors I want except for parse errors. Basically,

Re: [PHP] PDF Page Size

2011-12-20 Thread Floyd Resler
On Dec 20, 2011, at 10:49 AM, Frank Arensmeier wrote: > 20 dec 2011 kl. 16.15 skrev Floyd Resler: > >> What is a good solution for get the size of a PDF page in pixels? I've >> tried a few different methods but haven't had much success. >> >> Thanks!

[PHP] PDF Page Size

2011-12-20 Thread Floyd Resler
What is a good solution for get the size of a PDF page in pixels? I've tried a few different methods but haven't had much success. Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] number_format

2011-12-19 Thread Floyd Resler
On Dec 19, 2011, at 11:38 AM, Robert Cummings wrote: > On 11-12-19 11:08 AM, Bastien Koert wrote: >> On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: >>> In the previous version of PHP we were using, I could pass a string to >>> number_format and it would ju

[PHP] number_format

2011-12-19 Thread Floyd Resler
In the previous version of PHP we were using, I could pass a string to number_format and it would just change it to a 0 without complaint. With 5.3.6 I get an "expects double" error. I don't suppose there's a way to make it work like it used to??? I'm dealing with really old code that wasn't

[PHP] PHP 5.3.6 Dates

2011-12-12 Thread Floyd Resler
If this was already discussed I apologize for the duplicate question. For some reason dates of -00-00 get converted to 11/30/-0001 with the date function. Is this be design or a bug? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] inotify

2011-12-08 Thread Floyd Resler
Is there any way to get who moved a file, deleted a file, etc. from inotify? I search and couldn't find a way but thought someone on the list might know. Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] compare dates

2011-11-30 Thread Floyd Resler
On Nov 30, 2011, at 5:04 PM, Matijn Woudt wrote: > On Wed, Nov 30, 2011 at 11:00 PM, Marc Fromm wrote: >> I'm puzzled why the if statement executes as true when the first date >> (job_closedate) is not less than the second date (now). >> The if statement claims that "12/02/2011" is less than "1

[PHP] PHPExcel

2011-11-28 Thread Floyd Resler
Does anyone have much experience with PHPExcel? I'm having difficulties in getting multiple sheet workbooks to work properly. I haven't been able to find any practical examples. Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Floyd Resler
; >> >> On 2011-10-10, at 14:42, Floyd Resler wrote: >> >>> I've been trying to find a solution for decoding barcode images in PHP but >>> haven't had much luck so far. Does anyone have any suggestions? >> >> I'm not familiar wit

[PHP] Decoding Barcode Images

2011-10-10 Thread Floyd Resler
I've been trying to find a solution for decoding barcode images in PHP but haven't had much luck so far. Does anyone have any suggestions? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Segmentation Fault

2011-07-24 Thread Floyd Resler
On Jul 23, 2011, at 9:14 PM, Nilesh Govindarajan wrote: > On 07/23/2011 09:38 PM, Floyd Resler wrote: >> I moved to our new server which is using 5.3.2. I'm getting a segmentation >> fault error on certain ODBC queries I run. For some reason when I ask for >> p

[PHP] Segmentation Fault

2011-07-23 Thread Floyd Resler
I moved to our new server which is using 5.3.2. I'm getting a segmentation fault error on certain ODBC queries I run. For some reason when I ask for particular columns from the database table I get the error. The error is Program received signal SIGSEGV, Segmentation fault. 0x7530df1a

Re: [PHP] Escaping '

2011-07-22 Thread Floyd Resler
On Jul 22, 2011, at 12:08 PM, Richard Quadling wrote: > On 22 July 2011 16:54, Daniel Brown wrote: >> On Fri, Jul 22, 2011 at 11:48, Floyd Resler wrote: >>> I did a fresh install of PHP on a new server. I had gotten used to PHP >>> automatically adding a backslas

Re: [PHP] Escaping '

2011-07-22 Thread Floyd Resler
On Jul 22, 2011, at 11:54 AM, Daniel Brown wrote: > On Fri, Jul 22, 2011 at 11:48, Floyd Resler wrote: >> I did a fresh install of PHP on a new server. I had gotten used to PHP >> automatically adding a backslash before single quotes when form data is >> submitted. It s

[PHP] Escaping '

2011-07-22 Thread Floyd Resler
I did a fresh install of PHP on a new server. I had gotten used to PHP automatically adding a backslash before single quotes when form data is submitted. It seems that is shut off in my new install. How do I turn it back on? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] PHP frameworks

2011-07-22 Thread Floyd Resler
On Jul 22, 2011, at 8:33 AM, Richard Quadling wrote: > On 22 July 2011 13:26, Floyd Resler wrote: >> >> On Jul 21, 2011, at 11:41 PM, Micky Hulse wrote: >> >>> On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie >>> wrote: >>>> A la CakePHP.

Re: [PHP] PHP frameworks

2011-07-22 Thread Floyd Resler
On Jul 21, 2011, at 11:41 PM, Micky Hulse wrote: > On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie wrote: >> A la CakePHP. Will automagically build controllers and views for the >> admin of your tables/models if you wish. > > Oooh, interesting! I will check out CakePHP! Thanks for tip! :) >

Re: [PHP] Doctrine madness!

2011-06-17 Thread Floyd Resler
On Jun 17, 2011, at 3:05 AM, wrote: > While I do agree with your discloser of the bloat for all off the shelf > frameworks. > > I created my own framework and my development time drop drastically and not > by a few hours, in some cases days. > > The complaint of time is always an issue, if

[PHP] Getting File Owner Name

2011-06-13 Thread Floyd Resler
Is there a way I can get the name of a file's owner. I know I can get the username by doing this: posix_getpwuid(fileowner($filename)); How can I get the actual name of the owner? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Re: Fuzzy Array Search

2011-06-07 Thread Floyd Resler
l) > > -- > The trouble with programmers is that you can never tell what a programmer is > doing until it’s too late. ~Seymour Cray > > > > On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie wrote: > >> On 06/07/2011 12:45 PM, Floyd Resler wrote: >>> What would b

[PHP] Fuzzy Array Search

2011-06-07 Thread Floyd Resler
What would be the easiest way to do a fuzzy array search? Can I do this without having to step through the array? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Floyd Resler
I am having a really odd Apache2/PHP problem. My employer set up a new Web server to migrate our Web sites to. One site requires a log in and I have the ability to log in a someone else. However, when I do this, Apache throws a Segmentation fault error. It's happening when it tries to get us

Re: [PHP] Contract Example

2011-05-23 Thread Floyd Resler
On May 23, 2011, at 11:29 AM, tedd wrote: > At 10:39 AM -0400 5/23/11, Floyd Resler wrote: >> I landed my first big PHP contract (yeah!) and am need of a contract or >> agreement example. Does anyone have, or know of a good source for, >> contract/agreement examples? &g

Re: [PHP] Re: Contract Example

2011-05-23 Thread Floyd Resler
On May 23, 2011, at 11:12 AM, Jonesy wrote: > On Mon, 23 May 2011 10:39:10 -0400, Floyd Resler wrote: > >> I landed my first big PHP contract (yeah!) and am need of a contract >> or agreement example. Does anyone have, or know of a good source for, >> contract/agreem

[PHP] Contract Example

2011-05-23 Thread Floyd Resler
I landed my first big PHP contract (yeah!) and am need of a contract or agreement example. Does anyone have, or know of a good source for, contract/agreement examples? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Constants

2011-04-13 Thread Floyd Resler
David, That worked great! Thanks! Floyd On Apr 13, 2011, at 2:25 PM, David Harkness wrote: > On Wed, Apr 13, 2011 at 11:04 AM, Floyd Resler wrote: > >> That didn't quite work. Here's what I did: >> $const=$argv[1]; >> $value=email::$const; >

Re: [PHP] Class Constants

2011-04-13 Thread Floyd Resler
That didn't quite work. Here's what I did: $const=$argv[1]; $value=email::$const; When I run it I get an "Access to undeclared static property" error. Thanks! Floyd On Apr 13, 2011, at 1:16 PM, Richard Quadling wrote: > On 13 April 2011 17:45, Floyd Resler wrote: &g

[PHP] Class Constants

2011-04-13 Thread Floyd Resler
I'm doing some testing from the command line and would like to be able = to pass along a constant from a class. For example: php emailTest.,php OrderConfirmation OrderConfirmation is a constant in a class. Is there any way I can take = the value passed on the command line and have PHP figure out

Re: [PHP] Upload Progress Meter

2011-03-23 Thread Floyd Resler
On Mar 23, 2011, at 10:10 AM, Steve Staples wrote: > On Wed, 2011-03-23 at 09:59 -0400, Floyd Resler wrote: >> I am in need of an upload progress meter. I've seen plenty of tutorials = >> on-line requiring installing modules, hooks, patches, etc. However, my = >> Word

[PHP] Upload Progress Meter

2011-03-23 Thread Floyd Resler
I am in need of an upload progress meter. I've seen plenty of tutorials = on-line requiring installing modules, hooks, patches, etc. However, my = Wordpress install accomplished this without me having to make any = modifications to my PHP install. So, how is it done? Thanks! Floyd -- PHP Gene

Re: [PHP] 2 submit buttons.

2011-02-15 Thread Floyd Resler
On Feb 14, 2011, at 5:24 PM, Paul M Foster wrote: > On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote: > >> >> On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote: >> >>> On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote: >>> >

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Floyd Resler
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote: > On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote: > >> I have 2 buttons on a page: >> >> if (isset($_POST['botton1'])) {dothing1();} >> if (isset($_POST['button2'])) {dothing2();} >> >> They both work as intended when I click on

Re: [PHP] Barcode Reader

2010-12-06 Thread Floyd Resler
; barcode. > > > > Jason Pruim > > On Dec 6, 2010, at 11:21 AM, Floyd Resler wrote: > >> Does anyone know of a class that can extract information from a barcode >> image? >> >> Thanks! >> Floyd >> >> >> -- >>

[PHP] Barcode Reader

2010-12-06 Thread Floyd Resler
Does anyone know of a class that can extract information from a barcode image? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form post question

2010-10-28 Thread Floyd Resler
On Oct 28, 2010, at 10:12 AM, Jack wrote: > I have a form which has the following: ( quick clip ) > > > > action="http://www.abc.com/processing/process_form.php"; onSubmit="return > preSubmit();"> > > > > > > value="Peer Guide" /> > >Peer Guide > >

[PHP] Forcing Download - IE Issue

2010-10-27 Thread Floyd Resler
I'm trying to force a download using the following code: header('Content-type: text/calendar'); header('Content-Disposition: attachment; filename="calendar.ics"'); echo $calendar; It works great in all browsers except IE. In IE, the window opens and then closes without ever display the download

Re: [PHP] Calendar Logic Help

2010-10-20 Thread Floyd Resler
On Oct 20, 2010, at 12:47 PM, Tommy Pham wrote: >> -Original Message- >> From: Floyd Resler [mailto:fres...@adex-intl.com] >> Sent: Wednesday, October 20, 2010 9:17 AM >> To: PHP >> Subject: [PHP] Calendar Logic Help >> >> I'm having p

[PHP] Calendar Logic Help

2010-10-20 Thread Floyd Resler
I'm having problems getting my head around some login for a calendar. Specifically, the problem is drawing weekly views for events that span multiple days. I've gotten it so that if an event starts in the week being viewed, the days draw correctly for the remainder of the week. However, if th

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Floyd Resler
On Oct 13, 2010, at 2:20 PM, Ashley Sheridan wrote: > On Wed, 2010-10-13 at 14:09 -0400, Floyd Resler wrote: > >> On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: >> >>> I'm about to do a lot of work on an existing code base and I think I'd like >&

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Floyd Resler
On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: > I'm about to do a lot of work on an existing code base and I think I'd like > to try an IDE. I currently use VIM for most editing. > > What IDE are you using? > > What do you like about the one you are using? > > Which ones have you tried?

Re: [PHP] Google Calendar

2010-10-13 Thread Floyd Resler
I turned on E_ALL & E_STRICT and I still don't receive any type of error message. My code simply stops. I'm not sure what the problem is but I found a Google Calendar wrapper that suits my needs and doesn't require Zend. Thanks! Floyd On Oct 12, 2010, at 10:22 PM, Kranthi Krishna wrote: > Th

[PHP] Google Calendar

2010-10-12 Thread Floyd Resler
I am attempting to use the Zend Gdata framework to communicate with Google Calendars and am having a problem. If I start a new event like this: $event=$gcal->newEventEntry(), nothing happens. My code simply stops executing at that call. If I replace it with this: $event=new Zend_Gdata_Calendar

Re: [PHP] Friday's Post

2010-10-01 Thread Floyd Resler
On Oct 1, 2010, at 12:04 PM, Paul M Foster wrote: > I'll be politically incorrect and say that it's evil. It's funny you should say that because years ago I did a short video called "PHP Commando". PHP Commando was battling the evil forces of Dr. Dot Net and his sidekick, Macro Mae. Leave it

Re: [PHP] Re: Sending Encrypted Email

2010-09-21 Thread Floyd Resler
On Sep 21, 2010, at 11:15 AM, Erik L. Arneson wrote: > On Tue, 21 Sep 2010, Floyd Resler wrote: >> I got it all figured out. The part I was missing was combining the >> certificate with the key and giving it to the end-user to install on >> their system. I was able to

Re: [PHP] Re: Sending Encrypted Email

2010-09-21 Thread Floyd Resler
On Sep 21, 2010, at 1:00 AM, Erik L. Arneson wrote: > On Thu, 16 Sep 2010, Nathan Rixham wrote: >> Floyd Resler wrote: >>> I need to send encrypted email. Can I use our server's signed certificate >>> we use for Apache? >> >> Yes you can use t

Re: [PHP] PHP Warning

2010-09-17 Thread Floyd Resler
Thanks for the help. The culprit was in my cli/php.ini file. Thanks! Floyd On Sep 17, 2010, at 10:53 AM, Daniel Brown wrote: > On Fri, Sep 17, 2010 at 10:35, Floyd Resler wrote: >> I'm getting the following warning when running PHP scripts from the command >> line: >

[PHP] PHP Warning

2010-09-17 Thread Floyd Resler
I'm getting the following warning when running PHP scripts from the command line: PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 How can I get rid of this? My error report directives are: error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR Thanks! Floyd

[PHP] Interacting With Shell

2010-09-17 Thread Floyd Resler
I need to run a Linux command from within PHP but the command has interaction. At one point I need to enter a password. Is this type of interaction possible inside a PHP script? Thanks! Floyd smime.p7s Description: S/MIME cryptographic signature

[PHP] Sending Encrypted Email

2010-09-15 Thread Floyd Resler
This is kind of both on and off topic. I need to send encrypted email. I have found code to do this but I'm not sure which certificate file to use. Can I use our server's signed certificate we use for Apache? Does anyone know of a clear, step-by-step tutorial? Thanks! Floyd -- PHP General

Re: [PHP] Adjusting Session Times

2010-09-14 Thread Floyd Resler
but would have required a major rewrite. Your idea gives me the flexibility and doesn't require any major rewriting - just a little tweaking. Thanks! Floyd On Sep 14, 2010, at 12:58 PM, tedd wrote: > At 10:26 AM -0400 9/14/10, Floyd Resler wrote: >> We just got a client whose

[PHP] Adjusting Session Times

2010-09-14 Thread Floyd Resler
We just got a client whose requirement is that user sessions expire after 30 minutes of inactivity. Our other clients are happy with not having their sessions expire during the work day (i.e. life is 8 hours). I am using a MySQL database to store the session data. My thought is to adjust the

Re: [PHP] a test (list is too quite)

2010-09-04 Thread Floyd Resler
On Sep 4, 2010, at 1:00 PM, tedd wrote: At 12:47 PM -0400 9/4/10, chris h wrote: Evidently all is well in the world of php... :) If it was so, we would all be out of work. Instead, I think it's the lull before the storm. I'll ask a question to stir things up. :-) Cheers, tedd Good

Re: [PHP] imagettftext Angle Problem

2010-08-12 Thread Floyd Resler
On Aug 12, 2010, at 12:17 PM, Ashley Sheridan wrote: > On Thu, 2010-08-12 at 12:14 -0400, Floyd Resler wrote: > >> On Aug 12, 2010, at 11:50 AM, tedd wrote: >> >>>> On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote: >>>> >>>>> I

Re: [PHP] imagettftext Angle Problem

2010-08-12 Thread Floyd Resler
On Aug 12, 2010, at 11:50 AM, tedd wrote: >> On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote: >> >>> I'm trying to draw text at a 90 degree angle, reading from bottom to top. >>> For some reason, all of the letters are aligning to the top (i.e. the lef

Re: [PHP] imagettftext Angle Problem

2010-08-12 Thread Floyd Resler
On Aug 12, 2010, at 10:42 AM, Ashley Sheridan wrote: > On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote: > >> I'm trying to draw text at a 90 degree angle, reading from bottom to top. >> For some reason, all of the letters are aligning to the top (i.e. the left &g

[PHP] imagettftext Angle Problem

2010-08-12 Thread Floyd Resler
I'm trying to draw text at a 90 degree angle, reading from bottom to top. For some reason, all of the letters are aligning to the top (i.e. the left side) of the text. It looks really odd! Has anyone else experienced this before? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread Floyd Resler
On Aug 6, 2010, at 8:08 AM, tedd wrote: > At 10:10 PM -0400 8/5/10, Rick Dwyer wrote: >> 2nd question, in the 3 [2] lines below: >> >> $checkstat = "select field from table where fieldid = $field_id"; >> $result1 = @mysql_query($checkstat,$connection) or die("Couldn't execute >> query"); >> >>

Re: [PHP] PHP database interface layer

2010-07-22 Thread Floyd Resler
On Jul 22, 2010, at 3:14 PM, Marc Guay wrote: >> i recommend propel >> http://www.propelorm.org/ > > Holy Moses that thing is a monster. It requires installing extra > libraries (Phing) in order to create an XML schema reverse-engineered > from my existing database. The code looks simple enoug

Re: [PHP] handing over data between two PHP connections

2010-07-18 Thread Floyd Resler
On Jul 18, 2010, at 3:27 PM, tobias.muelle...@web.de wrote: Hello everybody For a science project I am working on a mechanism that hands over data from a smartphone to a web-browser (=Internet PC). Both connect to a PHP server. The PHP server has to receive the data (=some kind of an URL

Re: [PHP] Serial Numbers

2010-07-12 Thread Floyd Resler
On Jul 12, 2010, at 3:22 PM, Ashley Sheridan wrote: > On Mon, 2010-07-12 at 15:17 -0400, Floyd Resler wrote: >> >> On Jul 12, 2010, at 2:52 PM, Gary wrote: >> >> > I'm sure it is possible, but I am unsure how to do this. I have created a >> > Sale

Re: [PHP] Serial Numbers

2010-07-12 Thread Floyd Resler
On Jul 12, 2010, at 2:52 PM, Gary wrote: > I'm sure it is possible, but I am unsure how to do this. I have created a > Sale coupon that I was going to put up on a site that I manage, for visitors > to print out and bring to the store. The coupon is currently a .png, however > I was planning o

Re: [PHP] State and City Database

2010-07-09 Thread Floyd Resler
On Jul 9, 2010, at 2:32 PM, Jim Lucas wrote: > Floyd Resler wrote: >> On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote: >> >>> Paul M Foster wrote: >>>> On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: >>>> >>>> >>>> &g

Re: [PHP] State and City Database

2010-07-09 Thread Floyd Resler
On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote: > Paul M Foster wrote: >> On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: >> >> >> >> >>> Here's an example of my copy working: >>> >>> http://php1.net/b/zipcode-states/index.php >> >> Problem: the city and state select drop-downs won't sta

Re: [PHP] Making a Password Confirmation in PHP

2010-06-24 Thread Floyd Resler
On Jun 24, 2010, at 2:22 PM, Michael Calkins wrote: > > This is very straight forward, if password a and b are not equal to each > other, how can I let the user know that with out losing all of the entered > information on the registration form? > I was trying this: > ---$p1 = ""; > $p2 = "";

Re: [PHP] Invoice Software

2010-06-23 Thread Floyd Resler
On Jun 23, 2010, at 11:24 AM, Bastien Koert wrote: > On Wed, Jun 23, 2010 at 10:01 AM, Daniel P. Brown > wrote: >> On Wed, Jun 23, 2010 at 09:52, Floyd Resler wrote: >>> Now that I'm finally landing some freelance PHP work, I am in need of some >>> sof

[PHP] Invoice Software

2010-06-23 Thread Floyd Resler
Now that I'm finally landing some freelance PHP work, I am in need of some software that I can add clients, enter estimates, keep track of hours, and create invoices with. I'd like it to be Web-based. I could write my own, of course, but why do it if it's already done?! Does anyone know of su

Re: [PHP] is

2010-06-10 Thread Floyd Resler
On Jun 10, 2010, at 8:53 PM, Daevid Vincent wrote: I use them ALL the time. MUCH cleaner IMHO than the alternatives. And *IF* someday it is ever depricated, it's trival to: s/ -Original Message- From: Ahmed Mohsen [mailto:mre...@gmail.com] Sent: Thursday, June 10, 2010 3:35 P

[PHP] Another RegEx Question

2010-06-07 Thread Floyd Resler
I need to test for the existence of at least one punctuation (@#$%') character in a string. What would my regular expression be? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] authentication issue...

2010-05-29 Thread Floyd Resler
On May 28, 2010, at 9:43 PM, Jason Pruim wrote: Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the moment Take this authentication function: $lo

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Floyd Resler
On May 14, 2010, at 3:18 AM, Jagdeep Singh wrote: > Hi All! > > I am looking for a solution, I want a user to do a single Login only on a PC > . > > E.g. If a User has logged on my website website.com in Internet explorer, > then he cant login on same website in another browser like Firefox etc

  1   2   >