Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH orPhpMyAdmin

2001-11-30 Thread Sverre Johan Tøvik

At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote:

  Our web host does not support telnet or SSH for its clients and is not
  interested in working with PhpMyAdmin at the moment (I think I need their
  assistance if I want to use PhpMyAdmin, right?). Is this rather typical of
  web hosts?

You do not need their assistance to use phpMyAdmin - it's just 
another php site. All you need to do is edit its config file, where 
you enter the database names, usernames and passwords for all your 
databases. You can then choose a database from the phpMyAdmin home 
page.

The only limitation is I believe is that to create new databases, 
you'll have to have create rights on the username for one of the 
databases you set up, and choose that database in phpMyAdmin before 
creating the new database with SQL.


Sverre
-- 
disclaimer I speak for myself only! /disclaimer
to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle there ever is to
fight, and never stop fighting -- e.e. cummings

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Database tags ala Lasso

2001-10-29 Thread Sverre Johan Tøvik

Hi,

For the futurists around here: Is there any chance that php will 
include database tags ala Lasso? For those who don't know what I 
mean, here's an axample (not quite correct Lasso code, but it should 
get the point across):

[db select=somedb]
[db query=sql]

table

[record]
tr
!-- everything in this tag is repeated for each record
td
[field=name]
/td
td
[field=address]
/td
/tr
[/record]
/table


Err... You get the point... Or, for those of you who have problems 
recognizing simple stuff when you see it (like myself when trying to 
learn applescript when I was used to stuff like C), the point is that 
you don't have to do all that annoying escaping of quotes, and if you 
open the code in a graphical editor, you can edit to your heart's 
delight, cuz the db tags stays put.


Regards,

Sverre Johan Toevik
-- 
disclaimer I speak for myself only! /disclaimer
to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle there ever is to
fight, and never stop fighting -- e.e. cummings

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Error compiling apache / php --with-t1lib

2001-07-17 Thread Sverre Johan Tøvik

Hi,

I'm having trouble compiling php with t1lib support. Actually, php 
compiles fine, it stops when compiling apache.

./configure
make
make install

php works fine.

./configure

apache works.

But when I make apache, I get:

gcc  -DLINUX=22 -I/usr/src/network/php-4.0.0 
-I/usr/src/network/php-4.0.0/Zend -I/usr/src/network/php-4.0.0/Zend 
-I/usr/src/network/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite 
-DNO_DL_NEEDED `./apaci`\
   -o httpd buildmark.o modules.o modules/standard/libstandard.a 
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a 
lib/expat-lite/libexpat.a  -Wl,-rpath,/usr/local/lib/lib 
-Wl,-rpath,/usr/local/pgsql/lib  -rdynamic -L/usr/local/lib/lib 
-L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4 
-L../../modules/php4 -lmodphp4  -lgdbm  -ldl -lpq -ljpeg -lz -lpng 
-lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv -L/usr/local/lib/lib 
-ljpeg  -lm -lcrypt
modules/php4/libphp4.a(gd.o): In function `php_minit_gd':
/usr/src/network/php-4.0.0/ext/gd/gd.c:205: undefined reference to 
`T1_SetBitmapPad'
/usr/src/network/php-4.0.0/ext/gd/gd.c:206: undefined reference to `T1_InitLib'

... and lots of similar stuff (all undefined reference to `T1_[*]`), 
followed by:

collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/network/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/network/apache_1.3.19'
make: *** [build] Error 2


***

Can anyone tell me what's up? (Or down, rather...)

Thanks in advance!


Regards,

Sverre Johan Toevik
-- 
disclaimer I speak for myself only! /disclaimer
to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle there ever is to
fight, and never stop fighting -- e.e. cummings

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Sverre Johan Tøvik

At 14:44 -0700 14-05-01, Andreas Pucko wrote:
  Hi there,

  does anybody know if it is possible to run these applications on MAC 0S?

  Any experiences?

PHP4 is part of the commercial Apache-on-UNIX-on-MacOS implementation 
WebTen (from Tenon), but not MySQL. I'd rather recommend upgrading to 
Mac OS X - because it's a full-blown *nix, PHP4 and MySQL, and a 
bunch of other *nix stuff, is there. Actually, I think you can get 
them as double-clickable installer packages.


Sverre
-- 
disclaimer I speak for myself only! /disclaimer
to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle there ever is to
fight, and never stop fighting -- e.e. cummings

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Incorrect number of arguments

2001-05-07 Thread Sverre Johan Tøvik

Hi,

Somewhere between versions 4.0.0 and 4.0.4pl1, php started generating 
warning messages whenever a function call don't supply all defined 
arguments. A quick google search revealed an answer on some mailing 
list, basically saying it's a feature, not a bug. But, seeing as 
how this feature creates big headeaches for a lot of people (like 
us), is there any chance we might see an option to turn off this 
strict checking?


Regards,

Sverre Johan Toevik
-- 
disclaimer I speak for myself only! /disclaimer
to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle there ever is to
fight, and never stop fighting -- e.e. cummings

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]