Chris wrote:
Richard Kurth wrote:
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figur
On Tue, 2008-05-13 at 01:27 -0400, Robert Cummings wrote:
> On Tue, 2008-05-13 at 12:28 +0800, Shelley wrote:
> > Maybe I didn't use that tidy correctly.
> > I don't want html, head, body things. Just parsed string.
>
> So strip them...
>
> // ...
>
> tidy_parse_string( $html );
>
On Tue, 2008-05-13 at 12:28 +0800, Shelley wrote:
> Maybe I didn't use that tidy correctly.
> I don't want html, head, body things. Just parsed string.
So strip them...
#Uis', '', $html )
$html = preg_replace( '##Uis', '', $html )
//...
?>
Cheers,
Rob.
--
http://www.interjinn.com
Appli
Hi,
I sent a mail to this mailling list just now. But the mailling list
rejected my mail for the mail including "cn2 dot php.net". Replace '
dot ' with '.'.
Why this mirror site can't be included in the mail?
Maybe it's not in the whitelist?
--
Regards,
Wang Yi
--
PHP General Mailing List (
You should pass the secend parm to the function. Like this:
$allowable_tags = '';
strip_tags( $text, $allowable_tags );
On 5/13/08, Shelley <[EMAIL PROTECTED]> wrote:
> Not that.
>
> It will just remove all html tags, you know.
>
>
> --
> Regards,
> Shelley
--
Regards,
Wang Yi
--
PHP Gener
Maybe I didn't use that tidy correctly.
I don't want html, head, body things. Just parsed string.
On Tue, May 13, 2008 at 12:00 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Tue, 2008-05-13 at 11:34 +0800, Shelley wrote:
> > Hi all,
> >
> > The fact is that I have a site that allow users
Hi All
I am using a PHP Mailer to send mass mails.
How can I Identify how mails have bounced.
Chetan Dattaram Rane
Software Engineer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2008-05-13 at 11:34 +0800, Shelley wrote:
> Hi all,
>
> The fact is that I have a site that allow users to post hypertext articles.
> However, I saw that sometimes, because of their careless input,
> the articles is not rendered correctly.
>
> I want to know whether there are some good H
strip_tags does the tricks.
www.php.net/manual/en/function.strip-tags.php
BTW,
Why cn2 dot php.net blocked by the mail server?
The rejected message:
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
php-general@lists.ph
> Or you can do it straight from MySQL, which is a lot faster:
With the caveat that you need extra mysql permissions to be able to do that.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Hi all,
The fact is that I have a site that allow users to post hypertext articles.
However, I saw that sometimes, because of their careless input,
the articles is not rendered correctly.
I want to know whether there are some good HTML parsers written in PHP.
That is,
the parser checks whether h
On Mon, 2008-05-12 at 14:44 -0700, milt wrote:
> I have a form that will be filled in by the user, I want to have access to
> the content of one of the fields in that form, in order to fill in an
> another variable that is not part of the form. this variable is used by a
> routine when the for
I have a form that will be filled in by the user, I want to have access to
the content of one of the fields in that form, in order to fill in an
another variable that is not part of the form. this variable is used by a
routine when the form is "posted". Question - is the $_post[field name]
av
Chris wrote:
Richard Kurth wrote:
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figure i
Richard Kurth wrote:
>
> This script will create an xls file from the data that is sent to it
> When I run this it only gets one recored and it is supposet to get all
> the records that are past by the $_POST[selectedcontactlist]
> I think I have a } in the wrong place but I can not figure it out
I guess PDOStatement::fetchAll() should work?
see http://www.php.net/manual/en/pdostatement.fetchall.php for details.
- Forcey
On Tue, May 13, 2008 at 9:55 AM, Yi Wang <[EMAIL PROTECTED]> wrote:
> I think flance's meaning is whether there is a build-in function that
> can convert the result set
I think flance's meaning is whether there is a build-in function that
can convert the result set to an array.
The short answer is: do it yourself.
On 5/12/08, Stut <[EMAIL PROTECTED]> wrote:
> On 12 May 2008, at 15:56, It flance wrote:
>
> > is there any function that can convert the result of q
Bojan Tesanovic wrote:
Heh you are really new to Linux
permissions on linux are set per user/group/other bases
so for most secure set permissions to read only for web-server user
so
chown 'webserveruser' file.php
chmod 400 file.php
make sure you have root access at server so you can change
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figure it out
anybody have a suggestion
$_
At 3:11 PM -0400 5/12/08, Eric Butera wrote:
NoScript is a FireFox extension to protect users from malicious
scripts.
NoScript is also a tag for browsers to read and react to IF they do
not accept javascript.
http://www.w3schools.com/TAGS/tag_noscript.asp
That's an unfortunate naming conve
Yannick:
Considering that we just had a flurry of pet-peeves on the list, I
rant on one of mine.
At 1:25 PM -0500 5/12/08, Yannick Warnier wrote:
I'm trying to give a universally-manageable directory name to an item
using a free-text title. I want to avoid every type of accentuated
character
On Mon, May 12, 2008 at 2:57 PM, tedd <[EMAIL PROTECTED]> wrote:
> Gentlemen:
>
> First, my apologies for publishing the page without checking it first for
> pet-peeves.
>
> Second, please educate me as to the statement that "NoScript" is blocking
> UrchinTracker. Where do I have declared NoScrip
more on this, i just found out that php_svn.dll does not work with the mpm
version of apache, i did a 'Apache -X' (single process mode) and php_svn.dll
works fine. how do i run it in mpm mode?
- vedanta
On Mon, May 12, 2008 at 1:55 PM, Vedanta Barooah <[EMAIL PROTECTED]>
wrote:
> hi y'all,
> is
On Mon, May 12, 2008 at 11:17 AM, tedd <[EMAIL PROTECTED]> wrote:
> At 11:46 AM -0400 5/12/08, Daniel Brown wrote:
>
>> On Sun, May 11, 2008 at 9:19 PM, Craige Leeder <[EMAIL PROTECTED]> wrote:
>>
>>> You've even had to resort to using classes and other strange stuff to
program. Clearly sig
Gentlemen:
First, my apologies for publishing the page without checking it first
for pet-peeves.
Second, please educate me as to the statement that "NoScript" is
blocking UrchinTracker. Where do I have declared NoScript and why
would I want it? I have numerous sites and they all generate the
2008/5/12 Yannick Warnier <[EMAIL PROTECTED]>:
>> Why are you removing the accents? Why not store/process the data as
>> UTF-8, which supports all the accents in all the languages, and even
>> non-latin languages. You mention Arabic, which does not use accented
>> latin characters (Maybe you are th
Le lundi 12 mai 2008 à 19:07 +0300, Dotan Cohen a écrit :
> 2008/5/12 Yannick Warnier <[EMAIL PROTECTED]>:
> > Hello,
> >
> > I've been trying to find something nice to transform an accentuated
> > string into a non-accentuated string. Obviously, I'm mostly playing
> > inside the European languages
hi y'all,
is there a known issue with php_svn.dll (5.2.1.1) on Apache/2.0.63 (windows
xp sp 2 - 32bit)? i am pretty sure i did configure it well, but for some
reason apache fails to use this extension. the svn extension is usable from
the cli but not via apache. any pointers will be of great help.
Hi everyone,
I'm having a problem moving my code to a linux computer.
I won't post the whole code here, but an accurate example that
reproduces exactly the error.
// 1.php
// 2.php
// php.ini (incomplete)
session.save_
At 11:46 AM -0400 5/12/08, Daniel Brown wrote:
On Sun, May 11, 2008 at 9:19 PM, Craige Leeder <[EMAIL PROTECTED]> wrote:
You've even had to resort to using classes and other strange stuff to
program. Clearly signs of mental fatigue. :-)
:o. I think mental fatigue might be evident by one not
Heh you are really new to Linux
permissions on linux are set per user/group/other bases
so for most secure set permissions to read only for web-server user
so
chown 'webserveruser' file.php
chmod 400 file.php
make sure you have root access at server so you can change that file
or make a group
Hi,
I'm very new to php.
One thing I noticed in order to run the php program (on a linux server) I
need to set the read permission
for Other.
In this program I'll have the MySQL credentials defined.
Are there are any security concerns when the read permission
is set like this. Wouldn't it be
2008/5/12 Yannick Warnier <[EMAIL PROTECTED]>:
> Hello,
>
> I've been trying to find something nice to transform an accentuated
> string into a non-accentuated string. Obviously, I'm mostly playing
> inside the European languages, but any method that could transform
> arabic or asian characters to
On Sun, May 11, 2008 at 9:19 PM, Craige Leeder <[EMAIL PROTECTED]> wrote:
>> You've even had to resort to using classes and other strange stuff to
>> program. Clearly signs of mental fatigue. :-)
>
> :o. I think mental fatigue might be evident by one not using it. But
> that's just me ;)
Depen
Thanks James,
That would probably work out if it wasn't too dependent on the locales
to work. I'm developing an open-source product which could end up on a
server without the locales for French but be used by some French people,
which would make (as far as I can get out of one comment from Richie
On Sat, May 10, 2008 at 9:35 AM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> This is what I did this morning:
>
> http://webbytedd.com/bb/tribute/
>
> It speaks for itself.
You tell Bubba we all said thanks. I may not be a Vietnam vet,
but I've served my time as well. When anyone at all r
oops wrong way round
echo iconv('UTF-8', 'ISO-8859-1//TRANSLIT', 'français');
On Mon, May 12, 2008 at 4:27 PM, James Dempster <[EMAIL PROTECTED]> wrote:
> maybe try iconv (http://uk.php.net/manual/en/function.iconv.php)
> e.g.
>
> echo iconv('ISO-8859-1', 'UTF-8//TRANSLIT', 'français');
>
> --
>
maybe try iconv (http://uk.php.net/manual/en/function.iconv.php)
e.g.
echo iconv('ISO-8859-1', 'UTF-8//TRANSLIT', 'français');
--
/James
On Mon, May 12, 2008 at 4:09 PM, Yannick Warnier <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I've been trying to find something nice to transform an accentuated
>
Hello,
I've been trying to find something nice to transform an accentuated
string into a non-accentuated string. Obviously, I'm mostly playing
inside the European languages, but any method that could transform
arabic or asian characters to plain non-accentuated characters would be
perfect.
I have
On 12 May 2008, at 15:56, It flance wrote:
is there any function that can convert the result of query to an
associative array?
what i want is the following:
$query = "select * from tablename";
$result = mysql_query($query);
$arr = somefunction($result);
where $arr should be an assoiative ar
Hi,
is there any function that can convert the result of query to an associative
array?
what i want is the following:
$query = "select * from tablename";
$result = mysql_query($query);
$arr = somefunction($result);
where $arr should be an assoiative array whose indices have the same name as
This is a bit off-topic, but since Peter appears to have missed the
point of my post I feel I must reply. It may also be interesting to
the list.
On 12 May 2008, at 14:43, Peter Ford wrote:
Stut wrote:
On 12 May 2008, at 09:39, Peter Ford wrote:
tedd wrote:
Hi gang:
This is what I did thi
Stut wrote:
On 12 May 2008, at 09:39, Peter Ford wrote:
tedd wrote:
Hi gang:
This is what I did this morning:
http://webbytedd.com/bb/tribute/
It speaks for itself.
Cheers,
tedd
tedd,
Nothing to do with the subject matter, but I noticed because it is one
of your more simple pages: I get a J
2008/5/12 Waynn Lue <[EMAIL PROTECTED]>:
> So if I'm looking to parse certain attributes out of an XML tree, if I
> use SAX, it seems that I would need to keep track of state internally.
> E.g., if I have a tree like
>
>
>
>
>
>
>
>
>
>
> and say I'm interested in all that's betwe
Here is the very simple way ;)
First
Second
XMLL;
$X = simplexml_load_string($XML);
foreach ($X->a as $a){
echo $a->b ."\n";
if( $a->b['class'] ) {
echo 'B has class - ' .$a->b['class']."\n";
}
}
?>
On May 12, 2008, at 1:28 PM,
Fot SImpler XMLs and not too large up to 1Mb I would use
$X = simplexml_load_file($URL);
simple xml is fairly fast and is very easy to use it accepts foreach
loops, accessing attributes via array fashion etc
On May 12, 2008, at 9:02 AM, Waynn Lue wrote:
What's the best way to pull down
On Mon, May 12, 2008 at 6:31 AM, Stut <[EMAIL PROTECTED]> wrote:
> On 12 May 2008, at 09:39, Peter Ford wrote:
>
> > tedd wrote:
> >
> > > Hi gang:
> > > This is what I did this morning:
> > > http://webbytedd.com/bb/tribute/
> > > It speaks for itself.
> > > Cheers,
> > > tedd
> > >
> >
> > tedd,
Hi Fernando,
The first thing that I would do i send mail to local mail account eg
[EMAIL PROTECTED] and see if that mail will be delivered.
or something like [EMAIL PROTECTED] so that mail doesnt go
outside server ,
this way you can see if mail function is working properly. If this
doesnt w
So if I'm looking to parse certain attributes out of an XML tree, if I
use SAX, it seems that I would need to keep track of state internally.
E.g., if I have a tree like
and say I'm interested in all that's between underneath any ,
I'd need to have a state machine that loo
Hello,
I've got a very simple PHP script that mails me a contact form of a website.
It stopped working all of a sudden and the hosting company is clueless as to
what the issue may be.
The PHP script basically picks up the input fields on the form, builds an
e-mail message and then sends it t
On 12 May 2008, at 09:39, Peter Ford wrote:
tedd wrote:
Hi gang:
This is what I did this morning:
http://webbytedd.com/bb/tribute/
It speaks for itself.
Cheers,
tedd
tedd,
Nothing to do with the subject matter, but I noticed because it is
one of your more simple pages: I get a JS "urchinTra
tedd wrote:
Hi gang:
This is what I did this morning:
http://webbytedd.com/bb/tribute/
It speaks for itself.
Cheers,
tedd
tedd,
Nothing to do with the subject matter, but I noticed because it is one of your
more simple pages: I get a JS "urchinTracker() not defined" error on your site,
2008/5/12 Waynn Lue <[EMAIL PROTECTED]>:
> What's the best way to pull down XML from a URL? fopen($URL), then
> using xml_parse? Or should I be using XML_Parser or SimpleXML?
XML parsers fall into two general camps - DOM and SAX. DOM parsers
represent an entire XML document as a tree, in-memory,
Hi
The host name is localhost, username: root, and the password is blank "".
If you have selected the option to allow anonymous login during installation
you can even give the user name and password dboth blank. It will log you in
as an anonymous user.
Chetan Dattaram Rane
Software Engineer
-
What's the best way to pull down XML from a URL? fopen($URL), then
using xml_parse? Or should I be using XML_Parser or SimpleXML?
Thanks,
Waynn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
55 matches
Mail list logo