[PHP] Setting php server

2008-04-09 Thread hce
Hi, I am setting a lighty and php server in my local machine FC 6 for testing my php source code. Both index.html and index.php have been set in lighty. If I have an index.html on the server, the http response was fine. But, if I set an index.php on the server, the browser got a blank page, there

Re: [PHP] Setting php server

2008-04-09 Thread Iñigo Medina García
hce wrote: Hi, I am setting a lighty and php server in my local machine FC 6 for testing my php source code. Both index.html and index.php have been set in lighty. If I have an index.html on the server, the http response was fine. But, if I set an index.php on the server, the browser got a

Re: [PHP] New Ajax search component

2008-04-09 Thread Jeremy O'Connor
Nathan Nobbe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Apr 8, 2008 at 7:41 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: they pretty much have that in the scriptacuous lib under Ajax.Autocompleter, atm OK, but my control only does the Ajax call when the user clicks

Re: [PHP] require_once dying silently

2008-04-09 Thread Zoltán Németh
Richard S. Crawford írta: Hi, everyone. This one's been driving me bonkers for an hour now. Anyone have any idea why require_once would be dying silently in the script below? $CFG-dirroot = /home/rcrawford/public_html/tanktrunk/tanktrunk; $CFG-dataroot

[PHP] How to create combo-boxes/list boxes connected with MS SQL Server database in PHP scripts

2008-04-09 Thread punhsr
Sir I want to create combo-boxes/list-boxes from a table which is available in MS-Sql server database. I have established connectivity with ms-sql server database using odbc. how can i create combo-boxes in my php scripts? waiting for an early reply. With regards Pardeep Singh Scientist-C NIC

Re: [PHP] limit mail() function

2008-04-09 Thread Jordi Moles
hi, thanks for all your opinions and suggestions, i'll have a look at all of them to see if i can implement a restricted system for mail() functions. I'll report back in a few days to let you know if i've come up with something that really works. Thanks for all. En/na Andrew Ballard ha

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Peter Ford
Peter Ford wrote: Mark Weaver wrote: Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the

Re: [PHP] require_once dying silently

2008-04-09 Thread Aschwin Wesselius
Richard S. Crawford wrote: Hi, everyone. This one's been driving me bonkers for an hour now. Anyone have any idea why require_once would be dying silently in the script below? $CFG-dirroot = /home/rcrawford/public_html/tanktrunk/tanktrunk; $CFG-dataroot

Re: [PHP] require_once dying silently

2008-04-09 Thread Zoltán Németh
Aschwin Wesselius írta: Richard S. Crawford wrote: Hi, everyone. This one's been driving me bonkers for an hour now. Anyone have any idea why require_once would be dying silently in the script below? $CFG-dirroot =

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I look at this code I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Peter Ford
Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I

Re: [PHP] New Ajax search component

2008-04-09 Thread Eric Butera
On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: OK, but my control only does the Ajax call when the user clicks the Go button, whereas the scriptaculous library does an Ajax call everytime the user presses a key. Any library should be flexible enough to register

Re: [PHP] New Ajax search component

2008-04-09 Thread Nathan Nobbe
On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: Nathan Nobbe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Apr 8, 2008 at 7:41 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: they pretty much have that in the scriptacuous lib under

Re: [PHP] New Ajax search component

2008-04-09 Thread Nathan Nobbe
On Wed, Apr 9, 2008 at 7:50 AM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: OK, but my control only does the Ajax call when the user clicks the Go button, whereas the scriptaculous library does an Ajax call everytime the

Re: [PHP] New Ajax search component

2008-04-09 Thread Eric Butera
On Wed, Apr 9, 2008 at 8:07 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 7:50 AM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: OK, but my control only does the Ajax call when the user clicks the Go

Re: [PHP] require_once dying silently

2008-04-09 Thread Greg Bowser
the above won't work, as the parser will try to interpret $CFG and put it in the string first, In that case, $CFG is either null, or it is indeed an object. If it is a standard object, which I it appears to be, then a fatal error will be thrown because there is no __tostring() function. If it's

Re: [PHP] New Ajax search component

2008-04-09 Thread Zoltán Németh
Eric Butera írta: On Wed, Apr 9, 2008 at 8:07 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 7:50 AM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor [EMAIL PROTECTED] wrote: OK, but my control only does the Ajax call when the user

Re: [PHP] Check XMLReader enable

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 1:27 AM, hce [EMAIL PROTECTED] wrote: Hi, How can I check if the XMLReader is enabled or not in php? Also, how to config the php to support SOAP and WSDL? Thank you. Jim This should answer your first question.

Re: [PHP] require_once dying silently

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 2:40 AM, Zoltán Németh [EMAIL PROTECTED] wrote: Richard S. Crawford írta: Hi, everyone. This one's been driving me bonkers for an hour now. Anyone have any idea why require_once would be dying silently in the script below?

[PHP] Problem with DOMElement/Node

2008-04-09 Thread Christoph Boget
Could someone explain to me what I'm doing wrong? I'm trying to get an element from one DOMDocument and append it to a different DOMDocument. The (simplified) output of saveXML() from the first DOMDocument is as follows: ?xml version=1.0 encoding=UTF-8? BranchRoot

Re: [PHP] Problem with DOMElement/Node

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 9:35 AM, Christoph Boget [EMAIL PROTECTED] wrote: Could someone explain to me what I'm doing wrong? I'm trying to get an element from one DOMDocument and append it to a different DOMDocument. The (simplified) output of saveXML() from the first DOMDocument is as

Re: [PHP] Problem with DOMElement/Node

2008-04-09 Thread Christoph Boget
DOM Nodes are specific to the document in which they were created, so you can't just append a node from one document into another document. The importNode function does what you want. http://us2.php.net/manual/en/function.dom-domdocument-importnode.php Interesting. Why is that, out of

Re: [PHP] Problem with DOMElement/Node

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 10:17 AM, Christoph Boget [EMAIL PROTECTED] wrote: DOM Nodes are specific to the document in which they were created, so you can't just append a node from one document into another document. The importNode function does what you want.

Re: [PHP] require_once dying silently

2008-04-09 Thread Zoltán Németh
Greg Bowser írta: the above won't work, as the parser will try to interpret $CFG and put it in the string first, In that case, $CFG is either null, or it is indeed an object. If it is a standard object, which I it appears to be, then a fatal error will be thrown because there is no

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jim Lucas
Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jason Pruim
On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Daniel Brown
On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok here

[PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Maybe slightly off, but this is a general PHP question :-) I'm not a professional developer, just hobbyist at PHP. As now, when I want to learn something new such as a new framework, it's beneficial to build a PHP application in my free time as a learning exercise. Sometimes the learning is

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Bill Guion
At 3:20 PM -0700 4/8/08, Ryan S wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... Cheers! R Ryan, Four observations: 1. Don't try to solve

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jim Lucas
Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok

RE: [PHP] Requested PHP apps / sites

2008-04-09 Thread Jay Blanchard
[snip] So to my question: does anyone know of a site or forum where people request apps or sites to be built and then it can be voted on to track the people that are interested? I'm not talking about sites where people post paid development requests. Something open and non-contractual in the

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jason Pruim
On Apr 9, 2008, at 11:29 AM, Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Daniel Brown
On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question: does anyone know of a site or forum where people request apps or sites to be built and then it can be voted on to track the people

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 12:21 PM, Jason Pruim [EMAIL PROTECTED] wrote: Jim points out the correct XHTML layout, which shows ok here (or, as you have it, stuff here) between the td/TD tags. Case doesn't matter, but does make it look sloppy. In addition, case /should/ matter when matching

Re: [PHP] APC FastCGI != upload progress ?

2008-04-09 Thread steve
On Sat, Apr 5, 2008 at 7:44 PM, Manuel Lemos [EMAIL PROTECTED] wrote: on 04/04/2008 03:16 AM steve said the following: FastCGI is *the* way to run PHP, but I think Apache is not the platform for it anymore. If need more than one server, Apache pre-forked model may limited. Otherwise it is

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Jay Blanchard wrote: [snip] So to my question: does anyone know of a site or forum where people request apps or sites to be built and then it can be voted on to track the people that are interested? I'm not talking about sites where people post paid development requests. Something open and

RE: [PHP] Requested PHP apps / sites

2008-04-09 Thread Jay Blanchard
[snip] http://sourceforge.net/index.php Thanks, I use SF a lot but is exactly opposite of what I was going for. [/snip] My bad, I mis-read. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question: does anyone know of a site or forum where people request apps or sites to be built and then it can be voted on to

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Daniel Brown
On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question: does anyone know of a

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Daniel Brown wrote: On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question: does anyone

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 4:51 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote:

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Daniel Brown
On Wed, Apr 9, 2008 at 4:54 PM, Andrew Ballard [EMAIL PROTECTED] wrote: Sounds to me like you already have an idea. That's what I was going to say. Shawn, the thing you're looking for is your idea. Are we making sense yet? ;-P -- /Daniel P. Brown Ask me about: Dedicated servers

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Andrew Ballard wrote: On Wed, Apr 9, 2008 at 4:51 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Maybe

Re: [PHP] Beware of round() function

2008-04-09 Thread Kirk . Johnson
On Mon, 24 Mar 2008 13:10:17 -0600, [EMAIL PROTECTED] wrote: Beware: round() apparently has changed its behavior from PHP 4. For certain special numbers that seem to be multiples of 100,000, the return value is in exponential format, rather than the usual decimal format. Some of these

[PHP] Connecting to an epp server

2008-04-09 Thread Alan Willsher
Hi im trying to connect to Nominets EPP server Details can be found here http://www.nominet.org.uk/registrars/systems/epp/ Im trying to send a login request the example can be found here http://www.nominet.org.uk/registrars/systems/epp/login/ My script seems to connect ok, but im recieving no

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey! Thanks to you and everyone else who replied, I have fixed the problem by remaking the tables... This is not really anything to do with PHP, of course... :) :) True, in the end it was not. But in the beginning I couldnt figure out for the love of god why my PHP script was not getting

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Jim, Yep, That was the problem fixed that and now everything works. *** While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok here /tdILLEGAL/trILLEGAL/table As a note: the only

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread tedd
At 12:21 PM -0400 4/9/08, Jason Pruim wrote: I always used to type my HTML is lower case, but I've been trying to get switched over to UPPERCASE to help separate code from content. No reason to do change case and every reason to continue using lowercase. Keep css and javascript

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Bill, Thanks for the tips, makes sense and will try to follow them. Cheers! R * Ryan, Four observations: 1. Don't try to solve your problem by changing the DOCTYPE. Bad HTML is bad HTML. Changing the DOCTYPE may reduce the severity of the problem, but it won't solve it. 2.

Re: [PHP] Beware of round() function

2008-04-09 Thread Jim Lucas
[EMAIL PROTECTED] wrote: On Mon, 24 Mar 2008 13:10:17 -0600, [EMAIL PROTECTED] wrote: Beware: round() apparently has changed its behavior from PHP 4. For certain special numbers that seem to be multiples of 100,000, the return value is in exponential format, rather than the usual decimal