Re: [PHP] checking for and enforcing https

2008-02-26 Thread Rick Pasotto
intelligence, and makes the difference between a man of sense and a fool. -- Dale Carnegie Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pear

2008-03-01 Thread Rick Pasotto
legislators ... as they rarely make any moral distinctions, they are as likely to serve the devil, without intending it, as God. -- Henry David Thoreau Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Why does the host make a difference?

2008-03-12 Thread Rick Pasotto
tragedies in life. One is to lose your heart's desire. The other is to gain it. -- George Bernard Shaw Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] triming utf8 (?) a string

2007-07-08 Thread Rick Pasotto
of employment for economists. -- John Kenneth Galbraith Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] triming utf8 (?) a string

2007-07-09 Thread Rick Pasotto
On Sun, Jul 08, 2007 at 06:30:54PM -0700, Jim Lucas wrote: Rick Pasotto wrote: I'm using the PEAR Crypt_Blowfish module. When I decrypt the encrypted string the result is the original plus some '\ufffd' bytes. How can I get rid of those extra bytes? I've tried both trim($x,'\ufffd') and trim

Re: [PHP] triming utf8 (?) a string

2007-07-09 Thread Rick Pasotto
On Mon, Jul 09, 2007 at 07:45:10AM -0700, Jim Lucas wrote: Rick Pasotto wrote: On Sun, Jul 08, 2007 at 06:30:54PM -0700, Jim Lucas wrote: Rick Pasotto wrote: I'm using the PEAR Crypt_Blowfish module. When I decrypt the encrypted string the result is the original plus some '\ufffd' bytes. How

[PHP] preg_replace() help

2007-07-13 Thread Rick Pasotto
. What am I doing wrong? -- Everyone is as God has made him, and oftentimes a great deal worse. -- Miguel De Cervantes Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using PHP command line as a browser

2007-07-18 Thread Rick Lim
Hi there, Are there any good howtos for using php-cli as a progmatic browser. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] string as file

2007-08-09 Thread Rick Pasotto
, and every other kind of liberty, in the phrase that is common in the sporting world, A free field and no favor. -- Woodrow Wilson, U.S. President, 1915 Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] string as file

2007-08-10 Thread Rick Pasotto
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote: Rick Pasotto wrote: On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote: On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote: Does php have a facility similar to python's stringIO? What I'm wanting to do is similar to a mail merge

Re: [PHP] string as file

2007-08-10 Thread Rick Pasotto
On Thu, Aug 09, 2007 at 02:39:51PM -0700, Jim Lucas wrote: Rick Pasotto wrote: Does php have a facility similar to python's stringIO? What I'm wanting to do is similar to a mail merge. IOW, I know I can create an include file like: $out = EOT This is an example of $var1 and $var2. EOT

Re: [PHP] string as file

2007-08-10 Thread Rick Pasotto
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote: On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote: Does php have a facility similar to python's stringIO? What I'm wanting to do is similar to a mail merge. IOW, I know I can create an include file like: $out = EOT

[PHP] phpinfo problem

2007-08-12 Thread Rick Knight
. Rick Knight -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpinfo problem

2007-08-13 Thread Rick Knight
Thanks Chris, That was the problem. Is this new php5? I've used 3 prior php4 version and didn't have this problem. Thanks, Rick Chris wrote: You probably just have short_open_tags set to Off in your php.ini file. If so, either turn it On, or change the file to be: ?php phpinfo(); ? Chris

Re: [PHP] phpinfo problem

2007-08-13 Thread Rick Knight
and testing when do a planned upgrade, I just didn't have the time this time. Thanks, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finding next recored in a array

2007-09-16 Thread Rick Pasotto
() with the optional search_value parameter instead. -- Now what liberty can there be where property is taken without consent?? -- Samuel Adams Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Finding next recored in a array

2007-09-16 Thread Rick Pasotto
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote: Richard Kurth wrote: Rick Pasotto wrote: On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote: Richard Kurth wrote: $Campaign_array| = array('0','1','3','5','8','15','25');| I know that I can find the next recored

[PHP] Re: undefined function bindtextdomain()

2006-09-13 Thread Rick Olson
It sounds like gettext isn't actually loading. Get the output of phpinfo(), and search for the 'gettext' extension to make sure it's there. If not, you either didn't ./configure correctly, or you aren't telling the php.ini file to load the gettext extension. hth Rick Zbigniew Szalbot

[PHP] Stored procs and transactions using Linux/PHP and Windows/MSSQL

2006-09-27 Thread Rick Emery
to accomplish it. Thanks in advance, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci -- PHP

Re: [PHP] Stored procs and transactions using Linux/PHP and Windows/MSSQL

2006-09-27 Thread Rick Emery
Quoting Richard Lynch [EMAIL PROTECTED]: On Wed, September 27, 2006 7:40 am, Rick Emery wrote: I'm trying to do something like this in the PHP application: begin transaction execute a stored procedure, receiving an identity back if certain conditions are met execute another stored

Re: [PHP] Stored procs and transactions using Linux/PHP and Windows/MSSQL

2006-10-11 Thread Rick Emery
Quoting Chris [EMAIL PROTECTED]: Rick Emery wrote: Is anyone using PHP5 on Linux to connect to MS SQL Server 2000 on Windows and execute stored procedures with output parameters within a transaction? If so, how? I'm trying to do something like this in the PHP application: begin

[PHP] help confirming a PDO_SQLITE bug

2006-10-30 Thread Rick Fletcher
? Thanks, Rick Fletcher Reproduce code: --- ?php $dbh = new PDO( 'sqlite::memory:' ); $dbh-query( 'CREATE TABLE things ( name VARCHAR NOT NULL )'); $dbh-query( 'INSERT INTO things VALUES ( thing one )'); foreach( $dbh-query( 'SELECT * FROM things' ) as $row ) { print_r( $row

Re: [PHP] help confirming a PDO_SQLITE bug

2006-10-30 Thread Rick Fletcher
Thanks to anyone who entertained my previous email, but I've solved my own problem. It looks like the bug is in PDO_SQLITE 1.0.1. I've just compiled from that extension from CVS, changing nothing else, and the bug is gone. --rick Rick Fletcher wrote: I've just upgraded to Fedora Core 6

Re: [PHP] newbie question about one php script passing control to another

2008-03-20 Thread Rick Pasotto
testimony against the giant falsehoods which bewitch and enslave the land. -- Nathaniel Peabody Rogers Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] where to put a function

2008-04-14 Thread Rick Pasotto
of functions that are not used on a given page load? -- If some peoples pretend that history or geography gives them the right to subjugate other races, nations, or peoples, there can be no peace. -- Ludwig von Mises Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP

[PHP] when mysql is down

2008-10-17 Thread Rick Pasotto
the best way to output nothing if the mysql connection fails? I realize these are probably elementary questions but any advice would be appreciated. -- ... the state ... is not armed with superior honesty, but with superior physical strength. -- Henry David Thoreau Rick Pasotto[EMAIL

Re: [PHP] Re: Form Loop

2008-10-18 Thread Rick Pasotto
is no more a virtue than malnutrition. -- Alexander Comfort Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A MySQL Question

2008-12-07 Thread Rick Pasotto
' was the language used by Ingres for their database and it was different from S-Q-L. -- You are the only one who can use your ability. It is an awesome responsibility. -- Zig Zigler Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net

Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Rick Pasotto
On Mon, Dec 08, 2008 at 09:01:56AM -0800, Ryan S wrote: Any advise is also most welcome. 'Advise' is a verb. 'Advice' is a noun. No charge. -- I didn't understand this at first, but YOUR CONVINCING USE OF CAPITAL LETTERS HAS MADE IT ALL CLEAR TO ME. -- J. Nairn Rick Pasotto[EMAIL

Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Rick Pasotto
!= \' -- The greatest danger to liberty today comes from...expert administrators exclusively concerned with what they regard as the public good. -- Friedrich Hayek Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] system() Question

2008-12-28 Thread Rick Pasotto
itself. -- Paper has a genius for multiplication that cannot be equaled anywhere else in nature. -- Hugh Keenleyside Rick Pasottor...@niof.nethttp://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Variable formatting problem using sessions...

2009-01-26 Thread Rick Duval
I'm using an OnClick routine to set a session variable before I go to another page. onClick=?php $_SESSION['local_part']= 'rick'; ? works fine but I need a variable where rick is I've tried onClick=?php $_SESSION['local_part']= $local_part; ? and other variations but it doesn't work. Can

Re: [PHP] Retrievable weather service info?

2005-06-16 Thread Rick Emery
Weather.com and METAR/TAF from NOAA are supported. Further services will get included, if they become available, have a usable API and are properly documented. hth, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been

Re: [PHP] Problem with array

2005-06-17 Thread Rick Emery
tags; This should at least give you a starting point. I'm fairly new to php, so maybe one of the gurus will give a better idea (or explain why mine won't work, if it won't). hth, Rick P.S. I would usually trim out the rest of the message, but am leaving the code below as reference. Sorry

[PHP] PHP vs. ColdFusion

2005-06-26 Thread Rick Emery
programmers with experience in both), but I have to sell it to management (I'm already on the PHP side), so links to data or articles comparing the two are best. Thanks in advance, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward

[PHP] Re: PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
effective than this. If you are worried about code parsing, php accelerator may be just enough. ;) Thanks for your input! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
to extinguish LAMP, but I actually chuckled when I read that one. Thanks for your input! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
CMS SugarCRM and more... GForge and SugarCRM also have paid support options as well. -Jonathan Villa Thanks for the info! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
Quoting Anton Kovalenko [EMAIL PROTECTED]: As to ColdFusion, It seems to me that this technology is dead already. What makes you say this? I had never heard anything like this, but it would certainly be powerful ammunition to present to my bosses. Thanks, Rick -- PHP General Mailing List

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
application running on a Linux box with Apache. If management can see that you are stoked to use PHP that might help your cause. That's what I'm hoping, and so far it seems to be having an impact. Thanks for your input! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
a ColdFusion developer. Thanks! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Rick Emery
comments when I discuss this with management. I don't agree with all of your points, but will present all of the information and let management decide. That's what they get paid for :-) Thanks again, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your

Re: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Rick Emery
I normally don't top-post, but think I can get away with it just this once, because I only wanted to say... Well said. Thanks, Rick Quoting Matthew Weier O'Phinney [EMAIL PROTECTED]: * Andrew Scott [EMAIL PROTECTED]: I have been a coldfusion developer for now 10 years almost, and can code

[PHP] Ouput HTML w/PHP

2005-06-30 Thread Rick Emery
). Is there a way for me to maybe use the PHP tidy functions on the string containing the HTML ouput to validate it? Thanks in advance, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Rick Emery
install is using the php.ini file you think it is. I got bit by this (I kept editing the php.ini file in one directory, but it was reading the file from another). It really does sound like error reporting is turned off. hth, Rick -- Rick Emery When once you have tasted flight, you will forever

Re: [PHP] Re: Konqueror does not like my Website

2005-07-22 Thread Rick Emery
with the file-extension *.php and Konqueror can not handel this... (It is KDE 3.4) Greetings Michelle I just opened it in Konqueror 3.4.1 to look for any javascript errors, and it seemed to load and work fine. Sorry I wasn't any help, Rick -- Rick Emery When once you have tasted flight, you

Re: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
the user side settings. You need to go for JavaScript and ask the question in a JavaScript list. Since you brought it up :-) Can anybody recommend a good JavaScript mailing list? Thanks, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
Quoting Chris W. Parker [EMAIL PROTECTED]: Rick Emery mailto:[EMAIL PROTECTED] on Friday, August 05, 2005 4:20 PM said: Can anybody recommend a good JavaScript mailing list? If by anybody you mean Google, then yes anybody can recommend a good JavaScript mailing list. Well, as I found

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
Quoting Chris W. Parker [EMAIL PROTECTED]: Rick Emery mailto:[EMAIL PROTECTED] on Friday, August 05, 2005 4:54 PM said: Well, as I found out when I Google'd before I posted, it *lists* plenty of JavaScript mailing lists. But it can hardly recommend a good one, which is what I asked

Re: [PHP] Can I retrieve a stored php session variable from within a javascript function?

2005-08-06 Thread Rick Emery
if the session variable changes unless the script is reloaded. 2. My favorite, but probably overkill. Write a php page that outputs the session variables (as XML would be cool). Then use xmlhttprequest to retrieve them from javascript (Google AJAX for more information). Hope this helps, Rick -- Rick Emery

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Rick Emery
Quoting Rick Emery [EMAIL PROTECTED]: My employer has (finally) decided to take full advantage of our intranet, and wants to move from client-server applications to web-based applications. [snipped] Any input would be greatly appreciated. Opinions are welcome (especially from programmers

Re: [PHP] PHP vs. ColdFusion

2005-08-23 Thread Rick Emery
Quoting Rick Emery [EMAIL PROTECTED]: Ugh, we're *never* going to make a decision. My boss just sent me this email: A *huge* THANK YOU! to everybody who replied; it was extremely helpful and, after my meeting with my manager this morning, she seemed to accept that the article was dated

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
Just a quick note to thank everybody who has replied. I've been getting a lot of feedback, and won't be able to reply to all of the messages I've received, but I appreciate each and every one of them and don't want anybody to feel left out. Thanks again, Rick -- Rick Emery When once you have

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
to change their Microsoft only attitudes, so the statement from my boss that management said it has to run on IIS really caught me by surprise. Thanks, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
Quoting Miles Thompson [EMAIL PROTECTED]: Rick, Deepest sympathy. So you have a solution which works, for everyone, but doctrine dictates differently. I'd suspect VPN / IIS interaction. If I was your manager, I'd take comfort from the FACT that you were able to switch everything over

RE: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
and I had a good laugh over this signature :-) Thanks, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da

RE: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
connection works fine for us. Thanks, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci -- PHP General

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
your script that's broken, but Windows+IIS, then maybe they should just leave the WORKING stuff alone. Probably won't work. But that's how office politics work. Exactly what I'm finding out. Thanks, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Filter based on ctype_print()

2005-09-04 Thread Rick Emery
write one myself using preg_replace, but would need a regular expression to find non-printable characters; I'm terrible at regular expressions. Any ideas? Thanks in advance. Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward

Re: [PHP] Filter based on ctype_print()

2005-09-05 Thread Rick Emery
Quoting Robin Vickery [EMAIL PROTECTED]: On 9/5/05, Rick Emery [EMAIL PROTECTED] wrote: What I really want to do is replace the non-printable character(s) with printable character(s) (maybe a question mark, or a space), but haven't been able to find a function that will do it. Maybe something

Re: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Rick Emery
://asp2php.naken.cc/ I've never used it, but I have a friend who played around with it. He said it wasn't perfect, but he was very impressed with what it did. HTH, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have

RE: [PHP] LDAP and Single Sign On MORE THOUGHTS

2006-03-10 Thread Rick Emery
? -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci -- PHP General Mailing List (http://www.php.net

RE: [PHP] LDAP and Single Sign On MORE THOUGHTS

2006-03-10 Thread Rick Emery
add to the cookie to make the process more secure? Which leads back to my original question; what would keep me from setting a cookie with, say, my manager's username, fooling the PHP application into thinking I'm her? I can't help but feel like I'm missing something. Thanks, Rick -- PHP

RE: [PHP] LDAP and Single Sign On MORE THOUGHTS

2006-03-10 Thread Rick Emery
about. I have not tested this though. It is on my task list for next week though. :) Let us know how it goes! Thanks, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP and Single Sign On MORE THOUGHTS

2006-03-10 Thread Rick Emery
Quoting Jochem Maas [EMAIL PROTECTED]: Rick Emery wrote: Okay, I'm following all of this. So I could take, say, the username reversed and encode it, then decode it in the PHP application, and be I wouldn't do it like that instead stick the username in the cookie in plaintext

Re: [PHP] LDAP and Single Sign On MORE THOUGHTS

2006-03-12 Thread Rick Emery
on to the network (LDAP or, in my case, Active Directory) and using those credentials for the web applications. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is there a guide for pda friendly web pages

2006-03-20 Thread Rick Lim
is there a guide for pda friendly web pages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse error: syntax error, unexpected '}'

2006-06-02 Thread Rick Emery
($age); $results = mysql_query($insert) or die(mysql_error()); $age++ } There's a semi-colon missing at the end of the last line ($age++). Hope thi shelps, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been

[PHP] question on getting PDO to output final assembled query from prepared statements?

2006-06-07 Thread Rick Harding
of all SQL queries executed output to the page as it loads. I'm not sure what the best method to extend/wrap PDO calls to do this as I don't see any way in the PDO functionality to do it now. Thanks for the tips/help Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] question on getting PDO to output final assembled query from the prepared statements

2006-06-07 Thread Rick Harding
of all SQL queries executed output to the page as it loads. I'm not sure what the best method to extend/wrap PDO calls to do this as I don't see any way in the PDO functionality to do it now. Thanks for the tips/help Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Set PDO to ALWAYS return fetched rows with PDO::FETCH_ASSOC?

2006-06-09 Thread Rick Harding
throughout my code? Thanks Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] apc and ZendPlatform

2006-06-30 Thread Rick Emery
in advance, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci -- PHP General Mailing List (http

Re: [PHP] apc and ZendPlatform

2006-06-30 Thread Rick Emery
Quoting Jochem Maas [EMAIL PROTECTED]: Rick Emery wrote: We're running Zend Platform on a server that also has apc installed; we're using apc in the scripts to cache data, and I understand (I think) that it also does bytecode also often referred to as 'opcode' caching That's what I meant

RE: [PHP] PHP and XML

2005-10-06 Thread Rick Emery
, and performing XSL transformations on XML documents. Hope this helps, Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return

Re: [PHP] Re: PHP vs. ColdFusion

2005-10-06 Thread Rick Emery
. Thanks again to everyone. Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci -- PHP General

[PHP] Linux/PHP and Windows/MSSQL

2005-10-06 Thread Rick Emery
administrator and I think it defeats what management wants to accomplish with a commercially supported distro (package management with easy updates). Is anybody in a similar environment that has an easy solution, or can anybody offer advice? Thanks in advance, Rick -- Rick Emery When once you

Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-23 Thread Rick Emery
: * If you're using NTFS on Windows NT, 2000, XP or 2003, make sure that the user running the web server has read permissions to your php.ini (e.g. make it readable by Everyone). 2. IIS hadn't been restarted (to re-read the new php.ini). Other than that, not sure. Sorry. Rick -- PHP General

Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
haven't been able to find them, and our system administrator wanted to use Fedora Core 4, so I've been having to compile freetds and php from source (though now that I've done it a few times, I kind of like doing it that way :-) hth, and thanks, Rick -- Rick Emery When once you have tasted

Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
whether the Fedora install needed it, but might be something to check. As for the RPMs, they can be found at http://phprpms.sourceforge.net/mssql. This is the site where I had found the rpms to successfully connect via FC1. Great, thanks! hth, Rick -- PHP General Mailing List (http

Re: Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
a test box and try the rpms to which you pointed me, to see if I run into the same trouble. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread Rick Emery
an application that connects to MS SQL Server from another box, and it worked. I didn't have to edit any files (in fact, installing the php-mssql rpm even restarted apache for me). So I'm not sure what's going on with yours. Sorry, Rick -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread Rick Emery
what I would need to do there to make the script work via the web? Did you run the script from the command line as the apache user? That would rule out any permissions issues. Just grasping at straws. Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your

[PHP] PDF Generator

2005-12-02 Thread Rick Lim
What is the best FREE pdf generator for PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend Sudio's Optimizer / PHP 5.1.1

2005-12-02 Thread Rick Emery
don't think they have a version for PHP 5.1.x yet. -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return -- Leonardo Da Vinci

RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Rick Emery
that rpm installed; thus, apxs (and the httpd-devel rpm) was not needed on your system to build the module. Rick -- Rick Emery When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return

Re: [PHP] Str to Int

2006-01-21 Thread Rick Emery
on the left side of the expression. For example, if ('' == $cardID) { instead of if ($cardID == '') { That way, if you accidentally use = instead of ==, you should get an error because you can't assign something to a literal or constant. Hope this helps somebody, Rick -- Rick Emery When once you

[PHP] SOMEONE SHOOT ME!!!

2001-04-17 Thread Rick Kukiela
of Makefile). Error Output for sanity check = End of Error Report = Aborting! I am losing my mind... please help :) Thanks, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Sorting Multidimensional Arrays

2001-05-07 Thread Rick Dietz
(name=Janice, age=22, married=yes) ); Am I missing something that already exists? -Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Rick Fletcher
?codeEx=627 --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? I appear to have written that last snippet without really even looking at it. This one works. ?php $string =

Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? ?php $string = asd98.a98asd/7987asd; $numberless = preg_replace_all( /[^0-9]/, , $string ); ? -- PHP General

[PHP] Web shopping cart

2005-01-26 Thread Rick Lim
Can anyone recommend a freeware shopping card app in php? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regular expressions ?

2005-01-27 Thread Rick Fletcher
)) { // $candidate is a decimal integer between 1 and 20 inclusive with no leading zeros. } /^(1?[1-9]|[12]0)$/ works too. The first part covers 1-9, 11-19; the second part gets you 10 and 20. Plus, it's ever so slightly shorter! And isnt' that what's most important? :P --Rick -- PHP General Mailing List

[PHP] Question about Safe Mode

2005-01-31 Thread Rick Root
them? Thanks. Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Randomize an array?

2005-03-07 Thread Rick Fletcher
Brian Dunning wrote: On Mar 7, 2005, at 7:40 AM, M. Sokolewicz wrote: array_rand() But that's likely to give me the same element more than once. I want to output the entire array but in a random order, like a shuffled deck of cards. like a shuffled deck of cards? http://www.php.net/shuffle --

Re: [PHP] How from an html/web form I may go to a php script output(of form values)

2005-03-19 Thread Rick Robinson
Try this: Goto 'My Network Places' and set up an ftp connection to whereever you want to save the file. Then in notepad you can access it just 'like' a directory on your computer. On Sat, 19 Mar 2005 16:09:05 + (GMT), Philip Olson [EMAIL PROTECTED] wrote: If is easy please answer and

Re: [PHP] WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?

2005-03-19 Thread Rick Robinson
you can setup an ftp in my network places and use it just like a folder on your computer from notepad On Sat, 19 Mar 2005 20:55:49 -0500, Larry E. Ullman [EMAIL PROTECTED] wrote: WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ? I want to know if when be online I CAN OPEN A FILE FROM A

Re: [PHP] PHP 5.0.4 not generating /usr/local/bin/pear ?

2005-04-05 Thread Rick Fletcher
Chances are it's not your fault. The initial release of 5.0.4 was missing the RunTest.php file. The end result of which is that pear isn't installed. It was noticed a day after the initial release, and I believe the 5.0.4 that's on php.net now has been fixed. --Rick mbneto wrote: Hi, I've

Re: [PHP] date

2002-12-03 Thread Rick Widmer
Hi, please could someone tell me how i can return a month in text from an int ie getMonth(12) How about: $Months = array( , 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ); echo $Months[12]; // Dec Rick -- PHP General

Re: [PHP] formating numbers date

2002-12-04 Thread Rick Widmer
= 'PM'; } else { $AMPM = 'AM'; } echo substr( $Date, 5, 2 ), '/', substr( $Date, 8, 2 ), '/', substr( $Date, 0, 4 ), ' ', $Hour, substr( $Date, 13, 6 ), $AMPM; You may need to adjust the numbers in the substrs... Rick -- PHP General Mailing List (http://www.php.net

<    1   2   3   4   5   6   7   8   9   10   >