[PHP-DB] seg fault in 4.3.5 and 4.3.2

2004-04-13 Thread Sean Walton
I am trying to recompile PHP to include several features that --to my knowledge-- are not normally part of Linux distros. However, when I provide the following configuration, I get a binary that seg-faults in 4.3.5 and 4.3.2: ./configure --with-apxs --with-mysql=/usr --with-gd --with-ttf

Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Mikhail U. Petrov
Hi! Include_once can't include one file several times. I think if you use include_once PHP see if that file already were included, and don't include it one more time... Maybe difference is time to check this... I don't trust this fact: KR Now will that speed things up compared to just using a

Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Eric Girard
Curious about include_once versus include. All my connection stuff is in conn.php3. I am planning on including it at the top of the page like this: include_once conn.php3; Now will that speed things up compared to just using a plain include. I call $connectionSDWIS(which is in the

RE: Re[2]: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Hutchins, Richard
After a 2-second search of the PHP manual... require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don't hesitate to use require() if you want a missing file to halt processing of

[PHP-DB] DB and mssql

2004-04-13 Thread Matt Matijevich
I am using PEAR::DB on linux, php 4.3.2, with freetds to access a sql server database. I am trying to get more information on the problem, but everyonece in a while, it seems random, php will stop executing when I use the query method, php stops executing. I dont get an error, php just stops

[PHP-DB] Dynamic Form?

2004-04-13 Thread Aaron Wolski
Hi All, I've been given the task of developing a dynamic form for a client. When I say dynamic, I mean dynamic in that the client can use an administrative interface (back-end) to create the various form fields (and types) that get displayed on the front-end. Before I start brainstorming the DB

[PHP-DB] Re: Dynamic Form?

2004-04-13 Thread Justin Patrin
Aaron Wolski wrote: Hi All, I've been given the task of developing a dynamic form for a client. When I say dynamic, I mean dynamic in that the client can use an administrative interface (back-end) to create the various form fields (and types) that get displayed on the front-end. Before I start

[PHP-DB] Re: Dynamic Form?

2004-04-13 Thread Manuel Lemos
Hello, On 04/13/2004 05:25 PM, Aaron Wolski wrote: I've been given the task of developing a dynamic form for a client. When I say dynamic, I mean dynamic in that the client can use an administrative interface (back-end) to create the various form fields (and types) that get displayed on the

Re: [PHP-DB] DB and mssql

2004-04-13 Thread Robert Twitty
Hi Matt Before sending the result set, the mssql extension stores the entire result set into memory. However, PHP limits the amount of memory that can be allocated by a script to 8MB. So, the query will fail if the result set is larger than 8MB. You can change this value in php.ini with the

[PHP-DB] Pass database id through href

2004-04-13 Thread Gavin Amm
Hi. I want to update mysql database with parent value of page. I have several fields in my form. I have a generated map of web site pages as hyperlinks at end of form. (generated recursively) I want to be able to click on hyperlink have it pass the parent value to the next PHP script. The point

Re: [PHP-DB] Pass database id through href

2004-04-13 Thread John W. Holmes
Gavin Amm wrote: EXAMPLE: (I know you can't use value with the a tag, but bear with me for illustration purposes in this pseudo-code) form name=theForm input type=text name=title !-- etc with the fields -- input type=text name=formInput a href=javascript:document.theForm.submit(); name=parent