[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

[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, mysql_select_db(

Re: [PHP] Robert Cummings

2008-09-30 Thread Ray Hauge
s great news, and I think 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

Re: [PHP] Zend Platform

2008-09-09 Thread Ray Hauge
hy it happened. If the error reporting is what you're 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

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

2008-07-08 Thread Ray Hauge
age. By interesting 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://w

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

2008-07-04 Thread Ray Hauge
s not much of a help. -- 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 t

Re: [PHP] Re: Another canvas example

2008-06-24 Thread Ray Hauge
game. It uses Soundmanager2 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
to get up in the middle 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] Another canvas example

2008-06-24 Thread Ray Hauge
allows you to click 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.primateapplicatio

Re: [PHP] Another canvas example

2008-06-21 Thread Ray Hauge
ing JavaScript a lot recently. 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
lly somehow though: http://www.setasign.de/support/manuals/fpdf-tpl/fpdf-tpl/fpdf-tpl-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 --

Re: [PHP] Canvas examples

2008-06-16 Thread Ray Hauge
eues. 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

[PHP] Enterprise

2008-05-20 Thread Ray Hauge
cked at the state of their software. Typically 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
and cannot 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
the file // print it out. Or you can do it straight from MySQL, which is a lot faster: SELECT [fields] INTO OUTFILE '/path/to/file.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM [tables] WHERE [conditions]

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

2008-04-25 Thread Ray Hauge
max-length of the field, and there are also configurations to determine what type of field it is (text, phone, date, textarea, etc.) and security settings based 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 includi

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

2008-04-22 Thread Ray Hauge
nsupportable. I find the best way to do that is to come up 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 hel

Re: [PHP] Evaluating math without eval()

2008-04-12 Thread Ray Hauge
expecting with preg_replace or some similar function. http://hacktux.com/bashmath http://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.c

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

[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] Dates Again

2008-03-31 Thread Ray Hauge
otime($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

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
der("Content-type: application/pdf"); header("Content-disposition: inline; filename=FileName.pdf"); header("Content-length: " . strlen($data)); echo $data; I just realized that the version of FPDI I've been using is a little old. There's a new update out,

Re: [PHP] spider

2008-03-21 Thread Ray Hauge
and Cheers, 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 tags quite easily through the DOM ala: foreach($dom->find('a') as $node) echo $no

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

2008-03-20 Thread Ray Hauge
eredoc. I would suggest not using "{$_POST["param1"]}", like you said. It's just going to make PHP figure out the string, then put the value in that string. If you really wanted to make sure it's a string type then you can do (string)$_POST['param1

Re: [PHP] Closures

2008-03-18 Thread Ray Hauge
s? All 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/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Closures

2008-03-18 Thread Ray Hauge
ctions. The point about it causing 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.primateappli

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

2008-03-15 Thread Ray Hauge
imensional array down to a single dimension. In order to use the data, you'd have to use array_keys() or something similar to use it though. It's 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] Unexcepted $this

2008-03-13 Thread Ray Hauge
assist in locating odd characters 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:/

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 el

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 us

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

2008-03-12 Thread Ray Hauge
pect? It's people like you that turn a lot of people off to Ruby. The community is insane! This was a great read. If nothing else 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] A Quick Reminder....

2008-03-12 Thread Ray Hauge
ou're good. As far as replies, I like bottom posting 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] setcookie

2008-03-12 Thread Ray Hauge
ll setcookie(); If nothing else it'll help with diagnosing this error when you run into it again. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSV speed

2008-03-11 Thread Ray Hauge
#x27;\n' (field1, filed2, field3); I've had to do 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
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'

Re: [PHP] Unexcepted $this

2008-03-10 Thread Ray Hauge
have the side-effect of being marginally faster too. $extension = $this->getFileExtension($file); if ($extension == 'gif' || $extension || 'png' || $extension == 'jpg') { // do something } That might help, but I would think that the way you had it would al

Re: [PHP] SMTP

2008-03-09 Thread Ray Hauge
ue might be that your 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+authentication&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a -- R

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

2008-03-06 Thread Ray Hauge
l for you. Maybe even SCP, since you already have the keys on server A (as long as you don't have a password when 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 N

Re: [PHP] CVS Scripts

2008-03-06 Thread Ray Hauge
d have been cool, but it would 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] CVS Scripts

2008-03-06 Thread Ray Hauge
output if you need $cmd = 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/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Preserving URL after redirect?

2008-03-05 Thread Ray Hauge
't specify absolute paths... I have a few scripts that use the include_path, and they look something like: That way I just have the initial call to set the include path, and I don't have to worry about it anymore. -- Ray Hauge www.primateapplications.com -- PHP General Mailing

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

2008-03-02 Thread Ray Hauge
t expected and hasn't bothered me too much. I've been using the official Zend 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 experi

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

2008-02-29 Thread Ray Hauge
- http://sperling.com http://ancientstones.com http://earthstones.com Aww man, I was getting curious to see how nested this conversation would get. Think of the children! :) 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] 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 "".gettype ($result); Of course that's not all the cod

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Ray Hauge
utputting the numbers, or is that part of the output 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

Re: [PHP] auto-wrap on posts

2008-02-29 Thread Ray Hauge
so if you were using the gmail 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 Haug

Re: [PHP] Sessions

2008-02-28 Thread Ray Hauge
es date so 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 Gener

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

2008-02-28 Thread Ray Hauge
ou can get gvim for Windows) or Kate. 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] echo returnArray()['a']; // workaround

2008-02-28 Thread Ray Hauge
ol. I wasn't sure if it would work with numerically indexed arrays, 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 p

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 anythin

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Ray Hauge
s it Thunderbird/Gmail (I 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] ZCE guidance needed

2008-02-28 Thread Ray Hauge
t that's just me. 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 M

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Ray Hauge
ardest part 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://

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

2008-02-27 Thread Ray Hauge
self a time or two. Check 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

[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

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

2008-02-27 Thread Ray Hauge
37 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 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
x27;re assigning the $row1['tableName'] to $table rather than $_SESSION['table']. Is that intended? $table isn't defined in the top function, so it would most likely return null. Also, since you're only expecting one result, you could do away with the while loop and just run $row1 = mysql_fetch_array($loginResult). It would accomplish the same goal (nitpicking... sorry). Also, why are there two return statements? The second 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] Performance Problem

2008-02-27 Thread Ray Hauge
if you're just messing back, 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] Guidance

2008-02-27 Thread Ray Hauge
Also, don't forget CSS. It comes 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/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-02-27 Thread Ray Hauge
ith him. http://terrychay.com/blog/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] 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

[PHP] Database Abstraction Idea

2008-02-27 Thread Ray Hauge
e->columnName I'm pretty happy with how it's working now, but I'm concerned I might 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 databas

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

2008-02-27 Thread Ray Hauge
rs, Rob. You're right. I just started reading this list again after a 1.5 year break, and I 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

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

2008-02-27 Thread Ray Hauge
e of the design patterns in my program!" Just a few months later 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 mai

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

2008-02-26 Thread Ray Hauge
ed so long 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] How do you send stylized email?

2008-02-26 Thread Ray Hauge
viously that's no longer in effect though. It has also been allowed after 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

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

2007-02-17 Thread Ray Hauge
's the error you 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&#x

Re: [PHP] Amortization calculator

2007-02-05 Thread Ray Hauge
download 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
a base 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] 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

[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] MS Outlook 2003 Options

2006-12-21 Thread Ray Hauge
nd is bottom posting. 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

RE: [PHP] Are PHP5 features worth it?

2006-12-20 Thread Ray Hauge
me issues, but they could 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.a

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-

RE: [PHP] Curl and cookies

2006-12-15 Thread Ray Hauge
could 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, 2

RE: [PHP] Newline Before XML Document

2006-12-12 Thread Ray Hauge
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: Tues

[PHP] Newline Before XML Document

2006-12-12 Thread Ray Hauge
else run 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] Ensuring that variable contains a number

2006-12-06 Thread Ray Hauge
ring. I'd have to test, but anyway you could do something like this: 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 Mes

RE: [PHP] Remote MySQL connection via PHP file

2006-12-01 Thread Ray Hauge
ng it on an NFS share, 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

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

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

2006-12-01 Thread Ray Hauge
associative keys or numeric keys. http://www.php.net/manual/en/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 memo

RE: [PHP] LDAP password question

2006-11-30 Thread Ray Hauge
SSL when using 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 Su

[PHP] LDAP password question

2006-11-29 Thread Ray Hauge
Thanks! -- 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 bee

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 your

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 Z

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

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 thro

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

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 Win

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 som

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 som

Re: [PHP] Running a Java Program

2006-10-26 Thread Ray Hauge
logged into the system. > > 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 check

Re: [PHP] Running a Java Program

2006-10-26 Thread Ray Hauge
intervention when the program stops. Although... you could probably to an exec() and if it was installed as a service you should be able to run "net start ' (or something like that. I haven't kept up on your previous post so I may be completely wrong ;) -- Ray Hauge Applica

Re: [PHP] exec returns no output?

2006-09-30 Thread Ray Hauge
ancing.com/user/1 Do you use generated keys without a password for logging 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 G

Re: [PHP] class usage

2006-09-29 Thread Ray Hauge
; then you're probably headed in the wrong direction, at which 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 L

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

2006-09-25 Thread Ray Hauge
e not found it. > > I like to have html files which I can put on my internal > documentation server. > > Greetings > Michelle Konzack > Systemadministrator > Tamay Dogan Network > Debian GNU/Linux Consultant It's not the best in the world, but it works. http

  1   2   3   >