[PHP] Re: zend framework & getIdentity

2013-07-19 Thread Dan Joseph
On Wed, Jul 17, 2013 at 5:54 PM, Dan Joseph 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 ha

[PHP] zend framework & getIdentity

2013-07-17 Thread Dan Joseph
e 493 This seems to be triggered by: $this->_identity = 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] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
ral Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

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

2013-05-16 Thread Dan Joseph
g to an > interface, not to the database. Swap out your data store with one that is > used just for testing. Etc. > > That's what interfaces give you. Loose coupling, and the ability to > divide-and-conquer... and even let someone else solve problems for you. :-) > > --Larry Garfield > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

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

2013-05-16 Thread Dan Joseph
, May 16, 2013 at 11:01 AM, Francisco C Soares wrote: > On 05/16/2013 11:55 AM, Dan Joseph wrote: > > 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

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

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: [PHP] function

2012-05-03 Thread Dan Joseph
inside classes or anything? If they're just functions, they should work fine together, example of 2 working functions together: This results in "hi 1" being echoed to the screen. -- -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 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://www.danjoseph.me

[PHP] PDF Form Field

2012-05-03 Thread Dan Joseph
s not an option. Thanks. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Dan Joseph
ve never had to install a package before or > is that something my hoster does? > If you're on shared hosting, it'd be something your hosting company does. I used fpdf for my last pdf job. Although, I personally do not see a problem with having people just print a nicely formatt

Re: [PHP] Cwtc

2011-06-14 Thread Dan Joseph
ft! Nice try. > > You don't think the mailing list software fell for it? -- -Dan Joseph

Re: [PHP] PHP session replication

2011-03-17 Thread Dan Joseph
attached to a class. Many of the frameworks, such as Zend, also support Database Sessions. -- -Dan Joseph

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

2011-03-12 Thread Dan Joseph
/ <http://www.website.com/index/user/1>1 >> >> >> <http://www.website.com/index/user/1>and then you can use the same >> getParam >> method to grab the value and carry out further processing. >> >> Hope this helps. >> >> Cheers >&g

[PHP] Zend Framework - getParam() Question

2011-03-11 Thread Dan Joseph
r the place. I can't find the answer. Can someone tell me how this is done? Thanks... -- -Dan Joseph

Re: [PHP] Video lessons

2010-07-23 Thread Dan Joseph
On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanov wrote: > 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 Hos

[PHP] Image Replication

2010-07-20 Thread Dan Joseph
a load balanced 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
p.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 orde

Re: [PHP] Finding a font.

2010-06-09 Thread Dan Joseph
out... I uploaded 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

Re: [PHP] PHP app & Server Load

2010-06-08 Thread Dan Joseph
On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown wrote: > On Tue, Jun 8, 2010 at 12:12, Dan Joseph 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-

[PHP] PHP app & Server Load

2010-06-08 Thread Dan Joseph
need to support 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.canishostin

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

[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.faceb

Re: [PHP] Another NetBeans Question

2010-06-01 Thread Dan Joseph
other quote. > > > I 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. Hel

Re: [PHP] Looking for PHP/Solr developer

2010-05-25 Thread Dan Joseph
oes anyone have any ideas where I could go to find a PHP developer with > Solr experience? Or is anyone here interested? > > Sorry if this is the wrong place to post this, but I'm not sure what the > appropriate place is. > > Thanks! > Posting here is fine, also try

Re: [PHP] simplexml choking on apparently valid XML

2010-05-06 Thread Dan Joseph
rser. I will have to check my code when I get 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.

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

2010-05-06 Thread Dan Joseph
2010/5/6 Ashley Sheridan > [/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

Re: [PHP] Can't find my error

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

Re: [PHP] Can't find my error

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

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

2010-04-27 Thread Dan Joseph
forward to how much time I'll sink 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 - U

Re: [PHP] Contact form....

2010-04-26 Thread Dan Joseph
Looks like you might have errors turned off. I see: $subject =$_POST"subject"; Which should be: $subject =$_POST["subject"]; $_POST is an array, and that's how you access those elements. check to see if errors are on, if not, you'll see errors in t

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

2010-04-26 Thread Dan Joseph
hey 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] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan wrote: > > > 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...

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

2010-04-26 Thread Dan Joseph
y 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.

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

2010-04-26 Thread Dan Joseph
On Sun, Apr 25, 2010 at 9:16 AM, tedd 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 ww

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

2010-04-23 Thread Dan Joseph
. We were building games with it, which was really 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 - Un

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

2010-04-23 Thread Dan Joseph
r windows, such as Flash development. Plus 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
n'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://ww

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling wrote: > On 22 April 2010 14:48, Dan Joseph wrote: > This seems to be working ... > > function findBestFactors($Value, $GroupSize, array &$Factors = null) >{ >$Factors = array(); >foreach(

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
'm going to try and wake up the algebra side of my brain that hasn't been used in years and see if I can digest all this. For the 2, 3, and 7, that is based solely on the last number being divisible by a prime number? Joao, Jason, 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
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://www.fac

[PHP] Math Question....

2010-04-22 Thread Dan Joseph
1,252,398 -- 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 "

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

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

2010-04-21 Thread Dan Joseph
w.php.net/) > To unsubscribe, 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 h

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

2010-04-21 Thread Dan Joseph
ked 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] 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.fa

Re: [PHP] CD, DVD, and Blu-Ray (Not PHP)

2010-04-21 Thread Dan Joseph
Blu-Ray can hold more than DVD and DVD holds more than CD, isn't that right? > > Speaking purely data, yessir. That's your difference. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial

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

2010-04-21 Thread Dan Joseph
Cracks me up every time. When you hit reply all, just take 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 Hosti

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/can

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

2010-04-20 Thread Dan Joseph
; 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.fa

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

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 1:46 PM, Robert Cummings wrote: > > Toilets flush themselves so that we don't need to touch what someone else > touched... very likely after *cough* wiping up. > > They have a cure for having to life a finger and wipe also but I won't cont

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

2010-04-13 Thread Dan Joseph
e toilets 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 Josep

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 wrote > 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 start @

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

2010-04-13 Thread Dan Joseph
come 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:/

Re: [PHP] Determining Top # from MySQL

2010-04-10 Thread Dan Joseph
Eh, he's off topic, but we've talked plenty SQL on here before... SELECT num, COUNT( num ) FROM table GROUP BY num; I don't have a myqsl server to test that, but should do it. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code &qu

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 wrote: > Try this: > > $select = $table->select()->where( "home_team_id = ?", $home_team_id ) > ->orWhere( "away_team_id = ?", > $away_team_id ); > > Perfect..

[PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
eam_id = ?", $home_team_id ) ->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 wou

Re: [PHP] another "useless" message.

2010-04-09 Thread Dan Joseph
he 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 www.canishostin

Re: [PHP] contant /

2010-04-08 Thread Dan Joseph
sumed > 'account_type' > f_put_cookie($auth[user_name],$auth[user_email],$auth[account_type],$auth[co mpany_name]); That's your culprit. You'll need quotes around those. $auth["username"], "user_email", "account_type", "company_name" Othe

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
mation... Its 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] Little php code - error

2010-04-08 Thread Dan Joseph
ee. > > Its your if's, elseif's, else's. You have "and", change 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] stat(), NFS shares and local files timeout

2010-04-07 Thread Dan Joseph
. I prefer to go > another way. anyone has a clue ? > What if you simply 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
t misses a lot of things when 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,

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

2009-07-16 Thread Dan Joseph
On Thu, Jul 16, 2009 at 3:51 PM, Robert Cummings wrote: > 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.

[PHP] dictionary/spell check...

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

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
gt; can then be queued for consumption by an AJAX script. > > Ah ok, I've never used either of those before. I am going to give that a shot and will let you know how it goes. I should be able to bolt that on quickly. Thanks! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
On Fri, May 1, 2009 at 10:40 AM, Robert Cummings wrote: > On Fri, 2009-05-01 at 10:34 -0400, Dan Joseph wrote: > > > > Ajax unfortunately isn't an option in this particular case. > > Why? Maybe you're thinking about it wrong. > > Maybe, I'm open

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
work at all even up to 144096 on the pad, but no dice. Ajax unfortunately isn't an option in this particular case. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

[PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
only display the information after the php script stops executing. I am outputting this after every echo: echo str_pad( "", 4096 ) . "\n"; flush(); ob_flush(); ob_implicit_flush(); Has anyone else had this issue? Anyone know how to

Re: [PHP] SimpleXML - issue with getting data out of the object returned

2008-12-18 Thread Dan Joseph
On Thu, Dec 18, 2008 at 10:01 PM, German Geek wrote: > $val = (string) $x->Package->PackageID; > or > $val = (int) $x->Package->PackageID; > > Ha... I would have never figured that out... Thank you to you both! That did the trick. -- -Dan Joseph www.canishostin

[PHP] SimpleXML - issue with getting data out of the object returned

2008-12-18 Thread Dan Joseph
DBType] => MSSQL [OSType] => Windows [Enabled] => True ) [Count] => 1 ) When I try and access $x->Package->PackageID I don't get 804, I get: SimpleXMLElement Object ( [0] => 804 ) Could someone tell

Re: [PHP] Quick question regarding $_SESSION and header()

2008-12-11 Thread Dan Joseph
.php.net/unsub.php > > Yep, what "bug" are you running into? Remember you have session_start() on the next page for it to be there. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man

Re: [PHP] Voting methodology

2008-11-26 Thread Dan Joseph
can get them to log in do it, otherwise, log as much information as possible and set a cookie. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Dan Joseph
if you're reading this! :)) > > > -- > Jason Pruim > [EMAIL PROTECTED] > 616.399.2355 > > > > You could both still eat plenty of turkey while working! Also, don't forget the stuffing. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] take me off the list

2008-11-06 Thread Dan Joseph
g sigs back in the late 90s when the whole awe of the internet wore off. I think I'm one of the last few that actually do look at 'em. I stuck my web site in my sig when we opened for business last spring for the same reason. -- -Dan Joseph www.canishosting.com - Plans start @ $1.

Re: [PHP] take me off the list

2008-11-05 Thread Dan Joseph
've been trying to point that out in my signature for 3 years :) I'm glad someone finally realized it! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Mailing lists

2008-10-31 Thread Dan Joseph
bject, who gave that Canadian the right > to say anything about OUR English down here? We drop the 'U', but > they replace it with another 'O' in speech! It's aboot time yoo folks > spoke properly, Cummings! ;-P > > Shouldn't that be "proopley", eh

Re: [PHP] PHP Auth

2008-10-30 Thread Dan Joseph
ould do something as simple as a quick if at the top of each page: if ( !isset( $_SESSION['blah'] ) { header( "Location: login.php" ); } You should read up on session tracking. That's really what you want. Once the session is established, its really just a matter of &qu

Re: [PHP] Re: Question about __destruct()

2008-10-22 Thread Dan Joseph
rvers. > > Terrific! Thanks for the information! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Re: Question about __destruct()

2008-10-22 Thread Dan Joseph
rs run at end of script to be nigh on >> useless. >> > > I use destructors to update dirty objects in memcache. I also use them in > my template class to optionally automagically output the footer without > needing an explicit call on each page. > Never any issues this way?

[PHP] Question about __destruct()

2008-10-21 Thread Dan Joseph
some stuff out of the database, and then the php script ends. Does this also cause the deconstruct to execute? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the

Re: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Dan Joseph
roblems with reading the > file. > Can anyone please help me with the possible command to > execute the script? I tried CURL too, but it does not seem to be > working either. > > <http://get.live.com/toolbar/overview> If you run the file from command line (dos prompt

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Dan Joseph
Framework(s)?* > None > > *Do you Unit Test?* > Sometimes > > *Most Used Internal PHP Class* > Soap & Curl > > *Preferred OS CMS* > I've only ever used Joomla, and it was once... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] help - php script - no interaction

2008-10-16 Thread Dan Joseph
want to write a script to go get all 3 sites, and bring it back into 1 > page (the content of 3 pages concatinated). > > Is this doable in php? any other scripts? Thanks. > Check into curl, http://www.php.net/curl -- that should do what you want. -- -Dan Joseph www.canishosting.c

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

2008-10-06 Thread Dan Joseph
On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > But... Which framework is better? :P > > > > Oh my.. now we're gonna get all those guys popping back up telling us how dumb we are and how awesome their frameworks are again! -- -Dan Joseph

Re: [PHP] Selecting all records between a date range

2008-10-02 Thread Dan Joseph
ur timestamp numbers. I think that should fix that query. Although I'll admitt, I have no way to test that on mysql, but that is how MS SQL works... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light

Re: [PHP] Robert Cummings

2008-09-30 Thread Dan Joseph
On Tue, Sep 30, 2008 at 2:12 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > I'd say that deserves a round of congratulations. Many - most, > > Congratulations! May he grown strong and bring you honor! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] Re: Google Checkout

2008-09-26 Thread Dan Joseph
Pay gateway thru BCS worldwide. Its comparable, and really, with rates, this all depends on how high risk your business model is, and your personal credit score and history. I see this as nothing more than a slightly unethical marketing ploy. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Re: Google Checkout

2008-09-26 Thread Dan Joseph
methods that would appeal to your customers. PayPal or Google Checkout being better is really a relative statement. If you have demands from your customer base to take their payment via one or the other, you should probably just offer them both. Neither have a per month minimum, and there is no o

Re: [PHP] Re: Thank you...

2008-09-20 Thread Dan Joseph
Look... Spam the list, but PLEASE do NOT open up this thread again we all let it rest 3 weeks ago. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest o

Re: [PHP] Passing variables between pages

2008-09-19 Thread Dan Joseph
s different levels of access to see various parts of the system. How does your method of doing things w/o sessions accomidate that? Does it use that information from the origin POST? Also, is this secure? Any loop holes? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Bu

Re: [PHP] SESSIONS vs. MySQL

2008-09-19 Thread Dan Joseph
Wolf. Any others storing sh!tloads in their SESSION > array? =D > > ~Philip > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I'm storing a lot also. I store sessions in the database also, and utilize session_set_save_handler(). Works well, and less overhead. Like you said, you're under 1 second *NOW*. 1 second might actually even be a long time. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Passing variables between pages

2008-09-19 Thread Dan Joseph
n login over to the page that handles clicking in and out. >From what I gather here, this is what I'd do. Main page, login, $_SESSION gets set. Click on check in, page to check in comes up, does a session_start(), and then you check for that $_SESSION variable to make sure its sti

Re: [PHP] ODBC Functions & MS SQL Server 2005

2008-09-18 Thread Dan Joseph
On Thu, Sep 18, 2008 at 5:35 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > You can't upgrade PHP? > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > > Dan Joseph wrote: > > On Thu, Sep 18

Re: [PHP] ODBC Functions & MS SQL Server 2005

2008-09-18 Thread Dan Joseph
Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I looked at PDO, and liked it, but it seems really buggy in the version of php we're running. I had to stop using it. We're running 5.1.2. -- -Dan Joseph www.canishosting.com - Plans

Re: [PHP] ODBC Functions & MS SQL Server 2005

2008-09-18 Thread Dan Joseph
ot;What if we move to a different database server type?". I do have a class for handling all the database functions. Maybe I'll just go that route. If he changed to Oracle or something, I could modify my class easy enough. I'm assuming mssql_num_rows() works fine when calling a stored

[PHP] ODBC Functions & MS SQL Server 2005

2008-09-18 Thread Dan Joseph
eliable? >From what I've read, its something with the ODBC driver, and updating the ODBC driver isn't an option. Anyone else having this problem? Any suggestions? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for

Re: [PHP] PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Dan Joseph
cah Gersten >>>>>> onShore Networks >>>>>> Internal Developer >>>>>> http://www.onshore.com >>>>>> >>>>>> >>>>>> >>>>>> Vinny Gullotta wrote: >>>>>> >>

Re: [PHP] PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Dan Joseph
; >>>> >>>> >>>> Vinny Gullotta wrote: >>>> >>>>> echo $query; >>>>> >>>>> yields >>>>> >>>>> SELECT servername, COUNT(steps) as CountSteps FROM monitoring WHERE >>>>> steps = &

  1   2   3   4   5   >