The requested URL was rejected. Please consult with your administrator
Ggod evening.
I need your help please, in a Production system there is a process that download a xls file from an URL which is IMF(International Monetary Fund) and afterwards to be loaded into a databse table.
When testing conectivity from a unix server to IMF seems to work but when editing it yields an error:
Output repsonding OK:
Connecting to IMF -- International Monetary Fund Home Page[23.14.80.171]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 188 [text/html]
but it is the problem when editing:
i dint know how to adress this problem if it has something to do with a network issue like firewall or any other restriction or has something to do a IMF problem or website problem etc.
as far as i know code has not been changed and i dont where to scalate this problem.
Hello Unix Experts,
I'm going to be graduating with a CIS (Computer Information Systems) degree in the coming year. I have been offered an internship with a job title of Unix Administrator under a well known company. I understand that Unix is used for high-end servers in many large... (1 Reply)
Discussion started by: brentmd24
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
To Whom It May Concern,
I've tried registering, and am unable to do so. The message being returned is that my name choices are being rejected for not meeting some administrator criteria, which is not discernible from the message returned by the board software.
The password I chose was all... (1 Reply)
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
Hi Gurus of Unix, I am Newby in Unix
I Want to know what are the best Tool´s that Unix has, (like openoffice, antivurus, etc)
Probably you can tell a link where I can find the best tool to use with my unix. I has an OpenSolaris Machine
Regards (1 Reply)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi, Admin,
because my English is very poor, So I don't understand very well about 4th of Forum Rules, that is “Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post”.
My question is:
if I created a new thread, and some people reply... (3 Replies)
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
Discussion started by: scott_cog
2 Replies
10. Forum Support Area for Unregistered Users & Account Problems
Unix Admin
Registration process refused two user names.
I may have already registered here and
it's kicking me out because of email address but
giving me username msg.
What's the solution to this?
Thanks (0 Replies)
Discussion started by: Unregistered
0 Replies
LEARN ABOUT PHP
get_headers
GET_HEADERS(3) 1 GET_HEADERS(3)get_headers - Fetches all the headers sent by the server in response to a HTTP requestSYNOPSIS
array get_headers (string $url, [int $format])
DESCRIPTION get_headers(3) returns an array with the headers sent by the server in response to a HTTP request.
PARAMETERS
o $url
- The target URL.
o $format
- If the optional $format parameter is set to non-zero, get_headers(3) parses the response and sets the array's keys.
RETURN VALUES
Returns an indexed or associative array with the headers, or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.1.3 | |
| | |
| | This function now uses the default stream con- |
| | text, which can be set/changed with the |
| | stream_context_set_default(3) function. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
get_headers(3) example
<?php
$url = 'http://www.example.com';
print_r(get_headers($url));
print_r(get_headers($url, 1));
?>
The above example will output something similar to:
Array
(
[0] => HTTP/1.1 200 OK
[1] => Date: Sat, 29 May 2004 12:28:13 GMT
[2] => Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
[3] => Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
[4] => ETag: "3f80f-1b6-3e1cb03b"
[5] => Accept-Ranges: bytes
[6] => Content-Length: 438
[7] => Connection: close
[8] => Content-Type: text/html
)
Array
(
[0] => HTTP/1.1 200 OK
[Date] => Sat, 29 May 2004 12:28:14 GMT
[Server] => Apache/1.3.27 (Unix) (Red-Hat/Linux)
[Last-Modified] => Wed, 08 Jan 2003 23:11:55 GMT
[ETag] => "3f80f-1b6-3e1cb03b"
[Accept-Ranges] => bytes
[Content-Length] => 438
[Connection] => close
[Content-Type] => text/html
)
Example #2
get_headers(3) using HEAD example
<?php
// By default get_headers uses a GET request to fetch the headers. If you
// want to send a HEAD request instead, you can do so using a stream context:
stream_context_set_default(
array(
'http' => array(
'method' => 'HEAD'
)
)
);
$headers = get_headers('http://example.com');
?>
SEE ALSO apache_request_headers(3).
PHP Documentation Group GET_HEADERS(3)