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
> ...
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)
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
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
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]
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,
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 $_
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
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
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
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
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:
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
>
>
>
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
>
>
>
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
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
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
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
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
>> 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
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
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
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
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
>
>
>
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 = "
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
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 --
>
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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!=
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
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++)
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?
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
> 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
> 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
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:
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
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
> 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
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';
> }
>
>
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)
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
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
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
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
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
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
> 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
"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
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<=(
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")." ... ";
>
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
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
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
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
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
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
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
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
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
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
73 matches
Mail list logo