php-general Digest 7 Jun 2009 15:54:05 -0000 Issue 6163

Topics (messages 293688 through 293706):

Re: <table>-less layouts; Ideas welcome
        293688 by: Jim Lucas
        293705 by: dbrooke

alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
        293689 by: דניאל דנון
        293692 by: Angus Mann
        293695 by: Nitsan Bin-Nun
        293696 by: shahrzad khorrami
        293697 by: דניאל דנון
        293698 by: Nitsan Bin-Nun
        293699 by: דניאל דנון
        293700 by: Nitsan Bin-Nun
        293702 by: דניאל דנון
        293703 by: Nitsan Bin-Nun

Time limit on recursive procedure?
        293690 by: Clancy
        293691 by: Per Jessen

best solution to ecommerce web pages
        293693 by: Alain Roger
        293694 by: mrfroasty

Re: Outputting File To The Browser Failed And Kill Apache
        293701 by: Nitsan Bin-Nun

Re: PHP Graphing Libraries...?
        293704 by: lists.mgreg.com
        293706 by: Richard Heyes

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Jim Lucas wrote:
Since this has been a topic of dicussion, I figured I would add my thoughts.

I have been toying with the idea of doing a <table>-less layouts involving tabular data, calendars, etc...

Recent threads have finally made me do it.  Let me know what you think.

http://www.cmsws.com/examples/templates/div_tables.php
http://www.cmsws.com/examples/templates/div_tables.phps (source for above)
http://www.cmsws.com/examples/templates/div_cal.php

When you turn off the styles, the calendar becomes pretty rough on the eyes, but still "accessible".

Same thing with the tabular data structure.

But, not knowing how the various types of accessibility applications work, I am guessing that the layout to an application trying to read it should work fairly well. Let me know if I am way off the mark with my thoughts.

If you want to respond off list, that if fine by me.

TIA


Sorry all, been a way from the list for a few weeks.  Here is another try at it.

Ok, revision #2

http://www.cmsws.com/examples/templates/div_cal_normal.php
http://www.cmsws.com/examples/templates/div_cal_daily.php
http://www.cmsws.com/examples/templates/div_cal_fancy.php

Truly their isn't much fancy about that last one.  Just a name...

Anyways, you will see that the <div> code is exactly the same between pages, but the layout is radically different because of the style in play...

I think this would be more useful then the others. With the first rendition, you had to break things on weeks/rows with the tables. I think this method is much simpler.

Input welcome.

Thanks.

--- End Message ---
--- Begin Message ---
Jim Lucas wrote:
Jim Lucas wrote:
Since this has been a topic of dicussion, I figured I would add my thoughts.


Like I said Jim, that is what you get with CSS... a more versatile design. Don't listen to naysayers. ;-) Keep it up!

Donovan



--
  =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
  DONOVAN D. BROOKE               EUCA Design Center
  <- Web Development, DTP, Consulting, and Labels ->
  PH:>  (608) 770-3822    |
  WEB:> http://www.euca.us    &    http://www.egg.bz
  =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o

--- End Message ---
--- Begin Message ---
I have encountered a problem when trying to turn

-- 
Use ROT26 for best security

--- End Message ---
--- Begin Message ---
??? Huh  ???


----- Original Message ----- From: "דניאל דנון" <[email protected]>
To: "PHP General List" <[email protected]>
Sent: Sunday, June 07, 2009 8:11 PM
Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'


I have encountered a problem when trying to turn

--
Use ROT26 for best security



--- End Message ---
--- Begin Message ---
I think that he is talking about uri rewriting :O

On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]> wrote:

> ??? Huh  ???
>
>
> ----- Original Message ----- From: "דניאל דנון" <[email protected]>
> To: "PHP General List" <[email protected]>
> Sent: Sunday, June 07, 2009 8:11 PM
> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
>
>
>
>  I have encountered a problem when trying to turn
>>
>> --
>> Use ROT26 for best security
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
:D

--- End Message ---
--- Begin Message ---
if I send half messages tell me, since gmail is slow so sometimes I
click 10 times on the "send"...
On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]> wrote:
> I think that he is talking about uri rewriting :O
>
> On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]> wrote:
>
>> ??? Huh  ???
>>
>>
>> ----- Original Message ----- From: "דניאל דנון" <[email protected]>
>> To: "PHP General List" <[email protected]>
>> Sent: Sunday, June 07, 2009 8:11 PM
>> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
>>
>>
>>
>>  I have encountered a problem when trying to turn
>>>
>>> --
>>> Use ROT26 for best security
>>>
>>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>



-- 
Use ROT26 for best security

--- End Message ---
--- Begin Message ---
Don't forget to send a copy to the list ;)

Regarding your function, I'm writing it right now, it would probably have
some issues but I think that it would work:

function somefunction($v)
{
    preg_match("#^([^/]+)/([^/]+)/(.+)$#", $v, $m);
    return array($m[1] => array($m[2] => $m[3]));
}


HTH,
Nitsan

On Sun, Jun 7, 2009 at 2:36 PM, דניאל דנון <[email protected]> wrote:

> its related to that but I'm building a kind of "supposed" urls for
> certain things... Its complicated to explain,
> But I need to turn
> print_r($var); // alpha/beta/gamma
>
> $var = somefunction($var);
>
> print_r($var); // array("alpha" => array("beta" => "gamma"))
>
>
> On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]> wrote:
> > I think that he is talking about uri rewriting :O
> >
> > On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]> wrote:
> >
> >> ??? Huh  ???
> >>
> >>
> >> ----- Original Message ----- From: "דניאל דנון" <[email protected]>
> >> To: "PHP General List" <[email protected]>
> >> Sent: Sunday, June 07, 2009 8:11 PM
> >> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
> >>
> >>
> >>
> >>  I have encountered a problem when trying to turn
> >>>
> >>> --
> >>> Use ROT26 for best security
> >>>
> >>>
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
>
>
>
> --
> Use ROT26 for best security
>

--- End Message ---
--- Begin Message ---
problem is number of "/" is unknown.
It can be alpha/beta
alpha/beta/gamma
alpha/beta/gamma/delta
...

(here's a copy to the nice list =] )

On Sun, Jun 7, 2009 at 2:53 PM, Nitsan Bin-Nun<[email protected]> wrote:
> Don't forget to send a copy to the list ;)
>
> Regarding your function, I'm writing it right now, it would probably have
> some issues but I think that it would work:
>
> function somefunction($v)
> {
>     preg_match("#^([^/]+)/([^/]+)/(.+)$#", $v, $m);
>     return array($m[1] => array($m[2] => $m[3]));
> }
>
>
> HTH,
> Nitsan
>
> On Sun, Jun 7, 2009 at 2:36 PM, דניאל דנון <[email protected]> wrote:
>>
>> its related to that but I'm building a kind of "supposed" urls for
>> certain things... Its complicated to explain,
>> But I need to turn
>> print_r($var); // alpha/beta/gamma
>>
>> $var = somefunction($var);
>>
>> print_r($var); // array("alpha" => array("beta" => "gamma"))
>>
>>
>> On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]> wrote:
>> > I think that he is talking about uri rewriting :O
>> >
>> > On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]> wrote:
>> >
>> >> ??? Huh  ???
>> >>
>> >>
>> >> ----- Original Message ----- From: "דניאל דנון" <[email protected]>
>> >> To: "PHP General List" <[email protected]>
>> >> Sent: Sunday, June 07, 2009 8:11 PM
>> >> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
>> >>
>> >>
>> >>
>> >>  I have encountered a problem when trying to turn
>> >>>
>> >>> --
>> >>> Use ROT26 for best security
>> >>>
>> >>>
>> >>
>> >> --
>> >> PHP General Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Use ROT26 for best security
>
>



-- 
Use ROT26 for best security

--- End Message ---
--- Begin Message ---
Can you give me an example of the output in case that the input is
"alpha/beta/gamma/delta" please?

On Sun, Jun 7, 2009 at 2:56 PM, דניאל דנון <[email protected]> wrote:

> problem is number of "/" is unknown.
> It can be alpha/beta
> alpha/beta/gamma
> alpha/beta/gamma/delta
> ...
>
> On Sun, Jun 7, 2009 at 2:53 PM, Nitsan Bin-Nun<[email protected]> wrote:
> > Don't forget to send a copy to the list ;)
> >
> > Regarding your function, I'm writing it right now, it would probably have
> > some issues but I think that it would work:
> >
> > function somefunction($v)
> > {
> >     preg_match("#^([^/]+)/([^/]+)/(.+)$#", $v, $m);
> >     return array($m[1] => array($m[2] => $m[3]));
> > }
> >
> >
> > HTH,
> > Nitsan
> >
> > On Sun, Jun 7, 2009 at 2:36 PM, דניאל דנון <[email protected]>
> wrote:
> >>
> >> its related to that but I'm building a kind of "supposed" urls for
> >> certain things... Its complicated to explain,
> >> But I need to turn
> >> print_r($var); // alpha/beta/gamma
> >>
> >> $var = somefunction($var);
> >>
> >> print_r($var); // array("alpha" => array("beta" => "gamma"))
> >>
> >>
> >> On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]>
> wrote:
> >> > I think that he is talking about uri rewriting :O
> >> >
> >> > On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]>
> wrote:
> >> >
> >> >> ??? Huh  ???
> >> >>
> >> >>
> >> >> ----- Original Message ----- From: "דניאל דנון" <
> [email protected]>
> >> >> To: "PHP General List" <[email protected]>
> >> >> Sent: Sunday, June 07, 2009 8:11 PM
> >> >> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
> >> >>
> >> >>
> >> >>
> >> >>  I have encountered a problem when trying to turn
> >> >>>
> >> >>> --
> >> >>> Use ROT26 for best security
> >> >>>
> >> >>>
> >> >>
> >> >> --
> >> >> PHP General Mailing List (http://www.php.net/)
> >> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >> >>
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> Use ROT26 for best security
> >
> >
>
>
>
> --
> Use ROT26 for best security
>

--- End Message ---
--- Begin Message ---
$v['alpha']['beta']['gamma'] = 'delta';

(or)

array(
"alpha" => array("beta" => array("gamma" => "delta")))
);


(sorry, here is a copy to the nice list)

On Sun, Jun 7, 2009 at 3:00 PM, Nitsan Bin-Nun<[email protected]> wrote:
> Can you give me an example of the output in case that the input is
> "alpha/beta/gamma/delta" please?
>
> On Sun, Jun 7, 2009 at 2:56 PM, דניאל דנון <[email protected]> wrote:
>>
>> problem is number of "/" is unknown.
>> It can be alpha/beta
>> alpha/beta/gamma
>> alpha/beta/gamma/delta
>> ...
>>
>> On Sun, Jun 7, 2009 at 2:53 PM, Nitsan Bin-Nun<[email protected]> wrote:
>> > Don't forget to send a copy to the list ;)
>> >
>> > Regarding your function, I'm writing it right now, it would probably
>> > have
>> > some issues but I think that it would work:
>> >
>> > function somefunction($v)
>> > {
>> >     preg_match("#^([^/]+)/([^/]+)/(.+)$#", $v, $m);
>> >     return array($m[1] => array($m[2] => $m[3]));
>> > }
>> >
>> >
>> > HTH,
>> > Nitsan
>> >
>> > On Sun, Jun 7, 2009 at 2:36 PM, דניאל דנון <[email protected]>
>> > wrote:
>> >>
>> >> its related to that but I'm building a kind of "supposed" urls for
>> >> certain things... Its complicated to explain,
>> >> But I need to turn
>> >> print_r($var); // alpha/beta/gamma
>> >>
>> >> $var = somefunction($var);
>> >>
>> >> print_r($var); // array("alpha" => array("beta" => "gamma"))
>> >>
>> >>
>> >> On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]>
>> >> wrote:
>> >> > I think that he is talking about uri rewriting :O
>> >> >
>> >> > On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]>
>> >> > wrote:
>> >> >
>> >> >> ??? Huh  ???
>> >> >>
>> >> >>
>> >> >> ----- Original Message ----- From: "דניאל דנון"
>> >> >> <[email protected]>
>> >> >> To: "PHP General List" <[email protected]>
>> >> >> Sent: Sunday, June 07, 2009 8:11 PM
>> >> >> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
>> >> >>
>> >> >>
>> >> >>
>> >> >>  I have encountered a problem when trying to turn
>> >> >>>
>> >> >>> --
>> >> >>> Use ROT26 for best security
>> >> >>>
>> >> >>>
>> >> >>
>> >> >> --
>> >> >> PHP General Mailing List (http://www.php.net/)
>> >> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Use ROT26 for best security
>> >
>> >
>>
>>
>>
>> --
>> Use ROT26 for best security
>
>



-- 
Use ROT26 for best security

--- End Message ---
--- Begin Message ---
The final code:

<?php
>
> echo '<pre>';
> echo var_dump(nitsanush("alpha/beta"));
> echo "\n";
> echo var_dump(nitsanush("alpha/beta/gamma"));
> echo "\n";
> echo var_dump(nitsanush("alpha/beta/gamma/delta"));
> echo "\n";
> echo var_dump(nitsanush("alpha/beta/gamma/delta/nitsan"));
> echo "\n";
> echo var_dump(nitsanush("alpha/beta/gamma/delta/nitsan/daniel"));
> echo "\n";
> echo '</pre>';
>
> 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] => $a[1]);
>     }
> }
>
> // eof
>

--
Nitsan

On Sun, Jun 7, 2009 at 3:17 PM, דניאל דנון <[email protected]> wrote:

> $v['alpha']['beta']['gamma'] = 'delta';
>
> (or)
>
> array(
> "alpha" => array("beta" => array("gamma" => "delta")))
> );
>
>
> (sorry, here is a copy to the nice list)
>
> On Sun, Jun 7, 2009 at 3:00 PM, Nitsan Bin-Nun<[email protected]> wrote:
> > Can you give me an example of the output in case that the input is
> > "alpha/beta/gamma/delta" please?
> >
> > On Sun, Jun 7, 2009 at 2:56 PM, דניאל דנון <[email protected]>
> wrote:
> >>
> >> problem is number of "/" is unknown.
> >> It can be alpha/beta
> >> alpha/beta/gamma
> >> alpha/beta/gamma/delta
> >> ...
> >>
> >> On Sun, Jun 7, 2009 at 2:53 PM, Nitsan Bin-Nun<[email protected]>
> wrote:
> >> > Don't forget to send a copy to the list ;)
> >> >
> >> > Regarding your function, I'm writing it right now, it would probably
> >> > have
> >> > some issues but I think that it would work:
> >> >
> >> > function somefunction($v)
> >> > {
> >> >     preg_match("#^([^/]+)/([^/]+)/(.+)$#", $v, $m);
> >> >     return array($m[1] => array($m[2] => $m[3]));
> >> > }
> >> >
> >> >
> >> > HTH,
> >> > Nitsan
> >> >
> >> > On Sun, Jun 7, 2009 at 2:36 PM, דניאל דנון <[email protected]>
> >> > wrote:
> >> >>
> >> >> its related to that but I'm building a kind of "supposed" urls for
> >> >> certain things... Its complicated to explain,
> >> >> But I need to turn
> >> >> print_r($var); // alpha/beta/gamma
> >> >>
> >> >> $var = somefunction($var);
> >> >>
> >> >> print_r($var); // array("alpha" => array("beta" => "gamma"))
> >> >>
> >> >>
> >> >> On Sun, Jun 7, 2009 at 2:33 PM, Nitsan Bin-Nun<[email protected]>
> >> >> wrote:
> >> >> > I think that he is talking about uri rewriting :O
> >> >> >
> >> >> > On Sun, Jun 7, 2009 at 2:04 PM, Angus Mann <[email protected]>
> >> >> > wrote:
> >> >> >
> >> >> >> ??? Huh  ???
> >> >> >>
> >> >> >>
> >> >> >> ----- Original Message ----- From: "דניאל דנון"
> >> >> >> <[email protected]>
> >> >> >> To: "PHP General List" <[email protected]>
> >> >> >> Sent: Sunday, June 07, 2009 8:11 PM
> >> >> >> Subject: [PHP] alpha/beta/gamma TO $var['alpha']['beta'] = 'gamma'
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>  I have encountered a problem when trying to turn
> >> >> >>>
> >> >> >>> --
> >> >> >>> Use ROT26 for best security
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >> --
> >> >> >> PHP General Mailing List (http://www.php.net/)
> >> >> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >> >> >>
> >> >> >>
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Use ROT26 for best security
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Use ROT26 for best security
> >
> >
>
>
>
> --
> Use ROT26 for best security
>

--- End Message ---
--- Begin Message ---
I have a recursive procedure, and I set the time limit each time I enter it:

function rec_scan($directory, ......)
        {
        set_time_limit (1);
        
        if (is_dir($new_file))
                {
                rec_scan ($new_file, ....)
                }
        
        }


The way I read the manual, the timer should be reset each time I call 
rec_scanl, but I
seem to have to set a longer time limit than I would have anticipated, and I 
wonder if in
fact the original time limit still applies to the original invocation?


--- End Message ---
--- Begin Message ---
Clancy wrote:

> I have a recursive procedure, and I set the time limit each time I
> enter it:
> 
> function rec_scan($directory, ......)
> {
> set_time_limit (1);
> 
> if (is_dir($new_file))
> {
> rec_scan ($new_file, ....)
> }
> 
> }
> 
> 
> The way I read the manual, the timer should be reset each time I call
> rec_scanl, 

You keep calling it so as long as the execution time between each call
is < 1 second, your script will keep going.

/Per


-- 
Per Jessen, Zürich (15.4°C)


--- End Message ---
--- Begin Message ---
Hi,

i'm currently investigating what would be the best solution to develop an
e-commerce web site.
should i use some PHP template engine like smarty or CMS like Joomla, Drupal
?

thanks a lot,

-- 
Alain
-----------------------------------------------------------
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008

--- End Message ---
--- Begin Message ---
Alain Roger wrote:
> Hi,
>
> i'm currently investigating what would be the best solution to develop an
> e-commerce web site.
> should i use some PHP template engine like smarty or CMS like Joomla, Drupal
> ?
>
> thanks a lot,
>
>   
Joomla +++


-- 
Extra details:
OSS:Gentoo Linux
profile:x86
Hardware:msi geforce 8600GT asus p5k-se
location:/home/muhsin
language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS
Typo:40WPM
url:http://mambo-tech.net
url:http://blog.mambo-tech.net


--- End Message ---
--- Begin Message ---
Whenever I will delete the symlink the file will be no more accessible? If
so then what will happen if the user still downloading the file during the
deletion of it? I'm pretty sure it will cause a stop of the downloading
process at the client.

I'm also not that much sure whether this is the right solution for that.

I'm also not really sure that the apache problem is due to memory issue (I
honestly have no idea regarding it's meaning :X ).

Any further ideas will be highly appreciated!
Thank you Tom for your ideas :)

Regards,
Nitsan

On Sun, Jun 7, 2009 at 1:37 AM, Tom Worster <[email protected]> wrote:

> On 6/6/09 7:28 AM, "Nitsan Bin-Nun" <[email protected]> wrote:
>
> > The files are one directory up from the www root, because that I don't
> want
> > straight access to them, only by validation which will be done in this
> php
> > file.
> >
> > I'm not an apache expret, do you have any idea how I can run this php
> > validation file and then output the file, which is placed in one up
> > directory from the www root to the user browser??
>
> when you say "validation", do you mean that you perform certain checks on a
> given client request in php in order to decide whether or not to allow the
> client to download the file?
>
> i can only think of one thing offhand and it's not high security but it
> would make unauthorized access a lot harder. after validating the client
> request, create a temporary symlink to the file that the client wants in a
> directory under the http root using a random filename. redirect the client
> to the symlink and delete it x minutes later. the entropy of the symlink
> filename determines how hard it is to guess and its ephemeral existence
> makes it hard to discover or reuse.
>
> i don't know if apache has a way to restrict access by referrer but that
> would add an additional level of security, i.e. if apache could be
> configured to reject the request to the symlink unless the referrer points
> to the server that sent the redirect.
>
> sorry i can't be of more help. on the other hand, it's not easy to
> implement the flow control between the flie and apache and thus to the
> client's tcp connection in php so that nothing gets stuck and no buffers
> overflow. i'm not really convinced that's a function that belongs in a php
> script.
>
>
>

--- End Message ---
--- Begin Message ---
                                
On Jun 7, 2009, at 5:37 AM, Richard Heyes wrote:

Hi,

Can I still link the scatter points with lines for readability? I'm not sure why an API would require a "y" for every "x". I've rarely worked with
data sets that follow an exact set of X coords.

Then where would the point go if you had no y value?

--
Richard Heyes


It should simply plot the points (and connecting lines) independently. It should also consider the min/max values of all data sets and create those automatically if you don't set the min/max manually.

I wasn't saying that I lacked X values -- rather, I don't have a Y for every X of every other item. For instance, say I logged information at 10 o'clock AM for some events, while I didn't log until 10:30 for other events. I don't want to be forced to place something in 10:00 AM just to make the event spacing work.

Perhaps I'm simply asking the wrong question. I find that's often the case with me. Creating it with GD would be simple enough, as the idea isn't rocket science. I simply lack time after my current phase to do so, which is why I was hoping something intuitive existed so I could jump right to it.


To restate, the following does *NOT* apply to any data I have:

X-TIMES(8, 9, 10, 11)
DATA-Y1(200,100,400,600)
DATA-Y2(40,23,12,84)

...as DATA-Y2 didn't log data at 8 and 10, but rather at 8:30 and 10:30. Therefore, while I certainly can use an X axis labeled from 8 am to 11 am, I need different X values for some DATA sets. I need to be able to plot completely independent X,Y values -- and still connect them with lines to see trends. Reasonable, no?


Michael

--- End Message ---
--- Begin Message ---
Hi,

> Reasonable, no?

Could be, but I don't follow. A point has an X coord and a Y coord,
and with a line chart you simply connect the dots (much like a
dot-to-dot). Like the charts here:

http://dev.rgraph.net/examples/line.html

Or perhaps I'm not quite following (entirely likely) ?

-- 
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 SMTP: http://www.phpguru.org/smtp

--- End Message ---

Reply via email to