Re: [PHP] PHP Content Management

2009-01-29 Thread Kyle Terry
On Jan 29, 2009, at 11:27 PM, Nathan Rixham wrote: Larry Garfield wrote: On Friday 30 January 2009 12:16:44 am Jason Todd Slack-Moehrle wrote: I would like something simple to setup, http://drupal.org/ lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] PHP Content Management

2009-01-29 Thread Nathan Rixham
Larry Garfield wrote: On Friday 30 January 2009 12:16:44 am Jason Todd Slack-Moehrle wrote: I would like something simple to setup, http://drupal.org/ lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Content Management

2009-01-29 Thread Larry Garfield
On Friday 30 January 2009 12:16:44 am Jason Todd Slack-Moehrle wrote: > Hi All, > > I am looking for an open-sourced CMS that is PHP/MySQL based. > > I would like something simple to setup, but also would be good for a > storefront as I want to use it for my indie business. > > Thoughts? > > -Jason

[PHP] PHP Content Management

2009-01-29 Thread Jason Todd Slack-Moehrle
Hi All, I am looking for an open-sourced CMS that is PHP/MySQL based. I would like something simple to setup, but also would be good for a storefront as I want to use it for my indie business. Thoughts? -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Re: Hidden costs of PHP arrays?

2009-01-29 Thread Eric Butera
On Thu, Jan 29, 2009 at 9:02 PM, Paul M Foster wrote: > On Fri, Jan 30, 2009 at 11:10:16AM +1100, Clancy wrote: > > > >> As a former assembly language programmer I have some idea of the vast >> amount of thumb >> twiddling which is going on behind-the-scenes when I make some apparently >> simple

Re: [PHP] Re: Hidden costs of PHP arrays?

2009-01-29 Thread Paul M Foster
On Fri, Jan 30, 2009 at 11:10:16AM +1100, Clancy wrote: > As a former assembly language programmer I have some idea of the vast > amount of thumb > twiddling which is going on behind-the-scenes when I make some apparently > simple request > like the one to get my phone number. Undoubtedly most o

Re: [PHP] Switch statement Question

2009-01-29 Thread Jochem Maas
Boyd, Todd M. schreef: >> -Original Message- >> From: Alice Wei [mailto:aj...@alumni.iu.edu] >> Sent: Thursday, January 29, 2009 3:02 PM >> To: php-general@lists.php.net >> Subject: [PHP] Switch statement Question >> >> >> Hi, >> >> I have a code snippet here as in the following: >> >> //

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: > Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: >> exec(escapeshellcmd("echo '$BUILDLOG' | head -n 11"), $TMP_DATA); >> >> There are quotes or backticks or something in $BUILDLOG. > > Forgotten one thing: If I continue to process the array() with, e.g., > > $POS=s

[PHP] MicroSlow Software (was: Re: Hidden costs of PHP arrays?)

2009-01-29 Thread Micah Gersten
Clancy wrote: > One could reasonably hope that the same could be said for every part of the > programming > chain, but it is one of the ironies of modern computing that computers get > faster and > faster, memory gets cheaper and cheaper, programming appears to get simpler > and simpler, > yet t

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: > Hello Shawn, > > Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: >> exec(escapeshellcmd("echo '$BUILDLOG' | head -n 11"), $TMP_DATA); >> >> There are quotes or backticks or something in $BUILDLOG. > > Thanks for it, now I have an array but the "|head -n 11" is ignored a

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: > Am 2009-01-29 16:09:00, schrieb Shawn McKenzie: >> Actually though, instead of exec() why not something like: >> >> $TMP_DATA = explode("\n", $BUILDLOG, 11); > > Tried... but now I have 11 elements wher in the last element is the > whole rest of the BUILD-Log... con

[PHP] Re: Hidden costs of PHP arrays?

2009-01-29 Thread Clancy
On Wed, 28 Jan 2009 00:50:18 +, nrix...@gmail.com (Nathan Rixham) wrote: >Clancy wrote: >> Also what the relative virtues of defining the same set of fields for every >> contact, as >> against either defining only the fields which actually hold values, as in >> the following >> examples? >>

[PHP] Re: Imagick->setImageFormat()

2009-01-29 Thread Philip Thompson
On Jan 29, 2009, at 4:20 PM, Philip Thompson wrote: Hello all. I'm pretty new to Imagick. I'm merely attempting the examples on the PHP site (http://php.net/manual/en/imagick.examples-1.php), but I'm having some issues. I'm attempting the reflection of an image example and when I attempt

[PHP] kadm5 Library

2009-01-29 Thread Tim Gustafson
Hi, I'm running PHP on a CentOS 5.2 box and I'd like to get the kadm5 library to work. The documentation says that the package is both included by default and also available as a PECL module. The functions are not available in my base install (I'm using the PHP package from the CentOS reposit

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Michelle Konzack
Am 2009-01-29 16:09:00, schrieb Shawn McKenzie: > Actually though, instead of exec() why not something like: > > $TMP_DATA = explode("\n", $BUILDLOG, 11); Tried... but now I have 11 elements wher in the last element is the whole rest of the BUILD-Log... continue trying! Thanks, Greetings a

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Michelle Konzack
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: > exec(escapeshellcmd("echo '$BUILDLOG' | head -n 11"), $TMP_DATA); > > There are quotes or backticks or something in $BUILDLOG. Forgotten one thing: If I continue to process the array() with, e.g., $POS=strpos(stripcslashes($TMP_DATA['0']),

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Michelle Konzack
Hello Shawn, Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: > exec(escapeshellcmd("echo '$BUILDLOG' | head -n 11"), $TMP_DATA); > > There are quotes or backticks or something in $BUILDLOG. Thanks for it, now I have an array but the "|head -n 11" is ignored and my arrays have up to several 10.0

[PHP] Imagick->setImageFormat()

2009-01-29 Thread Philip Thompson
Hello all. I'm pretty new to Imagick. I'm merely attempting the examples on the PHP site (http://php.net/manual/en/imagick.examples-1.php), but I'm having some issues. I'm attempting the reflection of an image example and when I attempt to: $canvas->setImageFormat("png"); I get an error

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: > Michelle Konzack wrote: >> Hello, >> >> currently I am coding a RSS feeder for the Emdebian buildd-log and for >> testing I use two files: >> >> >>

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: > Terion Miller wrote: >> Well upon looking it was number 2, I had no orders in the workorder table, >> but here is an oddity I wonder if someone can explain if I run this simple >> query: >> >> $query = "SELECT * FROM admin, workorders >> WHERE admin.UserName = '"

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
Terion Miller wrote: > Well upon looking it was number 2, I had no orders in the workorder table, > but here is an oddity I wonder if someone can explain if I run this simple > query: > > $query = "SELECT * FROM admin, workorders > WHERE admin.UserName = '".$_SESSION['user']."' "; > >

[PHP] Re: Switch statement Question

2009-01-29 Thread Frank Stanovcak
>"Alice Wei" wrote in message >news:snt101-w587cd616331fc59b84834af0...@phx.gbl... > >Hi, > > I have a code snippet here as in the following: > >//Switch statements between the four options >switch($string) { >case "": >$string= "NOT book.author='All'"; >break; >default: >$string= $string . "AN

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Terion Miller
Well upon looking it was number 2, I had no orders in the workorder table, but here is an oddity I wonder if someone can explain if I run this simple query: $query = "SELECT * FROM admin, workorders WHERE admin.UserName = '".$_SESSION['user']."' "; It returns adminID = 7 (my number is

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: > Michelle Konzack wrote: >> Hello, >> >> currently I am coding a RSS feeder for the Emdebian buildd-log and for >> testing I use two files: >> >> >>

RE: [PHP] Switch statement Question

2009-01-29 Thread Boyd, Todd M.
> -Original Message- > From: Alice Wei [mailto:aj...@alumni.iu.edu] > Sent: Thursday, January 29, 2009 3:02 PM > To: php-general@lists.php.net > Subject: [PHP] Switch statement Question > > > Hi, > > I have a code snippet here as in the following: > > //Switch statements between the f

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: > Hello, > > currently I am coding a RSS feeder for the Emdebian buildd-log and for > testing I use two files: > > > >

[PHP] Weird problem while reading in a file to an Array

2009-01-29 Thread Michelle Konzack
Hello, currently I am coding a RSS feeder for the Emdebian buildd-log and for testing I use two files: and if you look into those Build-Logs,

[PHP] Switch statement Question

2009-01-29 Thread Alice Wei
Hi, I have a code snippet here as in the following: //Switch statements between the four options switch($string) { case "": $string= "NOT book.author='All'"; break; default: $string= $string . "AND NOT book.author='All'"; break; } This code does work, but I am wondering if it is possible

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
Terion Miller wrote: > Hi Again > > Here is the query and code I tried: > $sql = "SELECT * FROM workorders WHERE AdminID = (SELECT AdminID FROM > admin WHERE UserName = '" > . mysql_real_escape_string($_SESSION['user']) . "')"; > > > $result2 = mysql_query ($sql); > $row2 = mysql_fetch_

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Terion Miller
Hi Again Here is the query and code I tried: $sql = "SELECT * FROM workorders WHERE AdminID = (SELECT AdminID FROM admin WHERE UserName = '" . mysql_real_escape_string($_SESSION['user']) . "')"; $result2 = mysql_query ($sql); $row2 = mysql_fetch_assoc ($result2); $printrow = p

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
Terion Miller wrote: > Hi Guys! Well I tried the INNER JOIN and still can not get it to echo > the AdminID so I know it isn't working, (what kind of things should I > think about that could make it not work) so far the only query that > did work and return the AdminID was my original I believe i

Re: RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Al
Jônatas Zechim wrote: Thank u, i'll try, when I do, i'll post here. zechim -Mensagem original- De: c...@l-i-e.com [mailto:c...@l-i-e.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:52 Para: php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php Yes, you will

RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Thank u, i'll try, when I do, i'll post here. zechim -Mensagem original- De: c...@l-i-e.com [mailto:c...@l-i-e.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:52 Para: php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php Yes, you will need four ellipses, arcs,

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread ceo
Yes, you will need four ellipses, arcs, or similar shapes -- but they'll all be the SAME except for the center, so make that a function probably. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Hi Tedd, i cant imagine doing that pic i've show to u, follow me, I must do 4 ellipse and 1 rectangle and union all to make a rounded rectangle? My problem now is the geometry. *--* | | *--* It can be this? zechim -Mensagem original- De: tedd [mailto:tedd.sperl...@gmail.c

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread tedd
At 11:36 AM -0200 1/29/09, Jônatas Zechim wrote: Hi there, is it possible do make a rounded rectangle in php, i can do a ellipse, but i need a space between the corners, i need to make something like this: http://superbrush.files.wordpress.com/2008/03/086.jpg not the color and the shadows, only

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Terion Miller
Hi Guys! Well I tried the INNER JOIN and still can not get it to echo the AdminID so I know it isn't working, (what kind of things should I think about that could make it not work) so far the only query that did work and return the AdminID was my original I believe it was referred to as "hosed" qu

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread Greg Bowser
It is certainly possible, but to my knowledge, there is no built-in method for doing so. After a quick Google, it looks like this has been done before: http://www.assemblysys.com/dataServices/php_roundedCorners.php http://us3.php.net/manual/en/function.imagefilledrectangle.php#42815 But if you'r

[PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Hi there, is it possible do make a rounded rectangle in php, i can do a ellipse, but i need a space between the corners, i need to make something like this: http://superbrush.files.wordpress.com/2008/03/086.jpg not the color and the shadows, only the form. zechim -- PHP General Mailing List

[PHP] PHP 5.3.0beta1

2009-01-29 Thread Johannes Schlüter
Hi, we have packaged PHP 5.3.0beta1. Source tarballs can be found at http://downloads.php.net/johannes/php-5.3.0beta1.tar.bz2 ac16e56bf6a4b37ff35d9bc061063a9 http://downloads.php.net/johannes/php-5.3.0beta1.tar.gz 71c6c06087cfa9c38567b050d00bcabf Windows binary builds on http://