10-14-2005
Thanks alot blowtorch
i thought of doing it with style of code i have given as sample but that was failed. i have tried your code thats working .
thanq
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any way I can disallow remote login on a m/c (3 Replies)
Discussion started by: DPAI
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Everyone,
Well I am not sure if this right forum. I have install Redhat 5 enterprise. I have everything running. I have configured vncserver. Starts with out errors. I am trying to connect for a XP machine to my RedHat server. I can connect from my XP machine through VNC viewer but I get... (1 Reply)
Discussion started by: Peterh
1 Replies
3. Shell Programming and Scripting
Hi ,
I need to login to remotemachines through ssh and move some logfiles to my localmachine. My servername,username and password will be store in the .profile file. can any one please help me in this?
This will be a cronjob so Password can't be enter at run time.
Thanks in advance
Subin (5 Replies)
Discussion started by: subin_bala
5 Replies
4. Linux
hi all,
l have CentOS release 5 (Final).
I login to own server using telnet.
when write user & pass and press enter than 1 more minute wait.
After successful login.
Why just login time very slow?
2 week ago it's quickly login.
What i will do? (2 Replies)
Discussion started by: Tlg13team
2 Replies
5. Shell Programming and Scripting
hi all ,
i need the command for remote login in to another terminal, came accross by using "tty" command. please suggest and help me out in this.
Regrds
Sridhar. (1 Reply)
Discussion started by: Sridhar_dev
1 Replies
6. AIX
dear all,
i have a problem, when i try to login to CDE on AIX remotely using xmanager i get a dead screen.
any solution
thanks (1 Reply)
Discussion started by: bondoq
1 Replies
7. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
8. Programming
Hi,
i have written a program that provides the remote login for the system whose IP is specified.
the program is working correctly on the same machine but its not working when i try to communicate with the other system.
i am attaching both client and server programs.
Please help.
... (1 Reply)
Discussion started by: MrUser
1 Replies
9. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
LEARN ABOUT PHP
intlcal_get_error_code
INTLCAL_GET_ERROR_CODE(3) 1 INTLCAL_GET_ERROR_CODE(3)
IntlCalendar::getErrorCode - Get last error code on the object
Object oriented style (method):
SYNOPSIS
public int IntlCalendar::getErrorCode (void )
DESCRIPTION
Procedural style:
int intlcal_get_error_code (IntlCalendar $calendar)
Returns the numeric ICU error code for the last call on this object (including cloning) or the IntlCalendar given for the $calendar param-
eter (in the proceduralstyle version). This may indicate only a warning (negative error code) or no error at all ( U_ZERO_ERROR). The
actual presence of an error can be tested with intl_is_failure(3).
Invalid arguments detected on the PHP side (before invoking functions of the ICU library) are not recorded for the purposes of this func-
tion.
The last error that occurred in any call to a function of the intl extension, including early argument errors, can be obtained with
intl_get_error_code(3). This function resets the global error code, but not the objects error code.
PARAMETERS
o $calendar
- The calendar object, on the procedural style interface.
RETURN VALUES
An ICU error code indicating either success, failure or a warning.
EXAMPLES
Example #1
intlcal_get_error_code(3) and IntlCalendar.getErrorMessage(3)
<?php
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "nl");
$intlcal = new IntlGregorianCalendar(2012, 1, 29);
var_dump(
$intlcal->getErrorCode(),
$intlcal->getErrorMessage()
);
$intlcal->fieldDifference(-1e100, IntlCalendar::FIELD_SECOND);
var_dump(
$intlcal->getErrorCode(),
$intlcal->getErrorMessage()
);
The above example will output:
int(0)
string(12) "U_ZERO_ERROR"
Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed in /home/glopes/php/ws/example.php on line 10
int(1)
string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"
SEE ALSO
IntlCalendar::getErrorMessage, intl_is_failure, intl_error_name, intl_get_error_code, intl_get_error_message.
PHP Documentation Group INTLCAL_GET_ERROR_CODE(3)