u may use a function like this:
function b_getFieldList($DB,$table,$linkRecource='') {
if ($linkRecource != '') $result = @mysql_list_fields($DB, $table,$linkRecource);
else $result = @mysql_list_fields($DB, $table);
$columns = @mysql_num_fields($result);
if ( $no ) return...
thanks Daniel ;)
I actually run a webserver. Accordingly I have only a
couple of users, who have to gain access to these files.
Wouldn't it be sufficient to add those users to the
permitted group?
I'm aware, that some files have to be accessed by
system-users. Can't I restrict access to...
hi all,
is it a good idea, to remove permissions for other
in the most files? For example xinetd.d, I wonder
why anybody is able to read those files stored in there.
And what about configuration-files like httpd.conf,
smb.conf, named.conf, my.cnf, console.perms...
And I wonder, why anybody can...
hi all,
I`ve got a problem with some kind of timeout-problem
in my formular. I access via odbc-connect to a mysql-
database using the "MyODBC-3.51.02.exe"-driver.
Upto that point anythin is fine. The poeple in the
office can work with the formular, unless they leave
the application...
hi all,
is there a way to reload my changed
my.cnf-settings without restarting
the server?
and when I do restart the server with
/etc/rc.d/init.d/mysqld restart (redhat)
what about safe_mysqld then?
thanks in advance
markus
hi,
multiple rows:
you manage this by the following query:
table: tablename
columns: name, age, ...
INSERT INTO tablename (name, age) VALUES ("tom","33"),
("jack","22"),("linda","24"),...
greetings markus
hi all,
does anybody know how to increase the clients
max_allowed_package-value?
The server and the client have got their own
max_allowed_package-value.
You can increase the server-value by editing
the my.cnf file (safe_mysqld looks into that file
on startup...)
But I didn't figure out...
Hi all,
I've got the following problem.
A disk-failure (IDE) occured on my server
(RedHat 7.0/Raid(1)).
The amazing point is the restricton of the damage to
a couple of partitions.
Further more it happens that all changes of files
(e.g. in /etc) are set back to the previous version
on a...
hi ifincham,
thanks for all the help I already got from you ;),
besides your example works fine on my server.
I have a last question, which would solve all my
problems.
what do I do when the domain I want to support
within my dns differs from the domain of my
dns-server. Somethin like...
hi all,
I have a web-server, which shall contain its own primary
dns-server where my domain is listed. I use the the
secondary dns-server of my isp.
Now to my problem. The zone egdomain.net leads to
the soa:
@ IN SOA srv.domain.net. hostmaster.egdomain.net. (
...)...
hi all,
I've got a problem with a programm, which deals with linked lists.
The main task of the programm is reading datas out of several database-tables.
Because I do not know how many fields will be found in a table, I store the datas in
a linked list with one element per field. After I'm...
hi qleader,
it should even be sufficient, to compile it
with "--with-mysql" if you didn't use an
exotic location for your mysql
greetings markus
hi Lazlo71,
if looking into the php-documentation
(http://www.php.net/manual/en/ref.dir.php)
you will find a couple of directory functions
like the followings
chroot -- change the root directory
chdir -- change directory
dir -- directory class
closedir -- close directory handle
getcwd -- gets...
I just compiled PHP Version 4.0.6, and I did it
with
./configure --with-imap-dir=/home/euklid/imap/imap-2001a...
anythin now is fine except imap.
php says:
PHP Warning: Unable to load dynamic
library '/usr/lib/php4/imap.so
I always thought that imap.so is build automatically,
when I build...
hi all,
I set up a linux-server. Allthough there is not that
much, it has to do, it slows down by time.
CPU states: 0,0% user, 1,9% system, 0,0% nice, 98,0% idle
Mem: 776708K av, 738956K used, 37752K free, 70948K shrd, 556880K buff
Swap: 268016K av, 2944K used, 265072K free...
hi all,
I want to compile and install openssh-3.0.2p1.tar.gz
on my server. My problem is, that this server is not
located in the same city I am and I usually use ssh
to login to this server.
Does anybody knows, whether it's possible (or maybe not
that unhealthy) to install a new openssh...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.