[PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Gert Cuykens

It's a web based sql console that you can use instead of phpmyadmin.

http://sourceforge.net/projects/dfo/

Firefox 2 only because of the extensive use of xmlhttprequests. Maybe
one day somebody could make it IE7 compatible by adding a activex
patch.

Also need webspace to host a demo, sourceforge only has php4 and i
need php5 for my static objects?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Gert Cuykens

On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> It's a web based sql console that you can use instead of phpmyadmin.
>
nice idea,
but i got lots of js errors (i.e. resulting from an orphaned colon in almost
every .js file)
i tried db5c28.tar.bz2 from sf.net


it doesnt work in ie because of xmlhttprequest (ajax) please try
firefox 2 and it will work perfectly without any errors. Everything is
w3c validated.

IE uses activex instead of xmlhttprequest. First i would like to make
db5 stable for firefox2 and then IE.


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Gert Cuykens

On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > It's a web based sql console that you can use instead of phpmyadmin.
>> >
>> nice idea,
>> but i got lots of js errors (i.e. resulting from an orphaned colon in
>> almost
>> every .js file)
>> i tried db5c28.tar.bz2 from sf.net
>
> it doesnt work in ie because of xmlhttprequest (ajax) please try
> firefox 2 and it will work perfectly without any errors. Everything is
> w3c validated.
>
> IE uses activex instead of xmlhttprequest. First i would like to make
> db5 stable for firefox2 and then IE.
>
>
I never use IE.
The errors trigger the error console in FF2 and Opera as well.

here are the last lines from edit.js for example:

  server.send('function',false,f,'sha1='+v)
  window.close()
 },  //<-- offending colon

}


ah ok i am sorry, you can just remove the , (the offending colon)
somehow my ff2 setup on ubuntu doesnt make a fuss about it not even a
warning ? I only put it there to make my json code look nicer lol :)

I will change all }, } into } } in next release. Thanks anything else ?


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-14 Thread Gert Cuykens

Added db5c29 it includes a new server memory login module some small
layout and code modifications.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-14 Thread Gert Cuykens

lol :)

Anyway did you guys tried it yet ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Gert Cuykens

On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
>
hmm,
syntax error:  dg.delete()\n  dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you should test your code before upload ;)


Ok i really want to know what is happening between me and transferring
the code to you ? I never have syntax errors ??? I will sent you a
screenshot of that part of the code from firefox with firebug of the
same version i uploaded to sourceforge.


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Gert Cuykens

On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:




Gert Cuykens wrote:
>
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>> syntax error:  dg.delete()\n  dg.js (line 241)
>> do you know the "Firebug" extension for Firefox?
>> at least you should test your code before upload ;)
>
> Ok i really want to know what is happening between me and transferring
> the code to you ? I never have syntax errors ??? I will sent you a
> screenshot of that part of the code from firefox with firebug of the
> same version i uploaded to sourceforge.
>
>
well, i was on FF 1.5 when i tested, if your application is *only* for FF2
there should be a warning (IMO)

on FF 2.0 i  get :
 Notice: Undefined index: query in
D:\HTdocs\701ajax\dgGrid\php\query.php
on line  7, 262, 458
(due to my error_reporting settings)
an "if(isset($_POST['xxx']) && $_POST['xxx'])" instead of if($_POST['xxx'])
fixed this minor quirk

now going to test it ... :)


I didn't know it doesn't work on 1.5 either lol :)
PS solved a little bug in db5c31


[PHP] exec("mysql -h hhh -u uuu -pppp

2006-10-25 Thread Gert Cuykens

i do not get any output from mysql except form echo $bin that displays 1 ?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] exec("mysql -h hhh -u uuu -pppp

2006-10-25 Thread Gert Cuykens

actually something like 'asdadsuiashdiasdh' :) test.php is just some
text file i maybe should have renamed it to test.txt sorry.

But the thing is i dont get any feedback like 'cant connect to host'
or 'invalid sql' etc.

exec(mysqldump...) works but exec(mysql...) doesnt

On 10/25/06, David Giragosian <[EMAIL PROTECTED]> wrote:

What is the SQL you are running in test.php?

David


On 10/25/06, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>
> i do not get any output from mysql except form echo $bin that displays 1 ?
>  exec("mysql -h hhh -u uuu - < test.php",$out,$bin);
> print_r($out);
> echo $bin;
> ?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] exec("mysql -h hhh -u uuu -pppp

2006-10-25 Thread Gert Cuykens

when i do echo exec... i get a blank screen

(print_r $out i get Array() echo $bin i get 1)

On 10/25/06, David Giragosian <[EMAIL PROTECTED]> wrote:

What do you get if you run:

echo exec("mysql -h hhh -u uuu -  wrote:
> actually something like 'asdadsuiashdiasdh' :) test.php is just some
> text file i maybe should have renamed it to test.txt sorry.
>
> But the thing is i dont get any feedback like 'cant connect to host'
> or 'invalid sql' etc.
>
> exec(mysqldump...) works but exec(mysql...) doesnt
>
> On 10/25/06, David Giragosian < [EMAIL PROTECTED]> wrote:
> > What is the SQL you are running in test.php?
> >
> > David
> >
> >
> > On 10/25/06, Gert Cuykens <[EMAIL PROTECTED] > wrote:
> > >
> > > i do not get any output from mysql except form echo $bin that displays
1 ?
> > >  > > exec("mysql -h hhh -u uuu - < test.php",$out,$bin);
> > > print_r($out);
> > > echo $bin;
> > > ?>
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] exec("mysql -h hhh -u uuu -pppp

2006-10-25 Thread Gert Cuykens

BINGO :)

ERROR 2005 (HY000): Unknown MySQL server host 'hhh' (1)Array ( [0] =>
ERROR 2005 (HY000): Unknown MySQL server host 'hhh' (1) ) 1

Can you explain a bit more what this do ? 2>&1 For example will i only
get stderr or do i get stdout and stderr messages ?

On 10/25/06, Stut <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
> i do not get any output from mysql except form echo $bin that displays 1 ?
>  exec("mysql -h hhh -u uuu -  print_r($out);
> echo $bin;
> ?>

I don't know for sure but chances are that mysql outputs errors on
stderr not stdout, so you need to redirect stderr to stdout for exec to
capture it...

exec("mysql -h hhh -u uuu - < test.php 2>&1",$out,$bin);

-Stut



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] exec("mysql -h hhh -u uuu -pppp

2006-10-25 Thread Gert Cuykens

ok thx all, works great now :)

On 10/25/06, Stut <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
> BINGO :)

Indeed.

> ERROR 2005 (HY000): Unknown MySQL server host 'hhh' (1)Array ( [0] =>
> ERROR 2005 (HY000): Unknown MySQL server host 'hhh' (1) ) 1
>
> Can you explain a bit more what this do ? 2>&1 For example will i only
> get stderr or do i get stdout and stderr messages ?

The 2>&1 syntax redirects stderr to stdout, it does not do anything with
stdout. So yes, you will still also get stdout messages.

This no longer has anything to do with PHP. I suggest you Google for
info on Linux pipes.

-Stut



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] http://sourceforge.net/projects/dfo/

2006-10-27 Thread Gert Cuykens

I wrote my own phpmyadmin from scratch, so far i got this
http://sourceforge.net/projects/dfo/ and i was wondering what i needed
to change so other people would like it too ?

I only have tested it on firefox so for now IE probably doesnt like
dfo at all, sorry i will fix it later for IE 7. And i also forgot to
put the start page in the readme  http://localhost/db/htm/datagrid.htm
:)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] http://sourceforge.net/projects/dfo/

2006-10-27 Thread Gert Cuykens

Ok, What specific documentation do you want i start with ? i was
hoping it would just work on every firefox and php 5< mysql 5< server
with one small change to the php.ini to disable magic quotes see
http://php.net/manual/en/security.magicquotes.disabling.php

Using it should be quit simple if not i failt to do so. It should work
like point on the field do what you want to do with the field and if
you are ready to upload, push on the green V. The only thing that
maybe could be a bit strange in the begining is the login. I created a
cookie database that remebers all your servers and you need to select
on using the select options to go to the databases bij pushing on the
V button after you selected your server.

Thats it download check the ini and goto startpage
http://localhost/db/htm/datagrid.htm

On 10/27/06, Leonard Burton <[EMAIL PROTECTED]> wrote:

Hi,

> I wrote my own phpmyadmin from scratch, so far i got this
> http://sourceforge.net/projects/dfo/ and i was wondering what i needed
> to change so other people would like it too ?

When you get more Documentation I will check it out.

Thanks,

--
Leonard Burton, N9URK
[EMAIL PROTECTED]

"The prolonged evacuation would have dramatically affected the
survivability of the occupants."



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php