Re: [PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread Jake Press
Jason Barnett wrote: Jake, as you probably already know you usually have to give the class name when attempting to get a static variable, i.e. YourClassName::$bob; You *can* dynamically refer to a static class variable from within an object without knowing the name of the class; this is what

Re: [PHP] PHP Accelerator

2004-11-07 Thread Danny Brow
On Sun, 2004-11-07 at 07:55 +0200, Jyry Kuukkanen wrote: On Sun, 7 Nov 2004, raditha dissanayake wrote: David wrote: I need a PHP accelerator but am not sure which one to use. I would highly prefer to not use a commercial accelerator and need one that works with PHP 5. Does

Re: [PHP] PHP Accelerator

2004-11-07 Thread Klaus Reimer
raditha dissanayake wrote: this one: - Turck MMCache for PHP Turck MM Cache does not work with PHP 5. It's possible to compile and load it and some pages are working but most of the time it segfaults. By the way: Does anybody know if the Turck MM Cache project is still active? The last change in

Re: [PHP] Object oriented??

2004-11-07 Thread Robert Cummings
On Sun, 2004-11-07 at 01:37, Larry E.Ullman wrote: Yes of course...but was confused since some says it is so and some says it is not...So thought of asking the pros.. It is. PHP4 had limited support for OOP, though it was quite usable. PHP5 goes further and provides pretty much

Re: [PHP] Re: NMax

2004-11-07 Thread M. Sokolewicz
count() is prefered over mysql_num_rows, because the later requires a full resultset to be tranfered, while the first doesn't. (so, the 2nd is more resource intensive if you don't require the resultset) [EMAIL PROTECTED] wrote: Yeah definitely use COUNT(*) or mysql_num_rows() function. Nate

[PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread M. Sokolewicz
hi, it's a limitation, and not allowed in PHP. There was a whole line of posts about it in internals. - Tul Jake Press wrote: Hello All, I am having an interesting syntax problem. :( I have been battling this little bugger for the last week and a half, I have exhausted google and numerous php

[PHP] Re: Adding to a Date

2004-11-07 Thread M. Sokolewicz
Matt Cassarino wrote: Hi, I am trying to add x days to the current date for a calendar program that I am writing. x represents any integer from 1 to 7. So, for x=4, the program will get the current date 2004-11-06 and add 4 days to it: 2004-11-10 I need it to account for the next month if I

Re: [PHP] Object oriented??

2004-11-07 Thread Jonel Rienton
From a theoretical stand point, for a language to be OO, it should support encapsulation, inheritance and polymorphism On Nov 7, 2004, at 2:26 AM, Robert Cummings wrote: On Sun, 2004-11-07 at 01:37, Larry E.Ullman wrote: Yes of course...but was confused since some says it is so and some says it

[PHP] pspell problems

2004-11-07 Thread Noodles
I've spent the last 6 hours or so trying to get pspell going on my php install, version 4.3.9. I've searched all over the net, but haven't found a solution. I'm using debian so I'm using the packaged version of php4 and apache. I installed aspell using apt-get and then downloaded and compiled

[PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
Hey all, Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: SCRIPT LANGUAGE=JavaScript !-- Begin NewImg = new Array ( ?php while($row = mysql_fetch_object($result)){

Re: [PHP] Javascript and php

2004-11-07 Thread Jordi Canals
On Sun, 7 Nov 2004 11:44:33 +0100, Reinhart Viane [EMAIL PROTECTED] wrote: Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: SCRIPT LANGUAGE=JavaScript !--

Re: [PHP] Javascript and php

2004-11-07 Thread Bruno B B Magalhães
Reinhart, ?php for($i = 0; $i mysql_num_rows($result)-1; $i++) { $row = mysql_fetch_object($result); echo ''.$row-picture_url.''; if($i = mysql_num_rows($result)-2) { echo ','; } } ? Here is how I do in my developments.

RE: [PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
Thank you very much, After some small adjustements to make it work with the rest of the javascript it works like a charm!! Have a nice Sunday :) Greetings, Reinhart -Original Message- From: Bruno B B Magalhães [mailto:[EMAIL PROTECTED] Sent: zondag 7 november 2004 12:33 To: [EMAIL

[PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
I asked a question yesterday about this but I think my question is now more fine tuned: Right now I have about 50+ session variables that will be inserted into my mysql database in a transaction. I need to do the mysql_real_escape_string and because magic_quotes_gpc is turned on stripslashes as

[PHP] How to get WIN-1255 encoded string

2004-11-07 Thread Marina Markus
Hello, I am desperately looking for a solution of a problem that seems quite simple. I need a PHP script to create an email message in a way that a subject line in Hebrew will be readable in all mail clients. Some mail clients cannot cope with Hebrew if they don't have character set explicitly

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Jordi Canals
On Sun, 7 Nov 2004 03:52:28 -0800 (PST), Stuart Felenstein [EMAIL PROTECTED] wrote: I asked a question yesterday about this but I think my question is now more fine tuned: Right now I have about 50+ session variables that will be inserted into my mysql database in a transaction. I need to

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Jordi Canals [EMAIL PROTECTED] wrote: In the manual http://es2.php.net/manual/en/function.get-magic-quotes-gpc.php you have an example just for that. Take a look to the Example 2. Ok, that makes sense. Thank you . Stuart -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Stuart Felenstein [EMAIL PROTECTED] wrote: On second thought, I have a question. What is the $value in the example ? Does that mean I put in my own values ? Stuart ?php if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? ---?

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Jason Wong
On Sunday 07 November 2004 13:03, Stuart Felenstein wrote: On second thought, I have a question. What is the $value in the example ? $_POST, then $_GET, then $_COOKIE Does that mean I put in my own values ? 1) No. 2) Lookup array_map() and understand what it does. 3) stripslashes_deep()

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Jason Wong [EMAIL PROTECTED] wrote: 2) Lookup array_map() and understand what it does. 3) stripslashes_deep() is a recursive function (ie. it calls itself). You should find a good tutorial on recursive functions to learn exactly what it does. Thank you Jason. Another thing I'm

[PHP] Extension help

2004-11-07 Thread Kevin
Hello all, I have the source code for a C library who's functions i wish to expose to php. Ideally i'd like to be able to use dl() or put the library file location into php.ini to allow use of the functions. Is there a tutorial on how to do this? I've read over the Zend API stuff,

Re: [PHP] loking for a item in string?

2004-11-07 Thread Greg Donald
On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks [EMAIL PROTECTED] wrote: I am opening a file and then have to look for a value inside the string. Is there an easy way to do this? I need the value in this string for the var djLast = '45.11'; preg_match() can do that.

Re: [PHP] loking for a item in string?

2004-11-07 Thread Kevin
On Sun, Nov 07, 2004 at 08:32:53AM -0600, Greg Donald wrote: On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks preg_match() can do that. php.net/preg_match Easiest possible way to do this ( for you the programmer ) is to slurp the whole file in as a string and search for

Re: [PHP] CONGRATULATION (YOU JUST WON LOTTERY)

2004-11-07 Thread John Nichel
-{ Rene Brehmer }- wrote: Spam message reported, original sender added to permanent blacklist Have a nice day Rene At 02:56 06-11-2004, floydjeffers wrote: [skip spam] Butbutbutwhat if we really won? ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing

Re: [PHP] loking for a item in string?

2004-11-07 Thread M. Sokolewicz
I'd rather suggest using strpos(), seen as it's quite a bit faster than using a regular expression engine (especially when you don't need one) Greg Donald wrote: On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks [EMAIL PROTECTED] wrote: I am opening a file and then have to look

Re: [PHP] pspell problems

2004-11-07 Thread John Nichel
Noodles wrote: I've spent the last 6 hours or so trying to get pspell going on my php install, version 4.3.9. I've searched all over the net, but haven't found a solution. I'm using debian so I'm using the packaged version of php4 and apache. I installed aspell using apt-get and then

Re: [PHP] images doesn't seem to cache

2004-11-07 Thread anders thoresson
it won't be a php-parameter. Seen as the script isn't executed when the server decides it is the same as the cached version. So only if it deems not to be, then it runs the script, and when it does that, the script doesn't need to know anything about modified-since, because that checks has

RE: [PHP] loking for a item in string?

2004-11-07 Thread Murray @ PlanetThoughtful
I'd rather suggest using strpos(), seen as it's quite a bit faster than using a regular expression engine (especially when you don't need one) Greg Donald wrote: On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks [EMAIL PROTECTED] wrote: I am opening a file and then

[PHP] Wirred problem with 500 Internal Server Error

2004-11-07 Thread Michelle Konzack
Hello all, I was working on my OnlineStore up to 04:30 in the morning and all was working fine. Now for 20 minutes a friend has called me, my OnlineStore give an error. After checking I do not know, so I have echo ?php echo=\What the hell... ?\; ? pest.php and called it with

[PHP] Question: array_walk

2004-11-07 Thread Stuart Felenstein
This array_walk() looks like a good function Would this be a legitimate call: array_walk($myarray, 'mysql_real_escape_string'); ? Thank you, Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is that something like perldoc in PHP ?

2004-11-07 Thread Exile
Thanks in advise, Exile -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to get WIN-1255 encoded string

2004-11-07 Thread Manuel Lemos
Hello, On 11/07/2004 09:57 AM, Marina Markus wrote: I am desperately looking for a solution of a problem that seems quite simple. I need a PHP script to create an email message in a way that a subject line in Hebrew will be readable in all mail clients. Some mail clients cannot cope with Hebrew

[PHP] Auto Form Fill on option select

2004-11-07 Thread Kevin Dell
Hi all, I have a question that I can't get my head around and was hoping someone could answer for me. I have a form with a number of fields. Field one is a tdselect name=thisSteamField/td The option fields are built from an sql statement and a where clause builds the options fields

[PHP] Re: Wirred problem with 500 Internal Server Error

2004-11-07 Thread Michelle Konzack
Forgotten to post the error.log: [Sun Nov 7 18:45:13 2004] [error] (13)Permission denied: exec of /home/ onlinstore/public_html/pest.php failed [Sun Nov 7 18:45:15 2004] [error] [client 65.222.145.42] Premature end of script headers: /home/onlinestore/public_html/pest.php and access.log:

[PHP] recursive function not returning anything..

2004-11-07 Thread nate
function recursePathLookup($CatID, $Path = array()) { //Get the catid for this subcat $sql = SELECT SubCategoryID, Name FROM categories WHERE CategoryID = '.$CatID.'; $query = mysql_query($sql); if(mysql_num_rows($query) == 1) { $data =

[PHP] Re: recursive function not returning anything..

2004-11-07 Thread M. Sokolewicz
[EMAIL PROTECTED] wrote: function recursePathLookup($CatID, $Path = array()) { //Get the catid for this subcat $sql = SELECT SubCategoryID, Name FROM categories WHERE CategoryID = '.$CatID.'; $query = mysql_query($sql); if(mysql_num_rows($query) == 1) { $data =

[PHP] Re: Is that something like perldoc in PHP ?

2004-11-07 Thread M. Sokolewicz
Exile wrote: Thanks in advise, Exile is what like perldoc? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Question: array_walk

2004-11-07 Thread M. Sokolewicz
Stuart Felenstein wrote: This array_walk() looks like a good function Would this be a legitimate call: array_walk($myarray, 'mysql_real_escape_string'); ? Thank you, Stuart array_map() is faster :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Re: recursive function not returning anything..

2004-11-07 Thread nate
Of course! Thank you. Nate -Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: recursive function not returning anything.. [EMAIL PROTECTED] wrote: function recursePathLookup($CatID,

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
I tried it with just aspell (including the aspell-en dictionary package) and whenever I tried to configure php to use pspell it couldn't find pspell (./configure --with-pspell) John Nichel wrote: Noodles wrote: I've spent the last 6 hours or so trying to get pspell going on my php install,

[PHP] Re: [PHP-I18N] How to get WIN-1255 encoded string

2004-11-07 Thread Fredrik Tolf
On Sun, 2004-11-07 at 13:57 +0200, Marina Markus wrote: Hello, Hi! I need a PHP script to create an email message in a way that a subject line in Hebrew will be readable in all mail clients. Some mail clients cannot cope with Hebrew if they don't have character set explicitly denoted. I

[PHP] Re: [PHP-I18N] How to get WIN-1255 encoded string

2004-11-07 Thread Fredrik Tolf
On Sun, 2004-11-07 at 20:42 +0100, Fredrik Tolf wrote: On Sun, 2004-11-07 at 13:57 +0200, Marina Markus wrote: Is there a possibility in PHP allowing to encode a string with WIN-1255 character set encoding? The result should look like: =?windows-1255?B?Rlc6IOz26eHl+CDk8uXj6e0=?=

Re: [PHP] Auto Form Fill on option select

2004-11-07 Thread Jonel Rienton
This can be done with javascript or you can use an event-driven solution like PRADO Hi all, I have a question that I can't get my head around and was hoping someone could answer for me. I have a form with a number of fields. Field one is a tdselect name=thisSteamField/td The option

[PHP] [SOLVED] Re: Wirred problem with 500 Internal Server Error

2004-11-07 Thread Michelle Konzack
Hello all, it was realy stupid... One of my VirtualHosts had AddHandler cgi-script .php .cgi .sh .pl but NOT inside the VirtualHost directive... ...and has blocked all Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917

[PHP] Re: Is there an HTTP server that parses PHP that will run on the Axim x3i?

2004-11-07 Thread Megiddo
[EMAIL PROTECTED] (Megiddo) wrote in message news:[EMAIL PROTECTED]... Is there an HTTP server that parses PHP that will run on the Axim x3i? I'd really like to know the answer to this question. I'm a big PHP programmer, and would love to be able to test my scripts on my Axim. Anybody?

[PHP] FW by MAILER-DAEMON@pb1.pair.com : *****SPAM_sub***** failure notice

2004-11-07 Thread Michelle Konzack
Hello, Whats going on with the ListServer of php.net ? For every Message I send I get an error Message... But the E-Mails was correctly delivered... Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ

Re: [PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread Jake Press
Thanks Tul, Okay, so its a limitation :( I cant find the line of posts, any idea on it - or possible keywords i can google with ? I'd like to find out the reasons behind why this a fixed limitation Best Regards Jake Press M. Sokolewicz wrote: hi, it's a limitation, and not

[PHP] Array_Walk error messages

2004-11-07 Thread Stuart Felenstein
Can anyone give me a clue what I have done wrong here. //These would be passed as ints: array_walk($l_industry, 'mysql_escape_string'); Warning: Wrong parameter count for mysql_escape_string() in /xxx//public_html/Test2.php on line 104 //These would be passed as ints: array_walk($l_tterm,

[PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread robert mena
Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show

Re: [PHP] loking for a item in string?

2004-11-07 Thread Curt Zirzow
You've just hijacked this thread. Please start a new message instead of replying to a message and changing the subject to talk about something else. Curt -- Quoth the Raven, Nevermore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Syntax problem - dynamic static member access

2004-11-07 Thread Curt Zirzow
You've just hijacked this thread. Please start a new message instead of replying to a message and changing the subject to talk about something else. Curt -- Quoth the Raven, Nevermore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is that something like perldoc in PHP ?

2004-11-07 Thread Curt Zirzow
You've just hijacked this thread. Please start a new message instead of replying to a message and changing the subject to talk about something else. Curt -- Quoth the Raven, Nevermore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extension help

2004-11-07 Thread Curt Zirzow
* Thus wrote Kevin: Hello all, I have the source code for a C library who's functions i wish to expose to php. Ideally i'd like to be able to use dl() or put the library file location into php.ini to allow use of the functions. Look at http://pecl.php.net, it is dedicated to

[PHP] Syntax Limitation - dynamic static member access

2004-11-07 Thread Jake Press
Oops, sorry :( I accidentally hi-jacked another thread. Here are the relevant posts for anyone thats reading: - http://news.php.net/php.general/201395 - http://news.php.net/php.general/201403 - http://news.php.net/php.general/201405 - http://news.php.net/php.general/201410 -

Re: [PHP] pspell problems

2004-11-07 Thread John Nichel
Noodles wrote: I tried it with just aspell (including the aspell-en dictionary package) and whenever I tried to configure php to use pspell it couldn't find pspell (./configure --with-pspell) If Debian is like Red Hat, you will also need to install some type of development package for aspell

Re: [PHP] Array_Walk error messages

2004-11-07 Thread Curt Zirzow
* Thus wrote Stuart Felenstein: Can anyone give me a clue what I have done wrong here. //These would be passed as ints: array_walk($l_industry, 'mysql_escape_string'); Warning: Wrong parameter count for mysql_escape_string() in /xxx//public_html/Test2.php on line 104 The callback

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Curt Zirzow
* Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx

[PHP] Re: Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Manuel Lemos
Hello, On 11/07/2004 09:10 PM, Robert Mena wrote: I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs

Re: [PHP] Syntax Limitation - dynamic static member access

2004-11-07 Thread Curt Zirzow
* Thus wrote Jake Press: Oops, sorry :( I accidentally hi-jacked another thread. Thanks for taking notice :) Here are the relevant posts for anyone thats reading: - http://news.php.net/php.general/201395 - http://news.php.net/php.general/201403 - http://news.php.net/php.general/201405

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: Noodles wrote: I tried it with just aspell (including the aspell-en dictionary package) and whenever I tried to configure php to use pspell it couldn't find pspell (./configure --with-pspell) If Debian is like Red Hat, you will also need to install some type of development

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Noodles
Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: If Debian is like Red Hat, you will also need to install some type of development package for aspell (aspell-devel in Red Hat), or install from source so that the headers are present on your system. You may also need to point the php configure script to the location of your

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Sadeq Naqashzade
Hi Can I use them (swish-e HtDig) for unicode scripts? Sadeq On Mon, 08 Nov 2004 13:49:32 +1300, Noodles [EMAIL PROTECTED] wrote: Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing

RE: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Nick Le Mouton
I believe swish-e does Unicode, but I'm not 100% sure Nick -Original Message- From: Sadeq Naqashzade [mailto:[EMAIL PROTECTED] Sent: Monday, 8 November 2004 2:57 p.m. To: Noodles Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

[PHP] Search engine for my unicode site

2004-11-07 Thread Sadeq Naqashzade
Hi, What search engine script you recommend to use for my Unicode web site (English/Persian/Arabic at least) ?. It must able crawel my html files too. and I prefer to able index my database driven pages too. - Sadeq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] apache 2, mysql 5.0.1.rpm and php 5.0.2 on RH9

2004-11-07 Thread Haseeb Iqbal
using apache 2, mysql 5.0.1 rpm install, php 5.0.2 i want to install php with both mysql and mysqli support. but everytime i get this error. help please. configure command == ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr

Re: [PHP] FW by MAILER-DAEMON@pb1.pair.com : *****SPAM_sub***** failure notice

2004-11-07 Thread Curt Zirzow
* Thus wrote Michelle Konzack: Hello, Whats going on with the ListServer of php.net ? For every Message I send I get an error Message... But the E-Mails was correctly delivered... This is rather new.. I'm looking into why this is occuring. Curt -- Quoth the Raven, Nevermore. --

[PHP] Automatic Execution of Function

2004-11-07 Thread Kevin Javia
Hi, I need to make a function that will execute automatically at some regular intervals. Is it possible? If yes, can any give me some hint how can I make such thing? Thanks. Kevin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Automatic Execution of Function

2004-11-07 Thread Ryan King
On Sunday, November 07, 2004, at 09:38PM, Kevin Javia [EMAIL PROTECTED] wrote: Hi, I need to make a function that will execute automatically at some regular intervals. Is it possible? If yes, can any give me some hint how can I make such thing? Thanks. Kevin. I presume you're talking about

RE: [PHP] Automatic Execution of Function

2004-11-07 Thread Matthew Davey
Execute the script with a cron'd event. (assuming this is nix based) If its not, I am pretty sure there is a similar system for windows. -Original Message- From: Kevin Javia [mailto:[EMAIL PROTECTED] Sent: November 7, 2004 22:28 To: [EMAIL PROTECTED] Subject: [PHP] Automatic Execution

RE: [PHP] Automatic Execution of Function

2004-11-07 Thread Mike
Yes, you could very easily create a Windows Scheduled Task to call php.exe with the path to the script you write. -M -Original Message- From: Matthew Davey [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 10:50 PM To: 'Kevin Javia' Cc: [EMAIL PROTECTED] Subject: RE: [PHP]

Re: [PHP] pspell problems

2004-11-07 Thread John Nichel
Noodles wrote: John Nichel wrote: If Debian is like Red Hat, you will also need to install some type of development package for aspell (aspell-devel in Red Hat), or install from source so that the headers are present on your system. You may also need to point the php configure script to the

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: Well, the header file is in /usr/include, so try ./configure --with-pspell=/usr Still the same message =/ I tried it with --with-pspell=/usr and then --with-pspell=/usr/include but no luck Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] You know you're a geek when...

2004-11-07 Thread Murray @ PlanetThoughtful
.You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you can include subselects in your pages. Much warmth, Murray http://www.planetthoughtful.org Building a thoughtful planet, One quirky comment at a time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] OOP, Out of Scope Issue

2004-11-07 Thread Jonathan Chum
I have a class called FrontEnd which extends a TemplateManager class. The purpose of the TemplateManager class is to initate Smarty. So my FrontEnd constructor looks like this: function FrontEnd() { $db = new DatabaseConnection(); $this-db = $db-initDatabase(); $this-sm =

RE: [PHP] loking for a item in string?

2004-11-07 Thread Murray @ PlanetThoughtful
You've just hijacked this thread. Please start a new message instead of replying to a message and changing the subject to talk about something else.\ Hi Curt, It would have been helpful if you'd included a little of the post you are concerned about. The last reply I have in this thread

Re: [PHP] You know you're a geek when...

2004-11-07 Thread raditha dissanayake
Murray @ PlanetThoughtful wrote: .You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you can include subselects in your pages. You know you're a geek when you know which list deals with which top and when you know that subselects in mysql is not much faster than the nested

Re: [PHP] You know you're a geek when...

2004-11-07 Thread Ryan King
On Sunday, November 07, 2004, at 10:38PM, raditha dissanayake [EMAIL PROTECTED] wrote: Murray @ PlanetThoughtful wrote: .You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you can include subselects in your pages. You know you're a geek when you know which list deals

RE: [PHP] OOP, Out of Scope Issue

2004-11-07 Thread Zareef Ahmed
Hi, Please visit http://www.phpcertification.com/manual.php/functions.arguments.html#func tions.arguments.by-reference Hope it will be helpful. zareef Ahmed -Original Message- From: Jonathan Chum [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 9:52 AM To: [EMAIL

Re: [PHP] You know you're a geek when...

2004-11-07 Thread raditha dissanayake
Ryan King wrote: On Sunday, November 07, 2004, at 10:38PM, raditha dissanayake [EMAIL PROTECTED] wrote: Murray @ PlanetThoughtful wrote: .You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you can include subselects in your pages. You know you're a geek when you

Re: [PHP] OOP, Out of Scope Issue

2004-11-07 Thread Jonathan Chum
Awesome, great tip. It works just fine in PHP 5, but after gooogling more information about references and values, it appears that PHP 5 supports references automatically. I was trying to get it to work under 4.3.8 which I had to use the . For anyone else, this page goes into more depth:

Re: [PHP] Recover POST form

2004-11-07 Thread Ligaya Turmelle
Try using the $_POST. Reference: http://www.php.net/language.variables.predefined Respectfully, Ligaya Turmelle Christian Ista wrote: Hello, In a PHP page I use a form with POST method. I'd like in the action page recover all the variable posted. Could you tell me how to do that ? Thanks,

[PHP] Sessions with session.use_only_cookies

2004-11-07 Thread Don
I'd like to use sessions, but implement a bit of security. As of v4.3, I have the ability to ini_set an option called session.use_only_cookies that will limit sessions to those situations where cookies are enabled, so SID won't automatically be placed in a URL. What I'm wondering is, is there

Re: [PHP] Sessions with session.use_only_cookies

2004-11-07 Thread Chris Shiflett
--- Don [EMAIL PROTECTED] wrote: What I'm wondering is, is there a test that will tell me a visitor has blocked cookies, so I can suppress any actions specific to a session? I have some example code here: http://shiflett.org/books/http-developers-handbook/code It mostly demonstrates HTTP

Re: [PHP] pspell problems

2004-11-07 Thread Jason Wong
On Monday 08 November 2004 01:19, Noodles wrote: John Nichel wrote: If Debian is like Red Hat, you will also need to install some type of development package for aspell (aspell-devel in Red Hat), or install from source so that the headers are present on your system. You may also need to

[PHP] Pb'lm of Regular Expression

2004-11-07 Thread ankur_os
Hi to all My problem is that i want to create one regular expression which can fatch this image tag from my site img src=\https://abc.com/first.php? site_id=abcaid=keyinlid=keyinref=q=\ width=\1\ height=\1\; ?php $value = print_links(http://www.mysite.com;); function print_links($url) {

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
Jason Wong wrote: --with-pspell=/usr is what you want. I tried this and it still didn't help things Execute: find / -name '*[a|p]spell*' | sort | less and see if 'aspell.h'/'pspell.h' and 'libaspell.so'/'libpspell.so' are in there somewhere. I have: /usr/include/aspell.h

Re: [PHP] Big table dump stopping in between

2004-11-07 Thread Ritesh Nadhani
Hello, Here is page that shows phpinfo() in my webserver. http://www.webyog.com/indexsam.php As I can see, the configure command has '--enable-safe-mode' but in the PHP core configuration - safe_mode is set to off. The max_execution_time is given to be 30 by default, but in my PHP i have set

RE: [PHP] Pb'lm of Regular Expression

2004-11-07 Thread nate
These MIGHT work... I don't know though (not too good with regex). img.+src=\(.+)\.+ a.+href=\(.+)\.+ Nate -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 10:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Pb'lm of Regular Expression Hi