Archive

Posts Tagged ‘query string’

Quesry Sng Value – Embed Flash

August 7th, 2009 Comments off

Hi,
I need one line code to include values from a Quesry String to “embed”…flash.swf…”embed” in HTML in other words from the string below:

http://powerpoint-to-flash.sminteriors.net/download-powerpoint-to-flash.shtml?userdir=dc2939cbab8315998ece18d0ad0d266c&action=download&path=/users/dc2939cbab8315998ece18d0ad0d266c/&file=test-20090808.zip&swf=ppt2flash_isX.swf&width=392&height=329

to this one:
<embed src=”http://powerpoint-to-flash.sminteriors.net/upload/files…pt+swf_from_query_string_here” width=”392_from_query_string” height=”329_from_query_string” quality=”medium” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”></embed>

I have javascript in place to split the values.
You can see the page source by visiting the page

thanks,

Create Images Using Php

June 16th, 2009 Comments off

I want to create a dynamic banner.

The first layer will be the background that is a real, premade, static image that has our company’s name on it.

The second layer is an image that we will grab from our server. The image location/name will be determined by the query string. If the query string is ?image=imagenumber123, then the image that will be pulled and displayed is imagenumber123.png.

The the next layer is dynamic text that will be written on the background/first layer. This text will be determined by the query string. So, if the query string is ?text=some random text, then “some random text” has to be written on the background.

All of this has to be saved as an image. I have done most of it already. I learned how to do it within minutes, but since I’m new to it, cannot get all three layers merged. Hopefully, someone with more experience and who knows how easy it is, will do this and not charge too much. Thanks, and I will select someone in a few hours. If you have a demo, please provide one. I provide 100% escrow.

Parse Referrer Str Variables

March 19th, 2009 No comments

I require a PHP script to parse variables from the referrer. It will then write parsed data to a table in a mySQL db. It will also pass the parsed kw variable to a redirect I use in the format $kw= “KEYWORD”

The parts of the referrer I require written to the db are ‘referring domain’ and ‘keyword’. The query construction will be in various formats, depending on the referrer.

Some examples (not exhaustive)
‘q,query,?_nkw,form_keyword,buscar,search_query,field-keywords,search/q/,satitle,KW,k,OVKEY,keyword,searchfor’ The end delimiter will be usaully ‘&amp;’

Special considerations are queries from best-price.com &amp; dogpile. For best-price.com, if the query is from Yahoo the delimiters will be ‘OVKEY=KEYWORD&amp;’
If from google it will be ‘search/q/KEYWORD/s/google/’
If dogpile ‘results/keyword/KEYWORD/

See attached file for url examples.

For the db you will need to create a table in an existing db. The table will have 2 fields, one for referring domain, one for the kw.
EG:
CREATE TABLE `DB_NAME`.`TABLE_NAME` (
field parameters
) ENGINE = InnoDB DEFAULT CHARSET = latin1;

then write

I assume thee flow of logic will be:

Check if referrer string
if not
then set $kw variable to default ‘keyword’ and redirect visitor
if set
then parse domain and check for query string
if no query string
then set $kw variable to default ‘keyword’ and redirect visitor
if query string set $kw variable &amp; redirect and write the domain &amp; kw to db
&lt;=======================================================================&gt;
Do not bid without reading and understanding my requirements fully. If you have any questions, please ask.
I’ll only respond to bids accompanied by a PM. If you leave a bid without a corresponding PM, then the bid will be ignored.
Thank you.

Bear