ascll wrote:
Greetings,
Does anyone know how to develop a web live radio using php, which could
use any one of my PCs as the 'radio station' to broadcast whatever
voices/music?
PHP is probably not the sbest technology for streaming content. Take a
look at shoutcast or icecast or some other
how can process only items with checked check-box?
--- html ---
html
head
titleUntitled Document/title
/head
body
form name=form1 method=post action=
p
input type=checkbox name=checkbox value=checkbox
input type=text name=textfield[1]
/p
p
input
Try foreach ($_POST['textfield'] as $num = $value);
On Wed, 30 Jun 2004 15:56:35 +0800, Aris Santillan
[EMAIL PROTECTED] wrote:
how can process only items with checked check-box?
--- html ---
html
head
titleUntitled Document/title
/head
body
form
Maybe you check out the internals archives as an discussion about this topic
was held 1-2 days ago.
Hi all
Using PHP5, I am trying to save some properties of an object when it
is destroyed in its destructor, __destruct(). However, I have found
that the session variable is NOT stored unless
Cheers Lars.
So, for example, if I wanted to display some plain text tabbed I'd use:
echo prestring1\tstring2\tstring3/pre;
There's just one problem though - it formats the text differently to the
rest of the page (I'm using CSS to control this).
Any thoughts...?
--
Harlequin wrote:
Cheers Lars.
So, for example, if I wanted to display some plain text tabbed I'd use:
echo prestring1\tstring2\tstring3/pre;
There's just one problem though - it formats the text differently to the
rest of the page (I'm using CSS to control this).
Any thoughts...?
Try adding
I had a similar scenario recently
the way I tackled the problem was to set a cron to trigger a cli
script every minute
the script first checked a database to see if there was any jobs queued
then processed in the background
works a treat
pete
C.F. Scheidecker Antunes wrote:
Hello all,
I need
Hi All
(B
(Bwill anyone give me a solution to get the name and email address of sender from the
(Bmail text below using regular expression.
(B
(BThe result shud get
(Bname as syed ghouse
(Band
(Bemail as [EMAIL PROTECTED]
(B
(B--- Mail text start ---
(B
(BReturn-Path: [EMAIL
I suggest not using a regex.
There are better tools for parsing an email, for example formail.
$email = `formail -x Return-Path`;
See google.com for more information
Regards,
Aidan
Syed Ghouse [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All
will anyone give me a solution to
If you're asking which is faster, PHP or Java, it's a very difficult
question and I doubt anyone will give you a concrete answer.
I'd suggest writing the application in a much faster compiled language, c++
for example.
C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hi,
does anyone knowns of a good PEAR of other free TabPanels container?
I would like to be able to constumize the tabs and insert as many panels as needed.
PHP and/or Javascript is ok
Thank you,
Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Lars
I got it working a treat. Thanks very much.
This is what I ended up with:
echo preThis\tis\ta\ttest./pre;
and I simply added a PRE tag to the CSS file which has the same attributes
as the body tag.
Thanks very much for your patience Lars.
--
-
If you still like to gather the information without using any tools:
$email = explode( \n , $mailText );
foreach ( $email AS $emailLine ) {
$emailLine = trim( $emailLine );
if ( strtoupper ( substr( $emailLine , 0 , 4 ) ) == 'FROM' ) {
preg_match( '#^from\s*:\s*([^]+)(([^]+))?#si'
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
Please can someone let me know their opinion on the following:
I have written some code for submitting a top 20 music chart online.
I use the following to insert into mysql:
INSERT INTO chart (name, chartpos, artist, title, label) VALUES
('$name', '1', '$artist', '$title', '$label'),
('$name',
- Original Message -
From: Syed Ghouse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 PM 04:43
Subject: Re: [PHP] Re: Regular expression
Thanks Aiden for ur help
i used ur code and i got
name as Red Wingate[EMAIL PROTECTED]
and no email.
So pls correct
First of all check who u credit :p
Secondly why don't you just try to fix it yourself?
There was just a typo in the regexp:
- #^from\s*:\s*([^]+)(([^]+))?#si
+ #^from\s*:\s*([^]+)(([^]+))?#si
Hopefully this will help you even more:
?php
/**
* @param string $runlevel
* @return mixed
*/
Hi all...
Despite being able to make a connection to the server and execute a query I
am unable to do this through PHP using the following commands:
echo h3active members should appear here/h3;
$query = SELECT * FROM RegisteredMembers;
$result = mysql_query($query) or die (could not execute
Have a look at the mysql functions in the PHP manual - i.e.
http://uk.php.net/mysql_query
I'm also certain this question has been raised fairly recently on the list. All
mysql_query is going to do is either open up the resource or not. You'll need to use
something else to display the data.
Tom Chubb wrote:
Please can someone let me know their opinion on the following:
I have written some code for submitting a top 20 music chart online.
I use the following to insert into mysql:
your posting is offtopic - you can get more help by asking in the
mysql-mailinglist.
Regards,
Ruprecht
Ahh, guess I didn't look hard enough! Thanks!
Dave
On Wed, 30 Jun 2004 10:10:29 +0200, Red Wingate [EMAIL PROTECTED] wrote:
Maybe you check out the internals archives as an discussion about this topic
was held 1-2 days ago.
Hi all
Using PHP5, I am trying to save some properties of
$result is an array that has to be fetched...try this
echo h3active members should appear here/h3;
$query = mysql_query(SELECT * FROM RegisteredMembers) or die(could not
execute query);
while($result = mysql_fetch_array($query)){
echo $result['YOUR_DB_FIELDNAME'];
}
change
any ideas with this install/config error?
[EMAIL PROTECTED] php-4.3.7]# ./configure --with-mysql=/usr/local/mysql
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation
Hi All
(B
(BIs there any suexec function in php to create a unix user
(B
(Bor there is any function to create user dynamically from php code
(B
(BThanks in advance
(B
(BRegards
(Bsyed
Yeah i used ur coding below and i got the solution for my problem.
Thanks Aidan
Syed
- Original Message -
From: Syed Ghouse [EMAIL PROTECTED]
To: php mailinglists [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 PM 04:45
Subject: Fw: [PHP] Re: Regular expression
- Original
* Thus wrote Nguyen, Long P (Mission Systems):
any ideas with this install/config error?
[EMAIL PROTECTED] php-4.3.7]# ./configure --with-mysql=/usr/local/mysql
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C
* Thus wrote Red Wingate:
First of all check who u credit :p
Secondly why don't you just try to fix it yourself?
There was just a typo in the regexp:
- #^from\s*:\s*([^]+)(([^]+))?#si
+ #^from\s*:\s*([^]+)(([^]+))?#si
Hopefully this will help you even more:
You're too nice..
Btw, I
* Thus wrote Syed Ghouse:
Hi All
Is there any suexec function in php to create a unix user
or there is any function to create user dynamically from php code
You might want to start here:
man unix
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
Oh ... you forgot to include your account-info so i won't be able to
send you the money :-/
[...]
You're too nice..
Btw, I need some money. Send me money ASAP. It must be an amount
greater than $200, and be delivered to me directly, thank you.
[...]
--
PHP General Mailing List
Bob Hockney mailto:[EMAIL PROTECTED]
on Tuesday, June 29, 2004 5:58 PM said:
I wrote a php script that accesses a database, and I am wondering
about securing the password to the database. I could prompt the user
for the password every session, but I don't necessarily want the user
to
If you put square brackets after the name (e.g. var[]) your form should
produce an array called $_POST[var] that comprises the checked boxes
only.
e.g.
form method=post ...
input type=checkbox name=var[] value=value1
input type=checkbox name=var[] value=value2
input type=checkbox name=var[]
--- Matthew Sims [EMAIL PROTECTED] wrote:
I recently purchased George Schlossnagle's Advanced PHP Programming and
on page 85 in the Error Handling chapter, he made a reference about the
is_int function.
In the above function example he had:
if (!preg_match('/^\d+$/',$n) || $n 0) {
MD5 - http://ie2.php.net/md5
One way in encryption.
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bob Hockney mailto:[EMAIL PROTECTED]
on Tuesday, June 29, 2004 5:58 PM said:
I wrote a php script that accesses a database, and I am wondering
about securing the
Hashing ... but i guess he wants to protected the password
needed to access the DB not a PW stored in the DB.
[...]
MD5 - http://ie2.php.net/md5
One way in encryption.
[...]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried what you suggested and got the following:
[EMAIL PROTECTED] root]# main(){return(0);} test.c
-bash: main(){return(0);}: command not found
[EMAIL PROTECTED] root]# gcc -o test $CFLAGS $CPPFLAGS $LDFLAGS test.c $LIBS
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference
I want to make sure I'm correct in doing something. What do I need in order to
perform the following:
-
Send an XML message to something at a website, have it load a database with
the message, and return an acknowledgement.
Matthew Sims wrote:
I recently purchased George Schlossnagle's Advanced PHP Programming and on
page 85 in the Error Handling chapter, he made a reference about the
is_int function.
In the above function example he had:
if (!preg_match('/^\d+$/',$n) || $n 0) {
In which he mentions:
It might be
PHP 4.3.7 on Linux Red Hat 7.3 full patch and updates, Expat expat_1.95.2
Problem:
I am reading the XML file below and at path:
advantage/route/origin/status/
The CDATA inside the STATUS node cannot be read (Current value 1900), there
isnt much information on how to use the EXPAT library on
Forget myt post, its a stupid error from my part because of object
references and stuff like that. I'll fix it myself.
Mathieu Dumoulin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
PHP 4.3.7 on Linux Red Hat 7.3 full patch and updates, Expat expat_1.95.2
Problem:
I am reading
I'm using data that goes from the HTML textbox to PHP to MYSQL to PHP to
HTML textbox. The only trouble I have is to escape the apostrophe character
when it is put into the HTML textbox by PHP (from MySQL).
--snip--
echo input type='textbox' value='.$value.';
--snip--
I can't use the HTML
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using data that goes from the HTML textbox to PHP to MYSQL to PHP to
HTML textbox. The only trouble I have is to escape the apostrophe
character
when it is put into the HTML textbox by PHP (from MySQL).
--snip--
Torsten Roehr mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 10:03 AM said:
1. get data from DB
2. convert for valid HTML output (stripslashes(), htmlentities())
3. output as HTML (into the form elements)
4. get POST data
5. escape POST data and insert into DB again
two comments:
Red Wingate mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 9:33 AM said:
Hashing ... but i guess he wants to protected the password
needed to access the DB not a PW stored in the DB.
you probably understand this already but for those who don't i would
like to say:
right, but the
On Wed, 30 Jun 2004 19:02:50 +0200, Torsten Roehr [EMAIL PROTECTED] wrote:
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using data that goes from the HTML textbox to PHP to MYSQL to PHP to
HTML textbox. The only trouble I have is to escape the apostrophe
even for the guy who wrote the source. it's allmost impossible to
restore the data as the only option is a brute-force attempt.
Chris W. Parker wrote:
Red Wingate mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 9:33 AM said:
Hashing ... but i guess he wants to protected the password
use quot; to display the data in the input-text element and undo this
before inserting it into the database
function quoteToHtml ( $string ) {
return str_replace( '' , 'quot;' , $string );
}
function htmlToQuote ( $string ) {
return str_replace( 'quot;' , '' , $string );
}
Only way to go :-)
Does anyone know where I would be able to find the earliest version of
PHP/FI or PHP possible? I am looking for the earliest possible version
for academic reasons.
Thanks in advace.
--
Jeff Loiselle - http://www.newnewmedia.com/~jeff
--
PHP General Mailing List (http://www.php.net/)
To
On Wed, 30 Jun 2004 19:32:29 +0200, Red Wingate [EMAIL PROTECTED] wrote:
use quot; to display the data in the input-text element and undo this
before inserting it into the database
function quoteToHtml ( $string ) {
return str_replace( '' , 'quot;' , $string );
}
Much better to use
Justin Patrin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 30 Jun 2004 19:02:50 +0200, Torsten Roehr [EMAIL PROTECTED]
wrote:
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using data that goes from the HTML textbox to PHP to MYSQL to
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]01.ati.local...
Torsten Roehr mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 10:03 AM said:
1. get data from DB
2. convert for valid HTML output (stripslashes(), htmlentities())
3. output as HTML (into the form
Red Wingate wrote:
use quot; to display the data in the input-text element and undo this
before inserting it into the database
function quoteToHtml ( $string ) {
return str_replace( '' , 'quot;' , $string );
}
function htmlToQuote ( $string ) {
return str_replace( 'quot;' , '' , $string );
}
What's wrong with addslashes() on the way in and stripslashes() on the
way out? Why would you want to convert it to it's HTML entity?
--
Joel Kitching
http://midgardmanga.keenspace.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
maybe take a look here : http://museum.php.net/
otherwise do some research using google.
Jeff Loiselle wrote:
Does anyone know where I would be able to find the earliest version of
PHP/FI or PHP possible? I am looking for the earliest possible version
for academic reasons.
Thanks in advace.
--
Red Wingate mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 10:29 AM said:
even for the guy who wrote the source. it's allmost impossible to
restore the data as the only option is a brute-force attempt.
right so what is the point you're trying to make?
c.
--
PHP General Mailing
Joel Kitching wrote:
What's wrong with addslashes() on the way in and stripslashes() on the
way out? Why would you want to convert it to it's HTML entity?
Please try to load the following HTML and tell me what's wrong with it:
input type=text name=whatever value=some \ value
And then load this:
Joel Kitching mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 10:34 AM said:
What's wrong with addslashes() on the way in and stripslashes() on the
way out? Why would you want to convert it to it's HTML entity?
1. addslashes() is not as robust as other solutions like
1. addslashes() is not as robust as other solutions like
mysql_escape_string().
What exactly is the difference between the two?
2. in either case the slashes will be non-existant when the data is
actually inserted into the database.
for example:
$mystring = hello here is my string. it
Hey guys,
i ran into serious trouble when facing the problem to convert
data, which was retrieved from a single form in our CMS to match
the requirements of multiple charsets.
Our CMS uses UTF-8 which worked out quite fine to display the data
but caused weired symbols when displayed within a
Hi all,
I have to create a form from a xml containing data about the form, but I
really don't know how to process?
I can ask the xml structure I want but I don't know what is better
Please if you have any information about this?
My harder part is how handle a combo box ?(xml part and php parsing
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey guys,
i ran into serious trouble when facing the problem to convert
data, which was retrieved from a single form in our CMS to match
the requirements of multiple charsets.
Our CMS uses UTF-8 which worked out quite
On Wed, 30 Jun 2004 11:00:19 -0700, Joel Kitching [EMAIL PROTECTED] wrote:
1. addslashes() is not as robust as other solutions like
mysql_escape_string().
What exactly is the difference between the two?
mysql_escape_string() and mysql_real_escape_string() do the escaping
as mysql needs
Justin Patrin mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 11:10 AM said:
mysql_escape_string() and mysql_real_escape_string() do the escaping
as mysql needs it. In addition, you can use PEAR::DB's quoteSmart to
quote and it will change depending on the DB backend you're using.
[...]
Can't you use utf8_decode() to display the utf8 encoded data?
[...]
The displayed data worked out fine for some languages but others didn't
and even simple german chars like äöü won't show up correctly within
a textarea.
[...]
Is this what you're looking for?:
This one look and sound good. I'll give this a shot. Thanks a million
Scott F.
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Red Wingate wrote:
use quot; to display the data in the input-text element and undo this
before inserting it into the database
My harder part is how handle a combo box ?(xml part and php parsing part)
Thanks for all
Pierre
this may be of help to you
http://www.topxml.com/xsltStylesheets/xslt_html.asp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes I think so.thanks a lot
And Please all,can you say here the most appreciated and usefull links of
php you have, cause I'm French and don't know English website about php I've
found some with google but there's more I guess so about php xml and mysql
thanks a lot.
Pierre
-Message
Yes I think so.thanks a lot
And Please all,can you say here the most appreciated and usefull links of
php you have, cause I'm French and don't know English website about php I've
found some with google but there's more I guess so about php xml and mysql
thanks a lot.
try this:
and now to the second part... why use htmlentities()? that is for
displaying data within a form element OR (i hope i have this right)
preventing XSS (Cross Site Scripting attacks).
Yep, for displaying the data in the HTML's textbox and to allow us to redo
the data before resubmitting it.
Scott F.
Red Wingate wrote --- napísal::
maybe take a look here : http://museum.php.net/
otherwise do some research using google.
Jeff Loiselle wrote:
Does anyone know where I would be able to find the earliest version of
PHP/FI or PHP possible? I am looking for the earliest possible version
for academic
--- Scott Fletcher [EMAIL PROTECTED] wrote:
I'm using data that goes from the HTML textbox to PHP to MYSQL to
PHP to HTML textbox. The only trouble I have is to escape the
apostrophe character when it is put into the HTML textbox by PHP
(from MySQL).
--snip--
echo input type='textbox'
Joel Kitching wrote:
s... when you pull the data *out* of the database the \ will not
exist and you therefore do not need to perform stripslashes().
I tried using addslashes() on the string in the query, and then
SELECTing it, and the slashes are included. Does
mysql_escape_string() not do
--- Justin Patrin [EMAIL PROTECTED] wrote:
You also shouldn't need addslashes when putting it in. quoteSmart() in
PEAR::DB is a *much* better option.
That's great for those who use PEAR::DB, but it's not very safe to argue
against addslashes() based on what's in a specific PEAR module.
I would
I don't mean to start a flame war here, but I have been working in PHP for a
while now and am about to start a more extensive aplication. Some of the
PEAR modules look good and I just wanted to hear what the collected wisdom
out here thinks about it.
When I try to read the installation
On Wed, 30 Jun 2004 15:21:36 -0400, Will Merrell [EMAIL PROTECTED] wrote:
I don't mean to start a flame war here, but I have been working in PHP for a
while now and am about to start a more extensive aplication. Some of the
PEAR modules look good and I just wanted to hear what the collected
it does REALLY worth it!
Install is easy, download only thoses packages you need,
extendable, stable...
The doc is sometimes a bit poor, but the basic are always easy
Vincent
-Original Message-
From: Will Merrell [mailto:[EMAIL PROTECTED]
Sent: mercredi 30 juin 2004 21:22
To: [EMAIL
It's hard to say whether it's worth the effort for you; it depends on what
your going to do, both for your current project and future ones. However,
in general, I believe the effort you put into learning PEAR is negligible
compared to the yield. I don't think PEAR is a flash in the pan.
In one of the reply to the original posting I made, someone say that
htmlentities() would work and upon submission, the PHP's $_REQUEST, $_POST,
$_GET would get the apostrophe somehow. (The conversion somewhere would
change it back)
Chris Shiflett [EMAIL PROTECTED] wrote in message
Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using
PHP 4.3.1
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Justin Patrin [EMAIL PROTECTED] wrote:
You also shouldn't need addslashes when putting it in. quoteSmart() in
PEAR::DB is a
[...]
Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using
PHP 4.3.1
[...]
*mo* - wrong
[quote]
mysql_escape_string
(PHP 4 = 4.0.3, PHP 5)
[/quote]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 30 Jun 2004 15:41:42 -0400, Scott Fletcher [EMAIL PROTECTED] wrote:
Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using
PHP 4.3.1
I know that it's not. Where are you seeing that? According to the manual:
Scott Fletcher mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 12:42 PM said:
Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm
using PHP 4.3.1
read the page again bro. :)
http://us4.php.net/mysql_escape_string
chris.
--
PHP General Mailing List
Hi,
could anyone help on this 'by reference' problem.
I have 2 classes. The main class as a child class.
The child class has properties (array)
I would like to be able to manipulate the child's properties even after the child has
been inserted into the main class.
Does this make sense?
I can
Not sure over here, but isn't it
$main-setChild($child1);
Vincent Dupont wrote:
Hi,
could anyone help on this 'by reference' problem.
I have 2 classes. The main class as a child class.
The child class has properties (array)
I would like to be able to manipulate the child's properties even after
Vincent DUPONT mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 1:05 PM said:
Hi,
hi.
could anyone help on this 'by reference' problem.
when starting a new thread please do not just reply to an ongoing thread
and change the subject. please start a new email.
your fellow list
Lill example:
[...]
$child1-setproperty(first);//displayed
$main-setChild($child1);
$child1-setproperty(second); //NOT DISPLAYED
[...]
$child1 is passed to $main with property 'first'. Later on
you update $child1, but not $main-child, as they are not
the same objects ( equal but not same ).
So i
so, why don't you reply correctly? :p
Chris W. Parker wrote:
Vincent DUPONT mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 1:05 PM said:
Hi,
hi.
could anyone help on this 'by reference' problem.
when starting a new thread please do not just reply to an ongoing thread
and change the
better don't blame the other pal :-)
http://screens.erisx.de/reply.gif
-- red
Red Wingate wrote:
so, why don't you reply correctly? :p
Chris W. Parker wrote:
Vincent DUPONT mailto:[EMAIL PROTECTED]
on Wednesday, June 30, 2004 1:05 PM said:
Hi,
hi.
could anyone help on this 'by reference'
Hi all, I filed a PHP bug related to others I found online, but thought I
would throw it by the list also...
You can find the bug at:
http://bugs.php.net/bug.php?id=28967
[30 Jun 5:40am CEST] shannon at swerb dot com
Description:
Hi there, sorry, but I am running out of ideas
Hi all
Please when i'm trying to use the xslt_create() function php says indefined
function but this is in my phpinfo()
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6
Any idea please ?
Pierre
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Wed, 2004-06-30 at 14:30, Pierre wrote:
Hi all
Please when i'm trying to use the xslt_create() function php says indefined
function but this is in my phpinfo()
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6
Any idea please ?
You need xslt support enabled
Ok so I must recompile php with this option but I can't is there any php
class easy to use that can do this ?
Pierre
-Message d'origine-
De : Ray Hunter [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 30 juin 2004 21:34
À : php-general
Objet : Re: [PHP] xslt_create
On Wed, 2004-06-30 at
on windows? linux?
Pierre wrote:
Ok so I must recompile php with this option but I can't is there any php
class easy to use that can do this ?
Pierre
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-06-30 at 14:36, Pierre wrote:
Ok so I must recompile php with this option but I can't is there any php
class easy to use that can do this ?
If you are on a linux box and have php installed via rpm you might be
able to get a php-xslt rpm that you can use. If on windows you can
Yes it's ok thanks to all :)
But now I have a little problem : my page is all white
This is my code :
$xml='frm2004.xml';
$xsl='style1.xsl';
$xslt=xslt_create();
$resultat=xslt_process($xslt,$xml,$xsl);
xslt_free($xslt);
echo $resultat;
what's wrong ? please
Pierre
-Message
Scott Fletcher wrote --- napsal::
In one of the reply to the original posting I made, someone say that
htmlentities() would work and upon submission, the PHP's $_REQUEST, $_POST,
$_GET would get the apostrophe somehow. (The conversion somewhere would
change it back)
the somewhere is in the
thats really difficult to say without seeing the xsl and xml. theres a
very good xsl list over at mulberrytech.com too if you need specific xsl
help
http://www.mulberrytech.com/xsl/xsl-list/index.html
Pierre wrote:
Yes it's ok thanks to all :)
But now I have a little problem : my page is all
Thanks for the link :)
In case of this is my .xml
?xml version=1.0 encoding=utf-8 ?
?xml:stylesheet type=text/xsl href=style1.xsl?
formulaire
FRMFAT04001
c001 type=input desc=Societe size=32John
Smith/c001
c002 type=input desc=Adresse size=3225/c002
Hi folks. I'm having a little bit of a stupid moment with a regular
expression which I'm hoping someone can lend a hand with.
The regular expression I have right now matches strings between 2 and
1000 characters in length that start with one of the following
characters:
a-z
A-Z
0-9
(
)
and
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[...]
Can't you use utf8_decode() to display the utf8 encoded data?
[...]
The displayed data worked out fine for some languages but others didn't
and even simple german chars like äöü won't show up correctly within
a
Justin Patrin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 30 Jun 2004 15:21:36 -0400, Will Merrell [EMAIL PROTECTED]
wrote:
I don't mean to start a flame war here, but I have been working in PHP
for a
while now and am about to start a more extensive aplication. Some of
1 - 100 of 158 matches
Mail list logo