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
183 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
  • 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to count occurrences of each item in an array.
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 …

829 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