hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : PHP coding for songs
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

PHP coding for songs

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-18-2010, 01:22 AM
aliamm8 aliamm8 is offline
New Member
 
Join Date: Oct 2010
Posts: 1

PHP coding for songs


HI!

I try to make u my que understand

I give an example

I have a file named "album<space>song" but as far as I know I can't use spaces in a file to upload in my site for downloading so I will have to do something like this.
"album-song" or "album_song"

I need space in between so that when some1 downloads this file it should be downloaded as "album<space>song"

can any1 provide me a code?

I will b v.v.v thankful

Reply With Quote


Sponsored Links
  #2  
Old 10-18-2010, 05:32 AM
sibsoft sibsoft is offline
Newbie
 
Join Date: Apr 2006
Posts: 12
Why you can't spaces in files for uploads? It's allwed by RFC. If you have some software which doesnt work property with file names with spaces - that will be better to fix it 9if it's a script), rather than changing file name during upload/download.

Reply With Quote
  #3  
Old 10-19-2010, 09:36 AM
REMX REMX is offline
Junior Guru
 
Join Date: Sep 2010
Location: London
Posts: 196
Use %20 instead of space

__________________
DNS, Web Hosting, Virtual Private Servers, Dedicated Servers and Cloud Hosting. Based in Europe. Direct internet exchanges available. 1H return Priority Support. Call centres in 5 major countries with local rate numbers. 100% SLA. Corporate clients only.

Reply With Quote
Sponsored Links
  #4  
Old 10-19-2010, 11:10 AM
max_ max_ is offline
Newbie
 
Join Date: Oct 2010
Posts: 23
with PHP, you can use urlencode and urldecode functions especially if you pass variables to another page.

Reply With Quote
  #5  
Old 10-23-2010, 04:43 AM
tusharambalia tusharambalia is offline
Newbie
 
Join Date: Oct 2010
Location: India
Posts: 7
Use str_replace function for it.

Regards,
Tushar Ambalia.

<< signatures are to be set up via profiles only >>


Last edited by writespeak; 10-23-2010 at 12:52 PM.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
For Hire: php,mysql programmers- custom php coding,Joomla,Drupal,wordpress,oscommerce gwsolutions Employment / Job Requests 2 02-10-2010 06:49 AM
For Hire: Exp web designer & php developer-joomla,mambo,oscommerce,custom php coding gwsolutions Employment / Job Requests 0 07-18-2007 06:42 AM
[NEED] - PHP Coding rurbaniak Other Offers & Requests 2 10-18-2005 04:07 PM
PHP Coding [GWiz] Scott Programming Discussion 6 04-09-2003 01:12 PM

Related posts from TheWhir.com
Title Type Date Posted
CloudMine Launches Cloud Backend-as-a-Service Platform Web Hosting News 2012-06-22 12:04:04
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Cloud Host ScaleXtreme Launches Cloud Service Provider Program Web Hosting News 2012-01-31 16:55:10
Web Host Carpathia Provides Colocation, Hosting for Spotify US Web Hosting News 2011-09-07 20:22:53
US-CERT Publishes Recommendations for Preventing Cyber Security Attacks Web Hosting News 2011-07-22 19:07:35


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?