[PHP] downloading xls files corrupts them

2009-01-12 Thread Chris Ditty
I am using php to download xls files on my server. When I download them, excel is saying they are corrupted. They are not corrupted on the server itself. These are simple xls spreadsheets with no formatting in them. Here is the headers that I am using for the download. This is happening in

[PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Chris Ditty
Can someone tell me what I am missing here? This is working fine on my development machine(5.2.6), but on the production box(4.3.2), it doesn't want to work. I am getting that error on my session_start() function. Is the difference in versions what is causing the problems? I've googled and

Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Chris Ditty
15, 2008, at 7:53 PM, Chris Ditty wrote: Can someone tell me what I am missing here? This is working fine on my development machine(5.2.6), but on the production box(4.3.2), it doesn't want to work. I am getting that error on my session_start() function. Is the difference in versions

[PHP] Multi-array - What am I missing?

2008-07-23 Thread Chris Ditty
Can anyone point me in the right direction? I know I am missing something simple, but I can't place my hands on it. $myCalTime = act_getCalendarDays($config, $myMonth, $myYear); foreach($myCalTime as $calTime = $calArrayTime){ $calArray[] = $calArrayTime['day'].=array('NULL','linked-day

Re: [PHP] Multi-array - What am I missing?

2008-07-23 Thread Chris Ditty
','linked-day '.strtolower($calArrayTime['reason']),$calArrayTime['day'])); Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Chris Ditty wrote: Can anyone point me in the right direction? I know I am missing something simple, but I can't place my hands

Re: [PHP] Multi-array - What am I missing?

2008-07-23 Thread Chris Ditty
, 2008-07-23 at 13:52 -0500, Chris Ditty wrote: Can anyone point me in the right direction? I know I am missing something simple, but I can't place my hands on it. $myCalTime = act_getCalendarDays($config, $myMonth, $myYear); foreach($myCalTime as $calTime = $calArrayTime){ $calArray

Re: [PHP] Job Opportunity

2007-03-21 Thread Chris Ditty
Hate to be a PITA, but going back 2 years, I only see Efrain posting 3 times. Each time he created a new thread. On 3/21/07, Jim Lucas [EMAIL PROTECTED] wrote: you have done this a few different times over the past few weeks, it is really annoying!!! for that matter, it is annoying for

Re: [PHP] How to verify Folder Existence?

2007-03-09 Thread Chris Ditty
I am a little rusty with fopen, but you should be able to do something like if(@fopen($dirName) != true){ note: I am currently in Coldfusion mode, so that line may/may not work as is. On 3/9/07, Helder Lopes [EMAIL PROTECTED] wrote: Hi people, how to verify if folder exists in server??

[PHP] Error handling

2007-03-01 Thread Chris Ditty
I am trying to add some error handling to my code. Instead of reinventing the wheel, I searched and found the code below. For the most part, it seems to work. When I have an error, it doesn't get shown. However, I don't get any output. I tracked it down to the $errno. It is outputting a

[PHP] USPS DPV AMS Postal w/ PHP

2007-02-27 Thread Chris Ditty
Has anyone ever used php to access the DPV and AMS Postal cds from the USPS? If so, can you share any basic examples on how to get started with it? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] USPS DPV AMS Postal w/ PHP

2007-02-27 Thread Chris Ditty
we aren't competitors ;) On Feb 27, 2007, at 10:17 AM, Chris Ditty wrote: Has anyone ever used php to access the DPV and AMS Postal cds from the USPS? If so, can you share any basic examples on how to get started with it? thanks -- PHP General Mailing List (http

Re: [PHP] USPS DPV AMS Postal w/ PHP

2007-02-27 Thread Chris Ditty
Thanks Chris. I was thinking that Randy did something like that. I was planning on calling him for the project name. On 2/27/07, Chris Shiflett [EMAIL PROTECTED] wrote: Chris Ditty wrote: Has anyone ever used php to access the DPV and AMS Postal cds from the USPS? If so, can you share any

Re: [PHP] New Menu Bar - Can people test it for me?

2007-02-21 Thread Chris Ditty
Works fine on FF/XP Looks nice btw. (sorry for the dup post Nemeth) On 2/21/07, Németh Zoltán [EMAIL PROTECTED] wrote: works on linux/firefox and xp/ie7 greets Zoltán Németh 2007. 02. 21, szerda keltezéssel 12.12-kor Scott Gunn ezt írta: All, http://www.thebigspider.co.uk/test/menu.html

[PHP] Gmail / RSS accessing from script

2006-11-08 Thread Chris Ditty
I am trying to write a small module to display my gmail email on my custom startup page. I am using this url with the correct userid and password - https://USERNAME:[EMAIL PROTECTED]/gmail/feed/atom . When I put it in the web browser, it acts like it is supposed to. But when I try and script

Re: [PHP] Reverse of date(w)

2006-09-18 Thread Chris Ditty
Another way to do it would be to store the unix epoch and then just get the weekday name from that? More overhead than Travis's idea, but just as good and you could possibly use the date/time later on. On 9/18/06, Travis Doherty [EMAIL PROTECTED] wrote: Kevin Murphy wrote: Not really. If it

[PHP] str_replace problem

2004-10-20 Thread Chris Ditty
Hi all. I'm trying to do a little code snippets page for a site I am working on. I figured it would be simple enough. I would do a str_replace and replace the various html codes with the ascii eqivulant. Unfortunately, it is not working as expected. Can anyone help with this? This is what I

Re: [PHP] str_replace problem

2004-10-20 Thread Chris Ditty
Thanks all for the tips. Was able to get it working like I wanted. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Security Workbook

2004-08-19 Thread Chris Ditty
Thanks for the article Chris. Printing it out now and will read it later. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php