From: <[EMAIL PROTECTED]>
> Hi all,
>
> I am working on a small php script which should do the
> following. I want all the links in the page to be
> preceded by first character and first two characters
> of the link.Please look into the example below for
> more
> clarification.
>
> eg.
> link here
Hi all,
I am working on a small php script which should do the
following. I want all the links in the page to be
preceded by first character and first two characters
of the link.Please look into the example below for
more
clarification.
eg.
link here to be
replaced as
link here
I guess, this i
Hi Daniel,
"José daniel ramos wey" ...
> Hi! I´m new to regular expressions, and it seems to be an art to make it
> work as expected.
>
> I´m trying to remove all "single-line" comments from an string - that´s
> everything after "//" to the end of a line. I expected that this would do
> the job:
> if (($hostname) || ($HOSTNAME)) {
>$hostname= trim($hostname);
>if ($HOSTNAME)
> $hostname = trim($HOSTNAME);
>if (!eregi("^[-a-z0-9-]+(\.[a-z0-9-]+)*$ ", $hostname)) {
> print_error("your your hostname is invalid");
>}
>$HOSTNAME = $hostname;
> }
Things I know a
4 matches
Mail list logo