Solved

LWP - Pretend to have flash installed

Posted on 2006-11-07
5
312 Views
Last Modified: 2008-01-16
Hi,

How do I let LWP pretend to have Flash installed?

I'm trying to retrieve a page but another page is being displayed due to flash not being installed.

Greeting.
0
Comment
Question by:TonyJix
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Suhas .
ID: 17891100
to check whether the flash is installed or not,
please go through the link which contains script,

http://www.quirksmode.org/js/flash.html
0
 
LVL 2

Expert Comment

by:mattaustin
ID: 17891485
The only way i know to test if flash is installed is javascript....so there probly setting a form varrible... ex: hasflash=1. Can you post the url your trying to get info from maybe we can help more?
0
 

Author Comment

by:TonyJix
ID: 17891584
No..

What I mean is that I am trying to let LWP get a page. The page that it is trying to get requires Flash.
Since LWP does not have Flash installed (..) , the end-page will send the LWP to some "install Flash first" page.

I want LWP to pretend to have Flash installed.

Greetings.
0
 
LVL 2

Accepted Solution

by:
mattaustin earned 500 total points
ID: 17891684
The check for flash has to be done client side.. so the page your are trying to view..probably sets a cookie or a form variable to tell the server side script you have flash and the show/hide the content.  You can use a program like HTTPWatch.. to see what exactly is being sent.   My guess would be a cookie. Then in LWP you can "hard code" that cookies into your lwp request.  Like I said it would be more help if we knew the url,  and I could tell you exactly what being sent to tell it you had flash.
0
 

Author Comment

by:TonyJix
ID: 17891713
Nice program.. I will be able to figure it out using that.

Greeting.
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question