Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Błędna podmiana linków w php BBCode, bug?
tolomei
post 12.04.2013, 22:48:35
Post #1





Grupa: Zarejestrowani
Postów: 450
Pomógł: 135
Dołączył: 18.11.2010
Skąd: Wschowa

Ostrzeżenie: (0%)
-----


Witam.

Dziś miałem problem ze stworzeniem posta na forum.
Wszystkie linki jakie wpisze się do znacznika php są zamieniane automatycznie na klikalne linki.
Poniżej demonstracja:

Chcę napisać taki post:
Kod
[php]
<?php
$string = 'bla bla bla http://forum.php.pl bla bla bla';
[/php]


Kopiuję powyższe i wklejam w następnej linii:
  1. <?php
  2. $string = 'bla bla bla http://forum.php.pl bla bla bla';


Link, został podmieniony i w żadnym wypadku nie da się tego ominąć jeżeli chcemy używać php BBCode.

Dzięki i pozdrawiam.

Ten post edytował tolomei 12.04.2013, 22:52:16


--------------------
“ Computers are good at following instructions, but not at reading your mind. ”
- Donald Knuth
Go to the top of the page
+Quote Post
GrayHat
post 16.04.2013, 10:35:18
Post #2





Grupa: Zarejestrowani
Postów: 566
Pomógł: 18
Dołączył: 23.08.2003
Skąd: Łomża

Ostrzeżenie: (0%)
-----


it is not a bug, it is a future biggrin.gif


--------------------
*Note: No animals were killed durning the construction of this post.
Go to the top of the page
+Quote Post
rocktech.pl
post 16.04.2013, 10:40:57
Post #3





Grupa: Zarejestrowani
Postów: 587
Pomógł: 131
Dołączył: 8.02.2010

Ostrzeżenie: (0%)
-----


Witam.

Da się

  1. <?php
  2. $string = 'bla bla bla http://forum.php.pl bla bla bla';


Zamiast / dajesz &amp;#47;

Ten post edytował rocktech.pl 16.04.2013, 10:42:42


--------------------
Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo. --Brian Moore

I never go looking for a sucker. I look for a Champion and make a sucker of of him. --Amarillo Slim


Home-made : js-gui-classes | Accordion | Tabs | Carousel / php-sms-classes | Obsługa bramki SMS MultiInfo | Obsługa bramki SMS Mobiltek
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 24.04.2024 - 21:09