Sponsored Content
Top Forums Shell Programming and Scripting Javascript or HTML to retrieve apache username Post 302537940 by linuxadmin on Monday 11th of July 2011 06:16:05 AM
Old 07-11-2011
if you use HTML / Javascript in your program , you can Use AJAX.

Ajax exactly does your need.
 

8 More Discussions You Might Find Interesting

1. BSD

Problem userdir ~username on apache

i have problem user cannot add or edit file on their directory i mean /home/user/public_html i have httpd.conf like this : ................ # UserDir Include etc/apache22/extra/httpd-userdir.conf and httpd-userdir.conf ................ # UserDir public_html UserDir disabled... (2 Replies)
Discussion started by: moslemovic
2 Replies

2. Programming

Using a script to check the login and username (html)

I made this named "confirm.sh":#/bin/sh #username and password are already given by the login form if ; then realpass=`cat /home/alex/Desktop/Myfirstsite/allpasses/$username` if ; then #continue with index.html else echo "Bad password" fi else echo "Unknown username" fi because I wanted... (4 Replies)
Discussion started by: hakermania
4 Replies

3. Web Development

Help with passing HTML values in to JavaScript

Not sure if this is the right place to ask this but here goes. I am creating a cheat sheet for co-workers. The concept is that you pick wire size and conduit size and the amount of wires that will fit is displayed. I haven't used alot of drop downs and can't quite figure out the way the get id... (3 Replies)
Discussion started by: zero3ree
3 Replies

4. Programming

Looking For the Best Way to Rotate an Image: JavaScript, PHP, HTML etc

Hey All, What I'm looking for is a way to rotate an image by non 90 degree angles (ie 90, 180, 270, 360). I am able to do it in PHP, but there are errors in the image, some pixels end up colored incorrectly and the image ends up resized and I lose transparency. I've done my share of searching on... (1 Reply)
Discussion started by: pmd006
1 Replies

5. Shell Programming and Scripting

Retrieve information Text/Word from HTML code using awk/sed

awk/sed newbie here. I have a HTML file and from that file and I would like to retrieve a text word. <font face=arial size=-1><li><a href=/value_for_clients/Tokyo/abc_process.txt>abc</a> NDK Version: 4.0 </li> <font face=arial size=-1><li><a... (6 Replies)
Discussion started by: sk2code
6 Replies

6. Shell Programming and Scripting

Retrieve the username which got authenticated by the apache

I have an apache 2.2 setup with LDAP auth enabled. The html form in the front end takes some values and processes them using perl script in the background. Is there a way I can get the username which is submitting the values in that perl script. I am planning to track who is doing what(with the... (1 Reply)
Discussion started by: Tuxidow
1 Replies

7. Web Development

Web development learning thread(Javascript, HTML, CSS, angular, vue.js).

Hello All, After getting inspired from Neo, I have started a bit of JS learning these days. Whenever I learn something I will try to post it here(as of now my learning is NOT exactly bookish where I am going chapter by chapter etc, it could be more like small-small project vice kind of), I... (25 Replies)
Discussion started by: RavinderSingh13
25 Replies

8. UNIX for Beginners Questions & Answers

Why does "ps -[u|U] username" not list processes when username is numeric?

Greetings, The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry: 320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
Jifty::Web::PageRegion(3pm)				User Contributed Perl Documentation			       Jifty::Web::PageRegion(3pm)

NAME
Jifty::Web::PageRegion - Defines a page region DESCRIPTION
Describes a region of the page which contains a Mason fragment which can be updated via AJAX or via query parameters. new PARAMHASH Creates a new page region. The possible arguments in the "PARAMHASH" are: name The (unqualified) name of the region. This is used to generate a unique id -- it should consist of only letters and numbers. path The path to the fragment that this page region contains. Defaults to "/__jifty/empty", which, as its name implies, is empty. arguments (optional) (formerly 'defaults') Specifies an optional set of parameter defaults. These should all be simple scalars, as they might be passed across HTTP if AJAX is used. See Jifty::Web::Form::Element for a list of the supported parameters. force_arguments (optional) Specifies an optional set of parameter values. They will override anything sent by the user or set via AJAX. force_path (optional) A fixed path to the fragment that this page region contains. Overrides anything set by the user. parent (optional) The parent Jifty::Web::PageRegion that this region is enclosed in. region_wrapper (optional) A boolean; whether or not the region, when rendered, will include the HTML region preamble that makes Javascript aware of its presence. Defaults to true. lazy (optional) Delays the loading of the fragment until client render-time. Obviously, does not work with downlevel browsers which don't support javascript. loading_path (optional) The fragment to display while the client fetches the actual region. Make this lightweight, or you'll be losing most of the benefits of lazy loading! name [NAME] Gets or sets the name of the page region. qualified_name [NAME] Gets or sets the fully qualified name of the page region. This should be unique on a page. This is usually set by "enter", based on the page regions that this region is inside. See "qualified_region" in Jifty::Web. default_path [PATH] Gets or sets the default path of the fragment. This is overridden by "path". path [PATH] Gets or sets the path that the fragment actually contains. This overrides "default_path". default_argument NAME [VALUE] Gets or sets the default value of the "NAME" argument. This is used as a fallback, and also to allow generated links to minimize the amount of state they must transmit. argument NAME [VALUE] Gets or sets the actual run-time value of the page region. This usually comes from HTTP parameters. It overrides the "default_argument" of the same "NAME". arguments [HASHREF] Sets all arguments at once, or returns all arguments. The latter will also include all default arguments. enter Enters the region; this sets the qualified name based on "qualified_region" in Jifty::Web, and uses that to pull runtime values for the "path" and "argument"s from the "state_variables" in Jifty::Request before overriding them with the "force" versions. exit Exits the page region, if it is the most recent one. Normally, you won't need to call this by hand; however, if you are calling "enter" by hand, you will need to call the corresponding "exit". as_string Deals with the bulk of the effort to show a page region. Returns a string of the fragment and associated javascript (if any). render Calls "enter", outputs the results of "as_string", and then calls "exit". Returns an empty string. make_body Outputs the results of the region to the current buffer. render_as_subrequest get_element [RULES] Returns a CSS2 selector which selects only elements under this region which fit the "RULES". This method is used by AJAX code to specify where to add new regions. client_cacheable Returns the client cacheable state of the regions path. Returns false if the template has not been marked as client cacheable. Otherwise it returns the string "static" or "action" based on the cacheable attribute set on the template. client_cache_content Returns the template as JavaScript code. perl v5.14.2 2010-12-08 Jifty::Web::PageRegion(3pm)
All times are GMT -4. The time now is 10:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy