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


Query String Manipulator







Query String Manipulator

Query String Manipulator 10/30/2002 11:14 PM

This class allows you to change and add variables in query strings, add arrays to them, and then output it in a few different ways.




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





Similar Items

Query String Manipulator

Grok Headline matches for Query String Manipulator

SMS Query: Query to Show Servers
Rebooted Within Last 30 Days


SMS Query: Query to Show Servers
Rebooted Within Last 30 Days
05/08/2004 06:21 AM

SMS Query: SQL Query to Select Hardware
and Software Components


SMS Query: SQL Query to Select Hardware
and Software Components
05/29/2004 12:19 PM

SMS Query: Query to Select Defined
Packages


SMS Query: Query to Select Defined
Packages
06/08/2004 06:42 PM

SQL Query: Query to Delete a Machine
From the SMS Database


SQL Query: Query to Delete a Machine
From the SMS Database
08/16/2004 06:29 PM

SMS Query: Query to Show the WBEM
Version


SMS Query: Query to Show the WBEM
Version
05/23/2004 02:01 AM

SMS Query: Query to List by OS and SP
Level


SMS Query: Query to List by OS and SP
Level
05/12/2004 02:54 AM

SQL Script: Query Name By Query ID View


SQL Script: Query Name By Query ID View 05/13/2004 12:17 PM

SMS Query: Query to Select ONLY SMS SP2
Clients


SMS Query: Query to Select ONLY SMS SP2
Clients
05/23/2004 05:04 AM

SMS Query: Query to Find Systems With
THIS but Not THAT


SMS Query: Query to Find Systems With
THIS but Not THAT
07/31/2004 10:17 PM

New XML Query Language and Query Engine


New XML Query Language and Query Engine 04/11/2005 02:13 AM
XML makes it easy to define document types, easy to author and manage documents over multiple platforms, such as Windows or UNIX, and easy to transmit and share them across the Web. [PRWEB Apr 11, 2005]

SMS Query: Query to Find Systems Without
THIS or THAT


SMS Query: Query to Find Systems Without
THIS or THAT
06/16/2004 08:34 AM

SNC-Manipulator-0.20


SNC-Manipulator-0.20 06/22/2005 02:48 AM

SNC-Manipulator-0.1


SNC-Manipulator-0.1 06/22/2005 02:48 AM

HTML-Manipulator-0.01


HTML-Manipulator-0.01 04/20/2004 06:00 AM

HTML-Manipulator-0.02


HTML-Manipulator-0.02 04/22/2004 01:10 AM

HTML-Manipulator-0.05


HTML-Manipulator-0.05 06/17/2004 06:43 AM

Ports Manipulator 0.3


Ports Manipulator 0.3 06/05/2004 02:40 AM
A ports collection manipulator for BSD.

HTML-Manipulator-0.03


HTML-Manipulator-0.03 04/25/2004 11:31 PM

Ports Manipulator 0.4


Ports Manipulator 0.4 07/24/2004 12:55 AM
A ports collection manipulator for BSD.

HTML-Manipulator-0.04


HTML-Manipulator-0.04 05/31/2004 05:39 AM

New: PDF Manipulator Plug-in 1.0


New: PDF Manipulator Plug-in 1.0 02/19/2004 11:22 AM
PDF Manipulator Plug-in is a FileMaker Pro add-on that enables you to exchange data between FileMaker Pro and Adobe Acrobat PDF files that have embedded fields.

SMS Query: Query for All Systems with
WMI v1.5


SMS Query: Query for All Systems with
WMI v1.5
05/16/2004 05:16 AM

QuickTip: Getting the SQL Query from the
SMS Query


QuickTip: Getting the SQL Query from the
SMS Query
09/12/2004 05:03 AM

Symbolic Equation Manipulator


Symbolic Equation Manipulator 09/06/2004 02:14 PM
I'm back on the job

manipulator :: personal work


manipulator :: personal work 08/20/2004 08:16 AM
Photography of primates by Jill Greenburg .. Monkey Portraits .. Monkeys!

manipulator.com/website/monkey/html/monkey_fs.html
track this site | 4 links


Neuros Database Manipulator


Neuros Database Manipulator 12/16/2003 01:58 AM
Version 1.20 of NDBM has been released

New: Address Book Manipulator


New: Address Book Manipulator 06/28/2004 09:54 AM
Address Book Manipulator is a FileMaker Pro plug-in that enables two-way data exchange between FileMaker Pro and the Mac OS X Address Book.

"manipulator :: personal work"


"manipulator :: personal work" 08/20/2004 09:51 PM

Productive Computing, Inc. Releases
Address Book Manipulator Plug-in for
FileMaker® Pro and Macintosh OSX


Productive Computing, Inc. Releases
Address Book Manipulator Plug-in for
FileMaker® Pro and Macintosh OSX
06/25/2004 11:48 AM
FOR IMMEDIATE RELEASE

San Diego, CA - June 25, 2004 Productive Computing, Inc. announces the release of the Address Book Manipulator Plug-in as the first FileMaker Pro plug-in that provides a lightning fast two-way data exchange between FileMaker Pro and Macintosh the OSX Address Book using nothing more than simple script steps. No AppleScript or XML programming required!

Features include:
- New Record, Delete Record, Delete All Records

Bush: Dumb Like A Bullet / Is Dubya both
a bumbling simpleton *and* a shrewd
manipulator who smirked at tortures in
Iraq?


Bush: Dumb Like A Bullet / Is Dubya both
a bumbling simpleton *and* a shrewd
manipulator who smirked at tortures in
Iraq?
05/22/2004 06:56 AM
Mark Morford: Bush: Dumb Like A Bullet; Is Dubya both a bumbling simpleton *and* a shrewd manipulator who smirked at tortures in Iraq? 5/22 .. Mark Morford has written a fun editorial about Bush's brand of stupidity .. think it's disgusting .. addresses

sfgate.com/cgi-bin/article.cgi?f=/g/a/2004/05/21/notes0521 04.DTL&nl=fix
track this site | 5 links


SMS FAQ: Query for NAV CE v7.5


SMS FAQ: Query for NAV CE v7.5 09/03/2004 12:42 AM

String-MFN-1.0


String-MFN-1.0 07/30/2004 12:14 AM

String-MFN-1.13


String-MFN-1.13 08/03/2004 05:54 AM

String-MFN-1.11


String-MFN-1.11 07/30/2004 07:06 AM

From One String to Many


From One String to Many 04/28/2004 06:44 PM
In John Simpson's latest XML Q&A column he describes several ways, including those for XSLT/XPath 2.0 and EXSLT, to tokenize strings.

Mail-SPF-Query-1.9.6


Mail-SPF-Query-1.9.6 12/17/2003 11:51 PM

Semistructured Query-by-Example


Semistructured Query-by-Example 03/16/2003 04:21 AM

I just stumbled across this experimental Query language for XML, called XCerpt.  It is example-based variable binding, and looks very much like Prolog queries over a triples database, or like Redland's QBE would look if they used RDF/XML syntax instead of triples.  Such query syntaxes seem popular for graph queries, but I'm not sure if they are really the best for users. 

In any case, the paper on XCerpt was interesting.  Although XQuery is not as "imperative" as the paper wants you to believe, XCerpt really does blur the line between "data" and "code" more than XQuery does.  It makes you want to use it, because it hints seductively that code and data are really the same thing.


Mail-SPF-Query-1.96


Mail-SPF-Query-1.96 12/19/2003 11:56 AM

Re: New google's top query?


Re: New google's top query? 08/27/2004 01:32 PM
Alex Keller (Aug 23 2004)
Grok Description matches for Query String Manipulator
GrokA matches for Query String Manipulator

Templates with patTemplate, and Form
Variables


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

From Function to Form


From Function to Form 10/29/2003 12:10 AM

Other News: Form vs. Function


Other News: Form vs. Function 09/02/2004 10:30 AM
Businessweek was looking for more than a pretty design with the new iMac G5 - and price may be an issue.

does form transcend function?


does form transcend function? 07/13/2004 10:18 AM
Pac-Mo ndrian! Art hits the arcade. Play the classic game while enjoying the Piet Mondrian-style background. Who says art isn't fun?

Function trumps form at Intel showcase


Function trumps form at Intel showcase 02/19/2004 03:33 PM
IDF We muster an Itanic cluster or two

CES 2005: Form, Function and Stylin'
(washingtonpost.com)


CES 2005: Form, Function and Stylin'
(washingtonpost.com)
01/04/2005 01:26 PM
washingtonpost.com - Word from the control tower has it that the geeks have been cleared to take the runway.

iPod Mini Straddles Form-Function Divide


iPod Mini Straddles Form-Function Divide 05/28/2004 10:41 PM
In every respect, the original iPod is better designed in terms of how it looks and how much easier it is to use than competing units from Dell and RCA and their ilk. The iPod mini only raises the bar. By George Emerson, Globe And Mail (via MyAppleMenu)

She-Tech.com Combines Handbag
Sophistication with Form and Function in
its New Line of Women’s Laptop Cases for
Spring/Summer 2005


She-Tech.com Combines Handbag
Sophistication with Form and Function in
its New Line of Women’s Laptop Cases for
Spring/Summer 2005
04/11/2005 03:45 AM
Handbag sophistication meets form and function in She-Tech.com’s new line of women’s laptop cases for Spring/Summer 2005. Building upon the success of their debut line, She-Tech.com, an Atlanta-based designer and online retailer of laptop cases for women, once again bridges style, fashion, and function; this time by combining handbag craftsmanship with bold and bright textiles. [PRWEB Apr 11, 2005]

PHP Application Variables


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

Object-Variables-0.4


Object-Variables-0.4 07/25/2004 06:12 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.


Predefined Variables


Predefined Variables 06/09/2004 03:40 PM

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.

Object-Variables-0.5


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

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"

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.

Query String Manipulator

The following phrases have been identified by the grok system as matching this entry: "php" "make query" "form variables" function"

















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

Community and
Specifications

XML and Web Sites
Make Your XML
RDF-Friendly

PHP Class 'PHP
Template' released

Jeremy Zawodny's
blog

NavTree
Novell and MySQL
Mozilla's Phoenix
Reaches Milestone

Yahoo Goes PHP in
Open Source Embrace

Macromedia
Contribute details
leak

Microsoft Gets Ready
to Speak

Borland Steps up
Acquisition Spree

ANNOUNCE:
SquirrelMail 1.2.9
AND 1.3.2 released

Hibernate 1.1.8
released

Macromedia's
Contribute to make
Web site updates
easier

In Case You're a
Book Author

dtddoc Step 3:
Element and
Attribute
Descriptions

Website Redesign
Without a Nervous
Breakdown

PHP Gets Major Boost
From an Unlikely
Spot - Yahoo!

Mass Block of
Spain's Internet
Sites Fading to
Black

Factors for
calculating the ROI
of Web services

PHP Template
Slashdot Discussion
on Yahoo
standardizing on PHP

The End of
Frequent-Crawling?

Rescuing XSLT from
Niche Status

Software Engineering
Practices for
Large-Scale PHP
Projects

PHP Class
'phpsecureweb'
released

google is the
dimensionless
density fluctuation
in real space

phpsecureweb
AMD Preps for
Hammer, Opens
Developer Center

WS-I Publishes Basic
Profile Working
Draft

Mass Block of Spains
Internet Sites
Fading to Black

JCP Embraces
Open-Source
Licensing

trust (29 October
2002)

Tiki 1.0 -Ras
Algheti- released

Real's Helix Finds
Big-Name Partners

DoS Bug Found in
Oracle9i App Server

Making the case for
PHP at Yahoo

Release Digest: KDE,
October 28, 2002

CChart
29 States to Vote On
Consolidated
Ecommerce Taxes

PHP Class 'mimetype'
released

PHP Class
'page_handle'
released

A Googley Portal
Google Answers Ads
Oracle Unveils
JDeveloper 9.0.3

mimetype
Web Services
Description
Requirements Last
Call Published

The next tier of web
services

PHPCon 2002 Report
what is grok?