Solved

LWP - Pretend to have flash installed

Posted on 2006-11-07
5
306 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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 …
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now