[PHP] Re: php applications

2009-06-08 Thread Manuel Lemos
Hello, on 06/08/2009 12:48 PM tedd said the following: > Hi gang: > > I've heard that php can be used for more than web programming, but I am > not aware of specifically how that can be done. So, let me ask directly > -- can php be used to create a Mac Application? > > If so, how? Sure, just ye

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > > > PJ wrote: >> Robert Cummings wrote: >>> PJ wrote: Robert Cummings wrote: > PJ wrote: >> I know this a silly question, but I can't figure out if it's even >> possible to get rid of that final annoying | in my pagination >> script. >> >> Navig

[PHP] Re: Automated form generation?

2009-06-08 Thread Manuel Lemos
Hello, on 06/08/2009 07:04 PM Skip Evans said the following: > We've been approached by a central office of a relatively large > religious denomination that collects data from their member churches in > the form of an 11 page questionnaire with a diverse set of questions > ranging from multiple ch

[PHP] Strange PHP/Python problem

2009-06-08 Thread Adrian Price-Whelan
Hey all- Something strange is happening with a python script I am executing from a php page: I am executing this by doing $output = `python blahblah.py arg1 arg2 arg3` Say my Python code looks like this: import sys import os thisPID = os.getpid() print thisPID print "1" RADeg = float(sys

Re: [PHP] php applications

2009-06-08 Thread Paul M Foster
On Mon, Jun 08, 2009 at 09:30:18AM -0700, Kyle Terry wrote: > I don't mean to be the thread spirit killer, but I think another language > would be better for this. Such as Python. > > PHP desktop apps might be fun to hack around with, but I wouldn't use it for > a production application. I've

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: Robert Cummings wrote: PJ wrote: Robert Cummings wrote: PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"pre

Re: [PHP] php applications

2009-06-08 Thread Robert Cummings
Larry Garfield wrote: On Monday 08 June 2009 12:34:40 pm Robert Cummings wrote: Matty Sarro wrote: Real men use perl ;) When I was younger my dad told me real men drink their coffee black... I tried it for a month and then I told him real men choose their own path in life. Cheers, Rob. Mind

Re: [PHP] key for in_array()

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 17:33, Dee Ayy wrote: > array_search > in the See Also section for in_array docs? You and Andrew are quick today. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Co

Re: [PHP] php applications

2009-06-08 Thread Tom Worster
On 6/8/09 4:26 PM, "Dee Ayy" wrote: > Not as smooth as Xcode and Interface Builder eh? no -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php applications

2009-06-08 Thread Larry Garfield
On Monday 08 June 2009 12:34:40 pm Robert Cummings wrote: > Matty Sarro wrote: > > Real men use perl ;) > > When I was younger my dad told me real men drink their coffee black... I > tried it for a month and then I told him real men choose their own path > in life. > > Cheers, > Rob. Mind if I use

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > PJ wrote: >> Robert Cummings wrote: >>> PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; >

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: Robert Cummings wrote: PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"prev":"prev")." | "; for($i=$page; $i<=(

[PHP] Re: Automated form generation?

2009-06-08 Thread Tony Marston
"Shawn McKenzie" wrote in message news:4a2d8df0.4040...@mckenzies.net... > Skip Evans wrote: >> Hey guys & gals & all ships at sea, >> >> We've been approached by a central office of a relatively large >> religious denomination that collects data from their member churches in >> the form of an 1

Re: [PHP] php applications

2009-06-08 Thread Dee Ayy
> Not as smooth as Xcode and Interface Builder eh? I had interesting results with my first custom MyApp.app bundle. >From >http://developer.apple.com/documentation/CoreFOundation/Conceptual/CFBundles/Concepts/BundleAnatomy.html#//apple_ref/doc/uid/20001119-104977-TPXREF4 I made a new folder named

[PHP] Re: Automated form generation?

2009-06-08 Thread Skip Evans
Hey all, I've read through the cakePHP docs for a potential project once and thought it looked pretty well put together, and liked it, but didn't get any hands on with it. Sounds promising... ...any other comments on Cake for this solution? Skip Shawn McKenzie wrote: Skip Evans wrote: He

[PHP] Re: Automated form generation?

2009-06-08 Thread Shawn McKenzie
Skip Evans wrote: > Hey guys & gals & all ships at sea, > > We've been approached by a central office of a relatively large > religious denomination that collects data from their member churches in > the form of an 11 page questionnaire with a diverse set of questions > ranging from multiple choic

[PHP] Automated form generation?

2009-06-08 Thread Skip Evans
Hey guys & gals & all ships at sea, We've been approached by a central office of a relatively large religious denomination that collects data from their member churches in the form of an 11 page questionnaire with a diverse set of questions ranging from multiple choice, essay type, to financi

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > PJ wrote: >> I know this a silly question, but I can't figure out if it's even >> possible to get rid of that final annoying | in my pagination script. >> >> Navigation"; >> >> echo (($page !=1)?"first":"first")." ... "; >> echo (($page>1)?"prev":"prev")." | "; >> for($i=$p

Re: [PHP] key for in_array()

2009-06-08 Thread Dee Ayy
array_search in the See Also section for in_array docs? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] key for in_array()

2009-06-08 Thread Andrew Ballard
On Mon, Jun 8, 2009 at 5:29 PM, tedd wrote: > Hi gang: > > Does anyone have a slick way to determine what the key would be for a > successful find in in_array()? > > Such as: > > if (in_array($var, $array)) >   { >   // what's they key for *this* successful find? >   } > > I know I could use: > > f

[PHP] key for in_array()

2009-06-08 Thread tedd
Hi gang: Does anyone have a slick way to determine what the key would be for a successful find in in_array()? Such as: if (in_array($var, $array)) { // what's they key for *this* successful find? } I know I could use: foreach($array as $key => $value) { if ($value == $var)

Re: [PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-08 Thread O. Lavell
Dee Ayy wrote: > It's for better code. > > Personally, I'm trying to get away from multiple return/exit paths, Hurray for you :) [..] > At a minimum, I would change this: > > function doThisAndThat($bTrueOrFalse) { > if ($bTrueOrFalse) > { > return 'It is true'; > } > >

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
> If its the request from the browser, why not just fire up a packet sniffer > and get it that way? Unless it's using SSL/TLS/VPN/something that would > encrypt it, you should be able to see the request in clear text. > The browser is running on a Symbian cellphone. -- Dotan Cohen http://what-i

Re: [PHP] Show the entire browser request

2009-06-08 Thread Andrew Ballard
On Mon, Jun 8, 2009 at 4:40 PM, Dotan Cohen wrote: >> This should do it, I believe: >> >> > >> echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ', >> $_SERVER['SERVER_PROTOCOL']; >> >> ?> >> > > Thanks, Andrew, I'm sure that works for correctly-formed requests. > However, I am tryin

[PHP] PHP running Python script - not waiting for Python script to finish

2009-06-08 Thread Adrian Price-Whelan
Hey - Running these on a Linux server with PHP 5 and Python 2.5. My problem is this: I have a simple php form that executes a long (~3 minutes) Python script using the 'exec' function from php. The issue is that the browser, I think, 'times out' before the Python script is finished and the

Re: [PHP] Show the entire browser request

2009-06-08 Thread Matty Sarro
If its the request from the browser, why not just fire up a packet sniffer and get it that way? Unless it's using SSL/TLS/VPN/something that would encrypt it, you should be able to see the request in clear text. On Mon, Jun 8, 2009 at 4:40 PM, Dotan Cohen wrote: > > This should do it, I believe:

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
> This should do it, I believe: > > > echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ', > $_SERVER['SERVER_PROTOCOL']; > > ?> > Thanks, Andrew, I'm sure that works for correctly-formed requests. However, I am trying to diagnose a web browser that is _not_ correctly forming it's

Re: [PHP] php applications

2009-06-08 Thread Dee Ayy
> I'm used to an IDE where you write code, run, and debug it. When you get it > where you want and want to create an application, then you compile the code > and there's an application -- a stand alone application -- done! You may be looking for glade http://glade.gnome.org/ It's in MacPorts as gl

Re: [PHP] Show the entire browser request

2009-06-08 Thread Andrew Ballard
On Mon, Jun 8, 2009 at 2:40 PM, Dotan Cohen wrote: >>    Roger that.  Check out getallheaders() then: >> >>        http://php.net/getallheaders >> > > Well, that seems to be partway there, but it doesn't include the GET request. > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co

Re: [PHP] php applications

2009-06-08 Thread tedd
At 11:49 AM -0400 6/8/09, Daniel Brown wrote: On Mon, Jun 8, 2009 at 11:48, tedd wrote: Hi gang: I've heard that php can be used for more than web programming, but I am not aware of specifically how that can be done. So, let me ask directly -- can php be used to create a Mac Application?

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"prev":"prev")." | "; for($i=$page; $i<=($page+$records_per_page-2)+1; $i++)

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Nitsan Bin-Nun
Your code is worse than spaghetti. (and spaghetti usually looks good..) I would suggest you to wire it up again even befores figuring out the appended | in it ;) -- Nitsan On Mon, Jun 8, 2009 at 8:56 PM, PJ wrote: > I know this a silly question, but I can't figure out if it's even > possibl

[PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"prev":"prev")." | "; for($i=$page; $i<=($page+$records_per_page-2)+1; $i++){ if ($i!=

Re: [PHP] php applications

2009-06-08 Thread Per Jessen
tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I > am not aware of specifically how that can be done. > So, let me ask directly -- can php be used to create a Mac > Application? Dunno about Macs, but I use PHP for command line scripting all the ti

Re: [PHP] formatting - design question

2009-06-08 Thread PJ
Ford, Mike wrote: > On 04 June 2009 19:09, PJ advised: > > >> Nitsan Bin-Nun wrote: >> From my experience I tend to use a difference ID for the >> body tag, for >> >>> instance and then format it in my CSS using ID >>> reference: #homepage .classname { >>> col

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
>    Roger that.  Check out getallheaders() then: > >        http://php.net/getallheaders > Well, that seems to be partway there, but it doesn't include the GET request. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] php applications

2009-06-08 Thread Robert Cummings
Bastien Koert wrote: On Mon, Jun 8, 2009 at 1:47 PM, Robert Cummings wrote: Eric Butera wrote: On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings wrote: Matty Sarro wrote: Real men use perl ;) When I was younger my dad told me real men drink their coffee black... I tried it for a month and then

Re: [PHP] php applications

2009-06-08 Thread Tom Worster
On 6/8/09 12:30 PM, "Kyle Terry" wrote: > I don't mean to be the thread spirit killer, but I think another language > would be better for this. Such as Python. > > PHP desktop apps might be fun to hack around with, but I wouldn't use it for > a production application. if there were a cocoa inte

Re: [PHP] php applications

2009-06-08 Thread Bastien Koert
On Mon, Jun 8, 2009 at 1:47 PM, Robert Cummings wrote: > Eric Butera wrote: >> >> On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings >> wrote: >>> >>> Matty Sarro wrote: Real men use perl ;) >>> >>> When I was younger my dad told me real men drink their coffee black... I >>> tried it for a m

Re: [PHP] php applications

2009-06-08 Thread Dee Ayy
tedd, You can check out MacPorts http://www.macports.org/ and the port package php5-gtk But Xcode and Interface Builder are your friends for native/fast apps. Although you probably get Cross-OS portability going the php-gtk route. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] php applications

2009-06-08 Thread Robert Cummings
Eric Butera wrote: On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings wrote: Matty Sarro wrote: Real men use perl ;) When I was younger my dad told me real men drink their coffee black... I tried it for a month and then I told him real men choose their own path in life. Cheers, Rob. Yeah wel

Re: [PHP] php applications

2009-06-08 Thread Eric Butera
On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings wrote: > Matty Sarro wrote: >> >> Real men use perl ;) > > When I was younger my dad told me real men drink their coffee black... I > tried it for a month and then I told him real men choose their own path in > life. > > Cheers, > Rob. > > -- > PHP Ge

Re: [PHP] php applications

2009-06-08 Thread Robert Cummings
Matty Sarro wrote: Real men use perl ;) When I was younger my dad told me real men drink their coffee black... I tried it for a month and then I told him real men choose their own path in life. Cheers, Rob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] php applications

2009-06-08 Thread Richard Heyes
Hi, >> Real men use perl ;) > >    's/Real men/Masochists' There's always VB... -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:33, Matty Sarro wrote: > Real men use perl ;) 's/Real men/Masochists' -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing Li

Re: [PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-08 Thread Dee Ayy
It's for better code. Personally, I'm trying to get away from multiple return/exit paths, and practice more OOC/Eiffel-like coding (I haven't sprung for the book Object Oriented Construction yet http://archive.eiffel.com/doc/oosc/page.html ) and I'm not quite taking advantage of Design By Contract

Re: [PHP] php applications

2009-06-08 Thread Matty Sarro
Real men use perl ;) On Mon, Jun 8, 2009 at 12:30 PM, Kyle Terry wrote: > On Mon, Jun 8, 2009 at 8:48 AM, tedd wrote: > > > Hi gang: > > > > I've heard that php can be used for more than web programming, but I am > not > > aware of specifically how that can be done. So, let me ask directly -- >

Re: [PHP] php applications

2009-06-08 Thread Robert Cummings
Kyle Terry wrote: On Mon, Jun 8, 2009 at 8:48 AM, tedd wrote: Hi gang: I've heard that php can be used for more than web programming, but I am not aware of specifically how that can be done. So, let me ask directly -- can php be used to create a Mac Application? If so, how? Cheers, tedd

[PHP] [php] read/write error

2009-06-08 Thread HELP!
opening of the sorket is ok and writting LOGIN packet to the sorket is also ok but reading the response to know if the login is accepted or rejected is a not OK. please help $port ="xx"; $ip ="xx.xx.xxx"; $timeout = 30; $start ="L"; $Login = "user "; $Password ="pass "; $session = "

Re: [PHP] php applications

2009-06-08 Thread Kyle Terry
On Mon, Jun 8, 2009 at 8:48 AM, tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? > > Cheers, > > tedd > > >

Re: [PHP] Show the entire browser request

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:17, Dotan Cohen wrote: > > Thanks, Daniel, but I am trying to help someone who is writing a > text-based web browser but gets "Bad Request" messages from some > websites. As he is able to visit http://simplesniff.com (my site) I > figured that it would help if I could just

Re: [PHP] Show the entire browser request

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:07, Dotan Cohen wrote: > I need to diagnose a web browser problem, and I'd like PHP to return a > page that shows the entire browser request, exactly as it was sent. It > would naturally contain all the data in the HTTP Headers Information > from phpinfo() but formatted ex

Re: [PHP] Show the entire browser request

2009-06-08 Thread Richard Heyes
Hi, > I need to diagnose a web browser problem, and I'd like PHP to return a > page that shows the entire browser request, exactly as it was sent. It > would naturally contain all the data in the HTTP Headers Information > from phpinfo() but formatted exactly as the browser sent it. Sounds like w

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
>> I need to diagnose a web browser problem, and I'd like PHP to return a >> page that shows the entire browser request, exactly as it was sent. It >> would naturally contain all the data in the HTTP Headers Information >> from phpinfo() but formatted exactly as the browser sent it. > >    Dependin

[PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
I need to diagnose a web browser problem, and I'd like PHP to return a page that shows the entire browser request, exactly as it was sent. It would naturally contain all the data in the HTTP Headers Information from phpinfo() but formatted exactly as the browser sent it. Thanks. -- Dotan Cohen

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:53, Richard Heyes wrote: > Hi, > >> I've heard that php can be used for more than web programming, but I am not >> aware of specifically how that can be done. So, let me ask directly -- can >> php be used to create a Mac Application? >> >> If so, how? > > Don't know about

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:48, tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? Probably the most well-kn

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:51, Bastien Koert wrote: > > > > -- > > Bastien > > Cat, the other other white meat Hey, Bastien the other other white meat got your tongue. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared

Re: [PHP] php applications

2009-06-08 Thread Richard Heyes
Hi, > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? Don't know about Mac specifically, but with *nix in general it can be used to c

Re: [PHP] php applications

2009-06-08 Thread Bastien Koert
On Mon, Jun 8, 2009 at 11:48 AM, tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? > > Cheers, > > tedd > > >

Re: [PHP] php applications

2009-06-08 Thread Bastien Koert
On Mon, Jun 8, 2009 at 11:48 AM, tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? > > Cheers, > > tedd > > >

[PHP] php applications

2009-06-08 Thread tedd
Hi gang: I've heard that php can be used for more than web programming, but I am not aware of specifically how that can be done. So, let me ask directly -- can php be used to create a Mac Application? If so, how? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http:

[PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-08 Thread O. Lavell
adam.timberlake wrote: > Im reading this post and i donnot understand how i should write my code: > http://www.talkphp.com/absolute-beginners/4237-curly- brackets.html#post23720 > > Does it mean that i am to not write else statements in my ifs? or is it > just saying it is something i should avoi

Re: [PHP] smallA framework, over 140 characters for twitter ;)

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 10:24, Andrew Ballard wrote: > > C'mon, Dan. Obviously you aren't aware of the first line of the > script, which was simply omitted by the OP: > > > require "magic_fairy_dust.php"; Good point. In all fairness, I don't know that they don't have prepended includes on the

Re: [PHP] smallA framework, over 140 characters for twitter ;)

2009-06-08 Thread Andrew Ballard
On Mon, Jun 8, 2009 at 9:47 AM, Daniel Brown wrote: > On Sun, Jun 7, 2009 at 12:51, Rolando Santamaria > Maso wrote: >> This is a very small framework for PHP inspired by the framework of Fabien >> Potencier (http://twitto.org/). > >    Awesome.  As soon as we can throw security out the window and

Re: [PHP] smallA framework, over 140 characters for twitter ;)

2009-06-08 Thread Daniel Brown
On Sun, Jun 7, 2009 at 12:51, Rolando Santamaria Maso wrote: > This is a very small framework for PHP inspired by the framework of Fabien > Potencier (http://twitto.org/). Awesome. As soon as we can throw security out the window and listen to it splat on the sidewalk below, it looks like that

[PHP] C++, $_POST -> php-cgi

2009-06-08 Thread Jasper
Hi, i'm planning to create a win32 http server that supports cgi. Does anybody see the problem in C++ -source? Php doesn't give any output, but if I don't set the rfc3875 environment variables, all output comes normally (expect post and other variables aren't set). Only what I'm able to set is $_

Re: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'

2009-06-08 Thread Nitsan Bin-Nun
I wrote that function in a couple of minutes, haven't dedicated much time to think of the efficiency of it, you are definitely right but I'm pretty much sure that for 10 segments URLs you won't feel the difference. If you want I can benchmark it. Thanks for the heads up. -- Nitsan On Mon, Jun 8,

RE: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'

2009-06-08 Thread Ford, Mike
On , nit...@binnun.co.il advised: >> function nitsanush($v) >> { >> $a = explode("/", $v); >> if (sizeof($a) > 2) >> { >> $b = $a; >> unset($b[0]); >> return array($a[0] => nitsanush(implode("/", $b))); } >> else >> { >> return array($a[0]

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
Hi, > Don't see anything except a grid on Firefox 3.0.10 on PC. Yes the whole library requires FF3.5+, Safari 4+ or Chrome 2+. http://www.rgraph.net/#browser -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
Hi (again), > And before you ask, you can only have one line :-) Though thinking a bit more about this, you could achieve it straight forwardly enough. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.ph

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
> ... Something like the last example? http://dev.rgraph.net/examples/scatter.html And before you ask, you can only have one line :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid)

[PHP] Re: PHP, OOP and AJAX

2009-06-08 Thread Julian Muscat Doublesin
One final update. The way one sets the path to required files is very important. I found it is best to use instead of relative paths. Regards Julian On Fri, Jun 5, 2009 at 2:19 PM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: > Update. > > Hello Everyone, > > First of all, thank yo