On 19 Sep 2006, at 12:12 , Mark Krenz wrote:
I run a shared webserver with a few hundred vhost containers in
Apache's config.
Are these vhosts all contained in httpd.conf, or are they separate
files?
Does it make a difference?
--
...when you're no longer searching for beauty or love, jus
Willem Herbst wrote:
I have PHP 4.4 installed running on a Open SUSE 10 box, can someone
please tell me where I find the latest version for OPEN SUSE?
http://www.php.net/
Or do you mean rpms (or whatever opensuse uses)? STW?
Better off asking your opensuse mailing list, php.net doesn't build
I have PHP 4.4 installed running on a Open SUSE 10 box, can someone
please tell me where I find the latest version for OPEN SUSE?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just to share my solution:
preg_replace('/_color:(.*?)_(.*?)_color_/i', '$2',
$html);
/Peter
-Original Message-
From: Peter Lauri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 9:42 AM
To: 'PHP General'
Subject: [PHP] preg_replace (again)
Hi group,
I know I am a litt
On Tuesday 19 September 2006 22:22, Rahul S. Johari wrote:
> Ok, my code follows. Basically I'm printing ...
> my Owner/Group, the existing Owner/Group of the file, the Owner/Group of
> the file After trying to change it.
Does apache have write access to write to yer file, that goes for either o+r
Hi group,
I know I am a little bit stupid when it comes to actually figuring out how
to use the preg_match and preg_replace. This is what I am facing:
A string like this: This is some _color:pink_ colored text _color_ that I
want to transfer
Should convert to: This is some colored text
Matt Palermo wrote:
I've been looking on php.net, but can't find anything that covers this...
Basically, I am using PHP FTP to connect to an FTP server and run some
functions. I want to copy a directory on the FTP server to another
directory on the FTP server. Since there isn't an ftp_copy()
On Tuesday 19 September 2006 18:22, Richard Lynch wrote:
> On Mon, September 18, 2006 3:18 pm, Børge Holen wrote:
> > Would php at all take precaution of the px size of the letters, if any
> > of the
> > above issues were to be resolved? That would be at document level for
> > starters, and probabl
Ok, my code follows. Basically I'm printing ...
my Owner/Group, the existing Owner/Group of the file, the Owner/Group of the
file After trying to change it.
The most interesting thing is... I get absolutely no errors, no warnings,
and everything prints out as if everything worked... Except that it
On Mon, September 18, 2006 3:18 pm, Børge Holen wrote:
> Would php at all take precaution of the px size of the letters, if any
> of the
> above issues were to be resolved? That would be at document level for
> starters, and probably should be resolved in the first place?
The RTF parser may or may
Has anyone found a workaround for this; a workaround the fact that
loadXML() completely replaces the existing document structure?
It's amazing what you find out after you've already made yourself look
foolish.
$xmlStr = 'blah';
$doc = new DOMDocument( '1.0', 'UTF-8' );
$docFragment = $doc->c
Apparently, loadXML() overwrites the existing structure of the document when
called. The problem is that when I try to add a PI (namely a stylesheet),
it adds it to the end of the document thus making so that the XML is not
transformed by the client.
To get around this, I thought I could just
I have a series of properties set as protected in my class which I meant to
have them accessed externally through __set and __get. Unfortunately, it
seems that since the properties do exist, the magic methods don't get
called, but then I get an error "Cannot access protected property x",
w
Jon Anderson wrote:
>
> Jay Blanchard wrote:
>> So let me send a rant to other users, in fact a general list of users,
>> because I cannot read. If I could I would know that I subscribed to a
>> list where questions are asked to other users rather than me trying to
>> send an e-mail to the pres
I run a shared webserver with a few hundred vhost containers in
Apache's config. Recently I got to a point where I added enough vhosts
to cause a problem with curl functions in PHP. Basically, when PHP
tries to make the curl call to get the webpage, it just hangs the HTTP
request to my webserv
Take a look at http://www.tonymarston.net/php-mysql/amortise.html which
documents the loan amortisation program which I wrote in PHP. You can run it
online and even download the source code to run it locally.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Ray Hauge" <[EMAI
At 11:01 AM -0400 9/19/06, Rahul S. Johari wrote:
Is there a way to find out if a file can be chown'd or chgrp'd ? Something
like is_writeable() ... Except that you're trying to find out if you can
change the Owner or Group of a file.
fileperms() perhaps?
http://php.he.net/manual/en/f
Here's the interesting things. I did exactly that to begin with... And I
never got the "file can't be chmoded!" ... Instead, I actually got the "Mode
changed to" notification that I had set in the "else {" case.
However... The mode of the file never changed! Even though !chmod didn't say
that mode
ftp_rename() should be able do that
Matt Palermo wrote:
I've been looking on php.net, but can't find anything that covers this...
Basically, I am using PHP FTP to connect to an FTP server and run some
functions. I want to copy a directory on the FTP server to another
directory on the FTP serv
Rahul S. Johari wrote:
Is there a way to find out if a file can be chown¹d or chgrp¹d ? Something
like is_writeable() ... Except that you¹re trying to find out if you can
change the Owner or Group of a file.
Who will say it first?
http://www.php.net/manual/en/function.fileowner.php
--
John C
Is there a way to find out if a file can be chown¹d or chgrp¹d ? Something
like is_writeable() ... Except that you¹re trying to find out if you can
change the Owner or Group of a file.
Rahul S. Johari
Supervisor, Internet & Administration
Informed Marketing Services Inc.
500 Federal Street, Suite
On Tuesday 19 September 2006 10:38, Ray Hauge wrote:
> On Tuesday 19 September 2006 10:34, Ray Hauge wrote:
> > http://en.wikipedia.org/wiki/Amortization_%28business%29
>
> Actually, I"m not so sure that's what I was looking for. These loans are
> student loans, which differ slightly from mortgage
On Tuesday 19 September 2006 10:34, Ray Hauge wrote:
> http://en.wikipedia.org/wiki/Amortization_%28business%29
Actually, I"m not so sure that's what I was looking for. These loans are
student loans, which differ slightly from mortgage loans. Usually the market
determines the adjustment in an
On Tuesday 19 September 2006 10:25, Jay Blanchard wrote:
> [snip]
> [snip]
> This seems like a somewhat standard calculation for loans and
> interest
> bearing accounts. Does anyone know how to calculate the
> graduation
> factor? I've been able to figure out it's based off
[snip]
[snip]
This seems like a somewhat standard calculation for loans and
interest
bearing accounts. Does anyone know how to calculate the
graduation
factor? I've been able to figure out it's based off the loan
term, loan balance, and initial interest rate.
On Tuesday 19 September 2006 10:20, Jay Blanchard wrote:
> [snip]
> This seems like a somewhat standard calculation for loans and interest
> bearing accounts. Does anyone know how to calculate the graduation
> factor? I've been able to figure out it's based off the loan term, loan
> balance, and i
[snip]
This seems like a somewhat standard calculation for loans and interest
bearing accounts. Does anyone know how to calculate the graduation
factor? I've been able to figure out it's based off the loan term, loan
balance, and initial interest rate.
[/snip]
It is called amortization ...
--
P
Hello everyone,
This is a tad off-topic, but I'm at my wits end. I'm working on a loan
calculator for our load advisors to give an estimated monthly payment. We
had one, but it was really bad (gave horribly wrong information) and I've had
to re-write it. The particular question about this lo
I've been looking on php.net, but can't find anything that covers this...
Basically, I am using PHP FTP to connect to an FTP server and run some
functions. I want to copy a directory on the FTP server to another
directory on the FTP server. Since there isn't an ftp_copy() function, I
have to
Kevin Murphy wrote:
Not really. If it were always "today" that would work, but in this
case, I was thinking of storing a day of the week in a database
("3"), and then display the info based on that digit. So assuming
that the number was in fact 3, then:
echo date("D","3");
Would return "Wed".
Howard, Tim wrote:
documentation on your site. When I find the solution to my problem, I
will be sure to add comments to the appropriate page so that you will
not have to endure the ranting of frustrated programmers.
of course, you still haven't explained what the problem is, that you are hav
Richard Lynch wrote:
In brief, to explain a snapshot in layman's terms:
that's probably a bad idea.
anyone that doesn't know what a snapshot is, probably shouldn't need to know -
they are most likely working in a package-based environment (either Windows,
or an RPM-based Linux), where it wou
Ok, I´ll take a look at this.
Thanks a lot.
"Ray Hauge" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
On Tuesday 19 September 2006 08:21, João Cândido de Souza Neto wrote:
> Hi everyone.
>
> Im using the fpdf class to create pdf files report and it works fine.
>
> Now i need
On Tuesday 19 September 2006 08:21, João Cândido de Souza Neto wrote:
> Hi everyone.
>
> I�m using the fpdf class to create pdf files report and it works fine.
>
> Now i need to get a standard pdf and put some data into for complete data.
> There�s some way to get an existent pdf file and put data
Hi everyone.
I´m using the fpdf class to create pdf files report and it works fine.
Now i need to get a standard pdf and put some data into for complete data.
There´s some way to get an existent pdf file and put data into?
Thanks a lot.
--
João Cândido de Souza Neto
Curitiba Online
[EMAIL
35 matches
Mail list logo