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
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
-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
-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
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
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.
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
--
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
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
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
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
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
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
[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:
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
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
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
[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
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
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
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
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
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,
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
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
; 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 = ;
, 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
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
28 matches
Mail list logo