?
Solved

i have a link that have a ? in it like this ?http://www.dsdks.com/dsaljnd.rar i want to take the ? off the link how can i do that?

Posted on 2008-10-01
2
Medium Priority
?
188 Views
Last Modified: 2012-05-05
$link = ?http://www.dsdks.com/dsaljnd.rar

i want the link like this

http://www.dsdks.com/dsaljnd.rar 
how ?
0
Comment
Question by:mgtm3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Expert Comment

by:khaledf
ID: 22619897
you can do it like this

0
 
LVL 9

Accepted Solution

by:
khaledf earned 2000 total points
ID: 22619962
LOL forgot the code, here it is

$strlength= strlen($link);
$link=substr($link,1,$strlength);
echo $link;

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

771 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