Loading ...
Sorry, an error occurred while loading the content.

RE: [oL] Re: character ' and "

Expand Messages
  • O'Reilly, David
    Hey mate, no worries about the english :-) Then you need to use the escape code to populate the string, off the top of my head I am not sure if this will work,
    Message 1 of 16 , Oct 1, 2003
    • 0 Attachment
      Hey mate, no worries about the english :-)
       
      Then you need to use the escape code to populate the string, off the top of my head I am not sure if this will work, but try it:
       
      "Don't ya love life"
       
      try:
       
      "don%22t ya love life"
       
      Let me know how it goes, hopefully it won't print the escape codes along with it.
       
      Thanks
      David
      -----Original Message-----
      From: yclan_m [mailto:k0map@...]
      Sent: 30 September 2003 19:19
      To: overlib@yahoogroups.com
      Subject: [oL] Re: character ' and "

      --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
      wrote:
      > Yes mate,

      > You can't just use that, you need to escape it as you are writing
      to a
      > string.

      > Please escape it with a "slash" like so: \

      > so:

      > $var = "this is an example of how \"escaping codes\" workd"

      > Thanks a million
      > Dave

      >/terms/> .


      it's not so easy - the text is HTML with <img> tag and it's post
      automaticly without my intervention! I can't edit every text &
      posting of this, is that a script to change a " with \" or &quot; or
      something like that?


      sorry for my english!

      Best Regards!




      To unsubscribe from this group, send an email to:
      overlib-unsubscribe@yahoogroups.com

      Homepage: http://www.bosrup.com/web/overlib/
      Archive: http://groups.yahoo.com/group/overlib/


      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    • O'Reilly, David
      Also, if that doesn t work then a fast and dirty solution would be to set up a load of variables and then pass them to be displayed by overlib. So $dave =
      Message 2 of 16 , Oct 1, 2003
      • 0 Attachment
        Also,
         
        if that doesn't work then a fast and dirty solution would be to set up a load of variables and then pass them to be displayed by overlib.
         
        So
         
        $dave = "this is a \"quoted\" text";
        $date2 = "this is other slashed text with lots of \"quotey bits\"";
         
        then where you would put your string $dave in place of your text without quotes and also $dave2 for another popup.
         
        Thanks
        Dave
        -----Original Message-----
        From: yclan_m [mailto:k0map@...]
        Sent: 30 September 2003 19:19
        To: overlib@yahoogroups.com
        Subject: [oL] Re: character ' and "

        --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
        wrote:
        > Yes mate,

        > You can't just use that, you need to escape it as you are writing
        to a
        > string.

        > Please escape it with a "slash" like so: \

        > so:

        > $var = "this is an example of how \"escaping codes\" workd"

        > Thanks a million
        > Dave

        >/terms/> .


        it's not so easy - the text is HTML with <img> tag and it's post
        automaticly without my intervention! I can't edit every text &
        posting of this, is that a script to change a " with \" or &quot; or
        something like that?


        sorry for my english!

        Best Regards!




        To unsubscribe from this group, send an email to:
        overlib-unsubscribe@yahoogroups.com

        Homepage: http://www.bosrup.com/web/overlib/
        Archive: http://groups.yahoo.com/group/overlib/


        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      • yclan_m
        Hi! ... $result = sql_query( select sid, title, hometext from .$prefix. _stories $querylang order by sid DESC limit 0,10 , $dbi); while(list($sid, $title,
        Message 3 of 16 , Oct 1, 2003
        • 0 Attachment
          Hi!

          actually, my code is someting like that:

          ---------------
          $result = sql_query("select sid, title, hometext
          from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
          $dbi);
          while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))

          {
          echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
          onmouseover=\"return overlib('$hometext');\" onmouseout=\"return nd
          ();\"><b>$title</b></a><br>";
          }
          ----------------
          case(1)
          where $hometext = <img src=imagepath align=left border=0>text text
          text text text text text text text text text text text text text

          case(2)
          but sometimes $hometext = <img src=imagepath align=left border=0>text
          text text "text text text" text text text text "text" text text text
          text
          ----------------
          in case(1) everything is perfect!

          but

          in case(2) with quotes !!! script not worcing corectly.
          I can't check every case :(

          tanx again



          > load of variables and then pass them to be displayed by overlib.
          >
          > So
          >
          > $dave = "this is a \"quoted\" text";
          > $date2 = "this is other slashed text with lots of \"quotey bits\"";
          >
          > then where you would put your string $dave in place of your text
          without
          > quotes and also $dave2 for another popup.
          >
          > Thanks
          > Dave
        • O'Reilly, David
          so your using PHP? Ok that makes things different mate, the code I gave you was for javascript. Use the PHP mysql_real_escape (if you have it) and then just
          Message 4 of 16 , Oct 1, 2003
          • 0 Attachment
            so your using PHP?
             
            Ok that makes things different mate, the code I gave you was for javascript.
             
            Use the PHP mysql_real_escape (if you have it) and then just echo that text into a javascript variable like so:
             
            jsvalue = '<?php echo $mycode-after-escaping-it; ?>';
             
            then just send jsvalue to overlib
            -----Original Message-----
            From: yclan_m [mailto:k0map@...]
            Sent: 01 October 2003 11:40
            To: overlib@yahoogroups.com
            Subject: [oL] Re: character ' and "

            Hi!

            actually, my code is someting like that:

            ---------------
            $result = sql_query("select sid, title, hometext
            from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
            $dbi);
            while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))

            {
            echo "<a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\"
            onmouseover=\"return overlib('$hometext');\" onmouseout=\"return nd
            ();\"><b>$title</b></a><br>";
            }
            ----------------
            case(1)
            where $hometext = <img src=imagepath align=left border=0>text text
            text text text text text text text text text text text text text

            case(2)
            but sometimes $hometext = <img src=imagepath align=left border=0>text
            text text "text text text" text text text text "text" text text text
            text
            ----------------
            in case(1) everything is perfect!

            but

            in case(2) with quotes !!! script not worcing corectly.
            I can't check every case :(

            tanx again



            > load of variables and then pass them to be displayed by overlib.

            > So

            > $dave = "this is a \"quoted\" text";
            > $date2 = "this is other slashed text with lots of \"quotey bits\"";

            > then where you would put your string $dave in place of your text
            without
            > quotes and also $dave2 for another popup.

            > Thanks
            > Dave




            To unsubscribe from this group, send an email to:
            overlib-unsubscribe@yahoogroups.com

            Homepage: http://www.bosrup.com/web/overlib/
            Archive: http://groups.yahoo.com/group/overlib/


            Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
          • yclan_m
            ... javascript. ... that text ... Hi again :)! tanx! look at that: ... $result = sql_query( select sid, title, hometext from .$prefix. _stories $querylang
            Message 5 of 16 , Oct 2, 2003
            • 0 Attachment
              --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
              wrote:
              > so your using PHP?
              >
              > Ok that makes things different mate, the code I gave you was for
              javascript.
              >
              > Use the PHP mysql_real_escape (if you have it) and then just echo
              that text
              > into a javascript variable like so:
              >
              > jsvalue = '<?php echo $mycode-after-escaping-it; ?>';
              >
              > then just send jsvalue to overlib

              Hi again :)!

              tanx! look at that:

              I change my code to:
              -------------
              $result = sql_query("select sid, title, hometext
              from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
              $dbi);
              while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
              {

              $escaped_item = mysql_escape_string($hometext);

              echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
              onmouseover=\"return overlib('$escaped_item');\" onmouseout=\"return
              nd();\"><b>$title</b></a><br>";

              }
              ------------------
              and a half of problem is done, but some texts is not !

              go to my test place:
              http://kidsbg.com/modules.php?name=Main&file=pr

              just uder the:

              Ïîñëåäíèòå Íîâèíè
              text text text text text text text text text

              is try to using a overlib
              ----------------------

              part of rezult HTML code:

              <font class="title"><center>Ïîñëåäíèòå Íîâèíè</center></font>text
              text text text text text text text text <hr color="#FFC53A"><a
              href="modules.php?name=News&file=article&sid=173"
              onmouseover="return overlib('<img src=images/news/ngkids.jpg
              align=left> Äåòñêîòî èçäàíèå íà ïðåñòèæíîòî ñïèñàíèå òðúãíà íà
              áúëãàðñêè ïîä èìåòî \'Îòêðèâàòåë\' <br />\r\nÌèòè÷íèÿò Ïåðïåðèêîí,
              ñíèìàí è îïèñàí îò Èâàí Áàêàëîâ, è ñèìâîëúò íà íàøàòà ÷åðíîìîðñêà
              ñàóíà - ìîðñêîòî êîí÷å, \"óëîâåíî\" îò Ëþáîìèð Êëèñóðîâ, ñà ÷àñò îò
              òåìèòå â ïðåìèåðíèÿ áðîé íà \"Îòêðèâàòåë\", áúëãàðñêîòî èçäàíèå íà
              äåòñêèÿ \"Íàøúíúë Äæåîãðàôèê\" (NG Kids). ');" onmouseout="return nd
              ();"><b>Ïåðïåðèêîí è ÷åðíîìîðñêè îáèòàòåëè âëÿçîõà â 'Íàøúíúë
              Äæåîãðàôèê'</b></a><br><a href="modules.php?
              name=News&file=article&sid=172" onmouseover="return overlib('
              <img src=images/news/bg_map.gif align=left>Ñëåä 20 ãîäèíè ìëàäèòå
              áúëãàðè íà âúçðàñò ìåæäó 20 è 29 ãîäèíè ùå ñà åäâà 670 000, èíôîðìèðà
              ÁÍÐ, öèòèðàéêè äàííè íà ìëàäåæêàòà îðãàíèçàöèÿ \"Ãåíåðàöèÿ 21\".
              Ñïîðåä ïðîó÷âàíåòî åäèí ìèëèîí ìëàäåæè ñà íàïóñíàëè ñòðàíàòà îò 1989
              ã. íàñàì. Îò òÿõ 840 000 ñà áèëè íà âúçðàñò äî 29 ã. <br />\r\n');"
              onmouseout="return nd();"><b>Ñëåä 20 ãîäèíè ìëàäèòå áúëãàðè ùå ñà
              ìàëêî íàä 600 000</b></a><br><a href="modules.php?
              name=News&file=article&sid=171" onmouseover="return overlib
              ('<img src=images/news/chemistry.jpg align=left>Ó÷åíè ñå îïèòâàò äà
              îáÿñíÿò îòêúäå è êàê ñà ñå ïîÿâèëè â Êîñìîñà õèìè÷åñêèòå åëåìåíòè,
              íóæíè çà âúçíèêâàíåòî íà æèâîòà. Ñïîðåä ñúâðåìåííèòå ïðåäñòàâè çà
              åâîëþöèÿòà íà Âñåëåíàòà â ðàííèÿ ñòàäèé îò ðàçâèòèåòî é â íåÿ èìàëî
              ãîëÿìî êîëè÷åñòâî âúãëåðîä è õåëèé è ìàëêè ëèòèé. Îòñúñòâàëè îáà÷å
              òåæêèòå õèìè÷íè åëåìåíòè, áåç êîèòî âúçíèêâàíåòî íà æèâîòà å
              íåâúçìîæíî, îòáåëÿçâà ÈÒÀÐ-ÒÀÑÑ. ');" onmouseout="return nd
              ();"><b>Êàê ñà ñå ïîÿâèëè õèìè÷åñêèòå åëåìåíòè?</b></a><br><a
              href="modules.php?name=News&file=article&sid=170"
              onmouseover="return overlib('<img src=images/news/madonnabook.jpg
              border=0 align=left>    Ïúðâàòà êíèãà íàïèñàíà îò ïîï çâåçäàòà Ìàäîíà
              ñòàíà íàé-óñïåøíàòà èëþñòðîâàíà äåòñêà êíèæêà â èñòîðèÿòà íà
              ñâåòîâíîòî êíèãîðàçïðîñòðàíåíèå ñúîáùàâà <a
              href=http://www.ananova.com target=blank><b>Ananova</b></a>!');"
              onmouseout="return nd();"><b>Ìàäîíà ùóðìóâà êíèæíèÿ
              ïàçàð</b></a><br><a href="modules.php?
              name=News&file=article&sid=169" onmouseover="return overlib
              ('<img src=images/news/harry.jpg align=left>     \"Õàðè Ïîòúð è
              íàóêàòà\", íîâîïîÿâèë ñå ó÷åáåí êóðñ êúì \"Frostburg State
              University\", ïðåäëàãà íà ôåíîâå íà èçâåñòíèòå ôàíòàñòè÷íè íîâåëè íà
              Äæ.Ê.Ðîóëèíã âúçìîæíîñòòà äà èçó÷àâàò âðúçêàòà ìåæäó ìàãèÿòà è
              íàóêàòà.');" onmouseout="return nd();"><b>Ó÷åáåí êëàñ, ïîñâåòåí íà
              Õàðè Ïîòúð â Ìåðèëåíä</b></a><br><a href="modules.php?
              name=News&file=article&sid=168" onmouseover="return overlib
              ('<img src=images/news/retroradio.jpg border=0 align=left>   Îò 15
              ñåïòåìâðè Ðåòðî Ðàäèî ñòàðòèðà ãîëÿìà íàöèîíàëíà êàìïàíèÿ ÍÀ Ó×ÈËÈÙÅ
              Ñ ÐÅÒÐÎ ÐÀÄÈÎ È ÒÀÍÃ â ïîìîù íà ïúðâîêëàñíèöèòå â Áúëãàðèÿ.
              Êàìïàíèÿòà èìà çà öåë äà ïðèâëå÷å îáùåñòâåíîòî âíèìàíèå êúì ïúðâèÿ
              ó÷åáåí äåí, äà ïîìîãíå íà ïúðâîêëàñíèöèòå, äà ïîâäèãíå âúïðîñè,
              ñâúðçàíè ñ íà÷àëíîòî îáðàçîâàíèå, êàêòî è äà ðàçäàäå ãîëåìè íàãðàäè
              íà ó÷åíèöèòå.');" onmouseout="return nd();"><b>Íà Ó÷èëèùå ñ Ðåòðî
              Ðàäèî è Òàíã</b></a><br><a href="modules.php?
              name=News&file=article&sid=167" onmouseover="return overlib
              ('<img src=images/news/homework.jpg border=0 align=left>    Âñÿêà
              âå÷åð â ìèëèîíè äîìîâå ïî öåëèÿ ñâÿò ñå ðàçèãðàâà\r\n åäíà è ñúùà
              ïèåñà, ñâúðçàíà ñ äåöàòà è òåõíèòå äîìàøíè. Â òàçè ïèåñà ìîãàò\r\n
              äà ó÷àñòâàò ðàçëè÷íè äåéñòâàùè\r\n ëèöà, íî ñöåíàðèÿò âèíàãè å åäèí
              è ñúù.');" onmouseout="return nd();"><b>Êàêâî èìàòå çà Äîìàøíà Ðàáîòà?
              </b></a><br><a href="modules.php?
              name=News&file=article&sid=166" onmouseover="return overlib
              ('<img src=images/news/vitochka.jpg align=left border=0>   Òðúãâàìå
              ïåøà íà Åâðîïåéñêèÿ äåí áåç àâòîìîáèëè.<br>\r\nÑàìî ëèíåéêè è ðåéñîâå
              ùå ñå äâèæàò ïî öåíòðàëíèòå óëèöè.<br>\r\nÂñè÷êè ãîëåìè ãðàäîâå ó íàñ
              ùå áúäàò çàòâîðåíè çà êîëè â ïðîäúëæåíèå íà 6 ÷àñà óòðå.\r\n');"
              onmouseout="return nd();"><b>Çàáðàíÿâàò êîëèòå â ãîëåìèòå
              ãðàäîâå</b></a><br><a href="modules.php?
              name=News&file=article&sid=165" onmouseover="return overlib
              ('<img src=\"images/news/oleary3.gif\" align=\"left\">Ãëîáà îò 50 äî
              1000 ëâ. î÷àêâà ðîäèòåëèòå, ÷èèòî äåöà õóëèãàíñòâàò.<br>\r\nÒîâà
              ïðåäâèæäàò ïðîìåíèòå â Çàêîíà çà áîðáà ñ îáùåñòâåíèòå ïðîÿâè íà
              ìàëîëåòíè, âíåñåí â ïàðëàìåíòà â ïåòúê. Ìàéêèòå è áàùèòå, êîèòî
              ïîçâîëÿâàò íà äåöàòà ñè äà ñêèòàò è âàíäàëñòâàò ïî óëèöèòå, ùå õîäÿò
              íà íåäåëíè ó÷èëèùà, ãëàñè ïðîåêòúò. <br><br>\r\nÈçòî÷íèê -
              www.standartnews.com');" onmouseout="return nd();"><b>1000 ëâ. ãëîáà
              çà áàùè íà õóëèãàíè</b></a><br><a href="modules.php?
              name=News&file=article&sid=164" onmouseover="return overlib
              ('<img src=\"images/news/guinea.jpg\" align=\"left\">Îñòàíêèòå íà
              âåëèêàíà áèëè íàìåðåíè êðàé ãðàä Óðóìàêî, íà 400 êì îò âåíåöóåëñêàòà
              ñòîëèöà Êàðàêàñ <br />\r\n<br />\r\n700-êèëîãðàìîâî ìîðñêî ñâèí÷å å
              áðîäèëî ïî ñâåòà ïðåäè 8 ìëí. ãîäèíè, ñúîáùè Áè Áè Ñè. Çâåð÷åòàòà
              òîãàâà ñà áèëè ñ ðàçìåðèòå íà áèçîí è âåðîÿòíî ñà ñå äâèæèëè íà
              ñòàäà, óòî÷íÿâàò èçñëåäîâàòåëèòå. Ôîñèëèòå íà âåëèêàíà áèëè íàìåðåíè
              êðàé ãðàä Óðóìàêî, íà 400 êì îò âåíåöóåëñêàòà ñòîëèöà Êàðàêàñ.
              <br />\r\n');" onmouseout="return nd();"><b>Îòêðèõà ãèãàíòñêî ìîðñêî
              ñâèí÷å, æèâÿëî ïðåäè 8 ìëí. ãîäèíè</b></a><br> <a href="modules.php?
              name=News"><b>Âèæ Âñè÷êè Íîâèíè</b></a> </td>

              ????????????????
            • O'Reilly, David
              Hi ya Hmm now Im confused :-) 1) I can t see your page as it times out 2) can t read your text at the end as it went all weird on me :-) I m in Ireland not
              Message 6 of 16 , Oct 2, 2003
              • 0 Attachment
                Hi ya
                 
                Hmm now Im confused :-)
                 
                1) I can't see your page as it times out
                2) can't read your text at the end as it went all weird on me :-) I'm in Ireland not Japan so can't read non-irish characters (such as US, UK, China or other such foreign and bizarre countries :p hehe
                 
                Can you just let me know what the problem is now. Hehe we must get this thing sorted someday!!! :-)
                 
                Thanx
                Dave
                 
                 
                 
                -----Original Message-----
                From: yclan_m [mailto:k0map@...]
                Sent: 02 October 2003 08:44
                To: overlib@yahoogroups.com
                Subject: [oL] Re: character ' and "

                --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
                wrote:
                > so your using PHP?

                > Ok that makes things different mate, the code I gave you was for
                javascript.

                > Use the PHP mysql_real_escape (if you have it) and then just echo
                that text
                > into a javascript variable like so:

                > jsvalue = '<?php echo $mycode-after-escaping-it; ?>';

                > then just send jsvalue to overlib

                Hi again :)!

                tanx! look at that:

                I change my code to:
                -------------
                $result = sql_query("select sid, title, hometext
                from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                $dbi);
                while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                {

                $escaped_item = mysql_escape_string($hometext);

                echo "<a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\"
                onmouseover=\"return overlib('$escaped_item');\" onmouseout=\"return
                nd();\"><b>$title</b></a><br>";

                }
                ------------------
                and a half of problem is done, but some texts is not !

                go to my test place:
                http://kidsbg.com/modules.php?name=Main&file=pr

                just uder the:

                Ïîñëåäíèòå Íîâèíè
                text text text text text text text text text

                is try to using a overlib
                ----------------------

                part of rezult HTML code:

                <font class="title"><center>Ïîñëåäíèòå Íîâèíè</center></font>text
                text text text text text text text text <hr color="#FFC53A"><a
                href="modules.php?name=News&amp;file=article&amp;sid=173"
                onmouseover="return overlib('<img src=images/news/ngkids.jpg
                align=left> Äåòñêîòî èçäàíèå íà ïðåñòèæíîòî ñïèñàíèå òðúãíà íà
                áúëãàðñêè ïîä èìåòî \'Îòêðèâàòåë\' <br />\r\nÌèòè÷íèÿò Ïåðïåðèêîí,
                ñíèìàí è îïèñàí îò Èâàí Áàêàëîâ, è ñèìâîëúò íà íàøàòà ÷åðíîìîðñêà
                ñàóíà - ìîðñêîòî êîí÷å, \"óëîâåíî\" îò Ëþáîìèð Êëèñóðîâ, ñà ÷àñò îò
                òåìèòå â ïðåìèåðíèÿ áðîé íà \"Îòêðèâàòåë\", áúëãàðñêîòî èçäàíèå íà
                äåòñêèÿ \"Íàøúíúë Äæåîãðàôèê\" (NG Kids). ');" onmouseout="return nd
                ();"><b>Ïåðïåðèêîí è ÷åðíîìîðñêè îáèòàòåëè âëÿçîõà â 'Íàøúíúë
                Äæåîãðàôèê'</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=172" onmouseover="return overlib('
                <img src=images/news/bg_map.gif align=left>Ñëåä 20 ãîäèíè ìëàäèòå
                áúëãàðè íà âúçðàñò ìåæäó 20 è 29 ãîäèíè ùå ñà åäâà 670 000, èíôîðìèðà
                ÁÍÐ, öèòèðàéêè äàííè íà ìëàäåæêàòà îðãàíèçàöèÿ \"Ãåíåðàöèÿ 21\".
                Ñïîðåä ïðîó÷âàíåòî åäèí ìèëèîí ìëàäåæè ñà íàïóñíàëè ñòðàíàòà îò 1989
                ã. íàñàì. Îò òÿõ 840 000 ñà áèëè íà âúçðàñò äî 29 ã. <br />\r\n');"
                onmouseout="return nd();"><b>Ñëåä 20 ãîäèíè ìëàäèòå áúëãàðè ùå ñà
                ìàëêî íàä 600 000</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=171" onmouseover="return overlib
                ('<img src=images/news/chemistry.jpg align=left>Ó÷åíè ñå îïèòâàò äà
                îáÿñíÿò îòêúäå è êàê ñà ñå ïîÿâèëè â Êîñìîñà õèìè÷åñêèòå åëåìåíòè,
                íóæíè çà âúçíèêâàíåòî íà æèâîòà. Ñïîðåä ñúâðåìåííèòå ïðåäñòàâè çà
                åâîëþöèÿòà íà Âñåëåíàòà â ðàííèÿ ñòàäèé îò ðàçâèòèåòî é â íåÿ èìàëî
                ãîëÿìî êîëè÷åñòâî âúãëåðîä è õåëèé è ìàëêè ëèòèé. Îòñúñòâàëè îáà÷å
                òåæêèòå õèìè÷íè åëåìåíòè, áåç êîèòî âúçíèêâàíåòî íà æèâîòà å
                íåâúçìîæíî, îòáåëÿçâà ÈÒÀÐ-ÒÀÑÑ. ');" onmouseout="return nd
                ();"><b>Êàê ñà ñå ïîÿâèëè õèìè÷åñêèòå åëåìåíòè?</b></a><br><a
                href="modules.php?name=News&amp;file=article&amp;sid=170"
                onmouseover="return overlib('<img src=images/news/madonnabook.jpg
                border=0 align=left>    Ïúðâàòà êíèãà íàïèñàíà îò ïîï çâåçäàòà Ìàäîíà
                ñòàíà íàé-óñïåøíàòà èëþñòðîâàíà äåòñêà êíèæêà â èñòîðèÿòà íà
                ñâåòîâíîòî êíèãîðàçïðîñòðàíåíèå ñúîáùàâà <a
                href=http://www.ananova.com target=blank><b>Ananova</b></a>!');"
                onmouseout="return nd();"><b>Ìàäîíà ùóðìóâà êíèæíèÿ
                ïàçàð</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=169" onmouseover="return overlib
                ('<img src=images/news/harry.jpg align=left>     \"Õàðè Ïîòúð è
                íàóêàòà\", íîâîïîÿâèë ñå ó÷åáåí êóðñ êúì \"Frostburg State
                University\", ïðåäëàãà íà ôåíîâå íà èçâåñòíèòå ôàíòàñòè÷íè íîâåëè íà
                Äæ.Ê.Ðîóëèíã âúçìîæíîñòòà äà èçó÷àâàò âðúçêàòà ìåæäó ìàãèÿòà è
                íàóêàòà.');" onmouseout="return nd();"><b>Ó÷åáåí êëàñ, ïîñâåòåí íà
                Õàðè Ïîòúð â Ìåðèëåíä</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=168" onmouseover="return overlib
                ('<img src=images/news/retroradio.jpg border=0 align=left>   Îò 15
                ñåïòåìâðè Ðåòðî Ðàäèî ñòàðòèðà ãîëÿìà íàöèîíàëíà êàìïàíèÿ ÍÀ Ó×ÈËÈÙÅ
                Ñ ÐÅÒÐÎ ÐÀÄÈÎ È ÒÀÍÃ â ïîìîù íà ïúðâîêëàñíèöèòå â Áúëãàðèÿ.
                Êàìïàíèÿòà èìà çà öåë äà ïðèâëå÷å îáùåñòâåíîòî âíèìàíèå êúì ïúðâèÿ
                ó÷åáåí äåí, äà ïîìîãíå íà ïúðâîêëàñíèöèòå, äà ïîâäèãíå âúïðîñè,
                ñâúðçàíè ñ íà÷àëíîòî îáðàçîâàíèå, êàêòî è äà ðàçäàäå ãîëåìè íàãðàäè
                íà ó÷åíèöèòå.');" onmouseout="return nd();"><b>Íà Ó÷èëèùå ñ Ðåòðî
                Ðàäèî è Òàíã</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=167" onmouseover="return overlib
                ('<img src=images/news/homework.jpg border=0 align=left>    Âñÿêà
                âå÷åð â ìèëèîíè äîìîâå ïî öåëèÿ ñâÿò ñå ðàçèãðàâà\r\n  åäíà è ñúùà
                ïèåñà, ñâúðçàíà ñ äåöàòà è òåõíèòå äîìàøíè. Â òàçè ïèåñà ìîãàò\r\n 
                äà ó÷àñòâàò ðàçëè÷íè äåéñòâàùè\r\n  ëèöà, íî ñöåíàðèÿò âèíàãè å åäèí
                è ñúù.');" onmouseout="return nd();"><b>Êàêâî èìàòå çà Äîìàøíà Ðàáîòà?
                </b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=166" onmouseover="return overlib
                ('<img src=images/news/vitochka.jpg align=left border=0>   Òðúãâàìå
                ïåøà íà Åâðîïåéñêèÿ äåí áåç àâòîìîáèëè.<br>\r\nÑàìî ëèíåéêè è ðåéñîâå
                ùå ñå äâèæàò ïî öåíòðàëíèòå óëèöè.<br>\r\nÂñè÷êè ãîëåìè ãðàäîâå ó íàñ
                ùå áúäàò çàòâîðåíè çà êîëè â ïðîäúëæåíèå íà 6 ÷àñà óòðå.\r\n');"
                onmouseout="return nd();"><b>Çàáðàíÿâàò êîëèòå â ãîëåìèòå
                ãðàäîâå</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=165" onmouseover="return overlib
                ('<img src=\"images/news/oleary3.gif\" align=\"left\">Ãëîáà îò 50 äî
                1000 ëâ. î÷àêâà ðîäèòåëèòå, ÷èèòî äåöà õóëèãàíñòâàò.<br>\r\nÒîâà
                ïðåäâèæäàò ïðîìåíèòå â Çàêîíà çà áîðáà ñ îáùåñòâåíèòå ïðîÿâè íà
                ìàëîëåòíè, âíåñåí â ïàðëàìåíòà â ïåòúê. Ìàéêèòå è áàùèòå, êîèòî
                ïîçâîëÿâàò íà äåöàòà ñè äà ñêèòàò è âàíäàëñòâàò ïî óëèöèòå, ùå õîäÿò
                íà íåäåëíè ó÷èëèùà, ãëàñè ïðîåêòúò. <br><br>\r\nÈçòî÷íèê -
                www.standartnews.com');" onmouseout="return nd();"><b>1000 ëâ. ãëîáà
                çà áàùè íà õóëèãàíè</b></a><br><a href="modules.php?
                name=News&amp;file=article&amp;sid=164" onmouseover="return overlib
                ('<img src=\"images/news/guinea.jpg\" align=\"left\">Îñòàíêèòå íà
                âåëèêàíà áèëè íàìåðåíè êðàé ãðàä Óðóìàêî, íà 400 êì îò âåíåöóåëñêàòà
                ñòîëèöà Êàðàêàñ <br />\r\n<br />\r\n700-êèëîãðàìîâî ìîðñêî ñâèí÷å å
                áðîäèëî ïî ñâåòà ïðåäè 8 ìëí. ãîäèíè, ñúîáùè Áè Áè Ñè. Çâåð÷åòàòà
                òîãàâà ñà áèëè ñ ðàçìåðèòå íà áèçîí è âåðîÿòíî ñà ñå äâèæèëè íà
                ñòàäà, óòî÷íÿâàò èçñëåäîâàòåëèòå. Ôîñèëèòå íà âåëèêàíà áèëè íàìåðåíè
                êðàé ãðàä Óðóìàêî, íà 400 êì îò âåíåöóåëñêàòà ñòîëèöà Êàðàêàñ. 
                <br />\r\n');" onmouseout="return nd();"><b>Îòêðèõà ãèãàíòñêî ìîðñêî
                ñâèí÷å, æèâÿëî ïðåäè 8 ìëí. ãîäèíè</b></a><br> <a href="modules.php?
                name=News"><b>Âèæ Âñè÷êè Íîâèíè</b></a> </td>

                ????????????????



                To unsubscribe from this group, send an email to:
                overlib-unsubscribe@yahoogroups.com

                Homepage: http://www.bosrup.com/web/overlib/
                Archive: http://groups.yahoo.com/group/overlib/


                Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
              • yclan_m
                I try to post in russian - it s close to my windows-1251 -my site is only Bulgarian (cyrillic - windows). did you see cyrillic characters now ??? ...
                Message 7 of 16 , Oct 2, 2003
                • 0 Attachment
                  I try to post in russian - it's close to my windows-1251 -my site is
                  only Bulgarian (cyrillic - windows).
                  did you see cyrillic characters now ???



                  > Hi again :)!
                  >
                  > tanx! look at that:
                  >
                  > I change my code to:
                  > -------------
                  > $result = sql_query("select sid, title, hometext
                  > from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                  > $dbi);
                  > while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                  > {
                  >
                  > $escaped_item = mysql_escape_string($hometext);
                  >
                  > echo "<a href=\"modules.php?
                  name=News&file=article&sid=$sid\"
                  > onmouseover=\"return overlib('$escaped_item');\"
                  onmouseout=\"return
                  > nd();\"><b>$title</b></a><br>";
                  >
                  > }
                  > ------------------
                  > and a half of problem is done, but some texts is not !
                  >
                  > go to my test place:
                  > http://kidsbg.com/modules.php?name=Main
                  > <http://kidsbg.com/modules.php?name=Main&file=pr> &file=pr
                  >
                  > just uder the:
                  >
                  > оНЯКЕДМХРЕ мНБХМХ
                  > text text text text text text text text text
                  >
                  > is try to using a overlib
                  > ----------------------
                  >
                  > part of rezult HTML code:
                  >
                  > <font class="title"><center>оНЯКЕДМХРЕ мНБХМХ</center></font>text
                  > text text text text text text text text <hr color="#FFC53A"><a
                  > href="modules.php?name=News&file=article&sid=173"
                  > onmouseover="return overlib('<img src=images/news/ngkids.jpg
                  > align=left> дЕРЯЙНРН ХГДЮМХЕ МЮ ОПЕЯРХФМНРН ЯОХЯЮМХЕ РПЗЦМЮ МЮ
                  > АЗКЦЮПЯЙХ ОНД ХЛЕРН \'нРЙПХБЮРЕК\' <br />\r\nлХРХВМХЪР оЕПОЕПХЙНМ,
                  > ЯМХЛЮМ Х НОХЯЮМ НР хБЮМ аЮЙЮКНБ, Х ЯХЛБНКЗР МЮ МЮЬЮРЮ ВЕПМНЛНПЯЙЮ
                  > ЯЮСМЮ - ЛНПЯЙНРН ЙНМВЕ, \"СКНБЕМН\" НР кЧАНЛХП йКХЯСПНБ, ЯЮ ВЮЯР НР
                  > РЕЛХРЕ Б ОПЕЛХЕПМХЪ АПНИ МЮ \"нРЙПХБЮРЕК\", АЗКЦЮПЯЙНРН ХГДЮМХЕ МЮ
                  > ДЕРЯЙХЪ \"мЮЬЗМЗК дФЕНЦПЮТХЙ\" (NG Kids). ');" onmouseout="return nd
                  > ();"><b>оЕПОЕПХЙНМ Х ВЕПМНЛНПЯЙХ НАХРЮРЕКХ БКЪГНУЮ Б 'мЮЬЗМЗК
                  > дФЕНЦПЮТХЙ'</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=172" onmouseover="return overlib
                  ('
                  > <img src=images/news/bg_map.gif align=left>яКЕД 20 ЦНДХМХ ЛКЮДХРЕ
                  > АЗКЦЮПХ МЮ БЗГПЮЯР ЛЕФДС 20 Х 29 ЦНДХМХ ЫЕ ЯЮ ЕДБЮ 670 000,
                  ХМТНПЛХПЮ
                  > амп, ЖХРХПЮИЙХ ДЮММХ МЮ ЛКЮДЕФЙЮРЮ НПЦЮМХГЮЖХЪ \"цЕМЕПЮЖХЪ 21\".
                  > яОНПЕД ОПНСВБЮМЕРН ЕДХМ ЛХКХНМ ЛКЮДЕФХ ЯЮ МЮОСЯМЮКХ ЯРПЮМЮРЮ НР
                  1989
                  > Ц. МЮЯЮЛ. нР РЪУ 840 000 ЯЮ АХКХ МЮ БЗГПЮЯР ДН 29 Ц. <br />\r\n');"
                  > onmouseout="return nd();"><b>яКЕД 20 ЦНДХМХ ЛКЮДХРЕ АЗКЦЮПХ ЫЕ ЯЮ
                  > ЛЮКЙН МЮД 600 000</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=171" onmouseover="return overlib
                  > ('<img src=images/news/chemistry.jpg align=left>сВЕМХ ЯЕ НОХРБЮР ДЮ
                  > НАЪЯМЪР НРЙЗДЕ Х ЙЮЙ ЯЮ ЯЕ ОНЪБХКХ Б йНЯЛНЯЮ УХЛХВЕЯЙХРЕ ЕКЕЛЕМРХ,
                  > МСФМХ ГЮ БЗГМХЙБЮМЕРН МЮ ФХБНРЮ. яОНПЕД ЯЗБПЕЛЕММХРЕ ОПЕДЯРЮБХ ГЮ
                  > ЕБНКЧЖХЪРЮ МЮ бЯЕКЕМЮРЮ Б ПЮММХЪ ЯРЮДХИ НР ПЮГБХРХЕРН И Б МЕЪ ХЛЮКН
                  > ЦНКЪЛН ЙНКХВЕЯРБН БЗЦКЕПНД Х УЕКХИ Х ЛЮКЙХ КХРХИ. нРЯЗЯРБЮКХ НАЮВЕ
                  > РЕФЙХРЕ УХЛХВМХ ЕКЕЛЕМРХ, АЕГ ЙНХРН БЗГМХЙБЮМЕРН МЮ ФХБНРЮ Е
                  > МЕБЗГЛНФМН, НРАЕКЪГБЮ хрюп-рюяя. ');" onmouseout="return nd
                  > ();"><b>йЮЙ ЯЮ ЯЕ ОНЪБХКХ УХЛХВЕЯЙХРЕ ЕКЕЛЕМРХ?</b></a><br><a
                  > href="modules.php?name=News&file=article&sid=170"
                  > onmouseover="return overlib('<img src=images/news/madonnabook.jpg
                  > border=0 align=left> оЗПБЮРЮ ЙМХЦЮ МЮОХЯЮМЮ НР ОНО ГБЕГДЮРЮ
                  лЮДНМЮ
                  > ЯРЮМЮ МЮИ-СЯОЕЬМЮРЮ ХКЧЯРПНБЮМЮ ДЕРЯЙЮ ЙМХФЙЮ Б ХЯРНПХЪРЮ МЮ
                  > ЯБЕРНБМНРН ЙМХЦНПЮГОПНЯРПЮМЕМХЕ ЯЗНАЫЮБЮ <a
                  > href= http://www.ananova.com <http://www.ananova.com>
                  > target=blank><b>Ananova</b></a>!');"
                  > onmouseout="return nd();"><b>лЮДНМЮ ЫСПЛСБЮ ЙМХФМХЪ
                  > ОЮГЮП</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=169" onmouseover="return overlib
                  > ('<img src=images/news/harry.jpg align=left> \"уЮПХ оНРЗП Х
                  > МЮСЙЮРЮ\", МНБНОНЪБХК ЯЕ СВЕАЕМ ЙСПЯ ЙЗЛ \"Frostburg State
                  > University\", ОПЕДКЮЦЮ МЮ ТЕМНБЕ МЮ ХГБЕЯРМХРЕ ТЮМРЮЯРХВМХ МНБЕКХ
                  МЮ
                  > дФ.й.пНСКХМЦ БЗГЛНФМНЯРРЮ ДЮ ХГСВЮБЮР БПЗГЙЮРЮ ЛЕФДС ЛЮЦХЪРЮ Х
                  > МЮСЙЮРЮ.');" onmouseout="return nd();"><b>сВЕАЕМ ЙКЮЯ, ОНЯБЕРЕМ МЮ
                  > уЮПХ оНРЗП Б лЕПХКЕМД</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=168" onmouseover="return overlib
                  > ('<img src=images/news/retroradio.jpg border=0 align=left> нР 15
                  > ЯЕОРЕЛБПХ пЕРПН пЮДХН ЯРЮПРХПЮ ЦНКЪЛЮ МЮЖХНМЮКМЮ ЙЮЛОЮМХЪ мю
                  свхкхые
                  > я перпн пюдхн х рюмц Б ОНЛНЫ МЮ ОЗПБНЙКЮЯМХЖХРЕ Б аЗКЦЮПХЪ.
                  > йЮЛОЮМХЪРЮ ХЛЮ ГЮ ЖЕК ДЮ ОПХБКЕВЕ НАЫЕЯРБЕМНРН БМХЛЮМХЕ ЙЗЛ ОЗПБХЪ
                  > СВЕАЕМ ДЕМ, ДЮ ОНЛНЦМЕ МЮ ОЗПБНЙКЮЯМХЖХРЕ, ДЮ ОНБДХЦМЕ БЗОПНЯХ,
                  > ЯБЗПГЮМХ Я МЮВЮКМНРН НАПЮГНБЮМХЕ, ЙЮЙРН Х ДЮ ПЮГДЮДЕ ЦНКЕЛХ МЮЦПЮДХ
                  > МЮ СВЕМХЖХРЕ.');" onmouseout="return nd();"><b>мЮ сВХКХЫЕ Я пЕРПН
                  > пЮДХН Х рЮМЦ</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=167" onmouseover="return overlib
                  > ('<img src=images/news/homework.jpg border=0 align=left> бЯЪЙЮ
                  > БЕВЕП Б ЛХКХНМХ ДНЛНБЕ ОН ЖЕКХЪ ЯБЪР ЯЕ ПЮГХЦПЮБЮ\r\n ЕДМЮ Х ЯЗЫЮ
                  > ОХЕЯЮ, ЯБЗПГЮМЮ Я ДЕЖЮРЮ Х РЕУМХРЕ ДНЛЮЬМХ. б РЮГХ ОХЕЯЮ ЛНЦЮР\r\n
                  > ДЮ СВЮЯРБЮР ПЮГКХВМХ ДЕИЯРБЮЫХ\r\n КХЖЮ, МН ЯЖЕМЮПХЪР БХМЮЦХ Е
                  ЕДХМ
                  > Х ЯЗЫ.');" onmouseout="return nd();"><b>йЮЙБН ХЛЮРЕ ГЮ дНЛЮЬМЮ
                  пЮАНРЮ?
                  > </b></a><br><a href="modules.php?
                  > name=News&file=article&sid=166" onmouseover="return overlib
                  > ('<img src=images/news/vitochka.jpg align=left border=0> рПЗЦБЮЛЕ
                  > ОЕЬЮ МЮ еБПНОЕИЯЙХЪ ДЕМ АЕГ ЮБРНЛНАХКХ.<br>\r\nяЮЛН КХМЕИЙХ Х
                  ПЕИЯНБЕ
                  > ЫЕ ЯЕ ДБХФЮР ОН ЖЕМРПЮКМХРЕ СКХЖХ.<br>\r\nбЯХВЙХ ЦНКЕЛХ ЦПЮДНБЕ С
                  МЮЯ
                  > ЫЕ АЗДЮР ГЮРБНПЕМХ ГЮ ЙНКХ Б ОПНДЗКФЕМХЕ МЮ 6 ВЮЯЮ СРПЕ.\r\n');"
                  > onmouseout="return nd();"><b>гЮАПЮМЪБЮР ЙНКХРЕ Б ЦНКЕЛХРЕ
                  > ЦПЮДНБЕ</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=165" onmouseover="return overlib
                  > ('<img src=\"images/news/oleary3.gif\" align=\"left\">цКНАЮ НР 50
                  ДН
                  > 1000 КБ. НВЮЙБЮ ПНДХРЕКХРЕ, ВХХРН ДЕЖЮ УСКХЦЮМЯРБЮР.<br>\r\nрНБЮ
                  > ОПЕДБХФДЮР ОПНЛЕМХРЕ Б гЮЙНМЮ ГЮ АНПАЮ Я НАЫЕЯРБЕМХРЕ ОПНЪБХ МЮ
                  > ЛЮКНКЕРМХ, БМЕЯЕМ Б ОЮПКЮЛЕМРЮ Б ОЕРЗЙ. лЮИЙХРЕ Х АЮЫХРЕ, ЙНХРН
                  > ОНГБНКЪБЮР МЮ ДЕЖЮРЮ ЯХ ДЮ ЯЙХРЮР Х БЮМДЮКЯРБЮР ОН СКХЖХРЕ, ЫЕ
                  УНДЪР
                  > МЮ МЕДЕКМХ СВХКХЫЮ, ЦКЮЯХ ОПНЕЙРЗР. <br><br>\r\nхГРНВМХЙ -
                  > www.standartnews.com');" onmouseout="return nd();"><b>1000 КБ.
                  ЦКНАЮ
                  > ГЮ АЮЫХ МЮ УСКХЦЮМХ</b></a><br><a href="modules.php?
                  > name=News&file=article&sid=164" onmouseover="return overlib
                  > ('<img src=\"images/news/guinea.jpg\" align=\"left\">нЯРЮМЙХРЕ МЮ
                  > БЕКХЙЮМЮ АХКХ МЮЛЕПЕМХ ЙПЮИ ЦПЮД сПСЛЮЙН, МЮ 400 ЙЛ НР
                  БЕМЕЖСЕКЯЙЮРЮ
                  > ЯРНКХЖЮ йЮПЮЙЮЯ <br />\r\n<br />\r\n700-ЙХКНЦПЮЛНБН ЛНПЯЙН ЯБХМВЕ Е
                  > АПНДХКН ОН ЯБЕРЮ ОПЕДХ 8 ЛКМ. ЦНДХМХ, ЯЗНАЫХ аХ аХ яХ. гБЕПВЕРЮРЮ
                  > РНЦЮБЮ ЯЮ АХКХ Я ПЮГЛЕПХРЕ МЮ АХГНМ Х БЕПНЪРМН ЯЮ ЯЕ ДБХФХКХ МЮ
                  > ЯРЮДЮ, СРНВМЪБЮР ХГЯКЕДНБЮРЕКХРЕ. тНЯХКХРЕ МЮ БЕКХЙЮМЮ АХКХ
                  МЮЛЕПЕМХ
                  > ЙПЮИ ЦПЮД сПСЛЮЙН, МЮ 400 ЙЛ НР БЕМЕЖСЕКЯЙЮРЮ ЯРНКХЖЮ йЮПЮЙЮЯ.
                  > <br />\r\n');" onmouseout="return nd();"><b>нРЙПХУЮ ЦХЦЮМРЯЙН
                  ЛНПЯЙН
                  > ЯБХМВЕ, ФХБЪКН ОПЕДХ 8 ЛКМ. ЦНДХМХ</b></a><br> <a href="modules.php?
                  > name=News"><b>бХФ бЯХВЙХ мНБХМХ</b></a> </td>
                  >
                  > ????????????????
                  >
                • yclan_m
                  Hi :) I create some captures to illustrate the problem :) It s a good: http://kidsbg.com/images/good.jpg and bad :( http://kidsbg.com/images/bad.jpg can you
                  Message 8 of 16 , Oct 2, 2003
                  • 0 Attachment
                    Hi :)

                    I create some captures to illustrate the problem :)

                    It's a good:
                    http://kidsbg.com/images/good.jpg

                    and bad :(
                    http://kidsbg.com/images/bad.jpg

                    can you see them?

                    that's the problem :(

                    tanx again
                  • O'Reilly, David
                    Can you send me the source code of the bad one. not all of it, just the bit where PHP output ed the code ... From: yclan_m [mailto:k0map@hotmail.com] Sent: 02
                    Message 9 of 16 , Oct 2, 2003
                    • 0 Attachment
                      Can you send me the source code of the bad one. not all of it, just the bit where PHP output'ed the code
                       
                       
                      -----Original Message-----
                      From: yclan_m [mailto:k0map@...]
                      Sent: 02 October 2003 11:57
                      To: overlib@yahoogroups.com
                      Subject: [oL] Re: character ' and "

                      Hi :)

                      I create some captures to illustrate the problem :)

                      It's a good:
                      http://kidsbg.com/images/good.jpg

                      and bad :(
                      http://kidsbg.com/images/bad.jpg

                      can you see them?

                      that's the problem :(

                      tanx again



                      To unsubscribe from this group, send an email to:
                      overlib-unsubscribe@yahoogroups.com

                      Homepage: http://www.bosrup.com/web/overlib/
                      Archive: http://groups.yahoo.com/group/overlib/


                      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                    • yclan_m
                      Hi, David! I have some problems with my hosting.... So ... $result = sql_query( select sid, title, hometext from .$prefix. _stories $querylang order by sid
                      Message 10 of 16 , Oct 3, 2003
                      • 0 Attachment
                        Hi, David!

                        I have some problems with my hosting....
                        So
                        part of php:
                        -------------
                        $result = sql_query("select sid, title, hometext
                        from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                        $dbi);
                        while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                        {

                        $escaped_item = mysql_escape_string($hometext);

                        echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
                        onmouseover=\"return overlib('$escaped_item');\" onmouseout=\"return
                        nd();\"><b>$title</b></a><br>";

                        }
                        ------------------
                        part result with bad HTML:--->
                        capture: http://kidsbg.com/images/badhtml.gif
                        -------code-----------
                        <a href="modules.php?
                        name=News&file=article&sid=165" onmouseover="return overlib
                        ('<img src=\"images/news/oleary3.gif\" align=\"left\">цКНАЮ НР
                        50 ДН
                        1000 КБ. НВЮЙБЮ ПНДХРЕКХРЕ, ВХХРН ДЕЖЮ
                        УСКХЦЮМЯРБЮР.<br>\r\nрНБЮ
                        ОПЕДБХФДЮР ОПНЛЕМХРЕ Б гЮЙНМЮ ГЮ АНПАЮ Я
                        НАЫЕЯРБЕМХРЕ ОПНЪБХ МЮ
                        ЛЮКНКЕРМХ, БМЕЯЕМ Б ОЮПКЮЛЕМРЮ Б ОЕРЗЙ. лЮИЙХРЕ
                        Х АЮЫХРЕ, ЙНХРН
                        ОНГБНКЪБЮР МЮ ДЕЖЮРЮ ЯХ ДЮ ЯЙХРЮР Х
                        БЮМДЮКЯРБЮР ОН СКХЖХРЕ, ЫЕ УНДЪР
                        МЮ МЕДЕКМХ СВХКХЫЮ, ЦКЮЯХ ОПНЕЙРЗР.
                        <br><br>\r\nхГРНВМХЙ -
                        www.standartnews.com');" onmouseout="return nd();"><b>1000 КБ.
                        ЦКНАЮ
                        ГЮ АЮЫХ МЮ УСКХЦЮМХ</b></a><br>
                        -----------------
                        part result with good HTML:--->
                        capture: http://kidsbg.com/images/goodhtml.gif
                        --------code---------
                        <a href="modules.php?
                        name=News&file=article&sid=171" onmouseover="return overlib
                        ('<img src=images/news/chemistry.jpg align=left>сВЕМХ ЯЕ
                        НОХРБЮР ДЮ
                        НАЪЯМЪР НРЙЗДЕ Х ЙЮЙ ЯЮ ЯЕ ОНЪБХКХ Б
                        йНЯЛНЯЮ УХЛХВЕЯЙХРЕ ЕКЕЛЕМРХ,
                        МСФМХ ГЮ БЗГМХЙБЮМЕРН МЮ ФХБНРЮ. яОНПЕД
                        ЯЗБПЕЛЕММХРЕ ОПЕДЯРЮБХ ГЮ
                        ЕБНКЧЖХЪРЮ МЮ бЯЕКЕМЮРЮ Б ПЮММХЪ ЯРЮДХИ НР
                        ПЮГБХРХЕРН И Б МЕЪ ХЛЮКН
                        ЦНКЪЛН ЙНКХВЕЯРБН БЗЦКЕПНД Х УЕКХИ Х ЛЮКЙХ
                        КХРХИ. нРЯЗЯРБЮКХ НАЮВЕ
                        РЕФЙХРЕ УХЛХВМХ ЕКЕЛЕМРХ, АЕГ ЙНХРН БЗГМХЙБЮМЕРН
                        МЮ ФХБНРЮ Е
                        МЕБЗГЛНФМН, НРАЕКЪГБЮ хрюп-рюяя. ');" onmouseout="return
                        nd
                        ();"><b>йЮЙ ЯЮ ЯЕ ОНЪБХКХ УХЛХВЕЯЙХРЕ
                        ЕКЕЛЕМРХ?</b></a><br>
                        ------------------

                        it seems to be allready escaped.....

                        I need a code that change " to (") .....

                        10x :)


                        --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
                        wrote:
                        > Can you send me the source code of the bad one. not all of it, just
                        the bit
                        > where PHP output'ed the code
                      • Tobias Parent
                        I found that the best way for me to do this was: $contents = str_replace( n , , $contents); $contents = str_replace( r , , $contents); $contents =
                        Message 11 of 16 , Oct 3, 2003
                        • 0 Attachment
                          I found that the best way for me to do this was:

                          $contents = str_replace("\n", " ", $contents);
                          $contents = str_replace("\r", " ", $contents);
                          $contents = htmlspecialchars($contents);

                          This got rid of my carriage returns, whether PC or Mac, and the third line
                          converts things like > (>), < (<), " ("), ' (').

                          Hope this helps!
                          - Toby


                          ----- Original Message -----
                          From: "yclan_m" <k0map@...>
                          To: <overlib@yahoogroups.com>
                          Sent: Friday, October 03, 2003 6:24 AM
                          Subject: [oL] Re: character ' and "


                          > Hi, David!
                          >
                          > I have some problems with my hosting....
                          > So
                          > part of php:
                          > -------------
                          > $result = sql_query("select sid, title, hometext
                          > from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                          > $dbi);
                          > while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                          > {
                          >
                          > $escaped_item = mysql_escape_string($hometext);
                          >
                          > echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
                          > onmouseover=\"return overlib('$escaped_item');\" onmouseout=\"return
                          > nd();\"><b>$title</b></a><br>";
                          >
                          > }
                          > ------------------
                          > part result with bad HTML:--->
                          > capture: http://kidsbg.com/images/badhtml.gif
                          > -------code-----------
                          > <a href="modules.php?
                          > name=News&file=article&sid=165" onmouseover="return overlib
                          > ('<img src=\"images/news/oleary3.gif\" align=\"left\">цКНАЮ НР
                          > 50 ДН
                          > 1000 КБ. НВЮЙБЮ ПНДХРЕКХРЕ, ВХХРН ДЕЖЮ
                          > УСКХЦЮМЯРБЮР.<br>\r\nрНБЮ
                          > ОПЕДБХФДЮР ОПНЛЕМХРЕ Б гЮЙНМЮ ГЮ АНПАЮ Я
                          > НАЫЕЯРБЕМХРЕ ОПНЪБХ МЮ
                          > ЛЮКНКЕРМХ, БМЕЯЕМ Б ОЮПКЮЛЕМРЮ Б ОЕРЗЙ. лЮИЙХРЕ
                          > Х АЮЫХРЕ, ЙНХРН
                          > ОНГБНКЪБЮР МЮ ДЕЖЮРЮ ЯХ ДЮ ЯЙХРЮР Х
                          > БЮМДЮКЯРБЮР ОН СКХЖХРЕ, ЫЕ УНДЪР
                          > МЮ МЕДЕКМХ СВХКХЫЮ, ЦКЮЯХ ОПНЕЙРЗР.
                          > <br><br>\r\nхГРНВМХЙ -
                          > www.standartnews.com');" onmouseout="return nd();"><b>1000 КБ.
                          > ЦКНАЮ
                          > ГЮ АЮЫХ МЮ УСКХЦЮМХ</b></a><br>
                          > -----------------
                          > part result with good HTML:--->
                          > capture: http://kidsbg.com/images/goodhtml.gif
                          > --------code---------
                          > <a href="modules.php?
                          > name=News&file=article&sid=171" onmouseover="return overlib
                          > ('<img src=images/news/chemistry.jpg align=left>сВЕМХ ЯЕ
                          > НОХРБЮР ДЮ
                          > НАЪЯМЪР НРЙЗДЕ Х ЙЮЙ ЯЮ ЯЕ ОНЪБХКХ Б
                          > йНЯЛНЯЮ УХЛХВЕЯЙХРЕ ЕКЕЛЕМРХ,
                          > МСФМХ ГЮ БЗГМХЙБЮМЕРН МЮ ФХБНРЮ. яОНПЕД
                          > ЯЗБПЕЛЕММХРЕ ОПЕДЯРЮБХ ГЮ
                          > ЕБНКЧЖХЪРЮ МЮ бЯЕКЕМЮРЮ Б ПЮММХЪ ЯРЮДХИ НР
                          > ПЮГБХРХЕРН И Б МЕЪ ХЛЮКН
                          > ЦНКЪЛН ЙНКХВЕЯРБН БЗЦКЕПНД Х УЕКХИ Х ЛЮКЙХ
                          > КХРХИ. нРЯЗЯРБЮКХ НАЮВЕ
                          > РЕФЙХРЕ УХЛХВМХ ЕКЕЛЕМРХ, АЕГ ЙНХРН БЗГМХЙБЮМЕРН
                          > МЮ ФХБНРЮ Е
                          > МЕБЗГЛНФМН, НРАЕКЪГБЮ хрюп-рюяя. ');" onmouseout="return
                          > nd
                          > ();"><b>йЮЙ ЯЮ ЯЕ ОНЪБХКХ УХЛХВЕЯЙХРЕ
                          > ЕКЕЛЕМРХ?</b></a><br>
                          > ------------------
                          >
                          > it seems to be allready escaped.....
                          >
                          > I need a code that change " to (") .....
                          >
                          > 10x :)
                          >
                          >
                          > --- In overlib@yahoogroups.com, "O'Reilly, David" <doreilly@d...>
                          > wrote:
                          > > Can you send me the source code of the bad one. not all of it, just
                          > the bit
                          > > where PHP output'ed the code
                          >
                          >
                          > To unsubscribe from this group, send an email to:
                          > overlib-unsubscribe@yahoogroups.com
                          >
                          > Homepage: http://www.bosrup.com/web/overlib/
                          > Archive: http://groups.yahoo.com/group/overlib/
                          >
                          >
                          > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                          >
                          >
                        • yclan_m
                          Yea, tanx! That s all I need! But I m new to php, can you explain how to insert this to my code below! 10x again! :) ... third line ... MY CODE ... $dbi)) ...
                          Message 12 of 16 , Oct 4, 2003
                          • 0 Attachment
                            Yea, tanx! That's all I need!

                            But I'm new to php, can you explain how to insert this to my code
                            below!


                            10x again! :)


                            --- In overlib@yahoogroups.com, "Tobias Parent" <rufus@l...> wrote:
                            > I found that the best way for me to do this was:
                            >
                            > $contents = str_replace("\n", " ", $contents);
                            > $contents = str_replace("\r", " ", $contents);
                            > $contents = htmlspecialchars($contents);
                            >
                            > This got rid of my carriage returns, whether PC or Mac, and the
                            third line
                            > converts things like > (>), < (<), " ("), ' (').
                            >
                            > Hope this helps!
                            > - Toby


                            MY CODE
                            ---------------------------------------V

                            > > part of php:
                            > > -------------
                            > > $result = sql_query("select sid, title, hometext
                            > > from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                            > > $dbi);
                            > > while(list($sid, $title, $hometext) = sql_fetch_row($result,
                            $dbi))
                            > > {
                            > >
                            > > $escaped_item = mysql_escape_string($hometext);
                            > >
                            > > echo "<a href=\"modules.php?
                            name=News&file=article&sid=$sid\"
                            > > onmouseover=\"return overlib('$escaped_item');\"
                            onmouseout=\"return
                            > > nd();\"><b>$title</b></a><br>";
                            > >
                            > > }
                          • yclan_m
                            BIG BIG TANX to EVERYONE espesial to astoria41 and tobiasp1. ... $result = sql_query( select sid, title, hometext from .$prefix. _stories $querylang order by
                            Message 13 of 16 , Oct 4, 2003
                            • 0 Attachment
                              BIG BIG TANX to EVERYONE espesial to astoria41 and tobiasp1.

                              I use this code:
                              --------------------------
                              $result = sql_query("select sid, title, hometext
                              from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                              $dbi);
                              while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                              {

                              $escaped_item = mysql_escape_string($hometext);

                              $contentsnews = str_replace("\n", " ", $escaped_item);
                              $contentsnews = str_replace("\r", " ", $escaped_item);
                              $contentsnews = htmlspecialchars($escaped_item);

                              echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
                              onmouseover=\"return overlib('$contentsnews');\" onmouseout=\"return
                              nd();\"><b>$title</b></a><br>";

                              }
                              --------------------------

                              and everything working perfectly now :)

                              Best Regards!
                              And long long live to all [oL] users!
                            • Tobias Parent
                              OK, but on that section I sent you - you just keep overwriting $contentsnews. Rather, use: ... $escaped_item = str_replace( n , , $escaped_item);
                              Message 14 of 16 , Oct 4, 2003
                              • 0 Attachment
                                OK, but on that section I sent you - you just keep overwriting $contentsnews. Rather, use:
                                 
                                ...
                                $escaped_item = str_replace("\n", " ", $escaped_item);
                                $escaped_item = str_replace("\n", " ", $escaped_item);
                                $contentsnews = htmlspecialchars($escaped_item);
                                ...
                                 
                                This will actually parse the carriage returns AND strip htmlspecialchars. Your way may appear to work, but each step gets rid of the one before.
                                 
                                Regards!
                                 -Toby
                                ----- Original Message -----
                                From: yclan_m
                                Sent: Saturday, October 04, 2003 10:12 AM
                                Subject: [oL] Re: character ' and "

                                BIG BIG TANX to EVERYONE espesial to astoria41 and tobiasp1.

                                I use this code:
                                --------------------------
                                $result = sql_query("select sid, title, hometext
                                from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                                $dbi);
                                while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                                {

                                $escaped_item = mysql_escape_string($hometext);

                                $contentsnews = str_replace("\n", " ", $escaped_item);
                                $contentsnews = str_replace("\r", " ", $escaped_item);
                                $contentsnews = htmlspecialchars($escaped_item);

                                echo "<a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\"
                                onmouseover=\"return overlib('$contentsnews');\" onmouseout=\"return
                                nd();\"><b>$title</b></a><br>";

                                }
                                --------------------------

                                and everything working perfectly now :)

                                Best Regards!
                                And long long live to all [oL] users!






                                To unsubscribe from this group, send an email to:
                                overlib-unsubscribe@yahoogroups.com

                                Homepage: http://www.bosrup.com/web/overlib/
                                Archive: http://groups.yahoo.com/group/overlib/


                                Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                              • O'Reilly, David
                                You re welcome matey!! Sorry I didn t help you to the End :-) ... From: yclan_m [mailto:k0map@hotmail.com] Sent: 04 October 2003 15:13 To:
                                Message 15 of 16 , Oct 6, 2003
                                • 0 Attachment
                                  You're welcome matey!!
                                   
                                  Sorry I didn't help you to the End :-)
                                  -----Original Message-----
                                  From: yclan_m [mailto:k0map@...]
                                  Sent: 04 October 2003 15:13
                                  To: overlib@yahoogroups.com
                                  Subject: [oL] Re: character ' and "

                                  BIG BIG TANX to EVERYONE espesial to astoria41 and tobiasp1.

                                  I use this code:
                                  --------------------------
                                  $result = sql_query("select sid, title, hometext
                                  from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                                  $dbi);
                                  while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                                  {

                                  $escaped_item = mysql_escape_string($hometext);

                                  $contentsnews = str_replace("\n", " ", $escaped_item);
                                  $contentsnews = str_replace("\r", " ", $escaped_item);
                                  $contentsnews = htmlspecialchars($escaped_item);

                                  echo "<a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\"
                                  onmouseover=\"return overlib('$contentsnews');\" onmouseout=\"return
                                  nd();\"><b>$title</b></a><br>";

                                  }
                                  --------------------------

                                  and everything working perfectly now :)

                                  Best Regards!
                                  And long long live to all [oL] users!






                                  To unsubscribe from this group, send an email to:
                                  overlib-unsubscribe@yahoogroups.com

                                  Homepage: http://www.bosrup.com/web/overlib/
                                  Archive: http://groups.yahoo.com/group/overlib/


                                  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                                • yclan_m
                                  Yea, tobiasp1 - you are prfectly right! :) I was so happy . . . - and post a wrong code. :) Tanx again! ... $result = sql_query( select sid, title, hometext
                                  Message 16 of 16 , Oct 7, 2003
                                  • 0 Attachment
                                    Yea, tobiasp1 - you are prfectly right! :)
                                    I was so happy . . . - and post a wrong code. :)
                                    Tanx again!
                                    Actually my code is:
                                    --------------------

                                    $result = sql_query("select sid, title, hometext
                                    from ".$prefix."_stories $querylang order by sid DESC limit 0,10",
                                    $dbi);
                                    while(list($sid, $title, $hometext) = sql_fetch_row($result, $dbi))
                                    {

                                    $escaped_item = mysql_escape_string($hometext);

                                    $escaped_item = str_replace("\n", " ", $escaped_item);
                                    $escaped_item = str_replace("\r", " ", $escaped_item);
                                    $contentsnews = htmlspecialchars($escaped_item);

                                    echo "<a href=\"modules.php?name=News&file=article&sid=$sid\"
                                    onmouseover=\"return overlib('<div
                                    align=justify>$contentsnews</div>', CAPCOLOR, '#035D8A',
                                    CAPTION, '<center>йКХЙМЕРЕ ГЮ ЖЪКЮРЮ МНБХМЮ!</center>', HAUTO , 'on',
                                    VAUTO , 'on', WIDTH, '300');\" onmouseout=\"return nd
                                    ();\"><b><big>·</big></b> $title</a><br>";

                                    }

                                    --------------------
                                    --- In overlib@yahoogroups.com, "Tobias Parent" <rufus@l...> wrote:
                                    > OK, but on that section I sent you - you just keep overwriting
                                    $contentsnews. Rather, use:
                                    >
                                    > ...
                                    > $escaped_item = str_replace("\n", " ", $escaped_item);
                                    > $escaped_item = str_replace("\n", " ", $escaped_item);
                                    > $contentsnews = htmlspecialchars($escaped_item);
                                    > ...
                                    >
                                    > This will actually parse the carriage returns AND strip
                                    htmlspecialchars. Your way may appear to work, but each step gets rid
                                    of the one before.
                                    >
                                    > Regards!
                                    > -Toby
                                    > ----- Original Message -----
                                    > From: yclan_m
                                    > To: overlib@yahoogroups.com
                                    > Sent: Saturday, October 04, 2003 10:12 AM
                                    > Subject: [oL] Re: character ' and "
                                    >
                                    >
                                    > BIG BIG TANX to EVERYONE espesial to astoria41 and tobiasp1.
                                    >
                                    > I use this code:
                                    > --------------------------
                                    > $result = sql_query("select sid, title, hometext
                                    > from ".$prefix."_stories $querylang order by sid DESC limit
                                    0,10",
                                    > $dbi);
                                    > while(list($sid, $title, $hometext) = sql_fetch_row($result,
                                    $dbi))
                                    > {
                                    >
                                    > $escaped_item = mysql_escape_string($hometext);
                                    >
                                    > $contentsnews = str_replace("\n", " ", $escaped_item);
                                    > $contentsnews = str_replace("\r", " ", $escaped_item);
                                    > $contentsnews = htmlspecialchars($escaped_item);
                                    >
                                    > echo "<a href=\"modules.php?
                                    name=News&file=article&sid=$sid\"
                                    > onmouseover=\"return overlib('$contentsnews');\"
                                    onmouseout=\"return
                                    > nd();\"><b>$title</b></a><br>";
                                    >
                                    > }
                                    > --------------------------
                                    >
                                    > and everything working perfectly now :)
                                    >
                                    > Best Regards!
                                    > And long long live to all [oL] users!
                                    >
                                    >
                                    >
                                    >
                                    >
                                    > Yahoo! Groups Sponsor
                                    > ADVERTISEMENT
                                    >
                                    >
                                    >
                                    >
                                    > To unsubscribe from this group, send an email to:
                                    > overlib-unsubscribe@yahoogroups.com
                                    >
                                    > Homepage: http://www.bosrup.com/web/overlib/
                                    > Archive: http://groups.yahoo.com/group/overlib/
                                    >
                                    >
                                    > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                                    Service.
                                  Your message has been successfully submitted and would be delivered to recipients shortly.