05-12-2019
Hi, Neo.
I liked it. I tried it on a non-extant page and it worked. I tried a link and it worked.
I think the Oooooops! text is light compared to the 404 text's size and brightness.
Probably meant "one" not "on" ... cheers, drl
This User Gave Thanks to drl For This Post:
8 More Discussions You Might Find Interesting
1. Web Development
I have some industrial ARM linux board with 2.6.34 Linux on it with Busybox
v1.15.0.
The https.conf is located in /etc/ and contains:
H:/root/web
In the www directory I also have 'cgi-bin' folder with chmod 777 and in that folder a file called 'testcgi'.
Now I start the server with... (1 Reply)
Discussion started by: Roboserg
1 Replies
2. What is on Your Mind?
I'm working on updates to the mobile phone view, and it's going to look much better I think. Here are some current prototypes:
Prototype Mobile Home Page:
https://www.unix.com/members/1-albums214-picture690.jpg
Prototype Mobile Search Page:
... (43 Replies)
Discussion started by: Neo
43 Replies
3. What is on Your Mind?
Have completed "Phase I" of our project "Prototyping New Responsive Mobile UNIX.COM", I am now moving to "Phase II" which will be changing many of the menus and buttons to use Javascript and CSS for the mobile site menus.
For example, here is the new "main side menu" for the mobile site (below).... (63 Replies)
Discussion started by: Neo
63 Replies
4. What is on Your Mind?
From Prototyping New Responsive Mobile for UNIX.COM - Phase II, we move to Phase III.
Basically, the core prototype for every day browsing the forums, replying, posting and editing on mobile is nearly finished with the exception of a few formatting issues with regard to rare system messages or... (4 Replies)
Discussion started by: Neo
4 Replies
5. What is on Your Mind?
I have just wrote this jQuery to the WOL page, so the table of users on line will not need scrollbars and will instead transform into a responsive table:
<script>
jQuery(document).ready(function (){
jQuery("#neo-who-flex-tcat").
css({"display":"flex","flex-flow":"row wrap",
... (0 Replies)
Discussion started by: Neo
0 Replies
6. What is on Your Mind?
So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars).
xevV3_iZ8-s
For full screen use the link below and set your YT resolution to 1080p60 HD
https://youtu.be/xevV3_iZ8-s
Here is... (1 Reply)
Discussion started by: Neo
1 Replies
7. What is on Your Mind?
Hey,
It took me nearly 10 hours of work, but the forum search results are now fully responsive using CSS Flex and jQuery.
By search results, I mean forum searches (not man page searches). Searches we do every day like: "Todays Posts", "New Topics", it's done!
I have tested it and it... (0 Replies)
Discussion started by: Neo
0 Replies
8. Web Development
Made some changes to the forum, so when a page is not found and generates a 404 error, the site redirects to "Today's Posts" page and added a "Not Found" message:
<?php
header('HTTP/1.0 404 Not Found', true, 404);
header("Location: https://www.unix.com/search.php?do=getdaily&redirect=404");... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
business::onlinepayment::https
OnlinePayment::HTTPS(3pm) User Contributed Perl Documentation OnlinePayment::HTTPS(3pm)
NAME
Business::OnlinePayment::HTTPS - Base class for HTTPS payment APIs
SYNOPSIS
package Business::OnlinePayment::MyProcessor;
use base qw(Business::OnlinePayment::HTTPS);
sub submit {
my $self = shift;
#...
# pass a list (order is preserved, if your gateway needs that)
( $page, $response, %reply_headers )
= $self->https_get( field => 'value', ... );
# or a hashref
my %hash = ( field => 'value', ... );
( $page, $response_code, %reply_headers )
= $self->https_get( \%hash );
#...
}
DESCRIPTION
This is a base class for HTTPS based gateways, providing useful code for implementors of HTTPS payment APIs.
It depends on Net::HTTPS::Any, which in turn depends on Net::SSLeay _or_ ( Crypt::SSLeay and LWP::UserAgent ).
METHODS
https_get [ \%options ] HASHREF | FIELD => VALUE, ...
Accepts parameters as either a hashref or a list of fields and values. In the latter case, ordering is preserved (see Tie::IxHash to
do so when passing a hashref).
Returns a list consisting of the page content as a string, the HTTP response code and message (i.e. "200 OK" or "404 Not Found"), and a
list of key/value pairs representing the HTTP response headers.
The options hashref supports setting headers:
{
headers => { 'X-Header1' => 'value', ... },
}
https_post [ \%options ] SCALAR | HASHREF | FIELD => VALUE, ...
Accepts form fields and values as either a hashref or a list. In the latter case, ordering is preserved (see Tie::IxHash to do so when
passing a hashref).
Also accepts instead a simple scalar containing the raw content.
Returns a list consisting of the page content as a string, the HTTP response code and message (i.e. "200 OK" or "404 Not Found"), and a
list of key/value pairs representing the HTTP response headers.
The options hashref supports setting headers and Content-Type:
{
headers => { 'X-Header1' => 'value', ... },
Content-Type => 'text/namevalue',
}
SEE ALSO
Business::OnlinePayment, Net::HTTPS::Any
perl v5.12.4 2010-05-25 OnlinePayment::HTTPS(3pm)