Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
script won't run on my windows web server
Old 05-19-2012, 08:04 AM script won't run on my windows web server
Average Talker

Posts: 23
Trades: 0
I have a php script that reads a directory of mp3 files and plays them in the mp3 player that's embedded in my website. (http://talytech.com/flashmp3player/flashmp3player.html)

But that same script and files and folder set up, I used on another client's website and the mp3 player shows up but it doesn't list or play the mp3 files. (http://lovedistrictlive.com/Test/flashmp3player.html)

The only difference between the two websites (talytech.com and lovedistrictlive.com) is the type of servers they reside on.

Talytech.com is on a Linux server and Lovedistrictlive.com is on a Windows server.

I'm not sure what the problem is. Lovedistrictlive.com definitely supports php because i created a simple php to return "hello dummy" and it processed it just fine. And the php version is 5.

Are there any ideas why my mp3 files won't play on the Windows server?

I've attached my php script via zip file. This php script is in the same location as the mp3 folder which contains the files.

Any help would be greatly appreciated.
Attached Files
File Type: zip flashmp3player.zip (11.5 KB, 1 views)
talytech is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-19-2012, 08:16 AM Re: script won't run on my windows web server
chrishirst's Avatar
Defies a Status

Posts: 43,971
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Some things in PHP are not supported when it is runiing on some Windows (IIS) versions DOCUMENT_ROOT is one example. Is PEAR installed on the Windows box? (Run phpinfo() to see)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-19-2012, 09:25 AM Re: script won't run on my windows web server
Average Talker

Posts: 23
Trades: 0
I'm sorry but I don't know what PEAR is and what I should be looking for in the phpinfo. I ran phpinfo on both servers but I didn't see any reference to PEAR on neither. Is there somewhere on the php info page I should be looking for the word PEAR?
talytech is offline
Reply With Quote
View Public Profile
 
Old 05-19-2012, 11:17 AM Re: script won't run on my windows web server
chrishirst's Avatar
Defies a Status

Posts: 43,971
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://pear.php.net/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to script won't run on my windows web server
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.73310 seconds with 12 queries