Brad Pauly wrote:
On Thu, 2004-01-22 at 09:43, Thaddeus J. Quintin wrote:
I'm trying to get php 4.3.4 installed as a module for Apache 1.3.28. I
have apache unzipped/untarred and I ran the ./configure script for it
(per the instructions in the PHP install). I then configured php with
I'm trying to get php 4.3.4 installed as a module for Apache 1.3.28. I
have apache unzipped/untarred and I ran the ./configure script for it
(per the instructions in the PHP install). I then configured php with
the following line-
$ ./configure --with-mysql=/usr/local/mysql \
--with-a
I've got a problem with cookies failing.
Here's the setup-
A staging server, RedHat Linux, with php 4.3
Main server, FreeBSD, also php 4.3
Running identical Apache setups and Identical php setups.
The staging server is only accessible behind our local firewall and does
not run https. The Main s
.
not the prettiest answer, but I put good comments around it!
Thaddeus
Scott Fletcher wrote:
Try parsing it as a string where the double quote would become a string.
See if that help. (Parse the whole characters into strings then find the
double quote.)
"Thaddeus J. Quintin" <[EMA
the
'm' option, i've had previous problems with that before), and I can
simplify the expression and grab everything including the quotes, so I'm
really not sure what's failing.
Thanks-
Thaddeus
Ford, Mike [LSS] wrote:
On 21 August 2003 17:03, Thaddeus J. Quintin wrote:
Lets say I'm trying to extract some data from an HTML document. I want
to get the values of the 'src' attributes of various tags.
For example-
http://www.yahoo.com";>
here's the pattern I've been trying-
/\bsrc=(['|"])[^\\1]*[\\1]/im
Basically, match the 'src=' followed by some type of quote,
Perfect solution.
Thanks, I don't know how I overlooked the preg_replace_callback
function. That's exactly what I needed.
Thaddeus
CPT John W. Holmes wrote:
From: "Thaddeus J. Quintin" <[EMAIL PROTECTED]>
I'm looking to replace the 'nth' instance o
I'm looking to replace the 'nth' instance of an expression within a string.
Example (very simple)-
$string="My mom can beat up your mom and your mom's dog";
$pattern="mom";
$replacement="dad";
I want to be able to replace any particular instance of the pattern
within that string. I was getting
I'm looking to replace the 'nth' instance of an expression within a string.
Example (very simple)-
$string="My mom can beat up your mom and your mom's dog";
$pattern="mom";
$replacement="dad";
I want to be able to replace any particular instance of the pattern
within that string. I was getting
problem.
If the HTML file that they upload has '<' or '>' entities, then
these characters will be displayed in the text area as '<' and '>'
symbols. So when the text is submitted from the textarea, all of the
user's HTML entities
Hello-
I'm working on a site where users have the option to type HTML code into
a textarea, or upload HTML code from a local file which is then
displayed in the text area.
The obvious problem is that an uploaded file that contains a closing tag
for a textarea can wreak havoc and eat up the rest
Thanks everybody!
Looks like I was just thinking about the problem too hard.
Thaddeus
John W. Holmes wrote:
Thaddeus J. Quintin wrote:
CPT John W. Holmes wrote:
> Try this:
>
> This is <some> text
>
> If you submit that "text" and then print $_RE
12 matches
Mail list logo