Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Ray Hauge
chmod 770 foresight does that do anything? If not, try it as the root/admin account. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 On Wednesday 13 September 2006 12:57, Rahul S. Johari wrote: > I think that is

Re: [PHP] Question on explode and join.

2006-09-14 Thread Ray Hauge
s[$i] = "*"; > } > } > > $newcomments = join(" ",$words); > > return $newcomments; > } This website answered a lot of my questions about the same situation. I tested it on my development environment, and it worked just fine. h

Re: [PHP] Question on explode and join.

2006-09-14 Thread Ray Hauge
On Thursday 14 September 2006 09:47, Ray Hauge wrote: > On Wednesday 13 September 2006 11:51, Beauford wrote: > > Hi, > > > > I have a form which I want to check for inappropriate words before it is > > posted. I have used explode to put the string into an array using a

Re: [PHP] Iteration through letter

2006-09-14 Thread Ray Hauge
and Rasmus helped us all understand it. The reason that happens is the next "letter" after Z is AZ, which alphabetically is less than Z. You could change your statement to use $letter < 'AZ'. I think that would work. -- Ray Hauge Programmer/Systems Administrator Ameri

Re: [PHP] Iteration through letter

2006-09-14 Thread Ray Hauge
t; > appreciate any guesses or explanations. > > Read the manual and search the archives, this was beaten to a bloody > pulp several months ago. (Hint: this DOESN'T work like ascii in C). > > Cheers, > Rob. I was typing up my response before yours came in... looks like I m

Re: [PHP] PDF.

2006-09-19 Thread Ray Hauge
on top of it. I use it a lot at work. http://fpdi.setasign.de/index.php -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

[PHP] Long Shot Question

2006-09-19 Thread Ray Hauge
e again, and so on. That differnce in payment is pretty close to the graduation factor. It's probably off due to the rounding. Thanks for placating me when grasping for straws ;) -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan

Re: [PHP] Long Shot Question

2006-09-19 Thread Ray Hauge
m, loan > balance, and initial interest rate. > [/snip] > > It is called amortization ... I should have known that ;) That's what happens when you're looking too closely at a problem. thanks! -- Ray Hauge Programmer/Systems Administrator American Student Loan Service

Re: [PHP] Long Shot Question

2006-09-19 Thread Ray Hauge
tandard repayment type, but this repayment type was a bit different in that the payment changes, and I had to find out the rate of that change. I think what I was looking for was: http://en.wikipedia.org/wiki/Amortization_%28business%29 Thanks for the help -- Ray Hauge Programme

Re: [PHP] Long Shot Question

2006-09-19 Thread Ray Hauge
On Tuesday 19 September 2006 10:34, Ray Hauge wrote: > http://en.wikipedia.org/wiki/Amortization_%28business%29 Actually, I"m not so sure that's what I was looking for. These loans are student loans, which differ slightly from mortgage loans. Usually the market determines the

Re: [PHP] Long Shot Question

2006-09-19 Thread Ray Hauge
On Tuesday 19 September 2006 10:38, Ray Hauge wrote: > On Tuesday 19 September 2006 10:34, Ray Hauge wrote: > > http://en.wikipedia.org/wiki/Amortization_%28business%29 > > Actually, I"m not so sure that's what I was looking for. These loans are > student loans

Re: [PHP] +AFs-OT+AF0- Working with version control

2006-09-22 Thread Ray Hauge
the command line. http://www.alwins-world.de/programs/kdesvn/ If you use SVN+SSH, and you run kdesvn from the command line, then it will ask you for your password on the command line. Just a little hint. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstude

Re: [PHP] Object to array conversion oddity

2006-09-23 Thread Ray Hauge
would guess that it does this to make sure you know what you're doing and using the private variable like that. I'm just guessing at that point though. Try a test with multiple public and multiple private variables. If the format of the array keys stays the same, then you should have your answer. HTH -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] Object to array conversion oddity

2006-09-23 Thread Ray Hauge
On Saturday 23 September 2006 10:04, Marcus Bointon wrote: > On 23 Sep 2006, at 15:51, Ray Hauge wrote: > > To me it looks like they append the name of the class to any private > > variables. I would guess that it does this to make sure you know > > what you're >

Re: [PHP] Object to array conversion oddity

2006-09-23 Thread Ray Hauge
stripping off the class name from the private variables and stripping off the * from the protected ones, to give you what you expected. Not exactly what you're looking for, but it would probably help to keep the changes to your existing code down while you're waiting for a patch/do

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Ray Hauge
n before submitting the bug... from my understanding. I don't want to put words in Marcus' mouth -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubs

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

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

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

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

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

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

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

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

[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

[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] (array)

2006-02-22 Thread Ray Hauge
t; -- > John C. Nichel IV > Programmer/System Admin (ÜberGeek) > Dot Com Holdings of Buffalo > 716.856.9675 > [EMAIL PROTECTED] I was curious about this myself, so I took a look at the "Types" section of the PHP manual, and an array is really a compound type. With that in

Re: [PHP] Mysql Rows

2006-03-06 Thread Ray Hauge
a "deleted" or "removed" column. That way all the IDs are still valid, but you also have a way of knowing what's current and what is not. Just a thought. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com

Re: [PHP] Re: what is wrong with my big array

2006-03-07 Thread Ray Hauge
il', 24 =>'North Ayrshire > Council', 25 =>'North Lanarkshire Council', 26 =>'Orkney Islands Council', > 27 =>'Perth & Kinross Council', 28 => 'Renfrewshire Council',29 =>'Scottish > Borders Council', 30 = >

RE: [PHP] Why Should I Use Zend Optimizer?

2006-03-27 Thread ray . hauge
> > In short, Zend Optimise has *nothing* at all to do with 'making dumb > programmers code better' I'm afraid. > > Cheers, > > Rich I'm not completely sure on this, and if it is true I don't have the links, but I think it does do one thing to "make your code better". That is to use pre-inc

Re: [PHP] Why Should I Use Zend Optimizer?

2006-03-27 Thread Ray Hauge
iling though ;) I find that the Optimizer has value. If you wanted to cache on top of that you could probably speed it up even further with cached responses (APC or I think Zend has one too) -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] Script to sanitize variables

2006-03-28 Thread Ray Hauge
e Request Forgeries and Security Corner: Data Filtering and Security Corner: SQL Injection Also, make sure to check out http://phpsec.org HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (htt

Re: [PHP] int to string

2006-04-05 Thread Ray Hauge
1 would work just yet, but it's not far off" 2 = 'twenty' 3 = 'thirty' and for the Ones place another switch statement 1= "One" 2 = "Two" I think the Ones place would be special depending on if the tens place is a 1 I hope I explained it good enough... working under a deadline at work ;) -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

[PHP] IF or SWITCH

2006-04-05 Thread Ray Hauge
s) > 1 && $enumFFELP + $numFFELP == $numTotal){ $retVal = array(TRUE, 'A'); }elseif($numFFELP > 0 && $numCONS > 0 && count($FFELP_Lenders) > 1 && $numFFELP + $numCONS == $numTotal){ etc. Any suggestions? Thanks, -- Ray Hauge Programmer

Re: [PHP] IF or SWITCH

2006-04-05 Thread Ray Hauge
; Yeah it's vertically sprawling, yeah it looks tedious to type, but damn > is it clear *lol*. Once you get into a habit it becomes second nature. > > Cheers, > Rob. Thanks for the input. I especially like the Wheee part. Maybe I'll add that in there... it's been a long day *lol* -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

RE: [PHP] IF or SWITCH

2006-04-05 Thread ray . hauge
> Original Message > Subject: Re: [PHP] IF or SWITCH > From: Chris <[EMAIL PROTECTED]> > Date: Wed, April 05, 2006 8:32 pm > To: Ray Hauge <[EMAIL PROTECTED]> > Cc: PHP-General > > Ray Hauge wrote: > > Hello World! wait, not codi

RE: [PHP] IF or SWITCH

2006-04-06 Thread ray . hauge
> Original Message > Subject: Re: [PHP] IF or SWITCH > From: "John Wells" <[EMAIL PROTECTED]> > Date: Thu, April 06, 2006 6:08 am > To: php-general@lists.php.net > > > ...Either way, > > internally, switch behaves like if/elseif/else and generally only > > provides an advantage

Re: [PHP] IF or SWITCH

2006-04-06 Thread Ray Hauge
there before. :-) > > tedd > -- > --- >- http://sperling.com I'm pretty sure he's ONLY talking about IF/ELSEIF and not IF in general. That's what I got from the message. Correct me if I'm

Re: [PHP] IF or SWITCH (asinine?)

2006-04-07 Thread Ray Hauge
ick with what works for me. I cleaned up a lot of the totals and counting, so it's MUCH easier to read now :) To imitate Tedd... Thanks to all who replied -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP Gen

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Ray Hauge
t; which can be used in date calculations. The same thing would apply if you wanted a column named "create". I would agree with John on the POST data. Make sure you at least run mysql_real_escape_string(). -- Ray Hauge Programmer/Systems Administrator American Student Loan Servic

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Ray Hauge
On Friday 07 April 2006 12:56, Chrome wrote: > Of course if the field in the DB isn't numeric this would be > '{$_POST['model']}' > > Dan That's what I was thinking. Even if data is a number, I still generally put quotes around it to make sure I don&

[PHP] Zend Certification

2006-04-07 Thread Ray Hauge
have it be "outdated" because it was for PHP4, and not PHP5. Thanks, -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] Zend Certification

2006-04-07 Thread Ray Hauge
On Friday 07 April 2006 15:24, Rory Browne wrote: > having both will give you that long_time_user status. Good point. Thanks :) -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (h

Re: [PHP] IF or SWITCH (asinine?)

2006-04-07 Thread Ray Hauge
ngle value comparison than ELSEIF. I think that by now people will have been able to form their own conclusions as to which style they prefer, and either is probably more readable than putting everyone all on one line :-P -- Ray Hauge Programmer/Systems Administrator American Student Loan

Re: [PHP] A question about max_execution_time

2006-04-10 Thread Ray Hauge
such as system calls using system(), stream operations, database queries, etc. is not included when determining the maximum time that the script has been running." HTH -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] A question about max_execution_time

2006-04-10 Thread Ray Hauge
ugh... interesting situation... At the moment I don't have much else for you :( -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] function by reference

2006-04-10 Thread Ray Hauge
---------- > >--- http://sperling.com > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > Like Music? > http://l-i-e.com/artists.htm I believe you're thinking more of the C++ style of returning by reference. This article should help explain how references work, and how to return references... most specifically check the "Returning References" section. http://www.php.net/manual/en/language.references.php HTH -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] function by reference

2006-04-10 Thread Ray Hauge
n/language.references.php > > HTH > -- > Ray Hauge > Programmer/Systems Administrator > American Student Loan Services > www.americanstudentloan.com > 1.800.575.1099 nevermind... I what I read and what was actually written seem to have been two entirely different things ;)

Re: [PHP] Compacting multiple spaces...

2006-04-14 Thread Ray Hauge
ECT now doesn't > match what is in the database. > > Is there a way to override this behavior? > > Thanks, > Geoff Quelch > > -- > Geoff Quelch > Email: [EMAIL PROTECTED] I would suggest replacing spaces with their HTML equivalent ( ). You could either store it

Re: [PHP] Table formation...

2006-04-17 Thread Ray Hauge
at. Reply to all is definitely easier than taking out the person's email address. Probably a good rule to make sure posts are posted to the list, and not just the person who you're replying to ;) -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americ

[PHP] PDF to Text

2006-04-20 Thread Ray Hauge
nd on the net for something similar that might work. Anyone know of something like that? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PDF to Text

2006-04-20 Thread Ray Hauge
On Thursday 20 April 2006 18:06, Ray Hauge wrote: > Hello List, > > I am trying to find a way for a program to search through the text on a > PDF. My first thought was to use pdftotext, but the PDFs generated by our > commercial scanner/copier/printer machine do not seem to work w

Re: [PHP] PDF to Text

2006-04-21 Thread Ray Hauge
image and puts that on the PDF. I'll have to look into GOCR, or just scrap the idea I had. Luckily I'm still just in the planning stage and we haven't figured out how all the processes are going to work :) Thanks again, -- Ray Hauge Programmer/Systems Administrator America

RE: [PHP] re: undefined variable

2006-04-30 Thread ray . hauge
> Original Message > Subject: [PHP] re: undefined variable > From: "Smart Software" <[EMAIL PROTECTED]> > Date: Sun, April 30, 2006 1:50 pm > To: php-general@lists.php.net > > //get content of textbox > $q = isset($_REQUEST['$textbox']) ? $_REQUEST['$textbox'] : 0; You sho

[PHP] Imagemagick Displaying Images

2006-05-02 Thread Ray Hauge
-' makes it display the contents of the image to stdout. I want to caputre that binary data and somehow display the images inline with the website. Is this possible, or am I living in a dream world ;) Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services ww

Re: [PHP] Imagemagick Displaying Images

2006-05-02 Thread Ray Hauge
On Tuesday 02 May 2006 18:19, Ray Hauge wrote: > I have an application that shows thumnails of PDF files in different > directories. I have so far decided that I can use "convert" from > imagemagick to get a .jpg, .png, .gif, etc. to display as the image. The > problem I&#x

Re: [PHP] Imagemagick Displaying Images

2006-05-02 Thread Ray Hauge
On Tuesday 02 May 2006 18:24, Ray Hauge wrote: > On Tuesday 02 May 2006 18:19, Ray Hauge wrote: > > I have an application that shows thumnails of PDF files in different > > directories. I have so far decided that I can use "convert" from > > imagemagick to get a .j

RE: [PHP] PHP-Jabber

2006-05-03 Thread ray . hauge
I've been using this library for a while. I don't need to do much, so I don't know first hand how well all the features work, but it definitely will get you a list of people online and let you send messages to them. http://cjphp.netflint.net/ HTH, Ray > Original Message > Subj

Re: [PHP] Re: Imagemagick Displaying Images

2006-05-04 Thread Ray Hauge
han 30 or so, and those PDFs will be moved after this application is run anyway, so caching doesn't make sense for my situation, as images will really only be shown once. If it was going to be used more caching would definitely make sense though. Thanks for the input all. -- Ray Hauge

Re: [PHP] Re: Imagemagick Displaying Images

2006-05-04 Thread Ray Hauge
On Thursday 04 May 2006 17:52, Ray Hauge wrote: > On Thursday 04 May 2006 17:41, Richard Lynch wrote: > > [NB: Ray said that...] > > > > > It's easy if the image is all that is on the page. > > > > E. HTML and in-line images don't really work in a

Re: [PHP] Re: Imagemagick Displaying Images

2006-05-04 Thread Ray Hauge
On Thursday 04 May 2006 17:52, Ray Hauge wrote: > [SNIP] > I could use a cache, but I haven't yet. It's for an internal intranet > application, so I'm not worried about page load times too much. With 10 > pdfs it still loads in about a minute, and I don't expect

RE: [PHP] extract text from pdf

2006-05-11 Thread ray . hauge
If this is on a *nix box, I would suggest using the pdf2text command within shell_exec. It should work as long as the PDF isn't a scanned image. Obviously it won't get text off the images, and you'd want to make sure that any input to filenames (if they're dynamic) are verified and scrubbed first

Re: [PHP] Can a script run twice?

2006-05-23 Thread Ray Hauge
e form element with the onClick event. Should work for anchor tags as well. -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] Checkbox & Hidden Field to Delete Row

2006-06-01 Thread Ray Hauge
le, then delete the record. I think that would save you a bunch of headaches. -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] Checkbox & Hidden Field to Delete Row - SOLVED

2006-06-01 Thread Ray Hauge
As you can see, I basically explode the Array on the “#” seperator, and > delete the Row & File. Is working like a charm!! > Tad different, but that will definitely work as well. It's a long shot, but just make sure that filenames don't have a "#" in them. -- Ray

Re: [PHP] GD

2006-06-12 Thread Ray Hauge
u might be able to find a GD module for PHP. That way you don't have to re-compile PHP. If you use an RPM based distro, this would be very easy. Free-BSD you could just compile the port. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1

Re: [PHP] For Loop

2006-06-20 Thread Ray Hauge
quot;p2name"] Then that way you can create the key dynamically: $arr["p".$i."name"] Not pretty, but it works. Thanks, -- Ray Hauge Programmer/Systems Administrator 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/unsub.php

Re: [PHP] For Loop

2006-06-20 Thread Ray Hauge
On Tuesday 20 June 2006 15:28, Adam Zey wrote: > Ray Hauge wrote: > > On Tuesday 20 June 2006 15:14, Albert Padley wrote: > >> I have a regular for loop - for($i=1; $i<100; $i++) > >> > >> Within the loop I need to create variables named: > >> &g

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] 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] 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-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] 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
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] 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] 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] 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] 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] shortest possible check: field is set, integer or 0

2005-11-30 Thread Ray Hauge
Richard Lynch wrote: On Wed, November 30, 2005 5:10 pm, Chris Lott wrote: What is the shortest possible check to ensure that a field coming from a form as a text type input is either a positive integer or 0, but that also accepts/converts 1.0 or 5.00 as input? This might be good enoug

Re: [PHP] PDF Generator

2005-12-02 Thread Ray Hauge
http://www.fpdf.org is a very good resource for PDF generation. I use it all the time. It was faster than writing up my own PDF class. It's fairly well documented as well. There's also http://fpdi.setasign.de/ if you want to put text, images, etc on an existing PDF. Jay Blanchard wrote:

Re: [PHP] Determine object type

2005-12-02 Thread Ray Hauge
That would be get_class( [obj] ); http://us3.php.net/manual/en/function.get-class.php Matt Monaco wrote: Is there a function or method to determine the class an object was defined from? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] references, circular references, oop, and garbage collection in PHP5

2005-12-06 Thread Ray Hauge
I am uncertain on this, but I believe that the $this variable is already just a reference to the class you are calling it from. Then passing the reference by-reference to the addParent() method of the Child class could be what is causing your issue. I'd be curious to see what would happen if

<    1   2   3   >