Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Dan McCullough
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Willie Matthews matthews.wil...@gmail.com -- Thank you, Dan Cell: 484-459-2856 https://www.facebook.com/dpmccullough http://www.linkedin.com/in/danmccullough

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
___ tedd sperling tedd.sperl...@gmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From the desk of Dan Munro

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
/) To unsubscribe, visit: http://www.php.net/unsub.php -- github.com/KingCrunch -- From the desk of Dan Munro

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.**ukhttp://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From the desk of Dan

[PHP] Re: zend framework getIdentity

2013-07-19 Thread Dan Joseph
On Wed, Jul 17, 2013 at 5:54 PM, Dan Joseph dmjos...@gmail.com wrote: Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /product/Messenger-dev/Messenger/library/Zend/Session.php(Line:480): Error #2 Class __PHP_Incomplete_Class has no unserializer

[PHP] zend framework getIdentity

2013-07-17 Thread Dan Joseph
= Zend_Auth::getInstance()-getIdentity(); Has anyone seen this error before? Its throwing me for a loop -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP] Last Record INSERT

2013-06-26 Thread Dan Munro
tried of it. Back to the books. Thanks. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From the desk of Dan Munro

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
Hey guys, thanks again for the talk and education. I've purchased the book, and started reading thru the links given. Take care! -Dan On Sun, May 19, 2013 at 12:28 PM, Tedd Sperling t...@sperling.com wrote: To all: Thanks to Stuart, I finally got it. The concept of Interface is a bit

[PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Hey Folks, I'm looking to refine my PHP 5 OOP skills. I know the basics, understand patterns, but have clearly missed a few things along the way. Do any of you have some real good PHP 5 OOP tutorials/reads bookmarked you could share? Something other than php.net/oop5. Thanks! -- -Dan Joseph

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Thanks! This looks like a good start. Covers some things I have questions on. I like his approach. Now I just need something advanced to continue on after this. I'd like to learn more about extending, interfaces, abstracts, and why/when they should be used. Appreciate it! -Dan On Thu, May

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Hey Guys, Thanks for all this good information so far. I'll keep you posted on my edumacation! -Dan On Thu, May 16, 2013 at 11:16 PM, Larry Garfield la...@garfieldtech.comwrote: On 05/16/2013 06:45 PM, Tedd Sperling wrote: Thanks to both Bastien and Sebastian: While I understand

Re: [PHP] FW:

2013-05-08 Thread Dan Joseph
Yo, (And, no, PHP doesn't stand for Produced by Horses Ponies.) This is completely devastating -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dan McCullough
Web bots can ignore the robots.txt file, most scrapers would. On Mar 13, 2013 4:59 PM, Jen Rasmussen j...@cetaceasound.com wrote: -Original Message- From: Dale H. Cook [mailto:radiot...@plymouthcolony.net] Sent: Wednesday, March 13, 2013 3:38 PM To: php-general@lists.php.net Subject:

Re: [PHP] Your Amazon.com order confirmation.

2012-06-08 Thread Dan McCullough
to this message.Thanks again for shopping with us.Amazon.com Earth's Biggest SelectionPrefer not to receive HTML mail? Click here -- Thank you, Dan Cell: 484-459-2856 https://www.facebook.com

[PHP] PDF Form Field

2012-05-03 Thread Dan Joseph
. Thanks. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] PDF Form Field

2012-05-03 Thread Dan Joseph
On Thu, May 3, 2012 at 9:13 PM, David OBrien dgobr...@gmail.com wrote: I just found fpdfi using Google. It looks like what you need Wow, you said the key phrase in your last e-mail, 'text on top'. I didn't think of that. fpdi/fpdf does that like a charm, thanks! -- -Dan Joseph http

Re: [PHP] function

2012-05-03 Thread Dan Joseph
functions, they should work fine together, example of 2 working functions together: ?php hellotwo(); function helloone() { echo hi 1; } function hellotwo() { helloone(); } ? This results in hi 1 being echoed to the screen. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Dan Joseph
. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] json_encode confusion

2011-11-10 Thread Dan Schaefer
as an array first, which I was hoping to avoid since the file format coming from the client is still in some flux. Just a thought: Try removing the spaces altogether, not by replacing them with underscores. -- Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] 3.1.9 build of APC win 64

2011-08-01 Thread Dan Baughman
Does anyone know where you can download a 64 bit build of apc 3.1.9? I want to take advantage of some of the stuff they've pushed out since 3.1.8 for windows, but can't find a 64 bit binary to save my life.

Re: [PHP] 3.1.9 build of APC win 64

2011-08-01 Thread Dan Baughman
Thank you. On Mon, Aug 1, 2011 at 9:20 AM, Lester Caine les...@lsces.co.uk wrote: Dan Baughman wrote: Does anyone know where you can download a 64 bit build of apc 3.1.9? I want to take advantage of some of the stuff they've pushed out since 3.1.8 for windows, but can't find a 64 bit

[PHP] PHP runs but apache says its a faulting module every so often

2011-07-30 Thread Dan Baughman
Is there a way to turn on logging such that you can see what module is failing? Thanks in advance, Dan

Re: [PHP] Cwtc

2011-06-14 Thread Dan Joseph
for it? -- -Dan Joseph

Re: [PHP] date problem

2011-04-02 Thread Dan Dan
')).\n; 2011/4/2 Dan Dan dani.mani...@gmail.com: I removed the day (1 before the March), but its still giving the same result, i.e. different days of month with and without the 'first'. Any further help ? print first Tuesday :.date(d-m-Y H:i:s,strtotime('March 2011 Tuesday')).\n; print

Re: [PHP] date problem

2011-04-01 Thread Dan Dan
second: 15-03-2011 00:00:00 third: 22-03-2011 00:00:00 fourth: 29-03-2011 00:00:00 Thanks -dani On Fri, Apr 1, 2011 at 9:37 AM, Daniel Brown danbr...@php.net wrote: On Fri, Apr 1, 2011 at 12:35, Dan Dan dani.mani...@gmail.com wrote: Hi Folks, I am trying to get the day of month

Re: [PHP] PHP session replication

2011-03-17 Thread Dan Joseph
of the frameworks, such as Zend, also support Database Sessions. -- -Dan Joseph

Re: [PHP] Zend Framework - getParam() Question

2011-03-12 Thread Dan Joseph
Howdy, Mid, Net, thanks for the tips! I actually didn't have the proper .htaccess settings that ZF wanted, and I needed to add a router :) Thank you both! -Dan On Sat, Mar 12, 2011 at 12:48 AM, Midhun Girish midhungir...@gmail.comwrote: You can also try routing in zend.. http

[PHP] Zend Framework - getParam() Question

2011-03-11 Thread Dan Joseph
someone tell me how this is done? Thanks... -- -Dan Joseph

Re: [PHP] Custom function

2011-02-16 Thread Dan Schaefer
In my code, I set the optional parameter to NULL and check for triple equals === or !== to see if the variable has been passed with a value. IMO, this is the safest way. function MyFunction($x, $y, $z=NULL) { if ($z !== NULL) { // Do Something } } Dan Schaefer Web Developer/Systems Analyst

[PHP] Under which distribution(s) is PHP developed, compiled, and tested?

2010-12-15 Thread Dan Schaefer
, that show the major and/or minor Linux distributions that support which version of PHP? FTR, I couldn't find an answer to these questions by Googling or in the php-general archives. -- Dan Schaefer Web Developer/Systems Analyst Performance Administration Corp. -- PHP General Mailing List (http

Re: [PHP] My project requires creating office documents on PHP. Any recommendations on what to use?

2010-11-20 Thread Dan
On Nov 20, 2010, at 1:10 AM, chetan ahuja chetanahuj...@gmail.com wrote: My project requires creating office documents on PHP. Any recommendations on what to use? When you say office documents do you mean you have to create them using Microsoft office? Or just need to replicate current

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
again I'd expect it not to anyway, since I believe PHP (as of PHP5) has an internal timezone DB. But I tried it just in case. So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? Thanks much, Dan -- PHP General Mailing List (http://www.php.net

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? give the timezonedb extension a shot http

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
. Obviously these should be entirely separate issues, but somebody out there has it out for the Central time zone. Probably a Yankees fan. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
or use volatile repositories claims, which aren't good in an enterprise case, though I realize using source isn't bad from that standpoint). Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Dan Yost
[tm_wday] = 1 [tm_yday] = 304 [tm_isdst] = 0 ) 11/01/10 18:51:14 + UTC Timezone is America/Chicago, yet date functions completely ignore this and continue to display UTC. Please help me understand where I'm blind here. Thanks, Dan -- PHP General Mailing List (http://www.php.net

Re: [PHP] Upload using FTP commands

2010-08-26 Thread Dan McCullough
Take a look here: http://us.php.net/manual/en/ref.ftp.php You might have some issues with the memory limit in PHP so that might have to be boosted for 20MB files. On Thu, Aug 26, 2010 at 12:24 PM, Matthew Croud m...@obviousdigital.comwrote: Hi, I want to give my client the ability to upload

Re: [PHP] Video lessons

2010-07-23 Thread Dan Joseph
On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanov jovanovj...@gmail.comwrote: Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? I'm not sure exactly what you're meaning there, but check out www.lynda.com -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting

[PHP] Image Replication

2010-07-20 Thread Dan Joseph
cluster. Linux servers. How did you go about it? -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order -- Reseller Plans also available! http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Dynamic menu

2010-07-19 Thread Dan Joseph
://www.php.net/unsub.php Well, your basic logic is: if ( they have a session ) { //output the menu } else { //output the other menu } -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order -- Reseller Plans also

Re: [PHP] Finding a font.

2010-06-09 Thread Dan Joseph
an image, it looked at it, and told me what fonts the letters were using. Thanks Tedd! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

[PHP] PHP app Server Load

2010-06-08 Thread Dan Joseph
the load. I've done initial testing on a Xeon 3220 server, but we're looking at an i7 cpu based server now. Anyone know a good way to estimate load based on actually numbers compared to benchmark results from intel on a faster server? -- -Dan Joseph www.canishosting.com - Unlimited Hosting

Re: [PHP] PHP app Server Load

2010-06-08 Thread Dan Joseph
On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown danbr...@php.net wrote: On Tue, Jun 8, 2010 at 12:12, Dan Joseph dmjos...@gmail.com wrote: Anyone know a good way to estimate load based on actually numbers compared to benchmark results from intel on a faster server? Run a DDoS-style

Re: [PHP] php accelorator

2010-06-02 Thread Dan Joseph
Cool, thanks for the tips, I am going to check them out. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Another NetBeans Question

2010-06-01 Thread Dan Joseph
can't find where to turn it off either, but I did notice when you type something like that, when you type in the content in the , when you type the last , it overwrites the end quote, so you don't end up with two. phped works this way too. Helps me at least. -- -Dan Joseph www.canishosting.com

[PHP] php accelorator

2010-06-01 Thread Dan Joseph
Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http

Re: [PHP] “五-连-贯”股|权-激|励-法

2010-05-06 Thread Dan Joseph
2010/5/6 Ashley Sheridan a...@ashleysheridan.co.uk [/snip] If only I could speak Chinese and was gullible I'd love to take them up on the offer for whatever it is. I wonder if we're missing out on the billion $ prize... -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] simplexml choking on apparently valid XML

2010-05-06 Thread Dan Joseph
back to the office in the AM and I'll let you know what it was if you haven't figured it out by then. But that might get you started in fixing it. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote: 26. if(isset($_GET['ProductID'])) 27. $this-mSelectedProduct = (init)$_GET['ProductID']; You've got (init) instead of (int). Its always those little characters causing trouble! -- -Dan Joseph

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 1:06 PM, David McGlone da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote: 26. if(isset($_GET['ProductID'])) 27. $this-mSelectedProduct

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Dan Joseph
into it :) -- Viktor http://programming-guides.com I am amazed at how long Starcraft has lasted, and how popular it still is. Is the MMORPG version Starcraft 2? Or is that yet another one? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Sun, Apr 25, 2010 at 9:16 AM, tedd t...@sperling.com wrote: My gamer tag is special tedd Hey Tedd, I'm 'jakmo' on Live. I'll have to give you an add next time I jump on. I've been playing Dragon Age and Lost Odyssey. Both are great. -- -Dan Joseph www.canishosting.com - Unlimited

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
Ice Age and Cars but crash a lot and end up shouting at each other. Ice Age was a fine game! I played that one a few years ago. I'd like to see another Diablo styled game come out in the modern setting. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Diablo 3 is out soon... Thanks, Ash http://www.ashleysheridan.co.uk oh cool, I did not realize.. have they set a release date yet? I didn't see one on gamestop.com... -- -Dan Joseph

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
they get Starcraft going they'll get this out. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
don't. So you really just have to adjust to their requirements and needs. You're right tho, they all have their advantages. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
my PhpED license is for the Windows client, so I feel kind of trapped there :) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
a no brainer to use flash. I didn't want to get into Java. I'll have to try it under wine sometime. I didn't even think about that. But then again, my work machine is windows anyway. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off

[PHP] Math Question....

2010-04-22 Thread Dan Joseph
-- divide into equal groups with only 30 items per group max. Can anyone guide me towards an algorithm or formula name to solve this? PHP code or Math stuff is fine. Either way... Thanks... -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
, but if it was a remainder of only 1 or 2, there would be an issue. Which is where I come to looking for a the right method to break it equally. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
, thanks for the code. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling rquadl...@googlemail.com wrote: On 22 April 2010 14:48, Dan Joseph dmjos...@gmail.com wrote: This seems to be working ... ?php function findBestFactors($Value, $GroupSize, array $Factors = null) { $Factors = array

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Dan Joseph
out all the other addresses and leave the list one in there. The list was setup like this years ago on purpose, and they've stated in the past they don't want to change it.. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off

Re: [PHP] Re: Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-21 Thread Dan Joseph
My goodness, are you people still going on about all this? LOL... let it go... it is what it is. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
it worked ok. http://us3.php.net/manual/en/function.pcntl-fork.php -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
, visit: http://www.php.net/unsub.php lol.. I didn't see your email where you said not to ask -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net wrote: Are we gonna have to have a discussion on the use of threading? LOL We just might. Personally, I use it to sow holes in the toe of my socks. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start

Re: [PHP] Date Math

2010-04-20 Thread Dan Joseph
there might be a simple one or two line option. check out: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting

Re: [PHP] Excel Report Formatting

2010-04-20 Thread Dan Joseph
Its good to see we're all playing nice today! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-20 Thread Dan Joseph
my questions if i don't find any answer already on this list. Hi Nick, Welcome to the community! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
back. I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to use it 3 times today before I leave the office. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
that flush themselves now. WTF happened to grown up being equal to taking responsibility for things? I think you've found the answer to the great question of why people don't take responsibility anymore... it all started with the toilet! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
-- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] another useless message.

2010-04-09 Thread Dan Joseph
spam the list over the years. Its a natural reaction. You may want to put that kind of thing in your signature also. Rather than making announcements that bother people, when you participate, your message will go out. Although, don't make it 100 lines long... -- -Dan Joseph

[PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
) -where( away_team_id = ?, $away_team_id ); This translates the where's to home_team_id = 12 AND away_team_id = 15... What I'd like to have is home_team_id = 12 OR away_team_id = 15. Is this possible? Or would I just need to build them all into a single where() manually? -- -Dan Joseph

Re: [PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
On Fri, Apr 9, 2010 at 3:25 PM, Andrew Ballard aball...@gmail.com wrote: Try this: ?php $select = $table-select()-where( home_team_id = ?, $home_team_id ) -orWhere( away_team_id = ?, $away_team_id ); Perfect...thank you! -- -Dan Joseph

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
that to . -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
the else line. else doesn't take a condition after it. it should just be else {. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] contant /

2010-04-08 Thread Dan Joseph
-- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] stat(), NFS shares and local files timeout

2010-04-07 Thread Dan Joseph
set the script to time out? Is it ignoring that too? set_time_limit( seconds ) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] SimpleXMLElement occasionally fails to parse gb2312 or big5 feeds

2010-04-06 Thread Dan Joseph
it comes to complex, or abnormal XML. Abnormal being what you're describing and whatnot. I don't really have a solid answer for you (Just noticed no one responded), but I think you're running into what I was... Its just built to be Simple, not expand its mind. Hope that helps! -- -Dan Joseph

Re: [PHP] blog design issue...

2010-03-20 Thread Dan McCullough
Table is the way to go for all the reasons that Rob mentioned. This is going to be a small blog to start, but I guess I should always be looking at performance, security, maintainability right? Good way to start is start small and build a strong base around a good database, good

[PHP] PHP to answer HEAD requests

2009-12-18 Thread Dan Field
Is it possible to use PHP to answer HEAD http requests? Is it as simple as doing something like: header('blah') exit; I'd expect PHP to produce a full page rather than just a header though. -- Dan Field d...@llgc.org.uk Ffôn/Tel. +44 1970 632 582 Peiriannydd Meddalwedd

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Dan McCullough
To add to what Ashley said about $row[3], remember that when you are returning from the db the counter for fields will start at 0 not 1, so if its the 3rd field that will be $row[2]. You might also want to do switch rather then elseif but thats always a good debate. On Fri, Nov 20, 2009 at 3:16

[PHP] sessions and email

2009-11-12 Thread Dan Shirah
All, I am using sessions for my application to verify a user has logged in: // Verify the user is logged in. if (!isset($_SESSION['basic_is_logged_in']) || $_SESSION['basic_is_logged_in'] !== true) { // If not logged in, redirect to the login page. header('Location: login.php');

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Dan McCullough
Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett

Re: [PHP] Web Service Server in PHP

2009-10-21 Thread Dan McCullough
I believe NuSoap is still available source: http://sourceforge.net/projects/nusoap/ http://greghuet.blogspot.com/2007/12/soap-php5-and-nusoapphp.html You can also look here at PHPs SOAP functions http://php.net/manual/en/refs.webservice.php On Wed, Oct 21, 2009 at 9:26 PM, Daniel Echalar

[PHP] NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
Morning! Just a quick question. Say I have a column in my database that could contain NULLS, empty spaces, or an actual value. If I do: $my_query = SELECT my_column FROM my_database WHERE 1 = 1; $my_result = ifx_query($my_query, $connect_id); while($row = ifx_fetch_row($my_result)) {

Re: [PHP] Re: NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
using empty() is ´the right way to check a var for NULL or however, it also depends what MySQL has got as setuo definition for empty fields. on textfields u can define an epmty string as default. So say these are the first three results of my query: some text //The column actually has

Re: [PHP] Date +30 comparison

2009-09-01 Thread Dan Shirah
is September 1st and the value of $future_date is October 1st because there are 30 days in Spetember. Now you can compare your dates. if ($nexteval $future_date) { echo This date has already passed; } else { *do some processing* } Hope that helps. Dan

[PHP] File Open Prompt?

2009-08-28 Thread Dan Shirah
.); } $orig_file = $topage.\\.$objectid..0D9; //echo $orig_file; $new_file = $topage.\\.$objectid..tif; //echo $new_file; rename($orig_file,$new_file); Any ideas on how to make the browser give the download prompt for $new_file? Thanks, Dan

Re: [PHP] File Open Prompt?

2009-08-28 Thread Dan Shirah
You will need to add some headers to the page to popup the prompt, at least with these. $filename = 'somefile.tif'; $filesize = filesize($filename); header('Content-Type: application/force-download'); header('Content-disposition: attachement; filename=' . $filename);

Re: [PHP] Freeing Memory

2009-07-31 Thread Dan Shirah
How does that work considering that mysql_query() only returns true or false on INSERT? I'd expect the script to fail on $result not being a valid resource. I don't know about mysql as I work with MSSQL Server and Informix, but for me it works like this: $insert = ifx_prepare(INSERT INTO

Re: [PHP] Freeing Memory

2009-07-30 Thread Dan Shirah
that within your foreach loop after you execute your query that inserts the info. Hope that helps. Dan

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Dan Shirah
Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php$sql = SELECT name, address, inDate, inType, notes, critical, cviolations, noncritical FROM restaurants, inspections WHERE restaurants.name '' AND

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Dan Shirah
On Tue, Jul 21, 2009 at 12:41 PM, Miller, Terion tmil...@springfi.gannett.com wrote: Turned off the redirects on the whole script and tried to the the query to echo and these are the errors I got: Notice: Undefined offset: 1 in /var/www/vhosts/

[PHP] dictionary/spell check...

2009-07-16 Thread Dan Joseph
? Yes.. I did google already... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] dictionary/spell check...

2009-07-16 Thread Dan Joseph
On Thu, Jul 16, 2009 at 3:51 PM, Robert Cummings rob...@interjinn.comwrote: Aspell. Can anyone point me in the right direction? Yes.. I did google already... Thanks! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] Alphabetical pagination

2009-07-14 Thread Dan Shirah
; ?')$letter/a ?php } ? Something like that. I haven't tested any of that code just typed it up real quick to give you an idea of one way to possibly do it. Hope that helps. Dan

  1   2   3   4   5   6   7   8   9   10   >