Author Topic: What is a "download.php" file in OS 10?  (Read 1804 times)

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
What is a "download.php" file in OS 10?
« on: May 16, 2003, 10:54:52 AM »
My son downloaded what he thought was an mp3 sound file
last night and it downloaded as "download.php".

We tried to get iTunes to play it but it wouldn't.

I tried changing the .php to .mp3 and it changed
the look of the file but iTunes still wouldn't open it.

Any ideas?

I thought maybe it might be compressed and that Stuffit
might open it but it wouldn't. I'm wondering if I need to change the
extension to .sit or something.

 wallbash.gif
Gary S

Offline pendragon

  • TS Addict
  • *****
  • Posts: 7178
    • View Profile
    • http://www.pendragonservices.com
What is a "download.php" file in OS 10?
« Reply #1 on: May 16, 2003, 11:03:34 AM »
Gary, Not sure if this helps, but...

In Web programming, PHP is a script language and interpreter that is freely available and used primarily on Linux Web servers. PHP, originally derived from Personal Home Page Tools, now stands for PHP: Hypertext Preprocessor, which the PHP FAQ describes as a "recursive acronym."

PHP is an alternative to Microsoft's Active Server Page (ASP) technology.  As with ASP, the PHP script is embedded within a Web page along with its HTML. Before the page is sent to a user that has requested it, the Web server calls PHP to interpret and perform the operations called for in the PHP script.

An HTML page that includes a PHP script is typically given a file name suffix of ".php" ".php3," or ".phtml". Like ASP, PHP can be thought of as "dynamic HTML pages," since content will vary based on the results of interpreting the script.

PHP is free and offered under an open source license.

Perhaps your son downloaded the page and not just the song.

Harv
« Last Edit: May 16, 2003, 11:08:01 AM by pendragon »
Those who can make you believe absurdities can make you commit atrocities. ~ Voltaire

Offline Spartacus

  • TS Addict
  • *****
  • Posts: 547
    • View Profile
    • http://www.theapplemuseum.com
What is a "download.php" file in OS 10?
« Reply #2 on: May 16, 2003, 11:34:58 AM »
There are serveral websites that use PHP scripts for their downloads.

It's a Mac-only problem. These scripts are supposed to redirect to the file you're trying to download.
And that's what the script does.
The only problem is, that on the Mac the file is not renamed. Hence, you have successfully downloaded a file but it's called download.php like the script is called (and won't open with anything but a text editor).

Usually it is .zip file. Hence, you should try to re-name it download.zip.
If that doesn't work, go to the page where the file came from. Usually, you should be able to find the file name and type somewhere.
« Last Edit: May 16, 2003, 11:35:59 AM by Spartacus »
Power Macintosh G5 (Late 2004), 1.8 GHz, 1GB RAM, DVD/CD-RW combo, ATI Radeon 9600XT
w. Lacie electron blue IV 19-inch CRT display
iPod mini, 4 GB
AirPort Express
HP LaserJet 4200N
HP DeskJet 6940

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
What is a "download.php" file in OS 10?
« Reply #3 on: May 16, 2003, 11:38:25 AM »
Thanks Harv and Spart. I'll try and see if changing it to a .zip will work. smile.gif
Gary S

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
What is a "download.php" file in OS 10?
« Reply #4 on: May 16, 2003, 05:25:00 PM »
Yeah Harv,thanks for making me think about picking up a new and improved webster.
Holy Cow! smile.gif smile.gif
Two cans and a string powered by a big mouth

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
What is a "download.php" file in OS 10?
« Reply #5 on: May 16, 2003, 11:21:48 PM »
Actually you don't have to rename it, just drop it on Stuffit Expander and it will unstuff to its own folder.


A Techsurvivors founder

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
What is a "download.php" file in OS 10?
« Reply #6 on: May 17, 2003, 10:46:23 AM »
Thanks.

I got it to open with Stuffit. biggrin.gif
Gary S