[PHP] Re: Remote MySQL Connecton Problems

2009-05-07 Thread Ray Hauge
Nathan Rixham wrote: Ray Hauge wrote: Hello everyone, I've run into a bit of a sticky situation trying to connect to a remote MySQL database. Here's the background: Connecting from the command line on the web server works. Connecting from a different vhost works. There's no information

[PHP] Remote MySQL Connecton Problems

2009-05-06 Thread Ray Hauge
Hello everyone, I've run into a bit of a sticky situation trying to connect to a remote MySQL database. Here's the background: Connecting from the command line on the web server works. Connecting from a different vhost works. There's no information in mysql_error. In fact,

Re: [PHP] Robert Cummings

2008-09-30 Thread Ray Hauge
we should all take a moment and wonder: why the hell aren't you at the hospital with your wife and newborn son, Rob? ;-P Congrats to the Cummings family! Oh wow, congrats Rob! We just had our second (and last after my surgery) 5 months ago. Enjoy the lack of sleep :) -- Ray Hauge

Re: [PHP] Zend Platform

2008-09-09 Thread Ray Hauge
looking for, then the bytecode caching is a nice addition, but like you said there are OSS alternatives. I also completely agree with the Zend Studio comment. I've switched back to Zend Studio 5.5, because the Eclipse version was just so unintuitive... especially for debugging. -- Ray Hauge

Re: [PHP] What font/size do you use for programming?

2008-07-08 Thread Ray Hauge
I really mean crazy, but I suppose it is really old. F I=1:1:10 W VALUE: _I,! ; Writes VALUE: . I each on a new line Sorry for venturing off-topic, but I told you! -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Convert PDF Files to PCL-Files

2008-07-04 Thread Ray Hauge
. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another canvas example

2008-06-24 Thread Ray Hauge
the button. I ran into the same issue with a game I've been making: http://www.primateapplications.com/trackattack/ Since you're working with the Canvas, you can be reasonably sure that the browser would support doing this. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List

Re: [PHP] Another canvas example

2008-06-24 Thread Ray Hauge
of the night to check some production issues and checked my email while waiting. My memory might not be fully functioning :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Another canvas example

2008-06-24 Thread Ray Hauge
to play the music and sounds through Flash. All the code is inline, just to make it easier for people to view the code. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another canvas example

2008-06-24 Thread Ray Hauge
Daniel Brown wrote: On Tue, Jun 24, 2008 at 3:53 AM, Ray Hauge [EMAIL PROTECTED] wrote: http://www.primateapplications.com/trackattack/ Ray, This displays perfectly fine, but does not function beyond looking pretty on Firefox 3 (Linux/KDE). I am, however, probably going to play

Re: [PHP] Another canvas example

2008-06-21 Thread Ray Hauge
. That's been an interesting experience that I'm glad I did. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding a page with FPDF

2008-06-18 Thread Ray Hauge
-gettempaltesize/ It also looks like the useTemplate method might do some legwork for you, but I'd have to test... http://www.setasign.de/support/manuals/fpdf-tpl/fpdf-tpl/fpdf-tpl-usetemplate/ HTH -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Canvas examples

2008-06-16 Thread Ray Hauge
queues. It was an internal app, or else I'd link it :( -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Canvas examples

2008-06-15 Thread Ray Hauge
Richard Heyes wrote: Does anyone have any more examples of the new canvas element they've written? FF only: http://www.phpguru.org/canvas.html This is a pretty interesting use of Canvas as well. Thanks for sharing! http://ejohn.org/blog/processingjs/ -- Ray Hauge

[PHP] Enterprise

2008-05-20 Thread Ray Hauge
healthcare systems are further behind in the technology adoption, but having to deal with workarounds all day long sure gets old. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SCanning text of PDF documents

2008-05-15 Thread Ray Hauge
be read without OCR. I got stumped on that one for a while when I was doing something similar :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] creating an xls file from mysql data

2008-05-12 Thread Ray Hauge
TERMINATED BY ',' OPTIONALLY ENCLOSED BY '' LINES TERMINATED BY '\n' FROM [tables] WHERE [conditions] If you want a header row, then you can use a UNION statement. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Ray Hauge
on the user logged in. This has helped keep my template files very clean, and I still have full control over the form by not including the fields I don't want. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Should This Newbie Learn From Dreamweaver?

2008-04-22 Thread Ray Hauge
with some little program that you code up for fun to help get you through the learning stages. You'll learn more figuring out how to get something to work than just copying and pasting code. That's my 2 cents. Hope that helps. -- Ray Hauge www.primateapplications.com -- PHP General Mailing

Re: [PHP] Evaluating math without eval()

2008-04-12 Thread Ray Hauge
://sysblogd.wordpress.com/2007/08/26/let-bash-do-the-math-doing-calculations-using-that-bash/ I'm not sure if that's any more secure than eval though. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] April Fools Easter Egg

2008-04-01 Thread Ray Hauge
Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Ray Hauge
tedd wrote: At 9:23 AM -0500 4/1/08, Ray Hauge wrote: Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com You got me. Cheers, tedd Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted image instead of the dog

Re: [PHP] Dates Again

2008-03-31 Thread Ray Hauge
($inputTime); $time = strtotime('-1 day', $time); $outputTime = strftime('%Y-%m%d', $time); I'm not sure which is more efficient, but it helps when you're looking for next thursday or other things like that. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] question about linux editor

2008-03-25 Thread Ray Hauge
. I also will typically use SSH + vi, but Zend Studio (not sure about Eclipse) can open an SSH connection and edit files that way. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] google books

2008-03-24 Thread Ray Hauge
-disposition: inline; filename=FileName.pdf); header(Content-length: . strlen($data)); echo $data; /code I just realized that the version of FPDI I've been using is a little old. There's a new update out, so some of the above code might change a little. -- Ray Hauge www.primateapplications.com -- PHP

Re: [PHP] spider

2008-03-21 Thread Ray Hauge
, tedd Have a look at something like this: http://simplehtmldom.sourceforge.net/ I haven't used it, but if it works you should be able to pull up a list of all the a tags quite easily through the DOM ala: foreach($dom-find('a') as $node) echo $node-href . 'br'; -- Ray Hauge

Re: [PHP] why use {} around vraiable?

2008-03-20 Thread Ray Hauge
(string)$_POST['param1']. The short answer is you can do it the way you're doing and everything will work out just fine :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Closures

2008-03-18 Thread Ray Hauge
confusion with people coming from other languages definitely applies though. This article also gives me a second idea for this post. How many people would want closures in PHP? In summary: Would you want closures in PHP, and why? -- Ray Hauge www.primateapplications.com -- PHP General Mailing

Re: [PHP] Closures

2008-03-18 Thread Ray Hauge
I could find was a bunch of bug reports and other stuff that wasn't what I was looking for. I would have thought there'd be a page for it in the manual, but I didn't find one there either. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Objects as array key names??

2008-03-15 Thread Ray Hauge
an interesting idea, but I don't know how practical it would be. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Ray Hauge
Greg Donald wrote: On 3/12/08, Ray Hauge [EMAIL PROTECTED] wrote: You come to a PHP mailing list to proclaim that RoR is better? No dumbass, I have already been here for a long time: This is my last post on this thread. It's obvious nobody is going to convince anyone else of their being

Re: [PHP] Unexcepted $this

2008-03-13 Thread Ray Hauge
if that's the case, though I'd think that your editor would display them as well. Usually an Unexpected means that you missed a parenthesis or curly brace, etc. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] setcookie

2008-03-12 Thread Ray Hauge
already been sent to the client (I ran into an included file having a space after ?) you can use http://us3.php.net/manual/en/function.headers-sent.php before you call setcookie(); If nothing else it'll help with diagnosing this error when you run into it again. -- Ray Hauge

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Ray Hauge
because it keeps the conversation flow more in tact. GMail does a good job regardless of bottom or top posting though. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Ray Hauge
he's funny. http://terrychay.com/blog/article/php-ruby-evil-good.shtml -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Ray Hauge
Ray Hauge wrote: Greg Donald wrote: On 3/12/08, Robert Cummings [EMAIL PROTECTED] wrote: Just because someone got a flashy new toy doesn't mean I want it. I've got better things to do than play with flashy toys for the mere purpose of playing with flashy toys. I like to use tools that get

Re: [PHP] CSV speed

2008-03-11 Thread Ray Hauge
imports of a million or more records from CSV files, and PHP is a lot slower than MySQL at importing them :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unexcepted $this

2008-03-10 Thread Ray Hauge
' || $extension || 'png' || $extension == 'jpg') { // do something } That might help, but I would think that the way you had it would also work. Let us know what happens when you use the variable like I showed above. Thanks, -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http

Re: [PHP] Unexcepted $this

2008-03-10 Thread Ray Hauge
Philip Thompson wrote: On Mar 10, 2008, at 8:32 AM, Ray Hauge wrote: Murat BEŞER wrote: I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem

Re: [PHP] SMTP

2008-03-09 Thread Ray Hauge
SMTP server is MS Exchange, and it requires authentication. If that is the case, then search for php SMTP authentication: http://www.google.com/search?q=php+smtp+authenticationie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a -- Ray Hauge www.primateapplications.com -- PHP

Re: [PHP] CVS Scripts

2008-03-06 Thread Ray Hauge
= escapeshellcmd('/path/to/module/configure'); $output = shell_exec($cmd); echo done!; ? Something like that anyway. That's overly simplified of course, but it should get you a start if you want to write it yourself. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] CVS Scripts

2008-03-06 Thread Ray Hauge
have been complicated. We didn't have the time to work on it. I think Trac is somewhat similar. PS. sorry for the thread hijack :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Ray Hauge
connecting to B or C). rsync can work over SSH as well, and you could create a simple script to run rsync as often as you need. haha, I guess that's not exactly seconding NFS, more seconding not transferring files over HTTP. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List

Re: [PHP] Preserving URL after redirect?

2008-03-05 Thread Ray Hauge
about it anymore. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone jump from Studio 5.5.x - Zend Eclipse?

2008-03-02 Thread Ray Hauge
Eclipse now since the day it came out. Next week I'm going to switch back to regular Zend Studio. It was nicer on the RAM and for the most part Just Worked(TM). That's my experience. I'd be interested to hear other people's experiences. -- Ray Hauge www.primateapplications.com -- PHP

Re: [PHP] auto-wrap on posts

2008-02-29 Thread Ray Hauge
client, you'd see your response. The FAQs say that it'll send your message through IMAP/POP if someone replies to your message, but gmail doesn't do nested threads, so I think it doesn't know all the time when you were replied to. -- Ray Hauge www.primateapplications.com -- PHP General Mailing

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Ray Hauge
Wolf wrote: Ray Hauge [EMAIL PROTECTED] wrote: Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Ray Hauge
from curl? gettype should be returning a string, so I wouldn't think that gettype would be returning the numbers. Are you using the CURLOPT_RETURNTRANSFER option? If so, then $result would have the text of the site on success, and false on error. -- Ray Hauge www.primateapplications.com

Re: [PHP] What design patterns do you usually use?

2008-02-29 Thread Ray Hauge
! :) PS. Happy Friday!!! PPS. I'm hopped up on caffeine so ignore any stupid remarks. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Ray Hauge
for me was just setting a date and stop procrastinating. The test was easier than I was expecting, though there were a few things that I didn't know on there. The tests were my best training though. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Ray Hauge
. There were a lot of odd functions in there. I can't even remember the ones that I didn't even know existed. There were also questions about how to configure PHP, so look at the php.ini options as well. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Ray Hauge
use IMAP forwarding). -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Ray Hauge
Daniel Brown wrote: On Thu, Feb 28, 2008 at 10:25 AM, Ray Hauge [EMAIL PROTECTED] wrote: Since we're talking about post issues I'll include this. I don't seem to receive my own emails. Does the list not send them back to you? I haven't been able to find anything yet. I just like to see

Re: [PHP] echo returnArray()['a']; // workaround

2008-02-28 Thread Ray Hauge
, so I tried: // sillyFunc returns array(0=1, 1=2); ArrayClass::create(sillyFunc())-{0} I just tested it, and that works. If you leave off the curly braces and quotes, then you obviously get a parse error. The curly braces are necessary. -- Ray Hauge www.primateapplications.com -- PHP

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Ray Hauge
. I've tried Quanta as well, but I use Linux for my desktop. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions

2008-02-28 Thread Ray Hauge
that the information will be available tomorrow, next week, etc. You *could* increase the session cookie lifetime, but I wouldn't count on the data being available through a session, especially if they close their browser. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Ray Hauge
the speaker ended up being in charge of maintaining that program, and it was a nightmare. To make a long story short. I generally do what's easiest. It's typically faster to develop and easier to maintain. Unnecessary complexity can start a snowball effect. -- Ray Hauge

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Ray Hauge
still remember some of the great discussions with Richard and others about OOP. Great times :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Database Abstraction Idea

2008-02-27 Thread Ray Hauge
have misses some sort of security issue. I only had a work week to finish the entire project. We only have MySQL databases, so I didn't need to abstract different types of databases or anything. Thanks, -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Database Abstraction Idea

2008-02-27 Thread Ray Hauge
Daniel Brown wrote: Should catch(e) really be catch(Exception $e) ? Something like that. I was paraphrasing, which seems weird, since I was looking at the code for the class description anyway :) Thanks for the info. -- Ray Hauge www.primateapplications.com -- PHP General Mailing

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Ray Hauge
/article/mephisto-ruby.shtml http://terrychay.com/blog/article/is-ruby-the-dog-and-php-the-dogfood.shtml -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Guidance

2008-02-27 Thread Ray Hauge
in really handy. I still use w3cschools to look up the property names I can't remember, but it's got a lot of great resources to point you in the right direction. http://www.w3schools.com/ -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Performance Problem

2008-02-27 Thread Ray Hauge
, but it was at least interesting for me to read the progression of events and learn a little bit myself :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
will never run. Maybe I missed something though. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com [EMAIL PROTECTED] You could return an array with string keys. $array['table'] = 'asdf'; $array['authenticated'] = false; return $array; That's just one option, but it would work. -- Ray Hauge

[PHP] Test

2008-02-27 Thread Ray Hauge
I recently figured out how to use two SMTP accounts in Thunderbird. Hopefully this will help the list to not count me as spam so much (I was using my own host to send as gmail... doesn't work so well). Thanks, -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http

Re: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Ray Hauge
the output of phpinfo(); or C:\php5\php.exe -v (I think that'll work on Windows). -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Ray Hauge
certain wars to beef up the population again. http://en.wikipedia.org/wiki/Polygamy#Christianity I typically don't use wikipedia for sole sources, but everything else I could find was some religious site that was very biased. How's that for off topic? -- Ray Hauge www.primateapplications.com

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Ray Hauge
because of this. I'm just glad there's a lot of sinners out there, or at least people who aren't that crazy :) -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Ray Hauge
are getting? Ray Hauge Primate Applications Beauford wrote: Hi, I previously had some issues with preg_match and many of you tried to help, but the same problem still exists. Here it is again, if anyone can explain to me how to get this to work it would be great - otherwise I'll just remove it as I just

Re: [PHP] Amortization calculator

2007-02-05 Thread Ray Hauge
on it. -- Ray Hauge Primate Applications -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Jabber conection manager

2007-02-04 Thread Ray Hauge
if you wanted. It's GPL. -- Ray Hauge Primate Applications -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MS Outlook 2003 Options

2006-12-21 Thread Ray Hauge
. Is there any way to get Outlook to put my reply at the bottom of the page? Again with the Kmail :-) I've been looking for information on these for the past hour or so, but my searching powers aren't working Damn kryptonite! Thanks! -- Ray Hauge Application Development Lead

[PHP] Test

2006-12-21 Thread Ray Hauge
Hey guys, I just switched email accounts, so I'm testing to make sure that the subscription worked. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Test

2006-12-21 Thread Ray Hauge
Hello everyone, I just switched to one of my personal accounts. Just making sure that the subscription went well. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Are PHP5 features worth it?

2006-12-20 Thread Ray Hauge
PHP 5.2 supports JSON internally now, so you don't have to use XML. There's pros and cons associated with JSON, but that was possible with PHP4 as well. -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message- From: Stut

RE: [PHP] Are PHP5 features worth it?

2006-12-20 Thread Ray Hauge
have been from things most people don't do. I'm pretty sure that people don't install 5.0.x anymore, but 5.1 is a lot better (from what I've heard anyway. I never used 5.0.x) -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message

RE: [PHP] Curl and cookies

2006-12-15 Thread Ray Hauge
then put that information back into the cookie file(s) with file_put_contents() [PHP5] -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message- From: Fernando M. M. [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 8

[PHP] Newline Before XML Document

2006-12-12 Thread Ray Hauge
into this problem? As far as I can tell this document starts on line 1. Thanks, -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com

RE: [PHP] Newline Before XML Document

2006-12-12 Thread Ray Hauge
that there was an extra line after the closing '?' in that file. That was causing the extra invisible line to show up. -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message- From: Ray Hauge Sent: Tuesday, December 12, 2006 9:14 AM To: php

RE: [PHP] Ensuring that variable contains a number

2006-12-06 Thread Ray Hauge
; } ? That should work. There might be a bug in there, but I'll leave that up to people to test it ;) -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message- From: Brad Fuller [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: [PHP] EZ array problem - What's wrong with my brain?

2006-12-01 Thread Ray Hauge
/language.references.php PHP.net can explain how references work better than I can. Basically it creates a symbolic link (to use a *nix term) to the key 1.2. It shouldn't take up too much memory to do that. -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com

RE: [PHP] EZ array problem - What's wrong with my brain?

2006-12-01 Thread Ray Hauge
I forgot to mention that you won't be able to use 0, 1, etc. as PHP will convert those to integers. If you do use them, then they will replace [0] with whatever you put in there, and if you are using the references, it will replace both instances with your new [0] HTH -- Ray Hauge Application

RE: [PHP] Remote MySQL connection via PHP file

2006-12-01 Thread Ray Hauge
, or maybe FTP. Something that requires authentication would be best. -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com -Original Message- From: Scott [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 12:18 PM To: php-general

RE: [PHP] LDAP password question

2006-11-30 Thread Ray Hauge
ldap_bind(). Thanks, -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com From: Alain Roger [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 6:15 AM To: Ray Hauge; PHP General List Subject: Re: [PHP

[PHP] LDAP password question

2006-11-29 Thread Ray Hauge
! -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com

RE: [PHP] Additional query for number of records in table

2006-11-17 Thread Ray Hauge
I've run into this before, and if you use MySQL you can do something like this: SELECT SQL_CALC_FOUND_ROWS * FROM Products LIMIT $From, $To SELECT FOUND_ROWS() http://dev.mysql.com/doc/refman/5.0/en/information-functions.html The second query will give you the number of rows that would have

RE: [PHP] Zend

2006-11-09 Thread Ray Hauge
It sounds more like you installed the Zend Platform with the developer's license that comes with Zend Studio. If you're on linux it creates a symlink and it always backs up your current INI file, but when you install Zend Platform, it adds the sections needed for debugging, etc. at the end of

RE: [PHP] Microsoft Partners With Zend

2006-11-06 Thread Ray Hauge
I'd say to just use the Zend Core for Windows. If you want to use Visual Studio to edit PHP files, I have seen some information about how to do it that doesn't involve any PHP compilers. As Zend and MS work together Zend Core for Windows will only get more and more stable. I'm pretty sure that

RE: [PHP] Microsoft Partners With Zend

2006-11-02 Thread ray . hauge
That test was very basic though. It's easy for the kernel to cache the same response, but it does at least show that it can/does improve performance. I think it would be silly to expect those kinds of numbers for every application. You also have to remember that the stability is based on the

[PHP] Frameworks

2006-11-02 Thread ray . hauge
I know this subject has been covered in the past, but my question is why use them? I'm hoping to not create a religious war... I see that frameworks would probably help you develop some things faster, but most of the time they don't do the things the way I would want them to work. If I did use

RE: [PHP] Microsoft Partners With Zend

2006-11-02 Thread ray . hauge
Original Message Could you expand the term kernel cache to a formal name so I know if that's an MS technology I don't care about, or a general Zend technology that might apply to LAMP, which I'd be interested in reading more about? Yeah, the kernel caching is through

RE: [PHP] Closing a connection to browser without exiting the script

2006-11-02 Thread ray . hauge
Original Message Subject: [PHP] Closing a connection to browser without exiting the script From: David Négrier [EMAIL PROTECTED] Date: Wed, November 01, 2006 2:24 pm To: php-general@lists.php.net Hello there, I'm having a somewhat unusual question here, and I cannot

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread ray . hauge
I don't think there's anything to worry about MS making any changes with PHP. I'm at the Zend conference righ t now, and they've had some talks about working with MS. Mostly they're trying to fix a lot of the segfaults and performance issues that PHP has on theh Win32 platform. You might see

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread ray . hauge
I don't think there's anything to worry about MS making any changes with PHP. I'm at the Zend conference righ t now, and they've had some talks about working with MS. Mostly they're trying to fix a lot of the segfaults and performance issues that PHP has on theh Win32 platform. You might see

Re: [PHP] Running a Java Program

2006-10-26 Thread Ray Hauge
you should be able to run net start appname' (or something like that. I haven't kept up on your previous post so I may be completely wrong ;) -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http

Re: [PHP] Running a Java Program

2006-10-26 Thread Ray Hauge
. Any ideas? Prathap I kind of mentioned it before, but what about making the java program a service? Then you could exec()/shell_exec() net start or net stop as needed. Beyond that I don't have any ideas without checking Google. -- Ray Hauge Application Development Lead American Student

Re: [PHP] exec returns no output?

2006-09-30 Thread Ray Hauge
in? Otherwise exec() is just going to sit there while the scp command waits for a password. -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] class usage

2006-09-29 Thread Ray Hauge
point I step back and look at the big picture again. In short, OOP is something to be used to your advantage, but if overused can just cause unnecessary overhead and confusion (IMO) -- Ray Hauge Application Development Lead American Student Loan Services www.americanstudentloan.com 1.800.575.1099

Re: [PHP] Re: Re: Frustrated trying to get help from your site

2006-09-25 Thread Ray Hauge
Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant It's not the best in the world, but it works. http://xchm.sourceforge.net/index.html But since the documentation is online and always updated that way, I prefer to just use the website. -- Ray Hauge Programmer/Systems Administrator

  1   2   3   >