Maybe I missed the thread but I was wondering if anyone has seen this
report or done any testing on it.
We tested it and it seems a pretty valid problem. Can anyone comment on a
fix that may be in the works?
Gerard
-
On this page at php.net http://www.php.net/manual/en/function.nl2br.php#
You will find a function by [EMAIL PROTECTED] which is a great
implimentation of replacing the /n in a line. I would suggest you take a look.
Gerard
At 03:19 PM 1/30/2002 +1100, Jason Murray wrote:
> > Isn't there a
http://www.php.net/manual/en/function.substr.php
On Sat, 29 Dec 2001 18:28:57 -0600, Carlos Fernando Scheidecker Antunes wrote:
>Hello All,
>
>I've been searching on the online documentation and I'm pretty sure I've done it
>before but I don't recall how.
>
>The problem is. I have a string with
Nicolas,
You could try something like
Anybody has an example of how to use flock ?
There may be a much easier method however why not write a file and then check for it's
existence on the next execution. Delete the file at the end of
execution to clear the way for the next pass.
Quick and dirty so probably at least on typo
On Fri, 28 Dec 2001 15:31:33 +0100, Nicolas Guilhot
Ben,
These aren't pure PHP however if you are using qmail I would tell you to take a look
at ezmlm (http://www.ezmlm.org/) and if your using sendmail you may
want to try majordomo (http://www.ualberta.ca/CNS/MAJORDOMO/). If your using something
else... well I honestly have no clue. :)
Gerard
k for a little input on how you all would feel about this.
I apologize for posting something a bit off topic here.
Thanks,
Gerard Onorato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
Daniel,
Here is a rather inelegant way to do this. I am sure there is a better way and I would
love for someone to point it out to us.
This function simply pulls out the first N words using the space as a delimiter.
function firstN($string, $N) {
// remove all double and more spaces
Hello All,
I was wondering if anyone could point me towards some good documentation on the PEAR
e-mail functions. I was unable to turn up anything.
Thanks,
G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Jim,
Have you tried a regular expression. Something like
ereg_replace("[^[:alnum:]|[:space:]|[:punct:]@]", "", $string);
to clean the string?
Gerard O
On Thu, 20 Dec 2001 17:02:58 -0500, jimtronic wrote:
>
>Occasionally, I have a problem dealing with some of the special
>characters from te
Roman,
This is certainly not the exact answer you are looking for however...
We had a lot of trouble using the PHP curl commands directly. We are currently doing a
large volume of transactions using cURL with great success by
shelling to it. I am attaching a very simple example of what we are
Hello all,
Okay here is the situation. I am reading a file using fgets up until I hit a certain
delimiter within the text. No problem there. This text file may or may not
contain php in the format . So I now have two variables $header and $footer
which may or may not contain some php within th
Eureka! That seems to have fixed the problem. Now to test on the Mac clients.
G
On Tue, 18 Dec 2001 23:11:31 +0100, TD - Sales International Holland B.V. wrote:
>On Tuesday 18 December 2001 15:51, you wrote:
>
>Ok, just a guess here I'm not that familiar with writting my own
>headers W
Okay I know I must be overlooking somethign super obvious but
I am trying to send a simple HTML email. It works in Netscape mail, Pegasus etc
however in Outlook and Outlook express it actually places the
Content-Type: text/html;
charset=iso-8859-1 Content-Transfer-Encoding: 7bit
in the b
David,
Your code should read:
-Original Message-
From: David Killingsworth [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 16, 2001 2:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] using variables
I'm trying to determing why this won't work.
I wish to assign graphics to variables t
Okay, haven't tested this but it should work.
I would let mysql do some of the work here. In your select add something
like
Something like
$result = mysql_query('select ucase(left(name,1)) as foo, name from userlist
order by name');
$lastletter = '';
while ($data = mysql_fetch_array($result))
I have a question about PHP under apache.
I was playing with some PHP4.0.6 apps running under apache 1.3.20 on a
vanilla
RedHat 7.1 box. I was logged in as 'xyz' on the box via SSH.
I 'su'd to root to restart apache (/etc/init.d/httpd restart) a few times
during testing.
In one of my tests I expl
Steve,
What version of PHP are you running. in_array is >= 4.0. is_array was in 3.0
so this may be an issue for you.
Gerard
-Original Message-
From: Steve Osborne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 3:08 PM
To: PHP-General (E-mail)
Subject: [PHP] in_array error
Anyone out
there is interested, please e-mail me directly and I will forward it on to
them.
Thanks very much,
Gerard Onorato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hello all,
Okay I have figured out that I will not be able to use fsockopen with https
to submit a form. Now I am on to using CURL with openssl. Does anyone know
of a sample of how to do this? I have seen mentions of it being done but can
not find any examples.
Thanks in advance.
Gerard
--
P
Another idea that may work... and I say may because I have never done it
myself. Is to use MyODBC drivers and do the import code native to Access.
I would be interested to hear if others have done this.
Gerard
-Original Message-
From: Jeff Gannaway [mailto:[EMAIL PROTECTED]]
Sent: Satur
Hi,
Another solution I have used when I have to do conditional includes which
may cause the same page to be included twice
At the top of the code to be included (the separate file) put something
like:
if ($theFileAlreadyInclude != 1) {
and at the bottom you may put:
}
$theFileAlreadyIncl
find this function would be
appreciated! Thanks.
#2) Does anyone know of a convention / conference which will have any PHP
coverage in the North East?
Thanks,
Gerard Onorato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
headers
needed for authentication.
Before I even try this I was wondering if someone out there had ever done
this or could point me in the right direction of some documentation in this
area. If it can't be done I would appreciate knowing that as well.
Thanks!
Gerard Onorato
--
PHP Genera
Richard,
Forgive me for stating the obvious. How are you filling the variable
$cheader? If you are simply putting an echo command without pulling the info
from the database first you will obviously be getting nothing.
Gerard
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTE
might be? Thanks very much!
Gerard Onorato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
26 matches
Mail list logo