Re: [PHP] PHP connection to external application

2008-06-13 Thread Iv Ray
hce wrote: Let me first describe the requirement more: The C program is a major business server I would not connect applications on low level. I would think of a web services type of interface - http request and xml response (Steven suggested, for example, SOAP - but it does not need to be

Re: [PHP] UK PHP Host/Developer Required

2008-06-13 Thread Iv Ray
2. It's useful if the host company and the client keep the same office hours. If you have a hosting company with 9 to 5 office hours, you are dead, even if it is next door. Iv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class? package?

2008-06-13 Thread Iv Ray
Shelley wrote: I am working on a sns site, and now my practice is grouping classes of a function classes of a function... perhaps classes related to certain functionality? (i. e. subscription) together. When I need it, just load the package: subscription. Right? ;) Hm... I do not know

[PHP] PDF to images or something similar

2008-06-13 Thread Ray Mckoy
Hi!. I need to create a pageflip magazine (you know, a flash magazine). My client ask me to do a little php program that convert a full pdf magazine into a pageflip magazine. My doubt is: It's possible with php to read a full pdf and make an image for each page? Thanks a lot. Ray. -- PHP

Re: [PHP] UK PHP Host/Developer Required

2008-06-13 Thread Iv Ray
Robin Vickery wrote: Out of hours technical support often gets billed at a punitive rate. Which is a bugger if their out of hours is your working day. It seems you haven't tried Rackspace (UK) yet. And while you might get tech support out of hours, accounts and billing usually keep normal

Re: [PHP] PHPMailer not working but Squirell mail works

2008-06-13 Thread Iv Ray
Shiplu wrote: In my web server, I cant send mail by PHPMailer. What does this mean? Do you get an error message, etc.? Iv -- 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

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] Re: Search like php.net's URL thingy

2008-06-18 Thread Iv Ray
Ryan S wrote: Thanks for replying m8, but if you check the rest of the thread you will see this has alraedy been solved and the result is http://ezee.se/ezeeurl.php?do=1 Cheers! Ryan How do you protect this thing from being spammed? I do not know why somebody would spam it, but I have had

Re: [PHP] CAD file decoding

2008-06-18 Thread Iv Ray
Lester Caine wrote: Has anybody seen any software that could be used with PHP to extract the preview pictures from CAD files such as DXF and the like. I'm looking to keep thumbnails of the drawings in much the same was as we generate thumbnails of images. So I can display a list of previews

[PHP] climb up the path

2008-06-18 Thread Iv Ray
hi all, i need a way to get the path to the parent folder of the folder i am in. one dirty way i found is this - require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . .. . DIRECTORY_SEPARATOR . config.php); i can also explode() and reassemble all

Re: [PHP] climb up the path

2008-06-18 Thread Iv Ray
James Dempster wrote: Personally I use. ?php require_once(dirname(dirname(__FILE__)).'/config.php'); I think it's what most people do. A... very interesting, thanks. To get the path only I did this - $path = dirname(__FILE__); $parts= explode(DIRECTORY_SEPARATOR, $path);

Re: [PHP] climb up the path

2008-06-18 Thread Iv Ray
Stut wrote: $path = dirname(dirname(__FILE__)); That will get you the parent directory. -Stut A,... right! - me and my limited thinking... - dirname() gives the parent of a file AND of a directory, right. Thanks, Iv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] climb up the path

2008-06-18 Thread Iv Ray
Jim Lucas wrote: Iv, tell me why you are wanting to do this? If it is the reason I think it is, I can give you a better way to accomplish this. I have the source and a configuration file, which I want outside the source - it is different from server to server. The easiest is to have the

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] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-19 Thread Iv Ray
Dan Joseph wrote: I guess the main problem is people don't realize that there are a LOT of things you can do in the military other than just taking a gun out into the field and firing at the enemy. If you want people to believe that mandatory service is a good thing, they have to do more to get

Re: [PHP] Discussion of method -- config files

2008-06-19 Thread Iv Ray
tedd wrote: Hi gang: More of a question of method rather than of right or wrong -- of the two methods mentioned here, which way would be better and why? Initially I used to access global variables using the global keyword - function foo() { global $bar; } However if the function code

Re: [PHP] climb up the path

2008-06-20 Thread Iv Ray
Jim Lucas wrote: Iv Ray wrote: Jim Lucas wrote: So, saying that it is outside the source does not tell me if it is outside the document root. A, right. It is outside the document root. Use your include_path php_ini setting A, right... Didn't think of it. Actually, I do not like

Re: [PHP] climb up the path

2008-06-20 Thread Iv Ray
Richard Heyes wrote: i need a way to get the path to the parent folder of the folder i am in. one dirty way i found is this - require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . .. . DIRECTORY_SEPARATOR . config.php); i can also explode() and

Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-20 Thread Iv Ray
Per Jessen wrote: Call me .. uh no, I'm getting sick ... you guys are so completely and utterly off-topic - please take it off-line. It was obviously off-topic from the beginning,... however it felt somehow OK... - I mean, it gave the list a personal touch and every successful organization

Re: [PHP] http response 200

2008-06-20 Thread Iv Ray
joaquinbordado wrote: 'm a total newbie..i just want to know how can i display an http response 200 Don't have time to customize it for you, but that's how it can be done- header(HTTP/1.0 404 Not Found); /* * * I copied the DOCTYPE from what Apache 1.3.34 returns. * */ echo !DOCTYPE HTML

Re: [PHP] http response 200

2008-06-20 Thread Iv Ray
ryan gacusana wrote: here is my code when accessing this url http://localhost/podcast/podcast.php?mobile=0823172message=2343443=%3Eryan This runs on your computer, I can't access it. else echo Message has been sent successfully.; // in this part i want to respond with a status of 200,sorry

Re: [PHP] download file from an ajax request

2008-06-20 Thread Iv Ray
pere roca wrote: hi everybody! Hi! is there some way to allow downloading a PHP generated file from an ajax request? No idea, but would love to hear if/how you solved it. Iv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF inline viewer

2008-06-20 Thread Iv Ray
Mário Gamito wrote: Hi, Does someone knows of a PHP software that is an inline PDF reader ? You can view the idea here: http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical-Science-practical-1 Any help would be appreciated. Warm Regards, Mário Gamito What will happen if you

Re: [PHP] download file from an ajax request

2008-06-20 Thread Iv Ray
Eric Butera wrote: The only thing I can think of is using JS to create some sort of IFRAME, meta redirect, window.location, or a popup window, something that will force the page to hit your download script directly. I've never attempted it myself so I'm not sure what sort of issues IE would

Re: [PHP] Re: Discussion of method -- config files

2008-06-20 Thread Iv Ray
Al wrote: I freely use defined constants for all fixed variables in my config file. It insures they cannot be inadvertently reassigned by a function someplace and are available everywhere. That's a good idea, I have been thinking about this. Never thought they have global scope, though - a

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

2006-03-03 Thread Ray Cantwell
Indeed i am looking for a tool to write my code with on a box that has no gui environment, However if a Jihad is going to ensue because of it, i shall withdraw my question, head bowed. RTC Kevin Kinsey wrote: John Nichel wrote: Ray Cantwell wrote: Hello again, I was wondering if any

Re: [PHP] Mysql Rows

2006-03-06 Thread Ray Hauge
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 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

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

2006-03-07 Thread Ray Hauge
', 34 ='West Dunbartonshire', 35 = 'West Lothian Council', 8 = 'Comhairle nan Eilean'); After the 30 element you have a space after the '=' like: = instead of = HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099

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

2006-03-27 Thread ray . hauge
or for) then it's going to be slower... no matter if it's compiled beforehand or at runtime :) Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-03-27 Thread Ray Hauge
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
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 (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] int to string

2006-04-05 Thread Ray Hauge
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
0 count($FFELP_Lenders) 1 $numFFELP + $numCONS == $numTotal){ etc. Any suggestions? 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

Re: [PHP] IF or SWITCH

2006-04-05 Thread Ray Hauge
* -- 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-06 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 php-general@lists.php.net Ray Hauge wrote: Hello World! wait, not coding... (sorry, long night) Okay

RE: [PHP] IF or SWITCH

2006-04-06 Thread ray . hauge
that this logic is going to change, and I WILL have to come back to this. Such a pain to completely cover every possibility under the sun for so many permutations... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IF or SWITCH

2006-04-06 Thread Ray Hauge
up deciding to stay with the IF/ELSEIF statements... mostly because I was already done. I did clean up the COUNT()ing though. Always nice when the list helps out :) -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP

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

2006-04-07 Thread Ray Hauge
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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Ray Hauge
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 Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

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't have an issue. -- Ray Hauge Programmer

[PHP] Zend Certification

2006-04-07 Thread Ray Hauge
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 (http

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

2006-04-07 Thread Ray Hauge
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 Services www.americanstudentloan.com 1.800.575.1099 -- PHP General

Re: [PHP] A question about max_execution_time

2006-04-10 Thread Ray Hauge
time of the script itself. Any time spent on activity that happens outside the execution of the script 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

Re: [PHP] A question about max_execution_time

2006-04-10 Thread Ray Hauge
On Monday 10 April 2006 11:48, Eric Butera wrote: Ray, Thank you for your response. I did read that in the manual, I promise. That is why I included the sleep function in my example. Shouldn't the sleep function count as execution time? One thing I didn't metion earlier, for the sake

Re: [PHP] function by reference

2006-04-10 Thread Ray Hauge
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

Re: [PHP] function by reference

2006-04-10 Thread Ray Hauge
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

Re: [PHP] Compacting multiple spaces...

2006-04-14 Thread Ray Hauge
either store it that way, or change it when you output. Then when you go to run the query change all nbsp; instances back to space. HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http

Re: [PHP] Table formation...

2006-04-17 Thread Ray Hauge
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.americanstudentloan.com 1.800.575.1099 -- PHP

[PHP] PDF to Text

2006-04-20 Thread Ray Hauge
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: http

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

Re: [PHP] PDF to Text

2006-04-21 Thread Ray Hauge
. 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 American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

RE: [PHP] re: undefined variable

2006-04-30 Thread ray . hauge
$_REQUEST[$textbox] or $_REQUEST[$textbox]. Variables are not converted within a single-quoted string. HTH, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Imagemagick Displaying Images

2006-05-02 Thread Ray Hauge
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 www.americanstudentloan.com 1.800.575.1099

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'm running into is that I don't

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 .jpg, .png, .gif, etc. to display

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

[PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls

Re: [PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without

Re: [PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without

Re: [PHP] Re: Imagemagick Displaying Images

2006-05-04 Thread Ray Hauge
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 cross-browser compatible sort of way, and really mess with browser caching and page load times and are just

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 cross-browser compatible sort of way, and really mess

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 there to be many more than 30 or so

Re: [PHP] PHP Upgrade Question

2006-05-05 Thread Tom Ray
On 05.03.2006 at 20:34:20, Eric Butera [EMAIL PROTECTED] wrote: Ok so I can't find apxs on the server at all, even though the 4.3.4phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and

RE: [PHP] extract text from pdf

2006-05-11 Thread ray . hauge
first so people can't access different files on the filesystem. HTH, Ray Original Message Subject: [PHP] extract text from pdf From: cajbecu [EMAIL PROTECTED] Date: Thu, May 11, 2006 1:45 am To: 'PHP General (E-mail)' php-general@lists.php.net Hello, Is there any

Re: [PHP] Can a script run twice?

2006-05-23 Thread Ray Hauge
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
. I would suggest that since you keep a record of the file in the database, include the file location in that database record. Then before you delete it, get the file name, delete the file, then delete the record. I think that would save you a bunch of headaches. -- Ray Hauge Programmer

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

2006-06-01 Thread Ray Hauge
On Thursday 01 June 2006 13:15, Rahul S. Johari wrote: Ave, I spent 3 hours trying to find or develop a solution for this problem... And believe it or not, within 3 minutes of sending the problem to the mailing list, I actually generated a solution!! Ray, you’re spot on with what’s actually

Re: [PHP] GD

2006-06-12 Thread Ray Hauge
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.800.575.1099 -- PHP General Mailing List (http

Re: [PHP] For Loop

2006-06-20 Thread Ray Hauge
, 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; $i100; $i++) Within the loop I need to create variables named: $p1name; $p2name; $p3name; etc. The integer portion

[PHP] XUL and PHP - what's your opinion?

2006-06-28 Thread Ray Hauge
if XUL would cause extra programming overhead than regular HTML/JS. -- 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] 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

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:

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

Re: [PHP] Preventing Cross Site Scripting Vulnerbilities

2005-12-07 Thread Ray Hauge
There's been a lot of great articles in the PHP|Architect magazine over the past 3 months or so about this (http://www.phparch.com) You do have to purchase back-issues though. Very good articles though. They cover how to make functions to filter what variables should be sent in, and how to

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Ray Hauge
That would be something along the lines of: preg_match(/^192\.168/,$_SERVER['REMOTE_HOST']); I'm a little rusty on my regex, but that should do it. Dave Carrera wrote: i know about $_SERVER['REMOTE_HOST'] but i think i should of said how do i compare any address starting with 192.168.

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Ray Hauge
Oops... REMOTE_ADDR should have been used. Ray Hauge wrote: That would be something along the lines of: preg_match(/^192\.168/,$_SERVER['REMOTE_HOST']); I'm a little rusty on my regex, but that should do it. Dave Carrera wrote: i know about $_SERVER['REMOTE_HOST'] but i think i should

Re: [PHP] encrypt and dcrypt

2005-12-15 Thread Ray Hauge
I think base64 would work for you. http://us3.php.net/manual/en/function.base64-encode.php http://us3.php.net/manual/en/function.base64-decode.php Ray ganu wrote: Hi , I want a function like md5() by which I can encrypt a code and again when I need from db i can dcrypt also. but in md5

Re: [PHP] Can anyone recommend a hosting company

2005-12-16 Thread Ray Hauge
I use SiteFlip. Their prices are really low, and they offer quite a bit. www.siteflip.com Affiliates have some special discount prices as low as $11.40/yr for 250 MB space, 5GB transfer, 1 domain (you register it), PHP, MySQL, and more (no setup fees). http://affiliates.siteflip.com Jose

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ray Hauge
I'm not sure, but it could have something to do with append mode instead of write mode. All I know about FIFO files and named pipes is that you cannot open them for read and write, only one or the other. The file system could detect append as reading when it's positioning your pointer at the

Re: [PHP] how to calculate with dates?

2005-12-22 Thread Ray Hauge
John Nichel wrote: Marten Lehmann wrote: Hello, I'm used to work with Date::Calc in Perl. How can I calculate with dates in PHP, like adding an hour or a year to a date? Regards Marten http://us3.php.net/mktime You could also use the PEAR Date package. I have used it in a few

RE: [PHP] A curl question

2006-01-02 Thread ray . hauge
getting data from a really slow site, scripts will take a lot longer than expected (10-15 minutes). I would assume that both ways would have the same effect, but efficiency is always king ;) HTH Ray Original Message Subject: [PHP] A curl question From: tedd [EMAIL PROTECTED

RE: [PHP] A curl question

2006-01-03 Thread ray . hauge
I haven't tried it, so I don't know if -d doesn't work with -u, but if that is the case, you could change your URL to this: curl -d what=what http://user:[EMAIL PROTECTED]/myApp.php or try this: curl -u userID:password -d what=what --url http://www.mydomain.com/myApp.php; HTH Ray

[PHP] Curl Question

2006-01-03 Thread Ray Hauge
Hello everyone, I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: Curl Question

2006-01-03 Thread Ray Hauge
Thanks for the info! Manuel Lemos wrote: Hello, on 01/03/2006 06:52 PM Ray Hauge said the following: I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Executing

Re: [PHP] Access Client IP address

2006-01-04 Thread Ray Hauge
$_SERVER['REMOTE_ADDR'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server HTH Nilanjan Dasgupta wrote: Hi, Is there any way to client's IP address inside a php document. I am trying to generate a code that depends on the IP address of the client. thanks a

Re: [PHP] Floating numbers truncating to two digits without rounding

2006-01-09 Thread Ray Hauge
could try number_format() though I haven't looked to see if it rounds up or not. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache2 PHP Downloadin Code

2006-01-11 Thread Ray Hauge
host, do I? Thanks for any help, Ray Hauge -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   >