php-general Digest 25 Oct 2009 13:44:45 - Issue 6409
Topics (messages 299308 through 299315):
Re: php mail() function
299308 by: Per olof Ljungmark
299313 by: James Prentice
299314 by: James Prentice
cannot compile PHP 5.2.11 on Mac OS X 10.6.1
299309 by:
2009/10/25 Raymond Irving xwis...@yahoo.com:
Hello,
Does any know of an optimized solution to get all the subclasses for a parent
class?
That's not exactly a typical thing to want, although I can see a
couple of ways to do it... what exactly are you trying to do, and are
you using PHP5.3?
I want to automatically initialize a specific sub class when the php page is
loaded.
I'm looking for a solution for php 5.1+ or anything that's optimized for 5.3
From: David Otton phpm...@jawbone.freeserve.co.uk
To: Raymond Irving xwis...@yahoo.com
Cc:
I'm trying to follow the RewriteRule docs to make it so that:
http://benchwarmersports.com/packages/super-bowl-xliv/1
can be entered into the web-browser, and it transforms into:
http://benchwarmersports.com/packages.php?title=super-bowl-xliveventid=1
The good news is that it does transform
Hi,
how to replace many spaces in any string of character with one space?
Regrads
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2009/10/25 Raymond Irving xwis...@yahoo.com:
I want to automatically initialize a specific sub class when the php page is
loaded.
I'm looking for a solution for php 5.1+ or anything that's optimized for 5.3
You may be able solve this with a simple class_exists() (pseudo-code ahead):
2009/10/25 Jeffry Lunggot jef...@rogon.com.my:
Hi,
how to replace many spaces in any string of character with one space?
$str = preg_replace('/\s\s+/', ' ', $str);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote:
I'm trying to follow the RewriteRule docs to make it so that:
http://benchwarmersports.com/packages/super-bowl-xliv/1
can be entered into the web-browser, and it transforms into:
On Sun, 2009-10-25 at 16:59 +0100, David Otton wrote:
2009/10/25 Jeffry Lunggot jef...@rogon.com.my:
Hi,
how to replace many spaces in any string of character with one space?
$str = preg_replace('/\s\s+/', ' ', $str);
$str = preg_replace('/\s+/', ' ', $str);
You don't need both
Hi,
So I found out there are two bugs filed in bugs.php.net that are
related to this problem. The bugs are http://bugs.php.net/bug.php?id=49332and
http://bugs.php.net/bug.php?id=49267.
To anyone else that has the same issues as me, here is how to get
around the problem if you are trying
Isn't there a way to tell the Rewrite rule to skip anything found in a
js or images subfolder?
On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote:
On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote:
I'm trying to follow the RewriteRule docs to make it so that:
On Sun, 2009-10-25 at 12:51 -0400, Rob Gould wrote:
Isn't there a way to tell the Rewrite rule to skip anything found in a
js or images subfolder?
On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote:
On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote:
I'm trying to follow the
Sorry for the long post but this problem have plagued us for a few
months and we suspect that this is a OS-specific issue with
FreeBSD/PHP, AFAICS it has not been reported from the Linux camp. I'm
posting here in the hope that someone on this list might have a clue.
In brief, intermittently, the
As Ashley said, its the wrong way to approach this problem.
I suggest you read about base href. (base href=http://.; / )
it is a HTML tag.
On Sun, Oct 25, 2009 at 6:51 PM, Rob Gould gould...@me.com wrote:
Isn't there a way to tell the Rewrite rule to skip anything found in a js
or images
Jeffry Lunggot wrote:
Hi,
how to replace many spaces in any string of character with one space?
Regrads
Be careful about the word spaces do you mean exactly ; or white spaces
defined by \s, which include spaces, tabs CRLFs.
If you want specifically spaces and not all white spaces,
I have a script which uploads csv data into a database. This works well
and has worked in every instance so far. However what I am noticing is
that today, even if I escape the data before putting it into mysql it
will not enter a line if it has a single quote, once I take out the
single quote
Brian Hazelton wrote:
I have a script which uploads csv data into a database. This works
well and has worked in every instance so far. However what I am
noticing is that today, even if I escape the data before putting it
into mysql it will not enter a line if it has a single quote, once I
Brian Hazelton wrote:
Brian Hazelton wrote:
I have a script which uploads csv data into a database. This works
well and has worked in every instance so far. However what I am
noticing is that today, even if I escape the data before putting it
into mysql it will not enter a line if it has a
base will just complicate things... (its sure to solve your problems but
you have to type the relative path to your document root for every URI)
seems you are looking for
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#RewriteCond
Brian Hazelton wrote:
Brian Hazelton wrote:
Brian Hazelton wrote:
I have a script which uploads csv data into a database. This works
well and has worked in every instance so far. However what I am
noticing is that today, even if I escape the data before putting it
into mysql it will not
20 matches
Mail list logo