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

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 ca

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

RE: [PHP] extract text from pdf

2006-05-11 Thread ray . hauge
erified and scrubbed 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

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

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

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 preview

[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. > > > 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); array_pop($parts); $INSTALL_PATH = implode(DIRECTORY_SEPA

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 c

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

Re: [PHP] climb up the path

2008-06-19 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.

Re: [PHP] climb up the path

2008-06-19 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 rea

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 dr

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 ""; echo ""

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=0823172&message=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,sorr

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 ope

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 have

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 g

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] Document generation from XML

2004-02-03 Thread Ray Hunter
from various data sources? Or create an xml file from another xml file? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CVS style project system

2004-02-05 Thread Ray Hunter
rst thing down that long road would be to gather all the requirements of the project and go from there. Start a game plan on what needs to be done when. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
systems at work, if this means easier intergration with php > on unix with novell products like ldap intergration, great :D. I think from > what we know groupwise ldap is not a standard system which will work with > openldap :\ This is a project that allows for PHP integration on Novell

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
at will sync up the windows > login system with the databased one ? Like i could personlise a session by > their windows login ? Not sure about that, i have only got the windows to login by using php ldap functions and active directory. -- Ray -- PHP General Mailing List (http://www.php.

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
?tag=search That should get you started. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
ns for such? [No, the source contents > are not in a database, so I won't be passing SQL code off to a real > searcher.] How are you doing the search if not with a database? What is your logic for implementing the search? I have used lucene (Jakarta-Apache) for doing searchs that is outst

Re: [PHP] Japanese Language

2004-02-05 Thread Ray Hunter
, it turns out that the nihongo are something > like a garbage character. > > any suggestions would highly appreciated thanks > and best regards Is your database set up to handle the lang type? Is excel set up with the lang type as well? -- Ray -- PHP General Mailing List (

Re: [PHP] recursive direcotry listing

2004-02-05 Thread Ray Hunter
will go down recursive and put it all into an array. You can use the exec function and do a recursive ls and see what that does for you if you are on *nix. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
ch keyword highlighting for various document types like html, xml, pdf, and text. With lucene you create indexes from your documents. Then you have a search page that interfaces to your lucene indexing engine. There was an article in PHP Arch mag that talked about this. -- Ray -- PHP

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
ould use the database to handle it for me...mysql offers full-text search and postgresql offers full-text with some modifications. However, if you dont have a database, i would recommend using lucene. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-06 Thread Ray Hunter
search the document in the near future? Lucene has that logic in it. However, not sure if lucene is the way to go. It will work for what you are doing. However, it might be an overkill depending on how many files you are searching on. You might be able to write a regexep using preg_match th

Re: [PHP] Testing Pear install

2004-03-03 Thread Ray Hunter
On Wed, 2004-03-03 at 12:21, DAvid Jackson wrote: > How can I test to see if and what portions of Pear are installed on a > vhosted website? If you have access to the command line pear you can also check with a simple command: $ pear list -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] XML architecture question

2004-03-14 Thread Ray Hunter
racle xml datatypes with great success. Oracle has many great built-in features for xml that are fantastic. There are some php classes that probably have been created for dealing with xml to get you started. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] installing with XSLT

2004-03-18 Thread Ray Hunter
stall it. You might want to look at PHP5 and see if you would like to use libxslt. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Interbase with PHP in Mandrake 9.1 help !

2004-03-18 Thread Ray Hunter
terbase? In your configure like does it make a difference is you do this instead?: ./configure --with-interbase=/opt/interbase -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Ray Hunter
Some of it i understand but > i can't understand the OID part and all the ips there. Can you please help > me Thanks What are you trying to do? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ncurses

2004-04-02 Thread Ray Hunter
d to compile ncurses into PHP. This will allow you to do some cool things with shell scripting in php. Try searching google for some tutorials. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP + XSL-FO

2004-04-02 Thread Ray Hunter
On Fri, 2004-04-02 at 06:57, Juan Torres wrote: > can PHP parser a XML file with a XSL-FO file to generate a PDF file? sure if you set it up properly! /ray -- 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 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

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 m

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

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 M

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 th

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 pro

RE: [PHP] A curl question

2006-01-02 Thread ray . hauge
lt. Sometimes when 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 ques

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:

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

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 l

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

2006-01-09 Thread Ray Hauge
ng. > > Thanks You 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,

[PHP] Apache2 PHP Downloadin Code

2006-01-11 Thread Ray Hauge
the PHP engine on in the HTTPS virtual 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

Re: [PHP] most reliable way to test if using https

2006-01-13 Thread Ray Hauge
if( !preg_match("/HTTPS/", $_SERVER['SERVER_PROTOCOL']) ){ } That's what I have been using. HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Friday 13 January 2006 04:

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-16 Thread Ray Hauge
lidating the $_GET['page'] variable input for security, but that should at least get you going. Also, that assumes that all your pages use the GET query to specify which page they are on. If that's just for the initial page, then you'd have to do some more qualification. HTH

Re: [PHP] Str to Int

2006-01-20 Thread Ray Hauge
://www.php.net/manual/en/function.settype.php HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Friday 20 January 2006 03:53 pm, Ron Eggler (Paykiosks) wrote: > Hi, > > I need to do a type cast from string

[PHP] Testing

2006-01-23 Thread Ray Hauge
Sorry to kind of "spam" the list, but I recently switched email programs and my posts haven't been making it to the list. This is just a test... please ignore it :) Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache is not parsing .php files

2006-01-26 Thread Ray Hauge
> headers and HTML that is coming out from the broken pages. > > -- > Like Music? > http://l-i-e.com/artists.htm I ran into this a while ago. My hosting company did some "updates" and messed up the httpd.conf file. I eventually tracked it down to the php directives being

Re: [PHP] Isolating a php directory on a main server

2006-01-26 Thread Ray Hauge
e is static). You could also put the user/pass authentication in there. -- 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://www.php.net/unsub.php

Re: [PHP] session loss

2006-01-31 Thread Ray Hauge
jects. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Tuesday 31 January 2006 04:12 pm, Richard Correia wrote: > Which php version and platform? > > Thanks > Rich > > On 2/1/06, Dave Goodchild &l

[PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
spreadsheet, but the users will ask questions even if I show them time and time again how to do it. =CONCATENATE(MONTH(D2); "/"; DAY(D2); "/"; YEAR(D2)) Just trying to find an easier solution :) Thanks! -- Ray Hauge Programmer/Systems Administrator American Studen

Re: [PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
On Thursday 02 February 2006 01:38 pm, Ray Hauge wrote: > Hello all, > > I have a script that takes a CSV file in as data and does some updates to > the DB accordingly. Some of those values are dates. When I save the > spreadsheet in Open Office to a CSV file, the dates a

[PHP] PHP4 VS PHP5 Performance

2006-02-06 Thread Ray Hauge
it up with some facts. I don't have the time to set up php4 and php5 on identical machines :( Thanks! -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Locking Up

2006-02-17 Thread Ray Hauge
aused by the session garbage collection (we use the default PHP sessions), and if it is, what would/could be done to better the situation? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

[PHP] Session Locking Up

2006-02-17 Thread Ray Hauge
aused by the session garbage collection (we use the default PHP sessions), and if it is, what would/could be done to better the situation? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

Re: [PHP] newbie problem

2006-02-20 Thread Ray Hauge
hn, > > > My httpd.conf has the following: > > > # If php is turned on, we repsect .php and .phps files. > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > Robert Is the file in one of your home folders, or in a folder th

[PHP] Parse Error

2006-02-21 Thread Ray Cantwell
am really confused because i cannot see any obvious errors. any help would be appreciated. Ray.

Re: [PHP] Parse Error

2006-02-21 Thread Ray Hauge
On Tuesday 21 February 2006 14:27, Ray Cantwell wrote: > Hi all, > I am a noob and super confused right now. I have some really simple code > and i am getting an error that reads: > *Parse error*: syntax error, unexpected T_VARIABLE in > */var/www/mysql_up.php* on line >

[PHP] PHP / mcrypt compile

2003-07-19 Thread Tom Ray [Lists]
Ok, I've never done this before so I want to double check before I do it. I'm running RH 7.3 and PHP was installed as a RPM. Now I've just installed libmcrypt. My question is when I go to recompile PHP can I just run the PHP configure file as "configure --with-mcrypt[=DIR] --disable-posix-threa

[PHP] is register globals off ready for prime time

2003-04-04 Thread Ray Todd Stevens
. -- Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens Services Suite 21 3754 Old State Rd 37 N Bedford, IN 47421 (812) 279-9394 [EMAIL PROTECTED

Re: [PHP] Automatic Headers and Footers

2003-06-06 Thread Tom Ray [Lists]
I would have to say yes it can be done. The way *I* would do it is like this: First, I would drop a .htaccess file that allows the HTML files to run through the PHP parser. Like this AddType application/x-httpd-php .php .html The in all of the HTML docs it would look like this: -HTML- -Head- -

[PHP] Cookies and Expirations

2003-06-04 Thread Tom Ray [Lists]
Simple question: How do I check the expiration of a cookie that has been set? I can't seem to find it on php.net, if it is there..please provide the proper link for me and I will read up on it. Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] mcrypt installation

2003-06-04 Thread Tom Ray [Lists]
I'm just a little curious, I've never really don't this before, but is installing mcrypt usually a very hard thing to do, or will it be pretty simple for a dolt like me? :) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
I'm having a bit of a formatting issue, and I was wondering if someone might have an idea on how to solve it. Basically what I have right now is a script that opens and reads the content of an image directory, each time the script is accessed it writes the contents out to a text file for me. I

Re: [PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
with the proper line breaks: $dat="$_GET[gallery].dat"; $file=fopen($dat, 'r'); $contents = fread ($file, filesize ($dat)); fclose($file); $img=explode("|",$contents); print ""; foreach($img as $image) { if($image) print ""; } print

Re: [PHP] reverse DNS lookup with PHP

2003-06-14 Thread Tom Ray [Lists]
$_SERVER[REMOTE_HOST]; This will do a reverse lookup on their IP. Manual Link: http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server Hope it helps Tim Thorburn wrote: Hi, I'm setting up a simple tracking program for a website I'm working on. Currently it records a vis

Re: [PHP] php editor?

2003-06-14 Thread Tom Ray [Lists]
Why not just use PICO? Kevin Ison wrote: now theres a sadistic way to code! I used to use vi... to be honest I like it. but on a windows platform crimson editor works well. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Because some of us, work directly on the se

[PHP] Logging out with authentication

2002-07-28 Thread Ray Todd Stevens
quit all browser sessions. Anyone doing this? Care to share code that makes it work? -- Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens

<    3   4   5   6   7   8   9   >