Hi All,
Just curious if anyone knows of an existing class that will take MySQL
records containing HTML and create a valid RSS 2.0 newsfeed from them?
Much warmth,
Murray
---
http://www.planetthoughtful.org
"Building a thoughtful planet,
one quirky comment at a time."
--
PHP General Mailing Lis
Hi,
I want to know whether Php5 fully oops ? Difference between java
oops & php5 oops.
I need immediately.
Thanks,
tamilarasi
Tamilarasi Palanisamy (tpalanis) wrote:
Hi,
Hi
I want to know whether Php5 fully oops ?
That depends - what do you want to do?
Difference between java
oops & php5 oops.
I don't know - I'm a PHP programmer and I've never written a single line
of Java code in my life.
I nee
Rasmus Lerdorf wrote:
maddog1169 wrote:
The one that does not get accepted is
including the "<>"
You have something like this?
It should work. Make sure you have quotes around it, of course, or
weird stuff will happen.
IIRC technically the < and > should be HTML entity encoded.
de
Rasmus Lerdorf wrote:
array_count_values()
Bagus Nugroho wrote:
Hi Master,
not sure what Bagus was intending with 'Master',
regardless, the reply made me smile...
:-)
I have an array as :
$myArray = array('four','four','four','four','one,,'three','three','three','two','two');
--
PH
Quoting "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>:
> Just curious if anyone knows of an existing class that will take MySQL
> records containing HTML and create a valid RSS 2.0 newsfeed from them?
http://software.zuavra.net/rowd_feed/
--
Romanian Web Developers - http://ROWD.ORG
--
PHP G
Alan Milnes wrote:
Tamilarasi Palanisamy (tpalanis) wrote:
these are not the answers you're looking for. move along.
Hi,
Hi
I want to know whether Php5 fully oops ?
sometimes (actually quite often :-) I write some code and it does
something I don't want to happen - then I s
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-projects) and it is related to
itself.
By making the following query
-8<--
SELECT * FROM projects LEFT JOIN projects proj_parent ON
I want to know whether Php5 fully oops ? Difference between java
oops & php5 oops.
I need immediately.
I guess you would get as many different answers as there are compute
language theoreticians, but I would say that php5 is one fine oop language,
in my taste even more fun than java since
""Tamilarasi Palanisamy (tpalanis)"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I want to know whether Php5 fully oops ? Difference between java
oops & php5 oops.
I need immediately.
I guess you will het as many answers as there are computer language
theoreticians ;) . But
Hello,
Consider this:
tbl_project(id, name, parent)
1 6
/ \ / \
2 3 7 8
/\
4 5
if tbl_project.parent = 0 then the project is the "top" parent.
Therefore, 1 and 6 have the field parent = 0.
So, say if you have project 5, do yo
On Tue, 2005-07-26 at 11:45 +0100, Shaw, Chris - Accenture wrote:
> Hello,
>
> Consider this:
> tbl_project(id, name, parent)
>
> 1 6
> / \ / \
> 2 3 7 8
>/\
> 4 5
>
> if tbl_project.parent = 0 then the project is the "top" parent.
> Th
Are you familiar with Joe Celko's tree theory? It might help you understand
more about the problem.
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=235427
--
Hello,
Consider this:
tbl_project(id, name, parent)
1 6
/ \ / \
2 3 7 8
/\
4 5
if tbl_project.parent
On 22 July 2005 19:47, Surendra Singhi wrote:
> I don't think it will make the code confusing, but the person looking
> at the code should understand how reference and global variables
> work. Using reference variables avoids unnecessary extra copying of
> objects, and while
> using large arrays i
Hello,
Well its simply this:
select b.id
from tbl_project a, tbl_project b
where b.id = a.parent
and a.id = 5
This will return the id of project 5 parent, in this case it is 2.
If the query doesn't return any rows then you know the project doesn't have a
parent.
I cannot test it on MySQL,
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save queries as much as
possible. Making two queries to extract information about a project and
it's parent is not something I'd want to do.
On 21 July 2005 22:19, Chris W. Parker wrote:
> 2. It will be a good idea to get out of the habit of breaking
> in and out
> of PHP like that. Instead just do: echo 'hi1';
Why? Some of us just strongly prefer the breaking in and out style -- I use
it almost exclusively. In my 10,000s of lines o
You're missing the point here. I know how to get the parent project's
info. I know recursiveness. I _JUST_ don't know how to get the current
and parent project's info in just ONE QUERY (since I'm trying to save
them because the sql weight is getting pretty heavy).
--
PHP General Mailing List (htt
Hi
I am retrieving data from postgresql and displaying it in form of table in
different rows.
my problem is when check box is clicked i need to change the color of the
row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
Thanks & regards
Suma
_
* "Ford, Mike" <[EMAIL PROTECTED]> :
> On 21 July 2005 22:19, Chris W. Parker wrote:
>
> > 2. It will be a good idea to get out of the habit of breaking in and
> > out of PHP like that. Instead just do: echo 'hi1';
>
> Why? Some of us just strongly prefer the breaking in and out style -- I use
> i
* Rodolfo Gonzalez Gonzalez <[EMAIL PROTECTED]>:
> this could be a silly question. Is there some performance penalty when
> using the <<< operator like this:
>
> $var =<< add a bunch of text here
> and here
> EOP;
>
> Just curious.
Try doing some benchmarks using microtime(). My gut reaction is t
On 7/25/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> ...somebody beat me with a virtual stick if I am wrong!
Why? I'd rather just throw the php.net/manual at you!
Dotan
http://lyricslist.com/lyrics/artist_albums/23/aguilera_christina.php
Aguilera, Christina Song Lyrics
--
PHP General Mailing Lis
On 7/26/05, suma parakala <[EMAIL PROTECTED]> wrote:
> Hi
> I am retrieving data from postgresql and displaying it in form of table in
> different rows.
> my problem is when check box is clicked i need to change the color of the
> row .agai when the check box is unclicked it should hold the old col
suma parakala wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table
in different rows.
my problem is when check box is clicked i need to change the color of
the row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
This
Please confirm the document.
+++ Attachment: No Virus found
+++ Panda AntiVirus - www.pandasoftware.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> One thing I didn't quite explain myself well... I'm building this to
> register objects on a permission system.
>
> The SQL weight is heavy as it is, and I want to save queries as much as
> possible. Making two queries t
This seems really silly, but I can't find a way of doing it!
How can I play/stream an audio file, that may be upto an hour long and
keep it playing while visitors view other pages?
Is it possible to use sessions so that the file will continue playing
when they hit the next page.
(It wouldn't really
On Tue, 2005-07-26 at 13:47 +0100, Tom Chubb wrote:
> This seems really silly, but I can't find a way of doing it!
> How can I play/stream an audio file, that may be upto an hour long and
> keep it playing while visitors view other pages?
> Is it possible to use sessions so that the file will conti
On Tue, 2005-07-26 at 13:39 +0100, Mark Rees wrote:
> "André Medeiros" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > One thing I didn't quite explain myself well... I'm building this to
> > register objects on a permission system.
> >
> > The SQL weight is heavy as it is, and I
Yeah I understand what he wants, but the problem boils down to the project
with no parent.
The only thing I can suggest is if you have a dummy row in, so the "top"
parent row, (1) or (6) in my example with have the dummy as its parent.
Then using:
select b.id parentID, b.name parentName, a.id c
I want to write a j2me midlet that displays a story headline and
description. This is working great.
However I want to write a php script that I can hit the url/page of
the full story with then pull all of the stories text and remove all
html/script/menu/imagee etc. So the phone can display it.
Ho
Hi,
My main site allows authenticated users to insert bibliographic data into
our database. We ask them to start by putting in an ISBN or ISSN. Some
documentes don't have them, or the use is too lazy to look for them. Rather
than them entering jibberish, we first check that if they have entered
so
On Tue, 2005-07-26 at 09:28 -0400, Krypto 76 wrote:
> I want to write a j2me midlet that displays a story headline and
> description. This is working great.
> However I want to write a php script that I can hit the url/page of
> the full story with then pull all of the stories text and remove all
>
George Pitcher wrote:
Hi,
the likelyhood that someone will answer you question with anything
relevant rapidly drops when you can't be bothered to start a new thread.
this is because threaded news/list readers are, well, threaded and your post
just got tagged onto the bottom of some, possibly t
George Pitcher wrote:
Jochem,
Sorry about the thread issue - nothing intentional - just easier than trying
to find my php-general address.
the list doesn't give a who sends the mail AFAICT, also if the mail you
send
doesn't get read and /or replied to then whats the point?
oh and the wa
Dotan Cohen wrote:
On 7/25/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
...somebody beat me with a virtual stick if I am wrong!
Why? I'd rather just throw the php.net/manual at you!
harddrive or memory stick?
but seriously did I err?
Dotan
http://lyricslist.com/lyrics/artist_albums/23/agu
Hi all,
Iam running PHP on THTTPD 2.21b
I have a simple php script that sets the system clock (using exec("date -s
MMDDhhmm.ss") and returns a page showing the system time
when i use it to set the time forwards, it works fine
but if i use it and set the time backwards (even a few seconds), t
Hi Rasmus,
This may be a little bit long, sorry for taking your time.
It still does not work as expected. I tried some experiment, and found that
if I called some function or write some code line other then calling
header(), the register_shutdown_function and other part of codes work as
expec
Hi,
I have Apache 2.0.52 with PHP 4.3.9, running on a Linux Fedora 3, and cannot
write through PHP on any folder, except for /tmp.
No matter which permissions, owner or group are set for the folders or files,
they never become writable.
When I execute the following script, I have always obtain a
Jochem Maas wrote:
> Rasmus Lerdorf wrote:
>
>> maddog1169 wrote:
>>
>>> The one that does not get accepted is
>>>
>>>
>>>
>>> including the "<>"
>>
>>
>>
>> You have something like this?
>>
>>
>>
>> It should work. Make sure you have quotes around it, of course, or
>> weird stuff will happen
Hey!
I presently require hosting with a company that has their servers in Sweden,
and I need a shared hosting account,
any recommendations are welcome, the server is for a client.
I have found quire a few via google but I noticed most of them are with
Safemode ON and Register_globals ON
which I fi
Hello everyone,
What I want to do is have a form (which is already created) where the user
selects (via checkbox) on an item or group of items (almost like a shopping
cart). These items are stored in a MySql database and the program was written
in PHP. So far I have created an insert form th
I upgraded from PHP 5.0.4 to 5.1b3 yesterday and all my scripts die the only
trace being a lone line:
default 16
written to the command window. There are a few Notice's that preceed that
look like:
Notice: Only variable references should be returned by reference in
c:\Programs\php\php-5.1b3\ext
On 26 July 2005 14:38, George Pitcher wrote:
> So my questions are:
>
> Is there a way for me to (using cURL) ask COPAC how many
> records match the
> search and if >0, return the data in a way that I can use it
> as I wish?
>
> If not, is there another tool that I should be using?
Maybe you sh
Hi everybody, I am learning PHP, and have this very basic question:
What software/tools I need to begin?
What is the best IDE I can use? (in windows) Please tell me about FULL-IDEs,
not just "super text editors that can syntax-highlight PHP code". I want to
debug, deploy... ALL!
I have just dow
You would actually only need Zend Studio Client.
It's the best PHP IDE i've ever tried (and believe me, i've been around ;)
On 7/26/05, Taksam <[EMAIL PROTECTED]> wrote:
> Hi everybody, I am learning PHP, and have this very basic question:
>
> What software/tools I need to begin?
> What is the b
To expand a little: Zend Client is super for debugging on a localhost
but if you want a team of developers to have debug / profile tools then
Zend Studio Server is the tool. I would suggest that you apply for the
Zend Small Business program if these tools meet your needs for one low
yearly price y
Taksam wrote:
Hi everybody, I am learning PHP, and have this very basic question:
What software/tools I need to begin?
What is the best IDE I can use? (in windows) Please tell me about FULL-IDEs, not just
"super text editors that can syntax-highlight PHP code". I want to debug,
deploy... ALL
On Tue, 26 Jul 2005, Matthew Weier O'Phinney wrote:
this could be a silly question. Is there some performance penalty when
using the <<< operator [in heredoc]
Try doing some benchmarks using microtime(). My gut reaction is that
there shouldn't be any difference; heredoc syntax is simply another
This is with simplexml_load_file(). Using an empty()
check instead of is_array() does the trick (though -
note to php hackers - I think is_array() SHOULD work).
John
--- Jochem Maas <[EMAIL PROTECTED]> wrote:
> John Smith wrote:
> > I'm trying to avoid error messages while iterating
> > over D
Hello,
following code won't work in the expected way:
class ClassA {
function getClassName() {
return get_class($this); # [1]
}
}
class ClassB extends ClassA { }
echo ClassB::getClassName();
this script echoes "Object" instead of "ClassB". but i would like to
return the classname of th
John Smith wrote:
This is with simplexml_load_file(). Using an empty()
check instead of is_array() does the trick (though -
note to php hackers - I think is_array() SHOULD work).
ah simplexml, in that case is_array() shouldn't and won't
work because it's 'all' objects (although I can understand
How do you specify a port to connect to? I tried using
localhost:3050 (3050 is the default port that Firebird) and that
didn't work.
$host = 'localhost:/path/to/your.gdb' ;
$username = 'SYSDBA';
$password = 'masterkey';
$dbh = ibase_connect ( $host , $username , $password );
--
-James
Hello axel,
Tuesday, July 26, 2005, 8:02:05 PM, you wrote:
a> class ClassA {
a>function getClassName() {
a> return get_class($this); # [1]
a>}
a> }
a> class ClassB extends ClassA { }
a> echo ClassB::getClassName();
a> this script echoes "Object" instead of "ClassB". but i would like
axel wrote:
Hello,
following code won't work in the expected way:
class ClassA {
function getClassName() {
return get_class($this); # [1]
}
}
class ClassB extends ClassA { }
echo ClassB::getClassName();
this script echoes "Object" instead of "ClassB". but i would like to
either you
James wrote:
How do you specify a port to connect to? I tried using localhost:3050
you can't/don't specify the port in your connection string.
(3050 is the default port that Firebird) and that didn't work.
yeah somebody using the firebird extension! or trying at least. ;-)
you have to sp
>
> Hello everyone,
>
> What I want to do is have a form (which is already created)
> where the user selects (via checkbox) on an item or group of
> items (almost like a shopping cart). These items are stored
> in a MySql database and the program was written in PHP. So
> far I have created
Hello Richard,
thanks for for your answer.
a> class ClassA {
a>function getClassName() {
a> return get_class($this); # [1]
a>}
a> }
a> class ClassB extends ClassA { }
a> echo ClassB::getClassName();
a> this script echoes "Object" instead of "ClassB". but i would like to
a> return
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'm in the process of executing system commands using php. The only problem
is that I am not entirely sure how to execute these system commands using
root user.
(I need root access to do a few things through php). Whenever I use the exec
command it uses the www user. Would anyone know? Th
I really didn't follow all that. But this stuff is not that complex.
header() sets a header to be sent when output goes out. header() does
not send an actual header at that point. If you don't send any output,
then the headers won't go out until the script terminates. If you have
any sort of ou
Hello,
It seems I do not get apache server to run. It shuts down instantly.
I installed via
http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/
the XAMPP implementation for the PHP-mysql server. I captured the
following part of the message of the dos window when activating
Hello Jochem,
either you tested some different code to what you posted above OR
(your build of?) 5.0.3 is borked.
sorry, I didn't tested the code at all, because my code is more complex.
I just tried to show the problem.
class ClassA {
public static function getClassName() {
return
That's a client-side issue then, because it is certainly sent. Trying
your exact script:
It's at http://lerdorf.com/red.php if you want to test it yourself.
3:53pm colo:/var/www/lerdorf.com> telnet localhost 80
Trying 127.0.0.1...
Connected to colo.
Escape character is '^]'.
GET /red.php HTTP
Thank you for replying. Sorry for being long again.
I tried your suggestion of this:
The browser did not get the redirect page until the new $i(10) has been
appended to file foo.txt.
I also tried
---
ob_start();
header("Location: http://liang.ns2us
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner s
Hi Tom,
First of all due to the "risks" involved in doing something like
this.. are you sure you need to do this as root ?
Secondly, are you sure this script will not be accessible via an
apache server ? (i.e this is not inside your document root?)
Your best bet is to use sudo (man sudo, ma
I tested the link (http://lerdorf.com/red.php) using browser (firefox 1.0),
it worked as expected, the page of redirect2.html displayed within 2
seconds. I put the exact code to my testing envirionment (2 places), as this
one: http://liang.ns2user.info/php/red.php , and the page shows up in abou
Liang ZHONG wrote:
> The php configuration is: http://liang.ns2user.info/php/info.php. I have
> no read permission of those httpd.conf files so do not know how apache
> configured.
That shows PHP is running as a CGI. As a CGI PHP has very little
control over anything. It is completely at the mer
Sorry for bothering again, but I did not mention the other environment on
which I tested, since it has an access control to outsider. I saved the info
page to: http://liang.ns2user.info/php/info-train06.htm. The php runing on
as apache 2.0 filter module. And the resutl of the experiment is same
I have no experience with the Apache2 filter. On the few servers I use
Apache2 on I use the handler SAPI and it works fine there as far as I
can tell. lerdorf.com is running Apache-1.3 with the standard PHP
Apache1 SAPI. No special setup on it.
I have no idea why your Perl thing is doing someth
On 7/26/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> >>...somebody beat me with a virtual stick if I am wrong!
> > Why? I'd rather just throw the php.net/manual at you!
>
> harddrive or memory stick?
just /home/dotan/myfiles/docs/php-manual/
> but seriously did I err?
Not that I see. But don't fo
Hi,
Has anyone else had a problem with the open_basedir restriction
completely ignoring what you tell it? I've added several directories to
my allowed path (separated by colons) in my Apache configuration file,
and then when I go to run my scripts, I'm told that
/home/sites/site1/web/ and so
On 7/26/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> >>...somebody beat me with a virtual stick if I am wrong!
> > Why? I'd rather just throw the php.net/manual at you!
>
> harddrive or memory stick?
just /home/dotan/myfiles/docs/php-manual/
> but seriously did I err?
Not that I see. But don't for
I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works but
when I try to connect to MySQL I get the Fatal error: Call to undefined
function mysql_connect(). I have uncommented the line in the php.ini file that
says 'extension=php_mysql.dll'. I have path variables set for bot
75 matches
Mail list logo