Sedang Disiapkan

Display html paragraph depending on URL parameter value

This should be easy to do and a standard solution or free script might be used. What I need consists of two functions:

1) Depending on the parameter value of the URL which a page is called up with (example: [url removed, login to view]) I want to show a paragraph of text to the visitor, along with the standard content (no popup, it must become part of the regular webpage).

2) If a visitor links to my page, I don't want him to include his own URL Parameter values in the link. Therefore some script or function on the webpage should make it possible to hide the parameter part of the URL "/?..." in the visitors address bar and just show the main part of the URL ([url removed, login to view]).

Details to 1):

This should be solved with a script which permits me to save the paragraphs of text which I want to show in a separate location (either inside the script or in a text file on the server) so that robots don't read it. The script should give me the option to define a few parameter values and the according paragraphs to be displayed. For example:

If parameter1=value1 then [.....]

If parameter1=value2 then [.....]

It should be possible to define the paragraphs as HTML text so that I can also vary the format. In case the URL does not have a parameter or the user has JavaScript deactivated the webpage should be shown unchanged, as if there was no script in it at all.

Details to 2):

I don't know how this could technically be solved. I could image that html, php or javascript has some function to delete the parameter part of the URL right after the visitor arrives. This would be the easiest way but if it is not possible then I can image using a forward page:

- The link including the parameter ([url removed, login to view]) actually goes

to a temporary page where a cookie with parameter1=value1 is set and the visitor is immediately forwarded to [url removed, login to view], without a delay. On [url removed, login to view] a javascript checks the cookie value and displays the paragraph of text according to 1). The forward page/cookie solution sounds a little complicated and I would be happy if there is an easier solution.

Function 1) has priority and I am looking for a solution which can be realized with a low budget. If you can realize both functions with a low budget, that would be even better. The webpages were I want to use this are php pages.

Important: If you are seriously interested in this project please describe briefly how you want to realize it. I am not interested in bids with just a short comment like "This is easy. Let's do it." Because then I have no way to tell how serious the offer is.

Thank you.

Kemahiran: Javascript, PHP, Memasang Skrip, Reka Bentuk Laman Web

Lihat lagi: display cookie value paragraph text javascript, what i need after html and php to make website, website format html, webpage format, use case include example, use case include, popup script for website, php server with html free, part standard, make own webpage, how to make a website using html, free website html, html free, Value, url, sounds, short url, seriously, robots, php html javascript, permits, no html, low budget, html, HTML%

Tentang Majikan:
( 15 ulasan ) Lindlar, Germany

ID Projek: #98034

21 pekerja bebas membida secara purata $47 untuk pekerjaan ini


Hi, Plz check Pm. Thank you

$50 USD dalam 0 hari
(602 Ulasan)

it is really a easy task.!

$100 USD dalam 2 hari
(233 Ulasan)

See PMB for more information. Thanks.

$50 USD dalam sehari
(121 Ulasan)

Hi! Check the PM, please.

$55 USD dalam 2 hari
(40 Ulasan)

Please contact to complete

$50 USD dalam 0 hari
(23 Ulasan)

Please view PMB. Thank you.

$100 USD dalam 2 hari
(26 Ulasan)

Can do it now and fast.

$50 USD dalam 0 hari
(30 Ulasan)

Hi, I have some ideas, please check your PM for details. Ovidiu.

$40 USD dalam sehari
(12 Ulasan)

hi read pmb please

$30 USD dalam sehari
(31 Ulasan)

Greetings, Please view PMB on description of how we will realize it. Thanks.

$30 USD dalam 0 hari
(13 Ulasan)

Fullfill your needs. LEMONSOFTWARE (PM for details)

$35 USD dalam 3 hari
(1 Ulasan)

I can do the job.

$40 USD dalam 0 hari
(8 Ulasan)

Hello, please check your Private Message Board for details.

$30 USD dalam sehari
(4 Ulasan)

This is a pretty easy job. Please see my PMB.

$40 USD dalam 3 hari
(1 Ulasan)

OK, Please see PM for details of how I will do it!

$30 USD dalam sehari
(3 Ulasan)

Please visit our website [login to view URL] for more info.

$55 USD dalam 5 hari
(1 Ulasan)

I can produce the ruff in about 15 minutes (for both tasks).

$50 USD dalam sehari
(0 Ulasan)

Can do the work in matters of minutes! PM me

$50 USD dalam 0 hari
(0 Ulasan)

Hi, I am interested in this job

$35 USD dalam 3 hari
(0 Ulasan)

We are ready to do this simple project for $30.

$30 USD dalam 3 hari
(0 Ulasan)