Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
Hi Kristina, have you tried the lates cvs snap? I know there was some problems with apache2 and mod_rewrite maybe it is solve in CVS. -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php5 call by refference

2005-11-21 Thread Georgi Ivanov
Hi, AFAIK, in PHP5 one can't call function with function parameters . The error is that you only can pass variables by reference. foo(strlen('aaa'),strlen('')); Is there some sort of workaround ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] mod_rewrite and include paths

2005-11-21 Thread Marcus Bointon
I found the source of my mod_rewrite problems. I was doing everything right to start with - The odd behaviour was due to a PHP bug (http:// bugs.php.net/bug.php?id=35059) that's fixed in 4.4.2-dev and 5.1.0RC7- dev (I'd assume 5.0.x as well). Recompiling with a new checkout works fine. Marc

Re: [PHP] php5 call by refference

2005-11-21 Thread David Grant
Georgi, You should assign the output of the functions to variables before the call and use those variables as the parameters. Cheers, David Grant Georgi Ivanov wrote: > Hi, > AFAIK, in PHP5 one can't call function with function parameters . > The error is that you only can pass variables by ref

Re: [PHP] APC caching keys.

2005-11-21 Thread Marcus Bointon
On 19 Nov 2005, at 04:07, Curt Zirzow wrote: If you are using mysql i would use the SQL_CACHE flag, it will eliminate the need for you to manage the cache. You don't necessarily need to us the SQL_CACHE flag in queries - you can just turn on the query cache globally using query_cache_type=1

Re: [PHP] php5 call by refference

2005-11-21 Thread Jochem Maas
Georgi Ivanov wrote: Hi, AFAIK, in PHP5 one can't call function with function parameters . The error is that you only can pass variables by reference. which means that you can't use a function call as the argument to a function that required the argument to be passed by reference, if the argume

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Jochem Maas
Dylan wrote: Hi Is it possible to use the ($test)?$true:$false construction in a (double quoted) string without dropping out of the string and concatenating? I have many lines like: $var = "first part of string ".(($a==$b)?$c:$d)." rest of string"; and I feel it would be more elegant to be abl

Re: [PHP] php5 call by refference

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 09:26, Georgi Ivanov wrote: AFAIK, in PHP5 one can't call function with function parameters . The error is that you only can pass variables by reference. foo(strlen('aaa'),strlen('')); You can call functions like that without problems UNLESS the function is expecting v

Re: [PHP] APC caching keys.

2005-11-21 Thread Jochem Maas
Marcus Bointon wrote: On 19 Nov 2005, at 04:07, Curt Zirzow wrote: If you are using mysql i would use the SQL_CACHE flag, it will eliminate the need for you to manage the cache. You don't necessarily need to us the SQL_CACHE flag in queries - you can just turn on the query cache globally u

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Marcus Bointon
On 18 Nov 2005, at 20:13, Dylan wrote: $var = "first part of string ".(($a==$b)?$c:$d)." rest of string"; and I feel it would be more elegant to be able to do something like: $var ="first part of string {(($a==$b)?$c:$d)} rest of string"; Strange as it may seem, you'll probably find that th

Re: [PHP] APC caching keys.

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 10:54, Jochem Maas wrote: having said that I don't use __autoload() - I did but it was just a PITA - I thought it was a good idea for a while... One major irritation with it is that with standard error reporting you can't tell where a missing class can't be found from (

Re: [PHP] showing in pages selecting result?

2005-11-21 Thread Jochem Maas
xkorakidis wrote: Hi, How can I present into pages the result of sql select? (e.g. pages of 10 records) by performing queries that only grab part of the data and passing along a variable in the relevant urls that allow you to see how far along in the list you are (i.e. what page). the term you

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-21 Thread Marcus Bointon
On 20 Nov 2005, at 15:14, Geert Booster wrote: PHP 4.4.0, since PHP developers seem not interested in fixing the bug with apache2 and mod_rewrite I think you might find this bug report of interest, especially since it's been fixed: http://bugs.php.net/bug.php?id=35059 It's certainly fi

[PHP] Re: php5 call by refference

2005-11-21 Thread Oliver Grätz
Georgi Ivanov schrieb: > Hi, > AFAIK, in PHP5 one can't call function with function parameters . > The error is that you only can pass variables by reference. > foo(strlen('aaa'),strlen('')); > > Is there some sort of workaround ? First of all, the problem with this arises if your function fo

[PHP] Re: Deployment and maintenance of php software

2005-11-21 Thread Oliver Grätz
Andy Pieters schrieb: > Is there anyone that can provide a solution to this or suggest another > approach to the problem? First of all something about packages: PEAR is coming up with their own format ".phar" for this. These are tar archives that may contain an additional PHP script that is exec

Re: [PHP] showing in pages selecting result?

2005-11-21 Thread xkorakidis
Thanks so much Jochem, I found some things in phpclasses (good material, bad design) and I'll try that. Thanks! Jochem Maas wrote: > xkorakidis wrote: >> Hi, >> How can I present into pages the result of sql select? (e.g. pages of 10 >> records) > > by performing queries that only grab part of th

Re: [PHP] Re: php5 call by refference

2005-11-21 Thread Georgi Ivanov
Thanks ! It's all clear now . :) On Monday 21 November 2005 14:45, Oliver Grätz wrote: > Georgi Ivanov schrieb: > > Hi, > > AFAIK, in PHP5 one can't call function with function parameters . > > The error is that you only can pass variables by reference. > > foo(strlen('aaa'),strlen('')); > >

[PHP] Sorting users geographically...

2005-11-21 Thread Tony Di Croce
I'm helping a friend of mine build a matchmaking website, and we have a doozy of a problem to solve: What I need to do is two fold: #1 Collect whatever geographical information I need from each user to enable #2 #2 Be able to run query's to find people NEAR (geographically) another person. Does

Re: [PHP] Sorting users geographically...

2005-11-21 Thread David Grant
Hi Tony, I would think the first step would be to find a web service or dataset to convert a zip code to longitude/latitude. The formula for calculating distances from long/lat is available here: http://www.colorado.edu/geography/gcraft/warmup/aquifer/html/distance.html Cheers, David Grant To

RE: [PHP] Sorting users geographically...

2005-11-21 Thread Jim Moseby
> > I'm helping a friend of mine build a matchmaking website, and > we have a > doozy of a problem to solve: > > What I need to do is two fold: > > #1 Collect whatever geographical information I need from each > user to enable > #2 > #2 Be able to run query's to find people NEAR (geographicall

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Chris Boget
and I feel it would be more elegant to be able to do something like: $var ="first part of string {(($a==$b)?$c:$d)} rest of string"; $templateStr = 'first part of string %s rest of string'; $outputStr = sprintf($templateStr, (($a==$b)?$c:$d)); That is so totally slick! I'm definitely going t

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 09:42, Chris Boget wrote: > >> and I feel it would be more elegant to be able to do something like: > >> $var ="first part of string {(($a==$b)?$c:$d)} rest of string"; > > $templateStr = 'first part of string %s rest of string'; > > $outputStr = sprintf($templateStr, (($a==

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Richard Heyes
Robert Cummings wrote: On Mon, 2005-11-21 at 09:42, Chris Boget wrote: and I feel it would be more elegant to be able to do something like: $var ="first part of string {(($a==$b)?$c:$d)} rest of string"; $templateStr = 'first part of string %s rest of string'; $outputStr = sprintf($template

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 10:02, Richard Heyes wrote: > > Readability is in the eye of the beholder. But efficiency isn't ;) Cheers, Rob -- .. | InterJinn Application Framework - http://www.interjinn.com | :-

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Richard Heyes
Robert Cummings wrote: On Mon, 2005-11-21 at 10:02, Richard Heyes wrote: Readability is in the eye of the beholder. But efficiency isn't ;) Try measuring the difference between the various methods over a realistic number of iterations, eg. 100. There's little point in going through ones

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Jochem Maas
Richard Heyes wrote: Robert Cummings wrote: On Mon, 2005-11-21 at 10:02, Richard Heyes wrote: Readability is in the eye of the beholder. But efficiency isn't ;) yes it is actually - everything is in the eye of the beholder. it just so happens that we often have consensus ;-) with regar

[PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Anyone have any suggestions? I'm still stuck. thanks, kgt Kristen G. Thorson wrote: I'm having problems with a customer who can't login to a wholesaler application. To ensure the problem was that the cookie was not being set, I sent him to this script: if( !isset( $_REQUEST['page'] ) )

RE: [PHP] Cookie problem with IE

2005-11-21 Thread Jay Blanchard
[snip] Anyone have any suggestions? I'm still stuck. [/snip] Can you send him another test where a basic cookie gets set and then checked? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Jay Blanchard wrote: [snip] Anyone have any suggestions? I'm still stuck. [/snip] Can you send him another test where a basic cookie gets set and then checked? . Not sure what you mean. I sent him to this script: Test cookie.'; } else if( $_REQUEST['page'] == '1' ) { if( isset( $_COO

RE: [PHP] Cookie problem with IE

2005-11-21 Thread Jay Blanchard
[snip] Not sure what you mean. I sent him to this script: Test cookie.'; } else if( $_REQUEST['page'] == '1' ) { if( isset( $_COOKIE['VATtest'] ) ) { echo $_COOKIE['VATtest']; } else { echo 'Cookie NOT set.'; } } ?> Which is all I had in entirety. Is this not a "basic cookie?" [/snip]

[PHP] Uploading more than one file

2005-11-21 Thread Shaun
Hi, I have a form on my page that has many file input fields: File A: File B: ... I have looked on php.net and there is a way to upload an array of files but one would need to make the name of all the input fields are the same. I need to make sure that the file uploaded i

RE: [PHP] Sorting users geographically...

2005-11-21 Thread Sandy Keathley
> > Does anyone know of any commercial or free implementations of > > this? Is it > > primarily a database problem or is their some way (computationally) to > > compute the probable proximity of two zip codes? There is a class called zipLocator. I think I found it at phpclasses.org. It uses a

Re: [PHP] Uploading more than one file

2005-11-21 Thread tg-php
Sorry, my brain's running on one cylinder this morning, but maybe this helps: http://us2.php.net/manual/en/features.file-upload.multiple.php If not, excuse my waste of bandwidth :) -TG = = = Original message = = = Hi, I have a form on my page that has many file input fields: File A:

[PHP] PRINTing Problem with CheckBox

2005-11-21 Thread Chirantan Ghosh
Hi All, I have developed this form where people click the check boxes of interested phone numbers which gets emailed to me. My ACT guys tells me I need to print all the Check Box values as unique fields for his intake. I have posted the problem in detail in following URL: http://www.primarywav

Re: [PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Jay Blanchard wrote: [snip] Not sure what you mean. I sent him to this script: Test cookie.'; } else if( $_REQUEST['page'] == '1' ) { if( isset( $_COOKIE['VATtest'] ) ) { echo $_COOKIE['VATtest']; } else { echo 'Cookie NOT set.'; } } ?> Which is all I had in entirety. Is this not a "basi

RE: [PHP] Cookie problem with IE

2005-11-21 Thread Jay Blanchard
[snip] >Sorry, I should have paid more attention. Is $_REQUEST['page'] correctly set >when (print_r the array...just for giggles) I can verify $_REQUEST is correct for me, and I'm sure it's correct for him too, since he gets "Cookie NOT set." The second if statement requires $_REQUEST['page'] t

Re[2]: [PHP] Cookie problem with IE

2005-11-21 Thread Richard Davey
Hi Kristen, Monday, November 21, 2005, 4:48:26 PM, you wrote: > I've been looking through the comments in the manual, and several > people mention privacy policies creating a problem in IE. My problem > is none of this can be duplicated on my machine (or any other so > far), and this customer is

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread kristina clair
Hi, I just installed the latest available snap, and now I'm seeing a zend error, but not a sapi error: Reading symbols from /home/sys/Zend/lib/ZendExtensionManager.so...done. Loaded symbols for /home/sys/Zend/lib/ZendExtensionManager.so Error while reading shared library symbols: .//home/sys/Zend

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
Hi Kristina, I think there is no version available for 5.1.0-cvs. Try to remove the Zend Extensions and give me please feedback. > I just installed the latest available snap, and now I'm seeing a zend > error, but not a sapi error: -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/

[PHP] Decision table/business rule parser?

2005-11-21 Thread Geoff - Creative Living
Hi Does anyone know of an open source or commercial php library for parsing decision tables? Or failing that, a more general business rules parser? I can't find anything on the usual php script sites. Unless I'm missing something, this seems to be a gap - in the Java world there is a wide choice

[PHP] forking off in php

2005-11-21 Thread matt VanDeWalle
hello, I have what may seem like a small problem but its not obvious to me. I have a script that I forked and that part works fine, it forks, tells me the pid like I wanted, and keeps running. Well, the problem that was not apparent to me until about 3 days ago when I was wondering why the scr

Re: [PHP] Uploading more than one file

2005-11-21 Thread -k.
If you named the fields like this: Then did something like (or whatever): $error) { echo $key.""; echo $_FILES["files"]["tmp_name"][$key].""; echo $_FILES["files"]["name"][$key].""; } ?> Would that do what you need to get done? -k.

Re: [PHP] Sorting users geographically...

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 14:14, Tony Di Croce wrote: Does anyone know of any commercial or free implementations of this? Is it primarily a database problem or is their some way (computationally) to compute the probable proximity of two zip codes? All the suggested packages could be all you need,

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread kristina clair
Hi, When I said I installed the latest available snapshot, I meant I installed the latest available snap in the 4.4.x tree - so, the version I installed was php4-STABLE-200511211545.tar.gz. Kristina On 11/21/05, Marco Kaiser <[EMAIL PROTECTED]> wrote: > Hi Kristina, > > I think there is no versi

RE: [PHP] forking off in php

2005-11-21 Thread Jay Blanchard
[snip] hello, I have what may seem like a small problem but its not obvious to me. I have a script that I forked and that part works fine, it forks, tells me the pid like I wanted, and keeps running. Well, the problem that was not apparent to me until about 3 days ago when I was wondering why th

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 15:43, Jochem Maas wrote: using sprintf() is such a simple case may be excessive BUT I was merely introducing the OP to something new (possibly) - anyone asking such 'simple' questions is not at a stage that this kind of efficiency is an issue (i.e. give them 'whats possibl

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
Hi Kristina, > When I said I installed the latest available snapshot, I meant I > installed the latest available snap in the 4.4.x tree - so, the > version I installed was php4-STABLE-200511211545.tar.gz. tha Zend API changed so your installed zend products doenst work with cvs version of php. Di

Re: [PHP] forking off in php

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 17:39, matt VanDeWalle wrote: I have what may seem like a small problem but its not obvious to me. I have a script that I forked and that part works fine, it forks, tells me the pid like I wanted, and keeps running. Well, the problem that was not apparent to me until abou

Re: [PHP] forking off in php

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 17:47, Jay Blanchard wrote: It would have been nice to see your command line. Add '&' i.e. You don't need to do that - the forking script will start, spawn a child process then exit, so adding & will do nothing. Having said that, you could achieve something similar by no

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread kristina clair
On 11/21/05, Marco Kaiser <[EMAIL PROTECTED]> wrote: > Hi Kristina, > > > When I said I installed the latest available snapshot, I meant I > > installed the latest available snap in the 4.4.x tree - so, the > > version I installed was php4-STABLE-200511211545.tar.gz. > > tha Zend API changed so you

[PHP] Re: Can't execute external program

2005-11-21 Thread Ben
Voip tech said the following on 11/20/2005 10:31 PM: Hello, I cannot get exec(), system() or passthru() to run an extenal program. From the command line it runs perfectly: I'm getting frustrated, Any help will be deeply appreciated Henry The answer is probably in your php.ini. Look into

Re: [PHP] forking off in php

2005-11-21 Thread matt VanDeWalle
ah ok thanks, am reading it now On Mon, 21 Nov 2005, Marcus Bointon wrote: On 21 Nov 2005, at 17:39, matt VanDeWalle wrote: I have what may seem like a small problem but its not obvious to me. I have a script that I forked and that part works fine, it forks, tells me the pid like I wanted, a

[PHP] Re: Re: better way to mix html and php code?

2005-11-21 Thread Dan Baker
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Here is an example of a layout template: > > - > > > > > > > > > > > >

[PHP] Trying to send data via POST

2005-11-21 Thread Anders Norrbring
I'm trying to set up a script that will post a picture file to a hosting site. Normally, the site accepts uploads via a web form using a POST action. How can I make this file transfer to the host so it'll think it's posted by it's own web form? I just don't get how to set it up.. -- Anders N

Re: [PHP] Re: Re: better way to mix html and php code?

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 13:41, Dan Baker wrote: > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Here is an example of a layout template: > > > > - > > > > > > > > > > > > > > > >

Re: [PHP] Trying to send data via POST

2005-11-21 Thread Richard Davey
Hi Anders, Monday, November 21, 2005, 7:13:40 PM, you wrote: > I'm trying to set up a script that will post a picture file to a > hosting site. Normally, the site accepts uploads via a web form > using a POST action. How can I make this file transfer to the host > so it'll think it's posted by it

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 10:31, Richard Heyes wrote: > Robert Cummings wrote: > > On Mon, 2005-11-21 at 10:02, Richard Heyes wrote: > > > >>Readability is in the eye of the beholder. > > > > > > But efficiency isn't ;) > > Try measuring the difference between the various methods over a > realisti

RE: [PHP] Trying to send data via POST

2005-11-21 Thread Jay Blanchard
[snip] I'm trying to set up a script that will post a picture file to a hosting site. Normally, the site accepts uploads via a web form using a POST action. How can I make this file transfer to the host so it'll think it's posted by it's own web form? I just don't get how to set it up.. [/snip]

Re: [PHP] using ($test)?$true:$false in a string

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 10:43, Jochem Maas wrote: > Richard Heyes wrote: > > Robert Cummings wrote: > > > >> On Mon, 2005-11-21 at 10:02, Richard Heyes wrote: > >> > >>> Readability is in the eye of the beholder. > >> > >> > >> > >> But efficiency isn't ;) > > yes it is actually - everything is in

[PHP] Regex for balanced brackets?

2005-11-21 Thread Jeffrey Sambells
I came across this method of matching brackets with regex in .NET http://puzzleware.net/blogs/archive/2005/08/13/22.aspx but I am wondering if it is possible to do the same in PHP? I've tried it a bit but I can't seem to get it to work properly. I'm just wondering if I am doing something wron

Re: [PHP] Decision table/business rule parser?

2005-11-21 Thread Geoff - Creative Living
Mike > How about jBPM (http://www.jboss.org/products/jbpm)? I looked at it, > briefly, awhile back. May implement it in the next release of my > company software. Anyone have any experience with it? There's a wide range of Java solutions: http://www.manageability.org/blog/stuff/rule_engines/view

Re: [PHP] Decision table/business rule parser?

2005-11-21 Thread Mike Smith
I'm not aware of any. I am kind of developing my own for my current Materials System. We purchase aluminum and glass from multiple suppliers. The costing of those materials can vary supplier to supplier. I'm working on an interface that will basically let the Material dept work with a Part Profile

[PHP] php 5.1rc6, oci8, and ldap

2005-11-21 Thread Robert Hopson
Greetings, I am trying to compile PHP 5.1RC6 with support for both ldap and the oci8 extension (using the Oracle Instant Client). To get this working under PHP4, I had to modify the Apache (1.3) environment like so: LD_LIBRARY_PATH="/usr/lib:${ORACLE_HOME}" LD_PRELOAD="libldap.so.2:libcln

[PHP] forking problem and logging off - solved

2005-11-21 Thread matt VanDeWalle
I have fixed my prier problem of my script crashing down whenever i logged out of the shell, I got a bright idea, (one of the few it seems i'm having lately :p ) I found out that there is a "nohup" command ..i guess i knew there was but i had forgotten that until today. I put this in a script n

[PHP] username format when binding to Active Directory?

2005-11-21 Thread Bing Du
Hello, The following script returns 'LDAP bind failed...'. "; $ldaprdn = "[EMAIL PROTECTED]"; $ldappass = "jsmithpass"; $ds=ldap_connect("ad.dept.some.edu"); if ($ds) { echo "Binding ..."; $r=ldap_bind($ds, $ldaprdn, $ldappass); if ($r) { echo "LDAP bind successful..."; }

[PHP] security question... "man in the middle attacks"

2005-11-21 Thread bruce
hey... anybody here have a serious background in security, or with 'man in the middle attacks'??? in particular, i'm trying to get my hands around ways of preventing a server/browser app to be susceptible to a 'man in the middle attack' serious pointers would be helpful. searching across google

[PHP] Including classes

2005-11-21 Thread Philip Thompson
Hi all. Here's what's going on. I have a page which calls itself in a . On this page, I include two classes from other file I've created. On load, the page reads the class stuff just fine. If I submit the form (call the page again), then the class doesn't like to show any results.

[PHP] Re: Re: Re: better way to mix html and php code?

2005-11-21 Thread Dan Baker
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 2005-11-21 at 13:41, Dan Baker wrote: > There are two ways for retrieving data. The first you have seen is the > tag form, but obviously that's a problem when the data goes into a tag > :) For this there is the

Re: [PHP] Re: Re: Re: better way to mix html and php code?

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 18:17, Dan Baker wrote: > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On Mon, 2005-11-21 at 13:41, Dan Baker wrote: > > There are two ways for retrieving data. The first you have seen is the > > tag form, but obviously that's a problem

[PHP] Re: Re: Re: better way to mix html and php code?

2005-11-21 Thread Dan Baker
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 2005-11-21 at 13:41, Dan Baker wrote: >> I'm curious ... how do you generally handle forms and urls? What if the >> programmer wants to add a link, something like: >> View my info >> >> How is the data (op=Vie

Re: [PHP] Re: Re: Re: better way to mix html and php code?

2005-11-21 Thread Robert Cummings
On Mon, 2005-11-21 at 18:46, Dan Baker wrote: > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On Mon, 2005-11-21 at 13:41, Dan Baker wrote: > >> I'm curious ... how do you generally handle forms and urls? What if the > >> programmer wants to add a link, somet

Re: [PHP] Regex for balanced brackets?

2005-11-21 Thread David Tulloh
I think you are doing it wrong, though reading other people's regex easily is a skill I lack. It is however very possible. The php manual has a section on recursive regex where it explains how to solve the bracket problem. http://php.net/manual/en/reference.pcre.pattern.syntax.php#regexp.refer

[PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
Trying to compile APXS version of PHP5.05 and towards the end, when it tries to compile the CLI version, it bombs with the following: ext/ftp/ftp.lo(.text+0x76): In function `data_close': /usr/local/src/apache/php-5.0.5/ext/ftp/ftp.c:1566: undefined reference to `SSL_shutdown' ext/ftp/ftp.

Re: [PHP] PHP 5.0.5

2005-11-21 Thread Curt Zirzow
On Mon, Nov 21, 2005 at 09:41:40PM -0700, Ashley M. Kirchner wrote: > >Trying to compile APXS version of PHP5.05 and towards the end, when > it tries to compile the CLI version, it bombs with the following: > > ext/ftp/ftp.lo(.text+0x76): In function `data_close': > /usr/local/src/apache/php

Re: [PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
Curt Zirzow wrote: You're compile path looks awkward to me. How so? /usr/local/src/apache is simply a folder where I have all apache related sources dumped and compiled prior to installation. So naturally PHP's source becomes /usr/local/src/apache/php-5.0.5 what does your ./configure

RE: [PHP] security question... "man in the middle attacks"

2005-11-21 Thread bruce
your questions are on point... if you're going to really talk about doing transactions... it appears to me that you really need to solve this. www.passmarksecurity.com claims to have solved this.. although i'm not sure i agree with them.. for one, i can't find a thorough independent analysis, for