[PHP] AMP installer

2008-02-21 Thread Ryan A
Hey! Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I usually used phpdev in the past but now I want php5 compatability... can anyone recommend any such all in one installer. And yes, I know its good experience and so on to do each one manually... but

Re: [PHP] AMP installer

2008-02-21 Thread Chris
Ryan A wrote: Hey! Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I usually used phpdev in the past but now I want php5 compatability... can anyone recommend any such all in one installer. And yes, I know its good experience and so on to do each one

RE: [PHP] AMP installer

2008-02-21 Thread Andrés Robinet
-Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 6:24 PM To: php php Subject: [PHP] AMP installer Hey! Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I usually used phpdev in the past but now I

RE: [PHP] AMP installer

2008-02-21 Thread Warren Vail
-Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 3:53 PM To: Ryan A Cc: php php Subject: Re: [PHP] AMP installer Ryan A wrote: Hey! Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I usually used phpdev

Re: [PHP] amp; and mySQL

2005-08-28 Thread Richard Lynch
On Sat, August 27, 2005 2:43 pm, mastershay wrote: Hi, I am trying to search mySQL for URLs that include amp; in them. I start with a standard URL that uses , use str_replace to put in amp;, and then do a mySQL query. However, nothing is found when I run the search through PHP. When I do

[PHP] amp; and mySQL

2005-08-27 Thread mastershay
Hi, I am trying to search mySQL for URLs that include amp; in them. I start with a standard URL that uses , use str_replace to put in amp;, and then do a mySQL query. However, nothing is found when I run the search through PHP. When I do the search directly through phpMyadmin, it works fine.

[PHP] amp

2004-01-28 Thread Diana Castillo
is there any function that will always replace a with a amp in a string? -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com --

Re: [PHP] amp

2004-01-28 Thread David T-G
Diana -- ...and then Diana Castillo said... % % is there any function that will always replace a with a amp in a % string? You are looking for a function ... A function that will replace an HTML special character ... A PHP function to do this. I shall consult the Great Programmer. Something

RE: [PHP] amp

2004-01-28 Thread Aaron Wolski
str_replace(, amp, $text); -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: January 28, 2004 9:27 AM To: [EMAIL PROTECTED] Subject: [PHP] amp is there any function that will always replace a with a amp in a string? -- -- Diana Castillo Global

Re: [PHP] amp

2004-01-28 Thread Stuart
Diana Castillo wrote: is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

SV: [PHP] amp

2004-01-28 Thread Anders Gjermshus
Htmlspecialchars() should do it :) http://www.php.net/manual/en/function.htmlspecialchars.php - anders -Opprinnelig melding- Fra: Diana Castillo [mailto:[EMAIL PROTECTED] Sendt: 28. januar 2004 15:27 Til: [EMAIL PROTECTED] Emne: [PHP] amp is there any function that will always replace

Re: [PHP] amp

2004-01-28 Thread Stuart
Stuart wrote: Diana Castillo wrote: is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); Forgot to mention the htmlentities and htmlspecialchars functions, but they do more than you asked for. -- Stuart -- PHP General Mailing

Re: [PHP] amp

2004-01-28 Thread David T-G
Stuart, et al -- ...and then Stuart said... % % Diana Castillo wrote: % is there any function that will always replace a with a amp in a % string? % % $string = str_replace('', 'nbsp;', $string); Clearly I must need more coffee, because I completely fail to see how this will satisfy her

RE: [PHP] amp

2004-01-28 Thread Jay Blanchard
[snip] is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); [/snip] Shouldn't this be $string = str_replace('', 'amp;', $string); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] amp

2004-01-28 Thread Stuart
David T-G wrote: Stuart, et al -- ...and then Stuart said... % % Diana Castillo wrote: % is there any function that will always replace a with a amp in a % string? % % $string = str_replace('', 'nbsp;', $string); Clearly I must need more coffee, because I completely fail to see how this will

Re: [PHP] amp

2004-01-28 Thread John Nichel
David T-G wrote: Stuart, et al -- ...and then Stuart said... % % Diana Castillo wrote: % is there any function that will always replace a with a amp in a % string? % % $string = str_replace('', 'nbsp;', $string); Clearly I must need more coffee, because I completely fail to see how this will

Re: [PHP] amp

2004-01-28 Thread Gerard Samuel
On Wednesday 28 January 2004 09:32 am, Stuart wrote: Diana Castillo wrote: is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); Just a heads up on using the above method. If there are more than one in the string it will

RE: [PHP] amp

2004-01-28 Thread Jeremy
[snip] [snip] is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); [/snip] Shouldn't this be $string = str_replace('', 'amp;', $string); ? [/snip] I tried this and amazingly it worked! The robustness of php defies all logic

Re: [PHP] amp

2004-01-28 Thread Tom
Gerard Samuel wrote: On Wednesday 28 January 2004 09:32 am, Stuart wrote: Diana Castillo wrote: is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); Just a heads up on using the above method. If there are more than

Re: [PHP] amp

2004-01-28 Thread Stuart
Gerard Samuel wrote: On Wednesday 28 January 2004 09:32 am, Stuart wrote: Diana Castillo wrote: is there any function that will always replace a with a amp in a string? $string = str_replace('', 'nbsp;', $string); Just a heads up on using the above method. If there are more than one in the

Re: [PHP] amp

2004-01-28 Thread Gerard Samuel
On Wednesday 28 January 2004 10:23 am, Stuart wrote: Not from where I'm sitting [PHP 4.3.3RC1 (cli) (built: Jun 21 2003 23:40:27) on FreeBSD built from ports]. Code... Hey, as least we can agree with something. FreeBSD :) print str_replace('', 'amp;', 'Here is one and here is another

Re: [PHP] amp

2004-01-28 Thread John W. Holmes
From: Gerard Samuel [EMAIL PROTECTED] You're absolutely correct. I jumped the gun way too early. My experience with replacing with amp; is that if the content already contains entity content, for example nbsp; Running str_replace will mess them up. Depends how you define mess them up... If

Re: [PHP] amp

2004-01-28 Thread Gerard Samuel
On Wednesday 28 January 2004 01:35 pm, John W. Holmes wrote: Depends how you define mess them up... If you want to display nbsp; literally on a web page, then you need to write amp;nbsp; in the source. So this may not be messing things up but rather preparing them to be shown on a web page,

Re: [PHP] amp; in Query String

2002-11-26 Thread Marek Kilimajer
Get mailed also $_SERVER['HTTP_USER_AGENT'], I would like to see which browser does that. amp; should get translated to , but not vice versa Jonathan Rosenberg wrote: I have a page with thumbnail pictures that can be clicked on to see a larger picture. Each picture is hyperlinked as follows

[PHP] amp; in Query String

2002-11-25 Thread Jonathan Rosenberg
I have a page with thumbnail pictures that can be clicked on to see a larger picture. Each picture is hyperlinked as follows a HREF=show_pic.php?pic=blahcaption=Some+Text I access the 'pic' 'caption' attributes with $_GET['pic'], etc. Pretty standard stuff. I have PHP set up so that

[PHP] amp; in url's

2001-11-10 Thread GaM3R
; The separator used in PHP generated URLs to separate arguments. ; Default is . ;arg_separator.output = amp; ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is . ; NOTE: Every character in this directive is considered as separator! ;arg_separator.input = ;

Re: [PHP] amp; in url's

2001-11-10 Thread Matt Friedman
, November 10, 2001 1:54 PM Subject: [PHP] amp; in url's ; The separator used in PHP generated URLs to separate arguments. ; Default is . ;arg_separator.output = amp; ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is . ; NOTE: Every character in this directive

Re: [PHP] amp; in url's

2001-11-10 Thread Rasmus Lerdorf
On Sun, 11 Nov 2001, GaM3R wrote: ; The separator used in PHP generated URLs to separate arguments. ; Default is . ;arg_separator.output = amp; ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is . ; NOTE: Every character in this directive is considered