gunmetal Posted October 18, 2010 Report Share Posted October 18, 2010 (edited) noteikti ir jau bijis šāds topic, bet nezinu kā to meklēt :D http://draugiem.lv bet kā uztaisīt lai url būtu ar <a href> efektu? Edited October 18, 2010 by gunmetal Quote Link to comment Share on other sites More sharing options...
mefisto Posted October 18, 2010 Report Share Posted October 18, 2010 emm ... tur tiešām esi tik .. ehh <a href="http://who.cares">http://who.cares</a> Un kāds tam sakars ar php ? Quote Link to comment Share on other sites More sharing options...
gunmetal Posted October 18, 2010 Author Report Share Posted October 18, 2010 nu jā ļoti slikti noformulēju :DDD kad man pievieno datubāzei foruma tekstu ar http:// man vajag lai to iznestu ar <a href> efektu nevis vienkārša teksta efektu :D Quote Link to comment Share on other sites More sharing options...
mefisto Posted October 18, 2010 Report Share Posted October 18, 2010 http://php.net/preg-replace Quote Link to comment Share on other sites More sharing options...
Faks Posted October 19, 2010 Report Share Posted October 19, 2010 personīgi es izmantoju šadu varijantu :) <a href='{$row[user_web]}'>$row[user_web]</a> Quote Link to comment Share on other sites More sharing options...
anonīms Posted October 20, 2010 Report Share Posted October 20, 2010 bez htmlspecialchars? nebūs labi. Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 20, 2010 Report Share Posted October 20, 2010 bez htmlspecialchars? nebūs labi. Un kads peec tavam domaam buus efekts ja izmantos htmlspecialchars() ?? Ja adresee buus tie specialie simboli, tad izvadiis NEKOREKTu adresi. prbaude uz sliktajiem (aizliektjiem simboliem) javeic PIRMS ievietoshans DB .. Piedevam htmlspecialchars() tpat nevar izmantot ... Quote Link to comment Share on other sites More sharing options...
anonīms Posted October 20, 2010 Report Share Posted October 20, 2010 prbaude uz sliktajiem (aizliektjiem simboliem) javeic PIRMS ievietoshans DB .. Un kur ir apstiprinājums, ka viņš to veic? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.