stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Tunneling Variables







Tunneling Variables

Tunneling Variables 04/09/2004 04:09 PM

In Bob DuCharme's latest Transforming XML column he explains the use and virtues of XSLT 2.0's tunneled variables.




This is a GrokNews Entry: (what is grok?)





Similar Items

Tunneling Variables

Grok Headline matches for Tunneling Variables

Tunneling ssh over DNS


Tunneling ssh over DNS 06/21/2004 10:31 AM
Dan Kaminski, the Jedi master of packet-level hacking, has figured out how to tunnel ssh over DNS, a stupendously weird and cool feat. Ever been at an airport or coffee shop with WiFi that redirects you over and over again to the same captive portal page no matter what you do? With Kaminsky's tool, you could circumvent any captive portal that allows DNS to slip through. Here's the presentation he gave at the LayerOne conference in San Diego.
Reverse Serial Propagation

Can be quickly and statelessly deployed

* Scan networks with generic recursive probe
* For each incoming request seeking to service the probe, return whatever(TTL=0) and probe with an actual block request
 - If a block request comes back from the recurser, populate the server
 -If the population packet drops, the upstream should retransmit
* Move back through the file after each server group fills up
* Can be much slower to populate!

480k Powerpoint Link (via Oblomovka)

Tunneling Nanotubes


Tunneling Nanotubes 02/16/2004 07:53 PM
This week's column includes itmes on cells that create nanotubes to connect, bundles of nanotubes made from single-walled carbon and protected forests in Borneo.

Tunneling Out of Proxy Prison


Tunneling Out of Proxy Prison 05/22/2004 12:58 AM
Since I started my new job a few months ago, I've been trapped in proxy prison, unable to ssh to my home machine or any internet servers. My main goal was to use downtime at my day job to do web development work for a small company that I set up a few years ago (more on the morality of this later). I've finally broken free of the proxy prison, and here's how I did it. It wasn't easy...

Tunneling Out of Proxy Prison ||
kuro5hin.org


Tunneling Out of Proxy Prison ||
kuro5hin.org
05/22/2004 10:59 PM
kuro5hin: Tunneling Out of Proxy Prison

kuro5hin.org/story/2004/5/19/65512/0633
track this site | 4 links


Re: ICMP spoofed source tunneling


Re: ICMP spoofed source tunneling 09/22/2004 04:48 PM
fenfire_at_abwesend.de (Sep 22 2004)

ICMP spoofed source tunneling


ICMP spoofed source tunneling 09/21/2004 08:58 PM
Max Tulyev (Sep 21 2004)

Build Your Own Scanning Tunneling
Microscope


Build Your Own Scanning Tunneling
Microscope
01/03/2004 11:03 PM

Data Driven Attacks Using HTTP Tunneling


Data Driven Attacks Using HTTP Tunneling 08/02/2004 08:58 PM

Object-Variables-0.9


Object-Variables-0.9 07/30/2004 12:14 AM

Object-Variables-0.4


Object-Variables-0.4 07/25/2004 06:12 AM

Predefined Variables


Predefined Variables 06/09/2004 03:40 PM

Object-Variables-0.5


Object-Variables-0.5 07/27/2004 12:28 AM

Variable Variables in PHP


Variable Variables in PHP 12/19/2002 10:43 PM
Variable Variables in PHP Well since it's late but I'm still grinding and I feel guilty for not blogging much today, here's a special PHP Treat: A Variable Variable Tutorial. Yes that's right. There is a feature in PHP called "Variable Variables". One of the issues that I had with implementing our Digibuy support was our old friend and enemy: Parsing. This is such a fundamental thing but there always seems to be a new wrinkle in it. In this case we had an existing PHP script which did our registration calculations and was expecting a certain set of variables. Now this code was fairly complex and I didn't want to re-write it (much). Here's the input data we had to parse: author_id=BillBrown & author_password=HemosRules & prod_sku=98079949999 With the exception that it had like 30 odd variables in it. Since my code was expecting a series of variables I needed to parse this and automatically create a series of variables like $author_id and $author_password. Now if this data was being given to me by a URL then it would be easy -- PHP could automatically do it or I could just pull them out of $_REQUEST. But, instead, I had them going to me as if they were a file. So ... How do you create a series of variables on the fly? Note: Yes I could have made an associative array but that wouldn't have taught me anything, now would it ? I could also have gotten a similar effect with the extract function but I found out about that after this working. And if the code is working then ... Well deep in the recesses of what I call a brain was a recollection of "variable variables". I think I heard about this in a talk that Rasmus gave although I can't honestly be sure. I do know that whenever you need to do "meta" type tasks like this in a language, you need to poke around the oddball features since that's usually where they reside. What I do is look for the sections of the documentation that I've never read. The idea behind a variable variable is simple: interpret the value of a variable and make it into a variable itself. I.e. the "variable variable" nomenclature. Since php uses $ for indicating a variable they've chosen to use $$ to make a variable variable. Let's say you have two variables, $part1 and $part2. If $part1 = "author_id" and $part2="HemosRules" how do I get to $author_id = "HemosRules". Simple: $$part1 = $part2. Yup. It's just that easy. Of course I did need to wrap it into a string parsing loop. Here's the guts of it: $strarray = explode("&",$input); foreach ($strarray as $stritem) { $stritem = trim($stritem); $part1 = substr ( $stritem, 0, strpos ( $stritem,"=" ) ); $part2 = substr ( $stritem, strpos ( $stritem,"=" )+1, strlen ( $stritem ) ); #magic! $$ is a "variable variable" i.e. it converts the value #in the variable into a variable itself $$part1 = $part2; } The way this works is an input string, $input, contains everything that needs to be processed. First I explode this into an array using "&" as the delimiter. Then I loop over the array with a foreach loop creating a $part1 variable and a $part2 variable. Finally I just do the magic $$part1 = $part2. Here's the example Source Code. Here's the working Example Thanks again to my favorite Systems Administrator, Apokalyptik, for showing me how to use PHP to generate code listings. Much easier than pasting it into a blog entry. More on Variable Variables from PHP.Net: [_Go_] Variable Variables. A little confusing but definitely a frothy good thing!

Variables and Paths


Variables and Paths 06/26/2002 07:05 PM
In this month's Q&A column, John Simpson answers questions about XSLT variables and XML document paths.

Application Variables in PHP


Application Variables in PHP 07/01/2002 08:29 AM
This is the first article of several on developing an architecture for Enterprise PHP, where we are running dedicated PHP servers tuned to serve large number of web pages. This work originated in the need to save the current working database connection as an Application variable in a primary and fallback database server configuration. This can be extended to saving other configuration information that rarely changes... -- John Lim

"zeldman.jayne"

PHP Application Variables


PHP Application Variables 07/02/2002 09:57 AM

An Introduction to Variables


An Introduction to Variables 11/27/2002 09:47 PM

This is only for those who are new to php, or maybe programming altogether. This won't 'enlighten' you, or make you 'one with everything', but it should make you one with variables.


Application Variables with PHP


Application Variables with PHP 08/05/2002 10:44 PM
One of the most common feature requests that PHP developers ask for is application variables. These are variables that are globally available to all PHP scripts on a web server. There are currently several implementations.

Perl's Special Variables


Perl's Special Variables 06/18/2004 07:05 PM
Dave Cross goes back to basics to show how using Perl's special variables can tidy up file-handling code.

Internal Variables for Use in Your
Scripts


Internal Variables for Use in Your
Scripts
08/15/2004 07:36 PM

Hash variables in Perl


Hash variables in Perl 08/23/2004 02:48 AM
CNET Aug 23 2004 7:15AM GMT

PHP Static Class Variables


PHP Static Class Variables 12/02/2002 01:17 PM
Static class variables are variables that are shared among all instances of a particular class. Although PHP supports static variables in functions, it has no support for static variables in classes. This functionality can be pretty important in some situations, and I will now describe a way to simulate it.

Using hash variables in Perl


Using hash variables in Perl 05/03/2004 09:19 AM
CNET May 3 2004 1:48PM GMT

Variables used by the Status Filter


Variables used by the Status Filter 04/15/2004 02:26 PM

Using variables in Windows batch files


Using variables in Windows batch files 08/29/2004 02:23 PM
Tech-Recipes Aug 29 2004 6:35PM GMT

A Guide to Basic Variables That Add To
Site Value


A Guide to Basic Variables That Add To
Site Value
03/17/2005 02:32 AM
Nice checklist of items to cover before buying or selling a site.

The Fuzzy Blog on Varaible Variables


The Fuzzy Blog on Varaible Variables 12/20/2002 08:49 AM

Templates with patTemplate, and Form
Variables


Templates with patTemplate, and Form
Variables
05/30/2002 08:10 AM

Learning Cocoa: Repurposing Variables


Learning Cocoa: Repurposing Variables 01/18/2004 02:48 PM
Set Roby: "By now we know that every variable is really just a bunch of bits, which we can look at a certain way and read as an integer, a pointer, or whatever else we need to remember. Well, what else do we want to remember?"

Working with Environment variables -
Add, Remove and Retrieve


Working with Environment variables -
Add, Remove and Retrieve
12/24/2004 12:49 PM

Keep track of stopped processes via
shell variables


Keep track of stopped processes via
shell variables
12/15/2003 11:45 AM
Earlier hints discuss how to suspend and resume processes via kill -- very helpful to me, because I had been launching apps from Terminal and using ^Z, fg and bg to manage them. A summary of previous hints: kill -STOP and kil...

Setting the %DSDIT%, %DSLOG%, and
%SYSVOL% Variables


Setting the %DSDIT%, %DSLOG%, and
%SYSVOL% Variables
09/10/2004 01:53 AM

Unprivilegued settings for FreeBSD
kernel variables


Unprivilegued settings for FreeBSD
kernel variables
06/15/2004 01:41 PM
Radko Keves (Jun 14 2004)

Re: Unprivilegued settings for FreeBSD
kernel variables


Re: Unprivilegued settings for FreeBSD
kernel variables
06/16/2004 06:16 PM
Dag-Erling Smørgrav (Jun 15 2004)

Copy variables from command line to GUI
environments


Copy variables from command line to GUI
environments
07/22/2004 09:59 AM
If you use the UNIX command line environment under OS X, you probably know that the environment symbols you set up in your .bashrc file are not reflected in the GUI environment. In the GUI environment, symbol values are read...
Grok Description matches for Tunneling Variables
GrokA matches for Tunneling Variables

Orangevolt XSLT Plugin for Eclipse 1.0.1
(Default branch)


Orangevolt XSLT Plugin for Eclipse 1.0.1
(Default branch)
04/14/2005 09:39 AM
Screenshot The Orangevolt XSLT Plugin for Eclipse provides XSLT support to the Eclipse platform. It is the Eclipse-based successor of the Java/Swing-based ROXES XmlWrite XSLT editing environment. It provides many great enhancements when working with XML inside Eclipse. It implements XSLT launch configurations, XML editor enhancements, configurable XML outlines, an xpath navigator view, and more.
Changes:
The xpath explorer view now works correctly. Jaxen is now used as the xpath engine.

CHOWNAT 0.04


CHOWNAT 0.04 08/19/2004 06:20 AM
A NAT to NAT tunneling system that does not require a middle man.

XSLT, Browsers, and JavaScript


XSLT, Browsers, and JavaScript 02/05/2003 07:24 PM
Bob DuCharme, in this month's Transforming XML column, shows us how to include JavaScript in the HTML result tree of XSLT transformations.

Eclipse XSLT Plugin


Eclipse XSLT Plugin 03/29/2005 11:43 AM
initial release

Template-Plugin-XSLT-1.1


Template-Plugin-XSLT-1.1 07/18/2004 12:29 AM

ProNet: Google's XSLT library for
JavaScript


ProNet: Google's XSLT library for
JavaScript
06/24/2005 03:38 PM
Google's just released Google AJAXSLT on Sourceforge. AJAXSLT is an open-source (BSD licensed) JavaScript implementation of XSL Transformation. In addition to being a really cool technology demonstration, the library could be used in a lot of practical applications involving client-side...

Extend the Microsoft XSLT processor with
JavaScript


Extend the Microsoft XSLT processor with
JavaScript
01/28/2003 02:08 AM
CNET Jan 28 2003 1:24AM ET

mod-xslt


mod-xslt 08/30/2004 06:49 AM
mod-xslt 1.3.6 (stable) released

Using XSLT with PHP


Using XSLT with PHP 12/05/2003 07:52 PM
XSLT (XSL Transformations) plays a vital role in the transformation and presentation of XML documents. Though the primary intent ...

mod-xslt 1.3.2


mod-xslt 1.3.2 06/06/2004 06:50 AM
An Apache module that applies XSLT stylesheets to XML files on the fly.

mod-xslt 1.3.3


mod-xslt 1.3.3 07/14/2004 01:24 PM
An Apache module that applies XSLT stylesheets to XML files on the fly.

mod-xslt 1.3.4


mod-xslt 1.3.4 07/25/2004 07:38 PM
An Apache module that applies XSLT stylesheets to XML files on the fly.

mod-xslt 1.3.5


mod-xslt 1.3.5 08/01/2004 04:26 PM
An Apache module that applies XSLT stylesheets to XML files on the fly.

XSLT


XSLT 10/19/2002 01:34 AM
PHP class which will hopefully make it a little bit easier to work with PHPs XSLT extension

mod-xslt 1.3.6


mod-xslt 1.3.6 08/30/2004 06:27 AM
An Apache module that applies XSLT stylesheets to XML files on the fly.

XML-XSLT-0.47


XML-XSLT-0.47 02/16/2004 10:51 AM

XML::XSLT


XML::XSLT 02/16/2004 09:18 AM
XML::XSLT 0.47 released

Sorting in XSLT


Sorting in XSLT 07/03/2002 05:15 PM
In this month's Transforming XML column, Bob DuCharme explains the various uses of xsl:sort, including sort ordering, multiple keys, and reversing the sort.

mod-xslt for Apache 2.0.35 and later


mod-xslt for Apache 2.0.35 and later 12/13/2003 06:29 PM
mod_xslt 2.0.0 released

Grouping With XSLT 2.0


Grouping With XSLT 2.0 11/05/2003 08:20 PM
In his latest Transforming XML column Bob DuCharme explains how to use the new grouping facilities in XSLT 2.

XSLT Reflection


XSLT Reflection 11/05/2003 08:20 PM
Reflection enables a programming language to inspect and modify its own code. XSLT, being expressed in XML, comes with this built in. This article shows how XSLT can be used to process XSLT to solve real problems.

XSLT Processing in .NET


XSLT Processing in .NET 08/14/2002 06:28 PM
Joe Feser gives an overview of the many ways XML can be transforming using XSLT within the Microsoft .NET Framework.

Five XSLT Basics


Five XSLT Basics 12/02/2003 01:58 AM
You've just inherited a new project at work that requires you to learn XSLT, but you don't have a clue where to start. This article by Michael Fitzgerald should give you a leg up over the wall. It covers five basics of XSLT 1.0--from what it is to how to get it to work--information you'll also find in the first chapter of Michael's book, Learning XSLT.

Transforming XML with XSLT and PHP


Transforming XML with XSLT and PHP 10/29/2003 02:21 AM
In this tutorial, Timothy shows you how to use XSLT to transform XML documents into HTML documents. Of course, the use of PHP XSLT functions are highlighted.

Conversions using XSLT


Conversions using XSLT 11/01/2002 02:37 AM
CNET Nov 1 2002 2:02AM ET

XSLT 2.0 Web Development


XSLT 2.0 Web Development 06/02/2004 02:37 AM
Java Pro Jun 2 2004 5:32AM GMT

Sorting in XSLT (XML.com)


Sorting in XSLT (XML.com) 07/09/2002 11:19 AM

XSLT in Safari


XSLT in Safari 08/15/2004 10:51 PM

Some time ago we switched over to libxml in Safari for the processing of XML (and XHTML) files. I'm happy to report that we now have basic XSLT support working in Safari using libxslt. You can style your XML using xml-stylesheet processing instructions. I don't yet have a programmatic JS API working for transforming documents, but that shouldn't be too difficult to add. What I really need are XSLT test cases that use xml-stylesheet. Track back or comment if you know of some good test cases online that I can use, or just generally have suggestions to make regarding XSLT support.


EditiX 1.4 - XML / XSLT Editor


EditiX 1.4 - XML / XSLT Editor 06/28/2004 04:31 PM
We are glad to announce the availability of EditiX 1.4. EditiX is a Mac OS X and powerful XML/XSLT Editor. News :
  • Surround CDATA action from the "edit" menu
  • Surround Comment action takes the place of the comment/uncomment action
  • Global performance improvement
  • Last path saved/restored while assigning a DTD, a schema or an XML or result document for XSLT

  • XQueryX to XSLT conversion


    XQueryX to XSLT conversion 01/07/2004 04:56 PM
    The XML Query Working Group has released an updated Working Draft of XML Syntax for XQuery 1.0 (XQueryX). Designed to be read with the XQuery language and its formal semantics, the document proposes that XQueryX will be an optional conformance level. The Working Group invites comments. ?

    Tunneling Variables

The following phrases have been identified by the grok system as matching this entry: orangevolt xslt plugin tutorial chownat xslt javascript variable chownat problems

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

PyCon 2004: Making
Python Faster and
Better

Getting in Touch
with XML Contacts

Using libferris with
XML

The XML.com
Interview: Jeff Barr

Utility Stylesheets
From P2P to Web
Services: Addressing
and Coordination

SVG and Typography
Fair use, or not
fair?

Google Gets Makeover
Google Gets Its
Groove On

Google Not Fooling
Around: Launches
Gmail

Google to Unveil
Free E-Mail

Free E-Mail With a
Steep Price?

Gmail Takes Heat
from Privacy Groups

The Secret Source of
Google's Power

Turning Search Into
a Science

Google Gets More
Gmail Guff

I wish I didn't
understand

Panda Joke V
Global Feature
Request

Outlook as a
platform

Innovations in
Self-Help

Are web companies
tech or media?

Fools, etc.
talking to the
outsiders

Content Targetting
for Personal Ads

Great Moments in
Advertising

Rumor Today:
Portales Revised

Impulse Buy
NetWare Client For
Mac OS X IP Released

Apple Dealers Deny
iPod's "Dirty
Secret"

Apple Granted Patent
For Adjustable
Screen Snake Arm

Analysts Look For
Improvement In G5
Sales

Making A Killing On
eBay

No April Fools Joke
For Apple Reps

Donn Denman: Apple
Is Getting 'More
Connected'

Apple Aims At
Architects

Apple Makes Noise
Perfect Storm
Brewing For
Microsoft?

Reduce CPU Usage
Pink iBook
Speculation: The
Real iPod Killer

12" iBook 800MHz G4
RapidWeaver 2.1.1
Web Page Design
Software

A Two-Button
Scrollable Apple
Mouse?

Game Copy
Protection: It's
1994 All Over Again

CNN/Money: Apple
Earnings Don't
Matter

iPod Owners
Dissatisfied With
Quality Of
Headphones

Cheat Sheet: The
Mini iPod

At The Core Of The
Apple Dispute

what is grok?