Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6179601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:41:51+00:00 2026-05-24T00:41:51+00:00

Ive been looking all over but couldn’t find anything so I am here to

  • 0

Ive been looking all over but couldn’t find anything so I am here to resort to my last hope resort 🙂

I am trying to create some type of page viewing statistics for only files of mine that end with swf.
I was wondering if its possible that htaccess can request the URL of another php file if the file extension they are going to ends in .swf but still land on the swf page.

I know i could easily use javascript with a link onclick function but this simply wont work for direct links/reefer’s.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:41:52+00:00Added an answer on May 24, 2026 at 12:41 am

    This isn’t related to .htaccess because I don’t think what you want to do is possible with .htaccess (But don’t quote me on that)

    You could make a PHP page like this:

    <?php
    
    header('Content-type: application/x-shockwave-flash');    
    $content = file_get_contents('swffile.swf');
    echo $content;
    
    // Stat tracking code here 
    
    ?>
    

    Then you could send people directly to it and it would act like a .swf file. Since you’d be making a lot of calls to file_get_contents('swffile.swf'); which reads the file of the hard disk you’d probably also want to look into something like PHP Memcache, so you could cache the contents of you .swf file in your servers RAM and significantly speed up the request time 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking all over the place, but I can't find anything. Can anyone
Okay, I've been looking all over the web to find a solution but I
I've been looking all over for some mention of this, but I cannot find
So, I've been looking all over. I can't find anywhere that talks about specifically
Normally, I'm a big stickler for jfGit, but I've been looking all over the
I've been looking all over the site for a similar issue, but none of
I've been looking all over the net and asking people for guidance but nobody
Ive been all over looking for a way to disable the network adapter through
I've been looking all over the internet for a solution to the following error;
I've been looking all over for a simple example of how to have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.