Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] > wrote: Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] > wrote: Hi everybody! I'm building a small ajax ap

Re: [PHP] show required row first and then other remaining rows

2007-10-25 Thread Sanjeev N
Hi Andrew, Thanks a lot. it really worked very well. Sanjeev On 10/26/07, Andrew Ballard <[EMAIL PROTECTED]> wrote: > > This should work: > > ORDER BY CASE WHEN id = 3 THEN 0 ELSE 1 END, name > > Andrew > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Larry Garfield
If I had to venture a guess, you nested 100 functions (called 100 functions in a stack), and therefore reached the maximum limit in PHP. That is, you overflowed the stack. You may have a recursion problem, especially if you're using an XML parser that is not the PHP 5-native one. On Thursday

Re: [PHP] Re: SMTP

2007-10-25 Thread Wolf
As previously posted, you need to work with your mail server admin. sendmail is not normally on WinDoze boxes, so do some googling for the setup you have, and talk with your admins to see what you need to do to get it set up to work correctly. Wolf Daniel Brown wrote: > On 10/25/07, Jens Kleikam

Re: [PHP] SMTP unable to relay

2007-10-25 Thread Wolf
As previously posted, you need to work with your mail server admin. sendmail is not normally on WinDoze boxes, so do some googling for the setup you have, and talk with your admins to see what you need to do to get it set up to work correctly. Wolf Diana wrote: > I have tried settiing my php.ini

Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Nathan Nobbe
On 10/25/07, Rodrigo Poblanno Balp <[EMAIL PROTECTED]> wrote: > > Nathan Nobbe wrote: > > On 10/25/07, Rodrigo Poblanno Balp <[EMAIL PROTECTED]> wrote: > > > > Hi everybody! > > > > I'm building a small ajax app which consists of only 3 php files. > > > > index.php which contains all the app and h

Re: [PHP] system command

2007-10-25 Thread Ronald Wiplinger
Instruct ICC wrote: Date: Thu, 25 Oct 2007 09:43:14 +0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] system command I tried: $a=$_SERVER["REMOTE_ADDR"]; echo "REMOTE_ADDR=$a"; if($a="192.168.250.108") { $a="61.64.101.101"; } $aa=system('lynx -dump http://api

Re: [PHP] Executing PHP

2007-10-25 Thread Stut
Philip Thompson wrote: Hi. Feel free to tell me this is a "duh" question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/

Re: [PHP] cant send mail

2007-10-25 Thread Stut
Diana wrote: Using windows XP, when I try to send mail using 4 parameters, I get this : Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Inetpub\wwwroot\intranet\test.php on line 9 The SMTP server you are using is not configured to al

[PHP] Re: Executing PHP

2007-10-25 Thread M. Sokolewicz
Philip Thompson wrote: Hi. Feel free to tell me this is a "duh" question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/

Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] > wrote: Hi everybody! I'm building a small ajax app which consists of only 3 php files. index.php which contains all the app and has a couple of links. When a link is clicked

[PHP] Executing PHP

2007-10-25 Thread Philip Thompson
Hi. Feel free to tell me this is a "duh" question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am usi

RE: [PHP] Question about time...

2007-10-25 Thread Instruct ICC
> >> I want to be able to display something like an image of a turkey > >> during the month of november from now until I'm dead. > > > > And how will the application know when you are dead? > > Well, I code all of my applications to receive RFID signals, and I > had a RFID transmitter embedded

RE: [PHP] mail from

2007-10-25 Thread Instruct ICC
> > in my php.ini, I have this set > > sendmail_from = [EMAIL PROTECTED] The first thing I'd do is verify if the script is really using the php.ini you think it is by having the script output phpinfo. _ Peek-a-boo FREE Tricks & Tre

Re: [PHP] show required row first and then other remaining rows

2007-10-25 Thread Andrew Ballard
This should work: ORDER BY CASE WHEN id = 3 THEN 0 ELSE 1 END, name Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] show required row first and then other remaining rows

2007-10-25 Thread Stephen
Sanjeev N wrote: Hi, Consider the following case mysql> select *from names; ++-++ | id | name| phone | ++-++ | 1 | sanju | 984565 | | 2 | sanjeev | 997223 | | 3 | puttu | 990058 | | 4 | raju| 9448110

Re: [PHP] Ant in php

2007-10-25 Thread DCVer
pscott wrote: > > > On Thu, 2007-10-25 at 02:25 -0700, DCVer wrote: >> is this a good idea to use Ant with PHP or is there some similar tool to >> Ant, that works fine with PHP? Thanks in advance. > > What you really want to look at is Phing, not Ant. It is very similar > and I use it extensi

[PHP] show required row first and then other remaining rows

2007-10-25 Thread Sanjeev N
Hi, Consider the following case mysql> select *from names; ++-++ | id | name| phone | ++-++ | 1 | sanju | 984565 | | 2 | sanjeev | 997223 | | 3 | puttu | 990058 | | 4 | raju| 944811 | ++

[PHP] Comment / Reply function

2007-10-25 Thread Merlin
Hi there, I am trying to add a comment functionality to my PHP webapp that includes a reply possibility on each comment. Like on digg for example. I am new to AJAX, but would like to take this oportunity and to jump into cold water with that task now. I am asking this question here in the PH

Re: [PHP] MPEG Properties

2007-10-25 Thread Miles Thompson
Check out ffmpeg-php http://sourceforge.net/projects/ffmpeg-php/ Miles On 10/25/07, Bill Medley <[EMAIL PROTECTED]> wrote: > > Hello, all. > > Thanks for your help in advance. I'm trying to figure out how to get PHP > to > retrieve MPEG File Properties, specifically the length of the video file

Re: [PHP] Question about time...

2007-10-25 Thread tedd
At 3:13 PM +0200 10/25/07, Zoltán Németh wrote: 2007. 10. 25, csütörtök keltezéssel 09.01-kor Jason Pruim ezt írta: > That's actually where I got the idea, just couldn't remember who on what list said they did it :) using variables in css is it as easy as just putting in a quick in the css?

[PHP] MPEG Properties

2007-10-25 Thread Bill Medley
Hello, all. Thanks for your help in advance. I'm trying to figure out how to get PHP to retrieve MPEG File Properties, specifically the length of the video file in seconds. Thanks, -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Nathan Nobbe
On 10/25/07, Rodrigo Poblanno Balp <[EMAIL PROTECTED]> wrote: > > Hi everybody! > > I'm building a small ajax app which consists of only 3 php files. > > index.php which contains all the app and has a couple of links. When a > link is clicked an Ajax request is sent to the server (using prototype)

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Daniel Brown
On 10/25/07, Sascha Braun <[EMAIL PROTECTED]> wrote: > What is the cause for that error: > > Fatal error: Maximum function nesting level of '100' reached, aborting! > in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on > line 118 [snip!] It means that PHP reached the maximum

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Richard Heyes
Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 It seems pretty self explanatory. Do you have a lot of recursion? -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Kno

Re: [PHP] MySQL and SVN

2007-10-25 Thread Emil Edeholt
Hi, Thanks for your answer. Are you sugesting - what I think is called - a multi-master replication? Since I would like to keep two sources in sync and want to be able to make changes on both servers. I know very little about replication. Maybe I'm making a bigger problem of this than it woul

Re: [PHP] mail from

2007-10-25 Thread Daniel Brown
On 10/25/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > Richard Heyes wrote: > >> in my php.ini, I have this set > >> sendmail_from = [EMAIL PROTECTED] > >> > >> yet when I do this command :("[EMAIL PROTECTED]","TEST > >> MAIL","TESTING MAIL"); > >> I get this message Warning: mail() [function.mail

[PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Sascha Braun
What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 Thank you! Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: SMTP

2007-10-25 Thread Daniel Brown
On 10/25/07, Jens Kleikamp <[EMAIL PROTECTED]> wrote: > Diana schrieb: > > I dont know what I did but now I get this message Failed to connect to > > mailserver at "localhost" port 25, verify your "SMTP" > > > Do you have a smtp server running on localhost? > > -- > PHP General Mailing List (http:/

Re: [PHP] Question about time...

2007-10-25 Thread Daniel Brown
On 10/25/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2007. 10. 25, csütörtök keltezéssel 09.01-kor Jason Pruim ezt írta: > > On Oct 24, 2007, at 9:01 PM, tedd wrote: > > > > > At 3:10 PM -0700 10/24/07, Instruct ICC wrote: > > >> > I want to be able to display something like an image of a turke

[PHP] Re: SMTP

2007-10-25 Thread Jens Kleikamp
Diana schrieb: I dont know what I did but now I get this message Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" Do you have a smtp server running on localhost? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strange error

2007-10-25 Thread Zoltán Németh
2007. 10. 25, csütörtök keltezéssel 09.15-kor Jeff Mckeon ezt írta: > I'm getting this error on a php based ticket system we have. I don't see > this on the old server running php4. This new server is running php5. > > PHP_Fatal_error:__Cannot_use_object_of_type_PEAR_Error_as_array_in_/srv/www/

[PHP] strange error

2007-10-25 Thread Jeff Mckeon
I'm getting this error on a php based ticket system we have. I don't see this on the old server running php4. This new server is running php5. PHP_Fatal_error:__Cannot_use_object_of_type_PEAR_Error_as_array_in_/srv/www/ virtual/support/mailparser.php_on_line_300/ The code in that section looks

Re: [PHP] Question about time...

2007-10-25 Thread Zoltán Németh
2007. 10. 25, csütörtök keltezéssel 09.01-kor Jason Pruim ezt írta: > On Oct 24, 2007, at 9:01 PM, tedd wrote: > > > At 3:10 PM -0700 10/24/07, Instruct ICC wrote: > >> > I want to be able to display something like an image of a turkey > >>> during the month of november from now until I'm dead.

Re: [PHP] Question about time...

2007-10-25 Thread Jason Pruim
On Oct 24, 2007, at 9:01 PM, tedd wrote: At 3:10 PM -0700 10/24/07, Instruct ICC wrote: > I want to be able to display something like an image of a turkey during the month of november from now until I'm dead. And how will the application know when you are dead? When you stop paying for

Re: [PHP] Question about time...

2007-10-25 Thread Jason Pruim
On Oct 24, 2007, at 6:10 PM, Instruct ICC wrote: I want to be able to display something like an image of a turkey during the month of november from now until I'm dead. And how will the application know when you are dead? Well, I code all of my applications to receive RFID signals, and I

[PHP] SMTP

2007-10-25 Thread Diana
I dont know what I did but now I get this message Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP General Mailing List (http:

Re: [PHP] how to restart php

2007-10-25 Thread C.R.Vegelin
Hi Diana, To restart the IIS webserver with Windows XP: press Start, select Run, type IISreset HTH, Cor - Original Message - From: "Richard Heyes" <[EMAIL PROTECTED]> To: "Diana" <[EMAIL PROTECTED]> Cc: Sent: Thursday, October 25, 2007 1:02 PM Subject: Re: [PHP] how to restart php D

[PHP] Re: MySQL and SVN

2007-10-25 Thread Jens Kleikamp
Emil Edeholt schrieb: Hi all! Maybe slightly off topic, but I would like to know how you guys handle mysql structures between different computers (and for that matter from the developer desktop to the stable server). I work on my home and my office computer with the same php projects. I kee

[PHP] MySQL and SVN

2007-10-25 Thread Emil Edeholt
Hi all! Maybe slightly off topic, but I would like to know how you guys handle mysql structures between different computers (and for that matter from the developer desktop to the stable server). I work on my home and my office computer with the same php projects. I keep all my php files on s

Re: [PHP] how to restart php

2007-10-25 Thread Richard Heyes
Diana wrote: How can I restart php so it takes changes in my php.ini without having to reboot my machine? I have windows XP You don't restart PHP, rather the web server whatever that may be. Usually it involves restarting the web server service. If you can, just restart the computer. -- R

[PHP] how to restart php

2007-10-25 Thread Diana
How can I restart php so it takes changes in my php.ini without having to reboot my machine? I have windows XP -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP General Mailing List (http://www.php.net/)

[PHP] SMTP unable to relay

2007-10-25 Thread Diana
I have tried settiing my php.ini to SMTP = localhost as well as using the SMTP of my regular mail, and I keep on getting this. Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Inetpub\wwwroot\intranet\test.php on line 11 -- Diana Casti

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
Richard Heyes wrote: in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Ine

[PHP] cant send mail

2007-10-25 Thread Diana
Using windows XP, when I try to send mail using 4 parameters, I get this : Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Inetpub\wwwroot\intranet\test.php on line 9 -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Inetpub\wwwroot\intranet\

Re: [PHP] register globals not working

2007-10-25 Thread Richard Heyes
I have installed php v5 on a windowsXP PC. Server is Apache 2.2. Even though I have turned register globals on in the ini file, > the php is still not allowing the use of $HTTP_GET_VARS (and probably other similier variables), and I am having to change my existing script > to $_GET before they

[PHP] mail from

2007-10-25 Thread Diana
in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Inetpub\wwwroot\intranet\t

Re: [PHP] Ant in php

2007-10-25 Thread Paul Scott
On Thu, 2007-10-25 at 02:25 -0700, DCVer wrote: > is this a good idea to use Ant with PHP or is there some similar tool to > Ant, that works fine with PHP? Thanks in advance. What you really want to look at is Phing, not Ant. It is very similar and I use it extensively for my project(s). --Paul

[PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Hi everybody! I'm building a small ajax app which consists of only 3 php files. index.php which contains all the app and has a couple of links. When a link is clicked an Ajax request is sent to the server (using prototype) to the url central.php with only one parameter 'id'. Depending on that

Re: [PHP] Limitations of preg_replace?

2007-10-25 Thread Robin Vickery
On 25/10/2007, Werner Schneider <[EMAIL PROTECTED]> wrote: > Hi. > > Are there any limitations of preg_replace and is there > a way to change them (for example with ini_set)? > > I got a php 4.4.7 on a linux-webhoster which crashes > without error-message on this script: > $txt = ""; >

[PHP] Ant in php

2007-10-25 Thread DCVer
Hi folks, I have such a problem - I would like to launch SQL script using Ant. The problem is, that I don't use JDBC and Java and I wonder if it is possible to run such a script from Ant. I use MySQL database (and Prado framework). BTW: is this a good idea to use Ant with PHP or is there some sim

[PHP] Limitations of preg_replace?

2007-10-25 Thread Werner Schneider
Hi. Are there any limitations of preg_replace and is there a way to change them (for example with ini_set)? I got a php 4.4.7 on a linux-webhoster which crashes without error-message on this script: \n"; } $txt = preg_replace("//isU", "", $txt); print $txt; ?> If I loop on

Re: [PHP] output-buffer and memory-issue

2007-10-25 Thread Werner Schneider
> > Then see if you get any errors. Although, if > you're > > seg faulting, you > > still won't see an error since the program just > > dies. > Thanks for your reply. It seems that this is > happening, becaus even with your code I get no > errors. > It could be as well that the script dies before