01-07-2003
Holliday is over
Hi Neo,
it took a while BUT your options did not gave the right result.
Thanks anyway
4 More Discussions You Might Find Interesting
1. Web Development
Hello guys,
Does anyone can help me?
I've just made my simple index.php without any code, but after insert session code to check if any user is authenticated, my index.php doesn't work anymore.
Any fresh eyes could help me to see what and where the code is wrong?
<?
if... (6 Replies)
Discussion started by: metalfreakbr
6 Replies
2. UNIX for Advanced & Expert Users
hi,
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
<?php
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
0 Replies
3. Red Hat
Dear All,
My redhat version is:
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#
# uname -a
Linux cotapplication3.cot.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
#
I want to update my php from:
# php... (1 Reply)
Discussion started by: monojcool
1 Replies
4. What is on Your Mind?
On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0.
Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT BSD
sethostname
GETHOSTNAME(2) System Calls Manual GETHOSTNAME(2)
NAME
gethostname, sethostname - get/set name of current host
SYNOPSIS
gethostname(name, namelen)
char *name;
int namelen;
sethostname(name, namelen)
char *name;
int namelen;
DESCRIPTION
Gethostname returns the standard host name for the current processor, as previously set by sethostname. The parameter namelen specifies
the size of the name array. The returned name is null-terminated unless insufficient space is provided.
Sethostname sets the name of the host machine to be name, which has length namelen. This call is restricted to the super-user and is nor-
mally used only when the system is bootstrapped.
RETURN VALUE
If the call succeeds a value of 0 is returned. If the call fails, then a value of -1 is returned and an error code is placed in the global
location errno.
ERRORS
The following errors may be returned by these calls:
[EFAULT] The name or namelen parameter gave an invalid address.
[EPERM] The caller tried to set the hostname and was not the super-user.
SEE ALSO
gethostid(2)
BUGS
Host names are limited to MAXHOSTNAMELEN (from <sys/param.h>) characters, currently 64.
4.2 Berkeley Distribution May 22, 1986 GETHOSTNAME(2)