[PHP] bank query and curl

2007-11-16 Thread Ronald Wiplinger
I have a bank account and would like to query the last transactions. I can do that now via web and think that I can convert this procedure to a list of curl requests and finally put the result into a database on my server. Fortunately this bank account does not allow transactions, just viewing the

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2007-11-16 Thread Andrew Ballard
On Nov 16, 2007 10:30 AM, Peter Ford <[EMAIL PROTECTED]> wrote: > > > > > I was all ready to jump on Point #6 to disagree until I read the > > next paragraph, updating that with the correct information. PHP can > > find out the OS of the system on which the browser is running. > > > > Strictly

Re: [PHP] PHP editor

2007-11-16 Thread Cem Kayali
You should give a chance to Quanta Plus on Linux/BSd and Mr. Soysal's free edition of PhpEd, if you can find it. Regards Frank Lopes wrote: > > Being very new to PHP (empahsis on VERY...), I wonder what most of you use > to develop in PHP? > > I have experimented with DreamWeaver, UltraEdi

Re: [PHP] Open Source BTS?? -- Roach

2007-11-16 Thread David Calkins
We use Mantis and love it! Works very well, but to each his own. Also, SourceForge uses svn now. Has for awhile. On Nov 16, 2007 5:23 PM, Daevid Vincent <[EMAIL PROTECTED]> wrote: > You could install the system I wrote called "Roach". > You can see an older version on my site (and I can post up

Re: [PHP] IDE

2007-11-16 Thread Larry Garfield
I haven't used PhpED, but I use Zend Studio Pro at work. It is hands-down the best PHP IDE I've used. (As I said, I cannot compare it to PhpED specifically.) Little things like project management and code completion and such "just work" better than any other tool I've found, and it's debugger

[PHP] Re: chrooted php5-cgi in a non chrooted apache

2007-11-16 Thread Joerg Schoppet
Hi, no more tips for this problem? Joerg Schoppet Joerg Schoppet wrote: > Hi, > > actually I try to make my webserver-installation more secure. I've > something in mind, but don't know if it is possible and if so, how to do > it ;-) > > Actually I have the following config: > > Directory-

Re: [PHP] IDE

2007-11-16 Thread William Betts
Have you ever used Zend Studio? If so how does it compare to PhpED? On Nov 16, 2007 5:37 AM, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: 16 November 2007 05:21 > To: php-general@lists.php.net > Subject: Re: [PHP]

Re: [PHP] file_exists

2007-11-16 Thread tedd
At 11:06 PM + 11/15/07, Stut wrote: The realpath function will reduce your definition of $page to "/home/evil-user-home-dir/evil-payload.php" $expecteddir is set to "/home/stut/phpstuff/inc" The if takes the first strlen($expecteddir) characters of the reduced $page and compares it to $ex

RE: [PHP] Open Source BTS??

2007-11-16 Thread Daevid Vincent
> -Original Message- > From: M. Sokolewicz [mailto:[EMAIL PROTECTED] > Sent: Friday, November 16, 2007 3:45 AM > To: [EMAIL PROTECTED] > Cc: Randy Patterson; php-general@lists.php.net > Subject: Re: [PHP] Open Source BTS?? > > Richard Heyes wrote: > >> I am needing to install a bug tracki

RE: [PHP] Open Source BTS?? -- Roach

2007-11-16 Thread Daevid Vincent
You could install the system I wrote called "Roach". You can see an older version on my site (and I can post up or email you a newer .tgz file): http://daevid.com I actively develop it for my company. We've used it for 6 years now. I *try* to make my fixes generic, and I repost them periodically

Re: [PHP] Loop issues

2007-11-16 Thread Jim Lucas
Just noticed on that last one I forgot to change one variable name. the line that was this $tr_type = mssql_query($get_tr) or die(mssql_get_last_message()); change it to this $tr_type = mssql_query($SQL) or die(mssql_get_last_message()); -- Jim Lucas "Some men are born to greatness, some a

Re: [PHP] Loop issues

2007-11-16 Thread Jim Lucas
Dan Shirah wrote: Hello all, I am having trouble trying to figure out how I should compose this loop to give me ALL the results I want. Below are my queries. I am querying two different databases to pull in records that match the requested $id. I am then putting the result into a $variable and

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
Yeah...see...I'm confused apparently! My while loop is getting all of the names correctly, apparently my problem is...once i get them, how do I echo each one out seperately? Based off of the print_r($cs_row) I can see all of the names. What should I be doing differently to output each name

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Stut
Daniel Brown wrote: On Nov 16, 2007 9:47 AM, Stut <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: On Nov 16, 2007 9:36 AM, tedd <[EMAIL PROTECTED]> wrote: At 5:00 PM -0500 11/15/07, Daniel Brown wrote: Yay! I got to say my stupid thing for the day. Last I had even looked at the signu

Re: [PHP] Newbie question - current date - time

2007-11-16 Thread tedd
At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote: On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote: better use Date() in js ... tedd-2 wrote: Current date/time for whom? For your server, use php's date(). For the user, use javascript's date(). It's so cool to be multilingual. :-) Cheers, tedd

Re: [PHP] Re: chrooted php5-cgi in a non chrooted apache

2007-11-16 Thread Frank Arensmeier
Maybe the Apache mailing list is a better place to ask. http://httpd.apache.org/userslist.html //frank 16 nov 2007 kl. 12.20 skrev Joerg Schoppet: Hi, no more tips for this problem? Joerg Schoppet Joerg Schoppet wrote: Hi, actually I try to make my webserver-installation more secure.

RE: [PHP] IDE

2007-11-16 Thread Arno Kuhl
-Original Message- From: David Giragosian [mailto:[EMAIL PROTECTED] Sent: 16 November 2007 05:21 To: php-general@lists.php.net Subject: Re: [PHP] IDE On 11/15/07, Jammer <[EMAIL PROTECTED]> wrote: > > Børge Holen wrote: > > On Thursday 15 November 2007 21:35:04 Jammer wrote: > >> Hi All,

Re: [PHP] IDE

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 6:37 AM, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: 16 November 2007 05:21 > To: php-general@lists.php.net > Subject: Re: [PHP] IDE > > On 11/15/07, Jammer <[EMAIL PROTECTED]> wrote: > > > > Børge

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Per Jessen
Scott Wilcox wrote: > I personally think many, many mail servers will block any mail with > X-Mailer containing PHP. Purely because there are an insane number of > chances that its going to be spam. No sane mailserver or mailserver admin will block an email purely based on an X-Mailer: header.

Re: [PHP] IDE

2007-11-16 Thread Jammer
Børge Holen wrote: On Thursday 15 November 2007 21:35:04 Jammer wrote: Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for PHP worth checking out. Particularly f

Re: [PHP] Newbie question - current date - time

2007-11-16 Thread Jürgen Wind
tedd-2 wrote: > > I used small case because this is a php list and > I didn't want to confuse anyone with trying to > get Date() to work in php. > no need to worry, in *php* functions are not case sensitive. cheers Jürgen -- View this message in context: http://www.nabble.com/Newbie-questi

Re: [PHP] Loop issues

2007-11-16 Thread Dan Shirah
Yeah...see...I'm confused apparently! My while loop is getting all of the names correctly, apparently my problem is...once i get them, how do I echo each one out seperately? Based off of the print_r($cs_row) I can see all of the names. What should I be doing differently to output each name into m

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
So, take a look at what's below and see how it works for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loop issues

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 1:57 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: [snip!] > if($cs_num > 0) { >while ($cs_row = mssql_fetch_array($cs_type)) { > $cs_type2 = $cs_row['request_type']; > $cs_first = $cs_row['first_name']; > $cs_last = $cs_row['last_name']; > $cs_name = $cs_first."

Re: [PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Michael McGlothlin
Ralph Kutschera wrote: Ralph Kutschera wrote: Is there a standard function in PHP to convert any string for usage with XML? In the example the string should become "< thats a bracket". I found htmlspecialchars() now. But the question that remains: Is that sufficient for XML? The only c

Re: [PHP] Loop issues

2007-11-16 Thread Dan Shirah
Jeremy, What you replied with is what I was also trying to get across. When I print out the array it shows that I pulled all of the names correctly. And the issue is like you stated that the $name variable is being overwritten. What I have not been able to figure out is how to get each name popu

Re: [PHP] Foreach question

2007-11-16 Thread Jeremy Mcentire
On Nov 15, 2007, at 7:50 PM, Juan Marcelo Rodríguez wrote: 2007/11/15, Philip Thompson <[EMAIL PROTECTED]>: On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez < [EMAIL PROTECTED]> wrote: Yes, I made a mistake in the first sentence. The code is : [...] foreach ($equipos as $key => $val){ echo ""

[PHP] Loop issues

2007-11-16 Thread Dan Shirah
Hello all, I am having trouble trying to figure out how I should compose this loop to give me ALL the results I want. Below are my queries. I am querying two different databases to pull in records that match the requested $id. I am then putting the result into a $variable and also counting the n

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
I'm not sure what you're trying to do here; a sample of the output you expect would help -- so too would trimming anything extranious to the PHP itself(like the html). But, I think the issue you're running in to is any variable, like $tr_type2, is being over-writen each time you get a new r

Re: [PHP] IDE

2007-11-16 Thread Jammer
tedd wrote: At 11:30 PM + 11/15/07, Jammer wrote: duh! look, i'm really sorry everyone ... we all make mistakes! Only the newbies -- the rest of us are prefect. :-) haha! ;) I walked into a bank once and found everyone laying on the floor. I had not done anything wrong, but it was j

Re: [PHP] IDE

2007-11-16 Thread Jammer
Arno Kuhl wrote: I think jammer's idea is a good one. I've been lurking on this list for years and seen many resurrections of the IDE thread. It's an important thread, and the PHP IDE world is ever changing and new products come onto the scene every now and then. I use my favourite commercial IDE

Re: [PHP] Newbie question - current date - time

2007-11-16 Thread tedd
At 8:21 AM -0800 11/16/07, Jürgen Wind wrote: my point was: "date()" doesn't work - it's "Date()" (at least in Firefox) Wow, you really have that capitalization thing down -- you're an impressive Wind. I used small case because this is a php list and I didn't want to confuse anyone with try

Re: [PHP] file_exists

2007-11-16 Thread tedd
At 2:45 PM + 11/16/07, Stut wrote: It also worth noting that what you're doing there is quite inefficient. I have a similar arrangement where I have a directory containing the include files, but I locate it in a different way. Most sites I deal with have an auto-prepended file containing (a

Re: [PHP] CURL efficiency?

2007-11-16 Thread Nathan Nobbe
On Nov 15, 2007 4:41 PM, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > I make use of CURL to talk to a back-end system and I'm calling it > several times per requested page and there are several page requests a > second. Is there anything I can do to make this process more efficient? > Does keep

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Scott Wilcox
I personally think many, many mail servers will block any mail with X-Mailer containing PHP. Purely because there are an insane number of chances that its going to be spam. This is purely based on my opinion though, I'd expect others on the list to share it or be similar in viewpoint though.

[PHP] Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Hallo! I'm having an HTML-form where the user can input anything. With PHP I'm processing the input to XML like what the user has entered Now, if the user enters e.g "< thats a bracket", that gives < thats a bracket which of course does not validate. Is there a standard function in PHP to c

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Per Jessen
tedd wrote: > I've been told that using: > > $headers .= "X-Mailer: PHP ".phpversion().$eol; > > is a good way to get stuck in a spam filter -- what do you think? It wouldn't get you stuck in our filters. Personally I never add an X-Mailer when generating emails with PHP or bash or whatever -

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 9:36 AM, tedd <[EMAIL PROTECTED]> wrote: > At 5:00 PM -0500 11/15/07, Daniel Brown wrote: > > Yay! I got to say my stupid thing for the day. > > > > Last I had even looked at the signup process, it was open to US > >users who had a cell phone and could receive SMS messages

RE: [PHP] IDE

2007-11-16 Thread Arno Kuhl
-Original Message- From: William Betts [mailto:[EMAIL PROTECTED] Sent: 16 November 2007 05:13 To: [EMAIL PROTECTED] Cc: David Giragosian; php-general@lists.php.net Subject: Re: [PHP] IDE Have you ever used Zend Studio? If so how does it compare to PhpED? --- I've

Re: [PHP] Newbie question - current date - time

2007-11-16 Thread Jürgen Wind
my point was: "date()" doesn't work - it's "Date()" (at least in Firefox) tedd-2 wrote: > > At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote: >>On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote: >>>better use Date() in js ... >>>tedd-2 wrote: Current date/time for whom? For your server, use

Re: [PHP] Converting user input for XML-validation

2007-11-16 Thread Zoltán Németh
2007. 11. 16, péntek keltezéssel 11.14-kor Ralph Kutschera ezt írta: > Hallo! > > I'm having an HTML-form where the user can input anything. With PHP > I'm processing the input to XML like > > what the user has entered > > Now, if the user enters e.g "< thats a bracket", that gives > > < that

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 9:47 AM, Stut <[EMAIL PROTECTED]> wrote: > Daniel Brown wrote: > > On Nov 16, 2007 9:36 AM, tedd <[EMAIL PROTECTED]> wrote: > >> At 5:00 PM -0500 11/15/07, Daniel Brown wrote: > >>> Yay! I got to say my stupid thing for the day. > >>> > >>> Last I had even looked at the sig

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Thanks a lot for your answers! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Stut
Daniel Brown wrote: On Nov 16, 2007 9:36 AM, tedd <[EMAIL PROTECTED]> wrote: At 5:00 PM -0500 11/15/07, Daniel Brown wrote: Yay! I got to say my stupid thing for the day. Last I had even looked at the signup process, it was open to US users who had a cell phone and could receive SMS m

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2007-11-16 Thread Peter Ford
> > I was all ready to jump on Point #6 to disagree until I read the > next paragraph, updating that with the correct information. PHP can > find out the OS of the system on which the browser is running. > Strictly speaking, PHP can only find out what the browser tells it - that includes th

Re: [PHP] IDE

2007-11-16 Thread tedd
At 11:30 PM + 11/15/07, Jammer wrote: duh! look, i'm really sorry everyone ... we all make mistakes! Only the newbies -- the rest of us are prefect. :-) I walked into a bank once and found everyone laying on the floor. I had not done anything wrong, but it was just a matter of bad timi

Re: [PHP] file_exists

2007-11-16 Thread Stut
tedd wrote: At 11:06 PM + 11/15/07, Stut wrote: The realpath function will reduce your definition of $page to "/home/evil-user-home-dir/evil-payload.php" $expecteddir is set to "/home/stut/phpstuff/inc" The if takes the first strlen($expecteddir) characters of the reduced $page and compa

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread tedd
At 5:00 PM -0500 11/15/07, Daniel Brown wrote: Yay! I got to say my stupid thing for the day. Last I had even looked at the signup process, it was open to US users who had a cell phone and could receive SMS messages (containing a confirmation code). I wonder why the hell they still giv

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Jason Pruim
On Nov 16, 2007, at 9:15 AM, Scott Wilcox wrote: I personally think many, many mail servers will block any mail with X-Mailer containing PHP. Purely because there are an insane number of chances that its going to be spam. This is purely based on my opinion though, I'd expect others on the

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Zoltán Németh
2007. 11. 16, péntek keltezéssel 09.09-kor tedd ezt írta: > At 7:29 PM +0100 11/15/07, Per Jessen wrote: > >Brad wrote: > > > >> Why is php refusing to parse as html? > > > >Here your code cut down to what you need: > > > >$headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; > >$headers

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2007-11-16 Thread Daniel Brown
On Nov 15, 2007 11:27 PM, Paul Scott <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-11-15 at 16:45 -0500, Daniel Brown wrote: > > > 3. There is a searchable archive of the mailing list discussion at > > > http://phparch.com/mailinglists. > > or at > http://fsiu.uwc.ac.za/index.php?module=blog&action=r

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 9:15 AM, Scott Wilcox <[EMAIL PROTECTED]> wrote: > I personally think many, many mail servers will block any mail with > X-Mailer containing PHP. Purely because there are an insane number of > chances that its going to be spam. > > This is purely based on my opinion though, I'd expe

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread tedd
At 7:29 PM +0100 11/15/07, Per Jessen wrote: Brad wrote: Why is php refusing to parse as html? Here your code cut down to what you need: $headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; $headers .= "X-Mailer: PHP ".phpversion().$eol; $headers .= "MIME-Version: 1.0\r\n"; $heade

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread tedd
Hi gang: I didn't catch it and I'm too lazy to look it up, but someone in this thread provided this reference: http://www.bath.ac.uk/bucs/email/anatomy.shtml There was a similar thread going on a different list and I was told: Or RFCs 2821 and 2822 (the URL above refers to RFC 822, which ha

Re: [PHP] PHP Developers and the manual

2007-11-16 Thread Børge Holen
On Wednesday 14 November 2007 18:55:20 Robert Cummings wrote: > On Wed, 2007-11-14 at 12:26 -0500, Daniel Brown wrote: > > > On Nov 14, 2007, at 11:53 AM, João Amaro Lagedo wrote: > > > > I recently subscribed to php-general(2 months I think) and during > > > > this time I saw some nice stuff, but

Re: [PHP] Re: Bcompiler errors

2007-11-16 Thread Mike Yrabedra
on 11/15/07 12:51 PM, Daniel Brown at [EMAIL PROTECTED] wrote: > On Nov 15, 2007 12:36 PM, Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/15/07 11:17 AM, Colin Guthrie at [EMAIL PROTECTED] wrote: >> >>> Mike Yrabedra wrote: Hello, I am getting these errors all the time no

Re: [PHP] Semi-newbie Question .... streams ...

2007-11-16 Thread Per Jessen
Jim Lucas wrote: > If this is an EXE, I assume it is in binary format? > > If so, would not your serial number have been compiled into the > software? > > Wouldn't a simple search/replace fail in this case? If the string (the serial number) is unique, and all in one place, a simple search/repla

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Ralph Kutschera wrote: > Is there a standard function in PHP to convert any string for usage with > XML? In the example the string should become "< thats a bracket". I found htmlspecialchars() now. But the question that remains: Is that sufficient for XML? regards, Ralph -- PHP General Mailin

[PHP] submitting forms with ajax

2007-11-16 Thread samantha_o
Hi, i would like to submit forms with ajax, using jquery and then load the next page. I had successfully do it with jquery and form plugin. however, it does not work whenever the server response consist of both HTMLs and javascript together. Is it possible to make it works? I am new in all this.

Re: [PHP] Open Source BTS??

2007-11-16 Thread M. Sokolewicz
Richard Heyes wrote: I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty mature system that still has active development. Thanks for any suggestions. The only one I have had experience of is Mantis: http://www.ma

Re: [PHP] Tree-like structure in PHP?

2007-11-16 Thread Robin Vickery
On 16/11/2007, Paul van Haren <[EMAIL PROTECTED]> wrote: > I'm trying to use arrays to implement a sort of data tree. For the code to > work, it is essential that the nodes can be edited after they have become > part of the tree. That would require that the array elements are pushed > "by reference

Re: [PHP] Tree-like structure in PHP? (closed)

2007-11-16 Thread Jochem Maas
Paul van Haren wrote: > Thanks, the empasant helps! ampersand :-) > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tree-like structure in PHP?

2007-11-16 Thread Richard Heyes
What is the most obvious way to implement a tree-like structure in PHP? Use someone elses code that already works. :) Array based tree class is here: http://www.phpguru.org/Tree/Tree.phps -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk s

Re: [PHP] Open Source BTS??

2007-11-16 Thread Richard Heyes
I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty mature system that still has active development. Thanks for any suggestions. The only one I have had experience of is Mantis: http://www.mantisbt.org/ No complai

Re: [PHP] Converting user input for XML-validation

2007-11-16 Thread Per Jessen
Ralph Kutschera wrote: > Is there a standard function in PHP to convert any string for usage > with XML? In the example the string should become "< thats a > bracket". You could just use CDATA in XML, but otherwise you might want to look at html_entities(). /Per Jessen, Zürich -- PHP General M

Re: [PHP] submitting forms with ajax

2007-11-16 Thread Shiplu
Why dont you use json as server response? Then manipulate it by own javascript. You can use jquery $.getJSON function to do the ajax part for you. On 11/16/07, samantha_o <[EMAIL PROTECTED]> wrote: > > Hi, > > i would like to submit forms with ajax, using jquery and then load the next > page. I ha

Re: [PHP] Tree-like structure in PHP? (closed)

2007-11-16 Thread Paul van Haren
Thanks, the empasant helps! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tree-like structure in PHP?

2007-11-16 Thread Jochem Maas
Paul van Haren wrote: > I'm trying to use arrays to implement a sort of data tree. For the code to > work, it is essential that the nodes can be edited after they have become > part of the tree. That would require that the array elements are pushed > "by reference" rather than "by value". > >

Re: [PHP] submitting forms with ajax

2007-11-16 Thread Shiplu
Why dont you use json as server response? Then manipulate it by own javascript. You can use jquery $.getJSON function to do the ajax part for you. On 11/16/07, Shiplu <[EMAIL PROTECTED]> wrote: > Why dont you use json as server response? Then manipulate it by own > javascript. You can use jquery $

Re: [PHP] CURL efficiency?

2007-11-16 Thread Per Jessen
Michael McGlothlin wrote: > I make use of CURL to talk to a back-end system and I'm calling it > several times per requested page and there are several page requests a > second. Is there anything I can do to make this process more > efficient? Does keep alive work? Do I need to keep the same conne

[PHP] Tree-like structure in PHP?

2007-11-16 Thread Paul van Haren
I'm trying to use arrays to implement a sort of data tree. For the code to work, it is essential that the nodes can be edited after they have become part of the tree. That would require that the array elements are pushed "by reference" rather than "by value". What is the most obvious wa