php-general@lists.php.net

2003-10-10 Thread Curt Zirzow
On Fri, 10 Oct 2003 16:07:54 -0700, Daevid Vincent <[EMAIL PROTECTED]> wrote: How can I cause PHP to fire off a unix program and NOT wait for a reply. Basically I want to use the "&" love the unix provides, but it seems that exec, passthrough, system and even ` ` all wait for a return despite my

Re: [PHP] Need advice, hopefully on topic.

2003-10-10 Thread Mike Migurski
>> If you've used it before, I can write more about how it can be used in >> specific circumstances. I never start a project without starting a >> repository someplace, and a combination of CVS and Make have really >> helped me out with a lot of projects. > >hmm.. i'm interested in seeing your appr

[PHP] Re: Get fields values from a string.

2003-10-10 Thread Cristian Lavaque
yup you could do something like this $string = 'field_value1:field_value2:field_value3'; $array = explode(':', $str); foreach($array as $substring){ list($field, $value) = explode('_', $substr); $$field = $value; } hope this helps Cristian Mehdi Achour wrote: > Hi, > > Check this : php.net/e

Re: [PHP] PHP weirdo bahavior (code mutation)

2003-10-10 Thread Mohamed Lrhazi
Thanks Khalid... but that still does not help :) The problem does not reproduce systematically, at all.. here is another example I just found in a new log of my script: Here is my code first: $table="client_package"; $sql = "INSERT INTO `$table` (`cp_id`,`client_id`,`pack_id`,`pack_price`,`paren

Re: [PHP] Re: Exec() wont run program

2003-10-10 Thread Mohamed Lrhazi
Where are you expecting gedit to appear? try with -display argument Also, try other commands, such as ls first. Mohamed~ On Fri, 2003-10-10 at 17:18, steve wrote: > Curt Zirzow wrote: > > What is gedit? it looks like the gnu text editor command. most X > > applications > > wont run from the web

Re: [PHP] Am I asking too much?

2003-10-10 Thread John Taylor-Johnston
So I should break it up my two queries? $sql = 'insert into '.$db2.'.'.$table2.'(KW,AUS,GEO,AN,RB,CO,RR) select KW,AUS,GEO,AN,RB,CO,RR FROM '.$db.'.'.$table.' WHERE id='.$id.';'; mysql_query($sql); $sql = 'DELETE FROM '.$db.'.'.$table.' WHERE id='.$id.' LIMIT 1;'; mysql_query($sql); Any sugges

[PHP] Re: Get fields values from a string.

2003-10-10 Thread Cristian Lavaque
err... sorry, the second line should be $array = explode(':', $string); Cristian Cristian Lavaque wrote: > yup > > you could do something like this > > $string = 'field_value1:field_value2:field_value3'; > $array = explode(':', $str); > foreach($array as $substring){ > list($field, $value) =

php-general@lists.php.net

2003-10-10 Thread Daevid Vincent
Yeah, that is the 'hack' solution I came up with too. LOL. I guess I was hoping for something more elegant... Is there a reason that PHP doesn't handle the & properly? I mean, it seems as though you'd have to go out of your way to force it NOT to spawn the task in the background. If PHP was just

Re: [PHP] Sessions

2003-10-10 Thread Lowell Allen
> I'm trying to track down some issues with my site, and am trying to decide > if it's a session variable issue. On a random basis, it appears that session > vars are being dumped, deleted, or unset, as the site will break. Queries > based on session vars don't work, session vars not being displaye

Re: [PHP] Re: Did anyone have success with the require() function??

2003-10-10 Thread Tom Rogers
Hi, Saturday, October 11, 2003, 3:33:05 AM, you wrote: CZ> On Fri, 10 Oct 2003 13:09:16 -0400, Scott Fletcher <[EMAIL PROTECTED]> wrote: >> Hi Fellas! >> >> Did anyone have success with making the required function work if using >> this sample code. It didn't work for me. >> >> --snip-- >> requi

Re: [PHP] [xml] character data

2003-10-10 Thread Tom Rogers
Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA> I do not understand why this line does not work : DA> $info[$element] = $content; DA> but yet this works: echo $content; DA> why? what is the trick? DA> -- DA> $xml_comment_file = basename($svg_file, '.svg.xml') .'.info.xml'; DA> if

Re: [PHP] Echoing string with single quote from $_POST

2003-10-10 Thread Becoming Digital
stripslashes(); Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "James Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, 10 October, 2003 13:07 Subject: [PHP] Echoing string with single quote from $_POST Hi, I'm building a form wher

[PHP] Encryption question

2003-10-10 Thread Ryan Thompson
I know this is an opinion thing but what's the best functions or function set for password encryption? Currently my project uses md5 but I thinks it's more for checksums isn't it? Also, is mcrypt used for passwords? I looks like it's a two-way encryption. -- Ryan Thompson [EMAIL PROTECTED] http

Re: [PHP] Encryption question

2003-10-10 Thread Ryan Thompson
Sorry. Just stumbled on crypt() On Friday 10 October 2003 22:31, Ryan Thompson wrote: > I know this is an opinion thing but what's the best functions or function > set for password encryption? > > Currently my project uses md5 but I thinks it's more for checksums isn't > it? Also, is mcrypt used

Re: [PHP] Encryption question

2003-10-10 Thread Brad Pauly
On Fri, 2003-10-10 at 20:31, Ryan Thompson wrote: > I know this is an opinion thing but what's the best functions or function set > for password encryption? > > Currently my project uses md5 but I thinks it's more for checksums isn't it? > Also, is mcrypt used for passwords? I looks like it's a t

RE: [PHP] Encryption question

2003-10-10 Thread Mike Brum
I think it all falls under the "cryptography" category, but you're right - it doesn't fall into the encryption/decryption scheme since it is only one-way. -M -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 10:43 PM To: php-gen Subject: Re: [PH

php-general@lists.php.net

2003-10-10 Thread Curt Zirzow
* Thus wrote Daevid Vincent ([EMAIL PROTECTED]): > Yeah, that is the 'hack' solution I came up with too. LOL. > > I guess I was hoping for something more elegant... > > Is there a reason that PHP doesn't handle the & properly? I mean, it seems > as though you'd have to go out of your way to force

Re: [PHP] Re: Limits and php...

2003-10-10 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): > On Fri, 2003-10-10 at 12:12, Jason Wong wrote: > > On Friday 10 October 2003 22:44, Robert Cummings wrote: > > > > > > *Most* bottom posters are savvy enough to trim posts adequately to ensure > > > > that there is no crap to wade through whilst

Re: [PHP] Oracle - Win32

2003-10-10 Thread orlandopozo
> Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, > but I don't know how to install it, in the official documentation tell this: > > Installation > You have to compile PHP with the option --with-oracle[=DIR], where DIR > defaults to your environmment variable ORACLE_HO

[PHP] XML / XLS application

2003-10-10 Thread orlandopozo
> Hello mailing list, I have a question about the use of XML / XLS > application, I am introducing myself in this technology, What is useful XML > / XLS for? , I need a basic example, basic application of it, because I > don't find the use of it. I know that XML is used to interchange data > bet

[PHP] Oracle - Win32

2003-10-10 Thread orlandopozo
> > Hello mailing list, I want to use Oracle function in PHP parser in Win32 > OS, > > but I don't know how to install it, in the official documentation tell > this: > > > > Installation > > You have to compile PHP with the option --with-oracle[=DIR], where DIR > > defaults to your environmment va

Re: [PHP] XML / XLS application

2003-10-10 Thread Ray Hunter
So what is your questions concerning php? --- BigDog On Fri, 2003-10-10 at 23:28, [EMAIL PROTECTED] wrote: > > > Hello mailing list, I have a question about the use of XML / XLS > > application, I am introducing myself in this technology, What is useful > XML > > / XLS for? , I need a basic exa

[PHP] ldap authentication to win2k domain controller

2003-10-10 Thread Redmond Militante
hi all i've been given the task of writing an app with a login mechanism that authenticates against the active directory users list on a windows 2000 domain controller. i have an apache 1.3.28 webserver running on FreeBSD 4.8-RELEASE, with php4.3.1 nstalled i don't have openldap support compil

Re: [PHP] XML / XLS application

2003-10-10 Thread Curt Zirzow
* Thus wrote Ray Hunter ([EMAIL PROTECTED]): > So what is your questions concerning php? I think he's lost. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Oracle - Win32

2003-10-10 Thread John Nichel
[EMAIL PROTECTED] wrote: Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, but I don't know how to install it, in the official documentation tell this: Installation You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environmment vari

Re: [PHP] Oracle - Win32

2003-10-10 Thread imran
-Edit the php.ini file GET THE DLLs: The Dlls for mssql and others (oracle, sybase, etc.) are NOT included in the installation (Install Shield Wizard) in the root folder. Get the other package for windows systems (NO Install shield!). Just plain files. After unzipping the file, look for the su

[PHP] off-list topic: Debian vs. Redhat

2003-10-10 Thread Wang Feng
Greetings, Have been working with Windows for many years, I'm planning to *migrate* to Linux. Googled Debian vs. Redhat. Found that more commercial software vendors support Redhat rather than Debian. Why does this happen? Also, Debian contains more than 8000 packages, which is much more than the

<    1   2