Solved

LWP - Pretend to have flash installed

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

762 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

21 Experts available now in Live!

Get 1:1 Help Now