[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-programlama
Subject:    [Linux-programlama] Re: =?utf-8?q?PHP_de_yaz=C4=B1_b=C3=B6lme?=
From:       Atıf CEYLAN <mehmet () atifceylan ! com>
Date:       2011-08-13 8:56:18
Message-ID: 4E463C32.4010208 () atifceylan ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


html icin
str_replace('<!--more>','<br>',$str);
shell icin str_replace('<!--more>',"\n",$str);

On 08/13/2011 11:29 AM, Erdal YAZICIOGLU wrote:
> Günaydın
>
> Wordpress'de olduğu gibi <!--more> tag'inin görüldüğü yerden yazıyı 
> kesmek istiyorum. Bunun için explode dışında kullanabileceğim bir 
> fonksiyon var mıdır?
>
> ps: Daha önce de yazmıştım ancak cevap alamadım. Tekrar lazım oldu ...
>
> -- 
> Erdal YAZICIOGLU
> *Shell Pearl GTL Project 
> <http://www.shell.com/home/content/aboutshell/our_strategy/major_projects_2/pearl/>*
> Telecoms System Integrator
> Project Engineer Manager
> RLIC, State of Qatar
> www.erdalyazicioglu.com.tr <http://www.erdalyazicioglu.com.tr>
> Twitter: @chveneburo
>
>
>
> _______________________________________________
> Linux-programlama mailing list
> Linux-programlama@liste.linux.org.tr
> https://liste.linux.org.tr/mailman/listinfo/linux-programlama
> Liste kurallari: http://liste.linux.org.tr/kurallar.php
>    


-- 
/**
* *@author* Atıf CEYLAN
* Software Developer & System Admin
* http://www.atifceylan.com
*/

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
html icin<br>
str_replace('&lt;!--more&gt;','&lt;br&gt;',$str);<br>
shell icin str_replace('&lt;!--more&gt;',"\n",$str);<br>
<br>
On 08/13/2011 11:29 AM, Erdal YAZICIOGLU wrote:
<blockquote
 cite="mid:CAMp8iuHXwqjSqcuoUzG+YHwjpRt-w=w6mG0JeQPygKS3o9kkaA@mail.gmail.com"
 type="cite">
  <div dir="ltr">Günaydın<br>
  <br>
Wordpress'de olduğu gibi &lt;!--more&gt; tag'inin görüldüğü yerden
yazıyı kesmek istiyorum. Bunun için explode dışında kullanabileceğim
bir fonksiyon var mıdır?<br>
  <br>
ps: Daha önce de yazmıştım ancak cevap alamadım. Tekrar lazım oldu ...<br
 clear="all">
  <br>
-- <br>
  <div dir="ltr">Erdal YAZICIOGLU</div>
  <div dir="ltr"><b><a moz-do-not-send="true"
 href="http://www.shell.com/home/content/aboutshell/our_strategy/major_projects_2/pearl/"
  target="_blank">Shell Pearl GTL Project</a></b></div>
  <div dir="ltr">Telecoms System Integrator</div>
  <div dir="ltr">Project Engineer Manager</div>
  <div dir="ltr">RLIC, State of Qatar<br>
  <a moz-do-not-send="true" href="http://www.erdalyazicioglu.com.tr"
 target="_blank">www.erdalyazicioglu.com.tr</a><br>
Twitter: @chveneburo<br>
  </div>
  <div dir="ltr"><br>
  </div>
  <br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Linux-programlama mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Linux-programlama@liste.linux.org.tr">Linux-programlama@liste.linux.org.tr</a>
 <a class="moz-txt-link-freetext" \
href="https://liste.linux.org.tr/mailman/listinfo/linux-programlama">https://liste.linux.org.tr/mailman/listinfo/linux-programlama</a>
 Liste kurallari: <a class="moz-txt-link-freetext" \
href="http://liste.linux.org.tr/kurallar.php">http://liste.linux.org.tr/kurallar.php</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font face="verdana" size="1">/**<br>
* <strong>@author</strong> Atıf CEYLAN<br>
* Software Developer &amp; System Admin<br>
* <a class="moz-txt-link-freetext" \
                href="http://www.atifceylan.com">http://www.atifceylan.com</a><br>
*/
</font></div>
</body>
</html>



_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
https://liste.linux.org.tr/mailman/listinfo/linux-programlama
Liste kurallari: http://liste.linux.org.tr/kurallar.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic