Browse by Tags
I need help with a regular expression in PHP, I have made a small forum, and I am adding features, up until now whenever someone types a url "http://..........." I use a regex to make a link, but now I have new features, one of them is adding youtube videos, to do this I ask my members to simply type youtube(youtube_url)
the problem is ...
I need your help in building a RegExp (to be used in PHP) that will append a parameter (?param=value) to the URL.
They follow this format: http://website.com/abcdef123456.html or this format : http://website.com/a/category/123456-ABC/Long_description_goes_here.html
Here's what I want to achieve.
Anybody out there, I'd be immensly greatful if you helped me fix one regular expressions of mine.
Basically I've written a regular expression in PHP identifying a pattern of a certain type of URL
it will catch strings of URLs from the 'http://dx.doi.org/' domain, looking ...
I am using PHP5 on a XAMP installation.
I am trying to extract a specific variable from a querystring (which is stored in my MySQL DB)
The format of the string is always consists of the same parameters (p, x & y), however sometimes they could be in a different order.
A sample querysting is below and I am ...
Hello, I am building some custom urls for finding images online. These are like:
Usually these are isbns or upc codes for products or books.
I am currently doing string replacement by php, for substituting the number by an expression and replacing that expression with whatver number, when I do a ...