php-general Digest 4 Jul 2005 11:01:18 -0000 Issue 3548
php-general Digest 4 Jul 2005 11:01:18 - Issue 3548 Topics (messages 218059 through 218075): Re: setting initial vlaue of optionbox 218059 by: Jasper Bryant-Greene 218073 by: Jochem Maas Re: Help a Norwegian student! 218060 by: Jasper Bryant-Greene mail:: very weird behaviour! 218061 by: Andy Pieters 218062 by: Andy Pieters Re: Group By problems 218063 by: yangshiqi Re: Conversion of period and space for $_GET, $_REQUEST, etc. is rather senseless 218064 by: Rasmus Lerdorf Report 218065 by: Mail Administrator clear the page and continue 218066 by: Fred 218067 by: James 218068 by: Fred 218074 by: Marek Kilimajer Re: Removing nonlatin characters 218069 by: Rene Brehmer 218070 by: Rene Brehmer Returned mail: see transcript for details 218071 by: Mail Administrator Delivery reports about your e-mail 218072 by: MAILER-DAEMON Re: http scanner 218075 by: Rory Browne Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: php-general@lists.php.net -- ---BeginMessage--- Ross wrote: value=?=$subject; ? Keeps the value of $subject that was previously entered in the textarea even after the form is submitted with php_self(). Is this possible with the listbox?? select name=selectBox option value=someOption?php if($_GET['selectBox'] == 'someOption') { ? selected?php } ?Some Option/option /select Alter to suit your needs, of course. Jasper ---End Message--- ---BeginMessage--- Jasper Bryant-Greene wrote: Ross wrote: heh Ross, hope you see this, my SMTP server kept saying you address was bogus for some reason and refused to send - so I only sent it to the list... value=?=$subject; ? Keeps the value of $subject that was previously entered in the textarea even after the form is submitted with php_self(). Is this possible with the listbox?? select name=selectBox option value=someOption?php if($_GET['selectBox'] == 'someOption') { ? selected?php } ?Some Option/option /select a slightly shorter form: select name=selectBox option value=someOption?= ($_GET['selectBox'] == 'someOption') ? 'selected' : ''; ?Some Option/option /select but that still is not very satisfying - you have to write out that whole line for each option you create - better to incorporate the login into a loop that processes an associative array of 'options' so that you never (well not tomorrow anyway!) have to write it again...e.g: function makeOptions($name, $opts = array(), $selected = null) { $selTpl = 'select name=%s%s/select'; $optTpl = 'option value=%s %s%s/option'; $output = array(); foreach($opts as $k = $v) { $s = $selected ($k == $selected) ? 'selected=selected' : ''; $output[] = sprintf($optTpl, $k, $s, $v); } return sprintf($selTpl, $name, join($output)); } ...untested, but hopefully it gives you some ideas. Alter to suit your needs, of course. Jasper ---End Message--- ---BeginMessage--- Bjørn-Erik Dale wrote: When I'm trying to open phpMyAdmin/index.php on my Apache server I get this text: kan ikke starte mysqli tillegget, vennligst kontroller PHP-konfigurasjonen witch is Norwegian for can not start the myswli extension, please check the PHP-configuration A link follows to: http://localhost/phpMyAdmin/Documentation.html#faqmysql - [1.20] I receive the error cannot load MySQL extension, please check PHP Configuration. To connect to a MySQL server, PHP needs a set of MySQL functions called MySQL extension. This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed. Usually, the problem is solved by installing a software package called PHP-MySQL or something similar. How do I solve this problem??? If you're on Windows, follow the other posted advice :) If you're on *nix, make sure PHP was compiled with MySQL support, i.e. the MySQL client libraries were compiled in. Jasper ---End Message--- ---BeginMessage--- Hi all So I constructed the mail message with attachements and all, and when I echo the contents to the screen, I get the entire message as intended. But when the message is actually sent, it is NOT received the same! In one test, the base64 part contains different text from what I actually put in. However, if I put that same data inside the body (so I can compare), that data is transfered correctly. In another test, the behaviour explained above, is extended by some other text dissapearing (namely some boundary) The error log doesn't say a-thing! my mail command is: mail($toname
php-general Digest 5 Jul 2005 00:00:47 -0000 Issue 3549
php-general Digest 5 Jul 2005 00:00:47 - Issue 3549 Topics (messages 218076 through 218098): Re: clear the page and continue 218076 by: James Test 218077 by: Returned mail Returned mail: Data format error 218078 by: Mail Delivery Subsystem 218079 by: Returned mail Building sapi_apache2 218080 by: Gaby vanhegan 218091 by: Catalin Trifu 218092 by: Gaby vanhegan 218094 by: Richard Lynch 218097 by: Gaby vanhegan Report 218081 by: Mail Delivery Subsystem 218083 by: Miles Thompson 218084 by: Gaby vanhegan 218085 by: Richard Davey PHP+Oracle or PL/SQL Web Application - which one is efficient? 218082 by: Rasim SEN 218096 by: Richard Lynch Re: PHP vs. ColdFusion 218086 by: Stéphane Bruno syslog() /openlog() and wtf is LOG_LOCAL_0 218087 by: Jochem Maas 218095 by: Richard Lynch Re: Removing nonlatin characters 218088 by: Dotan Cohen Returned mail: see transcript for details 218089 by: Mail Delivery Subsystem Help with preg_replace 218090 by: Marcos Mendonça 218093 by: Jason Wong {Virus!} Php-general@lists.php.net 218098 by: farcry-user.lists.daemon.com.au Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: php-general@lists.php.net -- ---BeginMessage--- Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Cheers, James Relyea. ---End Message--- ---BeginMessage--- ϤmŤ÷óä5jc÷ʶ åú¥vcµl7Ýaí8¤I'Á³Ò{¬KjEZZ_^rjEúÖùývkªHÛ°ECÎbûÒ¡êã}ö/±$Ç7æ|! 6A갣ϳ ÔQá2×Îú¡|5Sp]XULó!;¹RÀ¼%YI3)Ëá ¸oºÙèSDÛ¤¯gi¿ÓîºØ¯³uɨ^§¨;«RL`.ot·EtO_¸uwq±vC{Fx8òI{~$¦s ص¶^WXù5Â7Z-{ ¼Î\Ø%æpÏ ¸ýf;ÓÔWCðÖ¼¦ÞAüRôä}.À¶ /uåö\¼ Ô¾BP½uQaN|.¦8úû5nôôû6gؤ8ÏÙ}^U«£ÒèR1ª¦Ë§âRÛå¬ÁõræÒõ¤Ëøý¢!Un)ÙÒçø¹³ËÏÜù³7B¿ÇZ \A§`îúz;«S_° Üo9\j¬6{tÙÕU~nàUßÊNήv·sªùFtúYâ }¶$rmå['çuð ÷ûdT÷:BG÷albzFzÊQ?H¡Á» ³Zf([,¼TÁðt˳ö¬ i_d_áùËkHPp}3hëÕ^¡Ñ,,áç§Ü/áÚÚOþ£Z2ÖnüaöíÈaYíZc÷ý ×ý9ÖH{ 3¢è~2kÇzUÜQfE1yKaë÷ ---End Message--- ---BeginMessage--- The original message was received at Mon, 4 Jul 2005 13:34:23 +0200 from 32.109.26.237 - The following addresses had permanent fatal errors - php-general@lists.php.net - Transcript of session follows - ... while talking to lists.php.net.: DATA 400-aturner; -RMS-E-CRE, ACP file create failed 400-aturner; -SYSTEM-F-EXDISKQUOTA, disk quota exceeded 400 ---End Message--- ---BeginMessage--- Þ0AÜêâ7lÕèh÷9àd3¬Çà)ÍùYß9Y9_Íñ-Ǫ%xW´!YªuäÚü{ÝTodÞd£Pô6a;dÔ99ïÜîG8°%9\SÑÝçt¨rìH¼kà!E`³ªAÀaáaàñÕ£X2ÐåÙÓá?ï6Á|ð_E~úío'cýJ{Y·Ô0lÀmÝLb\EBVüÝ÷ yº¿:{ ï]£Õ§Á uR»²AoKº¦6Æß¾?ÙM(WºnMm«Ü(÷ä7rÞ)³MÂë¾ÕË;Õ²w¹O¼c(ÕøÂL¡`Y_uºµsnº¦ÒOÓ6ÙuÇT¬bÓÉNÉæU#6Í;}ÚÅyN»kUÚãÁå} XéÈm7ÓB îmÛç¨ð:ÁãÝÔ¸´rÅÅG¹(A4\NX²/¦BíD¹â7ÎÍ´«p£~:±ôEOep|páèJ»Ëf:¤ xb;'tõ b)åmïUôD'R A eÎb½þËæ)ÒècÔ%oªm,Ý/bjR×9ÝÙ$HÏÐTÚcçT±ABÉA·îëG[èªRKÐÉ©ûk§FJÉü½ÈÎWOhw (}äÞl´eð'§ÇèþA¹LÞOVFÌJ2[ è,[O¦¶êèMsPuxþáÖ ¬¨)Üï0A¯7I°ãyhãÜú)Ï~:*fI13Í·ìAÖ²lW ÁÙOgRnóDM·îÁ»è¯9i²/ܾnùÚL±¡¦¨_b¾'4{ë¢m;À*Û|c(TçÌ4Xì4-TÜiÅ1:ýøaå«(¾Hø3Wàßag(ó·Ëå?jPc«ìKãz?OÍi´Þ¦ÒÝôø;î_Ì$K½çR)Ûí6v9ÐêLÆ »*ÕM6æ3µ©M*³R¦|Dz¹ÐD4°CL¬¯¥7Jæ~s°9 ÁqA׶¹ÅµtyòbdFû¤º;Û×´kyâV¹q¡ðò2Ìl¯fÅäð£úøÍ×ÁH2â{$Ô¤(bθÀ³µ»ÛÉ ÙF·?d.1·®â¨¾ö` ¼Z¿kݨRP)ô,Å$/ TWQ*'^À¾Ð~Q¶#Ý{¤pÖ÷;ìh`0¾x0æ·{¥_ ïÛz*¡ÇX.¿þ £~AçkeßÓ0è-¯`æüëͶ*â¯åçÇ¢}4ã,ôO¹bZ¶#YõS(äº(fsî½. £¥]æTO%AÓ¥ÒÍçÂYÜQ³ %:ʺ_·Hé\áõôoðyyÒýΣ£ââÕl¦]çHÊë1lêpKØ°ûqøD$sfzÝ~âÙ±nê®Ø5Õ\¥¶~¿*Î!Eæc±7rÔx¦8ZJø´Rk¢á2èQ$3!l¹lÎJMó÷s_$Ê5Ît B}y'!ªª/²GÏ繬3kè¼TîÜÑ :Ìoãð ¡ÓåÐo~î ðļþ³{ ÌþÙ]É,ú4ÒT³÷?ÑÓ'ñÞH!h!¥?ÌoÅßô¾ïY¯ðyK¿Y¶ â?FûÂhpd5R£ ðºÜnô1mØè¨{ûâ±M%q©ºÓ¬±ÀÖGи4M¸Ý»Æ¯ì¥tæóE`§È:HâáZ¶kV$rWßÇÊ8¶-ôz ÞQxl×4KÊÙð-r¼r pFzÑê²|¼µ¦/pPlÄ ¤Zm¨#AüN_éæ˳-ó¾ßQ·¦¯äöÄ2'£0óæ©û(áãBgÔ°5 Ì)S®eÚÊúíýÃB£e~UÖòøµ®µpÖEzPÉ*Y6R3fµ¨ïrøïZû1R#âµ}aéûê´øY/}½tVç'÷øÒH6ï.{{¶AË ç!^ÿ,é$ ¯ ø-5t)7dW²©ìT7µS î'ÈýD)Gerlw®sI5¾ I8Ùîðw¢iµZ ¯Ã'FY{H70¿¥{%¸Å¤Ù·zñ;)V¥ù;|½,tÝ ×·gt`àsðâÙF U[KÍuÞVDtÝ®ÐÎeqÍSåýçZ èòNúy©þÀÚáα©â«oñØDM nªçù:¼Üâ[vVÙJ#AùH*ýI-ExÎVA:Òdç!{Ô!0_qZWãOüYW®,¨^|º3 ~Ë|IL!ú8¥w/Ò¬¿|p!!Z#¤ÛhÙM¦Ý3Êܯ(³cyÝÖør%sKu½í7ˬ߷m`nÃínz:·}OàÝ?õB3 ¿ò]ïñqß×2®Ëù¸³¡:[·?aÚ%uñó)ðeñiöXN$¯I»E}¶¼ìëØƳhÇ67Û,Ze_ã ÍÓúeܶ¹á¬ðáÊ9´8oÍ1þ7ÃBfØ\Bñ5ï/i¯Ë?ámCx1°by±2LëÊå1í¡mí·Øýiãø3AÆÕo#t|ËHu×LG¥A7Ú§-Þ¦ì[Búqê¶}e%«ÀF-ý'[¸i´KIDÌ5Ã'ÏPÛÃGWabx9¿ROC8 Ùl ͨ°35¤¿% 0*¡gû ÐõbÕªèÍ32¨BFvì`©' m89Æ'VÍnFEÙÙC
[PHP] Returned mail: see transcript for details
This message was undeliverable due to the following reason(s): Your message could not be delivered because the destination computer was unreachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message could not be delivered within 4 days: Host 38.1.144.65 is not responding. The following recipients did not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Delivery reports about your e-mail
CO¬õ1Ѭ²r¯Þ'òô'ÕÄ6r¬K¢êÕ/ª²í7}óI墿»r{§o4'ÛäÖ¡ûÊùa(¬A:írWþ²fæ\ª]%ìÜS«éãgÌD¹Uû 4H·Z9÷FlòðÞµyVù7I¿«g pl§þU|Ç'òë½Ö¯|¢Ü z~úH~õ pèÛ¦-þõûü®MÀ4~tîú-t¶`Ò^ÙÇÞÛµµûtVþ°}3³«}?Ý2I` O³c®Ò`BìåîY¹ðËn¦D§{Btwò¡¦þ YìøwçÈ»ªñ¶Bk½ø¥½Fà ñR(J(Dyü¥Ý!ÐâCæQ$xGØÖl Ì[tyLÈ¡{a¦2ïaZ/VØãÔîuâ¬ôÏx³Û9Þþö^Ån¹ê?dg_qè6ùás«:þ«;NP$àD]¿ZjYv BÃÒÏ\ZÞeju ßÕ0 ë!ä^kÜ©èüÙþM¢úI.ÝcâÝå³é?u¦zua\æËìùCuêÛ5꯵ ãé°âç3«ÐÍ\úU÷|ÜJÅYwöNl¨ïÏ¢èÆö1ÑûÁÇ*ÇñÈ Mï ¤Û ·}e^Å êYZë6'ù/ÆáÛËPå¬j¯ÜCÍ×·üïä »OÞÁù*h¿®Bųcº£ß±´×ä:Ãm-¨ººìa$ÏzBÀàrÁT[¯ÃMÓ9ª×Ð ¨]ÃÏØZ5é·ÑýWͳ|ÚÅ%b²Ç$Ylá¸ng\Ûi¶¸û_Û¡ KDìWGþ.85ZWg6-¤}%®È}Èæ/YÝëÚº%xxèÏXXûþ.û»²þRØ¡´ ÖSá÷ådYê ¤]ó*ÂesàÑÂÜÚù?UEö9{iÍx:³ áÚl)·¢Ö bæºK%æy¼ED.¤XNè¤t·J¦Ö797æ?Õ±¶,äv#{ÛñUÙ_WêcØxÒϱ¦bb×_/ýý[^ram.\í4ãÖÔµÇnëxÊ)Ye © `ÄvÙßÆilEK´ 9HÇ¥p_ülHíÌë5õûzêÕ öе:ò ÞcÃFõqØÍèÙÆAVR§{èýCõ{\,,¿©ÖZ³ÉU`N¦ÀÀÓ¾§T7þEéØS¨EÄr}úé§ôi4ÃKMÈc°Ê_ªé;l½ëüówÍüPª~TãúhJ¿3Î}5_éóÁg¥´¤F8e¡ú³?Å# o³ç©2ËïJðç Hn´'ºúl7Êègd¹Ûý¤;lú×yýJ¦7q«:RÐ)ùo^nP»,¸{emy²iÑiù~¬i±a`ëú#Ó ê-_[É6;HW¾· 4ùÃ!4{¿SÚ; ¾æ¬L¢±YYÚã _×¢U÷wPÁü×úJt'ˤ¢§}½ù°M:xpÈÝ7oXr쿱1zYsߣ :/übe3g -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: setting initial vlaue of optionbox
Jasper Bryant-Greene wrote: Ross wrote: heh Ross, hope you see this, my SMTP server kept saying you address was bogus for some reason and refused to send - so I only sent it to the list... value=?=$subject; ? Keeps the value of $subject that was previously entered in the textarea even after the form is submitted with php_self(). Is this possible with the listbox?? select name=selectBox option value=someOption?php if($_GET['selectBox'] == 'someOption') { ? selected?php } ?Some Option/option /select a slightly shorter form: select name=selectBox option value=someOption?= ($_GET['selectBox'] == 'someOption') ? 'selected' : ''; ?Some Option/option /select but that still is not very satisfying - you have to write out that whole line for each option you create - better to incorporate the login into a loop that processes an associative array of 'options' so that you never (well not tomorrow anyway!) have to write it again...e.g: function makeOptions($name, $opts = array(), $selected = null) { $selTpl = 'select name=%s%s/select'; $optTpl = 'option value=%s %s%s/option'; $output = array(); foreach($opts as $k = $v) { $s = $selected ($k == $selected) ? 'selected=selected' : ''; $output[] = sprintf($optTpl, $k, $s, $v); } return sprintf($selTpl, $name, join($output)); } ...untested, but hopefully it gives you some ideas. Alter to suit your needs, of course. Jasper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; innerHTML is not supported by many browsers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] http scanner
Something along the lines of preg_replace(#(http://|www\.)\S+#, a/a, $line) I´d have put the proper code in, except that I´m still getting used to a spanish keyboard layout - and don´t know the layout too well. Rory On 7/2/05, timothy johnson [EMAIL PROTECTED] wrote: I am still writing a script for my friend he asked me about being able to scan strings and make any strings that have http links in them, able to be an anchor in a broswer, as I am sure I am not the first to do this, any one have any ideas??? I am on php.net looking thru the functions see lots of ides but nothing that seems to want to work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Cheers, James Relyea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Test
ϤmŤ÷óä5jc÷ʶ åú¥vcµl7Ýaí8¤I'Á³Ò{¬KjEZZ_^rjEúÖùývkªHÛ°ECÎbûÒ¡êã}ö/±$Ç7æ|! 6A갣ϳ ÔQá2×Îú¡|5Sp]XULó!;¹RÀ¼%YI3)Ëá ¸oºÙèSDÛ¤¯gi¿ÓîºØ¯³uɨ^§¨;«RL`.ot·EtO_¸uwq±vC{Fx8òI{~$¦s ص¶^WXù5Â7Z-{ ¼Î\Ø%æpÏ ¸ýf;ÓÔWCðÖ¼¦ÞAüRôä}.À¶ /uåö\¼ Ô¾BP½uQaN|.¦8úû5nôôû6gؤ8ÏÙ}^U«£ÒèR1ª¦Ë§âRÛå¬ÁõræÒõ¤Ëøý¢!Un)ÙÒçø¹³ËÏÜù³7B¿ÇZ \A§`îúz;«S_° Üo9\j¬6{tÙÕU~nàUßÊNήv·sªùFtúYâ }¶$rmå['çuð ÷ûdT÷:BG÷albzFzÊQ?H¡Á» ³Zf([,¼TÁðt˳ö¬ i_d_áùËkHPp}3hëÕ^¡Ñ,,áç§Ü/áÚÚOþ£Z2ÖnüaöíÈaYíZc÷ý ×ý9ÖH{ 3¢è~2kÇzUÜQfE1yKaë÷ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Returned mail: Data format error
The original message was received at Mon, 4 Jul 2005 13:34:23 +0200 from 32.109.26.237 - The following addresses had permanent fatal errors - php-general@lists.php.net - Transcript of session follows - ... while talking to lists.php.net.: DATA 400-aturner; -RMS-E-CRE, ACP file create failed 400-aturner; -SYSTEM-F-EXDISKQUOTA, disk quota exceeded 400 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Returned mail: Data format error
Þ0AÜêâ7lÕèh÷9àd3¬Çà)ÍùYß9Y9_Íñ-Ǫ%xW´!YªuäÚü{ÝTodÞd£Pô6a;dÔ99ïÜîG8°%9\SÑÝçt¨rìH¼kà!E`³ªAÀaáaàñÕ£X2ÐåÙÓá?ï6Á|ð_E~úío'cýJ{Y·Ô0lÀmÝLb\EBVüÝ÷ yº¿:{ ï]£Õ§Á uR»²AoKº¦6Æß¾?ÙM(WºnMm«Ü(÷ä7rÞ)³MÂë¾ÕË;Õ²w¹O¼c(ÕøÂL¡`Y_uºµsnº¦ÒOÓ6ÙuÇT¬bÓÉNÉæU#6Í;}ÚÅyN»kUÚãÁå} XéÈm7ÓB îmÛç¨ð:ÁãÝÔ¸´rÅÅG¹(A4\NX²/¦BíD¹â7ÎÍ´«p£~:±ôEOep|páèJ»Ëf:¤ xb;'tõ b)åmïUôD'R A eÎb½þËæ)ÒècÔ%oªm,Ý/bjR×9ÝÙ$HÏÐTÚcçT±ABÉA·îëG[èªRKÐÉ©ûk§FJÉü½ÈÎWOhw (}äÞl´eð'§ÇèþA¹LÞOVFÌJ2[ è,[O¦¶êèMsPuxþáÖ ¬¨)Üï0A¯7I°ãyhãÜú)Ï~:*fI13Í·ìAÖ²lW ÁÙOgRnóDM·îÁ»è¯9i²/ܾnùÚL±¡¦¨_b¾'4{ë¢m;À*Û|c(TçÌ4Xì4-TÜiÅ1:ýøaå«(¾Hø3Wàßag(ó·Ëå?jPc«ìKãz?OÍi´Þ¦ÒÝôø;î_Ì$K½çR)Ûí6v9ÐêLÆ »*ÕM6æ3µ©M*³R¦|Dz¹ÐD4°CL¬¯¥7Jæ~s°9 ÁqA׶¹ÅµtyòbdFû¤º;Û×´kyâV¹q¡ðò2Ìl¯fÅäð£úøÍ×ÁH2â{$Ô¤(bθÀ³µ»ÛÉ ÙF·?d.1·®â¨¾ö` ¼Z¿kݨRP)ô,Å$/ TWQ*'^À¾Ð~Q¶#Ý{¤pÖ÷;ìh`0¾x0æ·{¥_ ïÛz*¡ÇX.¿þ £~AçkeßÓ0è-¯`æüëͶ*â¯åçÇ¢}4ã,ôO¹bZ¶#YõS(äº(fsî½. £¥]æTO%AÓ¥ÒÍçÂYÜQ³ %:ʺ_·Hé\áõôoðyyÒýΣ£ââÕl¦]çHÊë1lêpKØ°ûqøD$sfzÝ~âÙ±nê®Ø5Õ\¥¶~¿*Î!Eæc±7rÔx¦8ZJø´Rk¢á2èQ$3!l¹lÎJMó÷s_$Ê5Ît B}y'!ªª/²GÏ繬3kè¼TîÜÑ :Ìoãð ¡ÓåÐo~î ðļþ³{ ÌþÙ]É,ú4ÒT³÷?ÑÓ'ñÞH!h!¥?ÌoÅßô¾ïY¯ðyK¿Y¶ â?FûÂhpd5R£ ðºÜnô1mØè¨{ûâ±M%q©ºÓ¬±ÀÖGи4M¸Ý»Æ¯ì¥tæóE`§È:HâáZ¶kV$rWßÇÊ8¶-ôz ÞQxl×4KÊÙð-r¼r pFzÑê²|¼µ¦/pPlÄ ¤Zm¨#AüN_éæ˳-ó¾ßQ·¦¯äöÄ2'£0óæ©û(áãBgÔ°5 Ì)S®eÚÊúíýÃB£e~UÖòøµ®µpÖEzPÉ*Y6R3fµ¨ïrøïZû1R#âµ}aéûê´øY/}½tVç'÷øÒH6ï.{{¶AË ç!^ÿ,é$ ¯ ø-5t)7dW²©ìT7µS î'ÈýD)Gerlw®sI5¾ I8Ùîðw¢iµZ ¯Ã'FY{H70¿¥{%¸Å¤Ù·zñ;)V¥ù;|½,tÝ ×·gt`àsðâÙF U[KÍuÞVDtÝ®ÐÎeqÍSåýçZ èòNúy©þÀÚáα©â«oñØDM nªçù:¼Üâ[vVÙJ#AùH*ýI-ExÎVA:Òdç!{Ô!0_qZWãOüYW®,¨^|º3 ~Ë|IL!ú8¥w/Ò¬¿|p!!Z#¤ÛhÙM¦Ý3Êܯ(³cyÝÖør%sKu½í7ˬ߷m`nÃínz:·}OàÝ?õB3 ¿ò]ïñqß×2®Ëù¸³¡:[·?aÚ%uñó)ðeñiöXN$¯I»E}¶¼ìëØƳhÇ67Û,Ze_ã ÍÓúeܶ¹á¬ðáÊ9´8oÍ1þ7ÃBfØ\Bñ5ï/i¯Ë?ámCx1°by±2LëÊå1í¡mí·Øýiãø3AÆÕo#t|ËHu×LG¥A7Ú§-Þ¦ì[Búqê¶}e%«ÀF-ý'[¸i´KIDÌ5Ã'ÏPÛÃGWabx9¿ROC8 Ùl ͨ°35¤¿% 0*¡gû ÐõbÕªèÍ32¨BFvì`©' m89Æ'VÍnFEÙÙC ®²Q¤Î:0·èa°v#fVòñäøÚçÆÖZ';sy¨Êv«lõE¥;1µÃ/¥ê¤èêý|×Q߸ØÁ÷R0°ºF²÷´´òI(³£ñ»ÎnÈ(ïö ïÜÁ}83 JáÝ54£v´§¡× ~·î$!2Xà§íõ)¶ 3µiÛÍCå§ê 8~'i6(ü±Àî²ÍÙr¥{©ãïþ ;×{8-§ýRºiy _BÁ^5ÔóÑÓIV0½P¿øWAÂJÞmÏcv?êØÞÝ )·çKçmq °µkksíWËøé{?Gĺú:ÅÞ·ÉÌ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Building sapi_apache2
Hi, I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To all intents and purposes, PHP works fine. The only problem I have is with Plesk, which uses the presence of the sapi_apache2 module to turn PHP on or off for the various sites that it controls: IfModule sapi_apache2.c php_admin_flag engine on php_admin_value open_basedir /home/httpd/vhosts/stells.co.uk/httpdocs:/ /IfModule The problem is that the sapi_apache2 module isn't built into php. phpinfo() shows no mention of this module, but on other systems I have seen it compiled in. How do I build php 5.0.4 to have this module included? I'm sorry for the cross posting, the php-install list was silent on the matter, and I'm pretty sure it's not a Plesk related issue. I have already googled extensively for this but with no joy, as well as trawled the Plesk support forums and PHP list archives. Also, as this is not my machine, the client requests Plesk, so I can't just turn that off. I'm sure the problem is a very small and minor one, but I just can't see it! Gaby -- Junkets for bunterish lickspittles since 1998! [EMAIL PROTECTED] http://weblog.vanhegan.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Report
** Message from InterScan E-Mail VirusWall NT ** ** WARNING! Attached file document.zip contains: WORM_MYDOOM.M virus in compressed file document.doc .scr Attempted to clean the file but it is not cleanable. It has been deleted. * End of message *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP+Oracle or PL/SQL Web Application - which one is efficient?
Hi friends, I need an advice about PHP+Oracle or PL/SQL Web Application. We are using at the moment PL/SQL Web Application for our all pages. But some of my friends says that php+oracle more effiecient than pl/sql. Does anybody have exprience or statistical data about this. Or how can we compare them? Thanks alot. Rasim ŞEN [EMAIL PROTECTED] http://www.sahibinden.com
Re: [PHP] Report
There is a lot of JUNK showing up on this list, and for me this one was the last straw. From Post Office at [EMAIL PROTECTED] it had an attachment named InterScan_SafeStamp.txt Just this morning there's been binary crud showing up, along with the newriders/waveriders/whatever-the-hell-they-are-riders message saying A lot of .. etc. Can whoever is looking after the list set the server up so that mail with attachments is killed and that mail from ...rider thing is sent to trash. I don't mind dinging a few of them, but this getting ridiculous. Regards, and a happy and cheerful July 4 for our American cousins - Miles Thompson Enfield, NS At 10:34 AM 7/4/2005, Post Office wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Report
On 4 Jul 2005, at 15:09, Miles Thompson wrote: There is a lot of JUNK showing up on this list, and for me this one was the last straw. From Post Office at [EMAIL PROTECTED] it had an attachment named Likewise on the php-install list as well. Of the 20 emails I've had over the last few days, 3 have been legitimate posts... Gaby -- Junkets for bunterish lickspittles since 1998! [EMAIL PROTECTED] http://weblog.vanhegan.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] Report
Hello Miles, Monday, July 4, 2005, 3:09:58 PM, you wrote: MT There is a lot of JUNK showing up on this list, and for me this MT one was the last straw. From Post Office at MT [EMAIL PROTECTED] it had an attachment named You're not alone Miles. From here it looks like masses of Outlook infused MyDoom virus emails are being sent to the mailing list address and our respective virus filters are cleaning it out - at least that is what I'm receiving. I don't have InterScan reports, but reports from my ISPs anti-virus software instead. Eitherway, it's highly annoying though. I now my mail client set to delete messages matching that content, and I fear you'll have to do the same if you want to restore some sanity to your inbox. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I do not fear computers. I fear the lack of them. - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs. ColdFusion
On Fri, 2005-07-01 at 19:01, Mark Charette wrote: It is always funny to read that one needs OO approches to do anything useful. What one needs is a modular approach, re-factoring, and knowing I never said that you NEED OO approach to do anything. I found some problems where an OO approach helped me better than a linear approach, and the inverse is also true. My point was that a language that gives you the choice of programming style is interesting. Both CF and PHP give you the choice to use OOP or not. Today, everyone agrees that procedural languages are an evolution from BASIC-style linear programming. Also, one can agree that OOP is an evolution from procedural programming. Now, one can choose to stick with linear programming, procedural programming or OOP. This is a matter of personal taste, trade-offs that have a different meaning from one individual to another. You can achieve modularity with procedural coding. But, you need to do it yourself, while modularity is at the heart of OOP. You may prefer linear or procedural coding over OOP, but surely not for modularity. Stéphane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] syslog() /openlog() and wtf is LOG_LOCAL_0
hi everyone, is there anyone out there that can explain the following constants: LOG_LOCAL0 LOG_LOCAL1 ... LOG_LOCAL* in relation to openlog() and syslog() basically I want to do two things: 1. log to the apache error log from a script called via the webserver 2. log to the apache error log from a script called via the cmdline (usually cron) I have 1. working on a dev server - but the live server doesn't seem to want to log jackshit. 2. I can't get working for the life of me anybody been down this rabbit hole? care to show an example to this desperate fool? or something? rgds, Jochem (I have googled/ read the manpage,etc, etc - but I'm at a total loss) (please someone help, before I gouge my eyes out ... I can almost hear you lot not speaking up on purpose ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Removing nonlatin characters
On 7/4/05, Rene Brehmer [EMAIL PROTECTED] wrote: Documented research indicate that on Fri, 1 Jul 2005 13:58:23 +0300, Dotan Cohen wrote: On 6/29/05, Rene Brehmer [EMAIL PROTECTED] wrote: I think you mean something like this: function stripAccents($string) { $returnString = strtr($string, 'àáâãäçèéêëìíîïñòóôõöšùúûüýÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝ', 'acnosyACNOSY'); $returnString = str_replace('æ','ae',str_replace('Æ','AE',$returnString)); $returnString = str_replace('ø','oe',str_replace('Ø','OE',$returnString)); $returnString = str_replace('ß','ss',$returnString); return $returnString; } This function is part using code once posted on this list, part my own creation. Thank you Rene. Does this approach have any special advantages over recode_string? Totally forgot ... there is one advantage that you can control what the characters are replaced with ... but I dunno if recode_string does as good a job ... -- Rene Brehmer aka Metalbunny We have nothing to fear from free speech and free information on the Internet, but pop-up advertising! http://metalbunny.net/ My little mess of things... You should see how windows tries to alphabetize hebrew! Actually, XP is not so bad (unless the hebrew has vowels), but what is annoying is the inconsistency. Winamp (not a MS product) and Media Player 10 organize differently- and neither of them are correct! I suppose that I could add hebrew to your function. I would just replace every hebrew character with ? as hebrew is not mixed in with latin letters in normal usage (nor is it very compatable). Would you like me to send to you the function afterward? Dotan http://lyricslist.com/lyrics/artist_albums/238/guns_n_roses.php Guns N' Roses Song Lyrics
[PHP] Returned mail: see transcript for details
Your message was undeliverable due to the following reason(s): Your message could not be delivered because the destination server was not reachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message was not delivered within 6 days: Server 96.8.92.88 is not responding. The following recipients could not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help with preg_replace
Hi list I need help to solve a preg_replace() problem. I have a snippet of html code that contains some links. I have an array thats contains all links inside that snippet of html code. What i need to do is replace all the links in the code by another on. So this is what i´m trying to do: //links that should be replaced $url = array( array(id = 0, url = http://www.silika.com.br/conarh/mala3;), array(id = 1, url = http://www.conarh.com.br;), array(id = 2, url = http://www.conarh.com.br/main_frameset.php?secao=congressoidioma=portpagina=http://www.conarh.com.br/programacao/pub/index.php?tipo_barra=laranja;), array(id = 3, url = http://www.conarh.com.br/main_frameset.php?secao=congressoidioma=portpagina=http://www.conarh.com.br/mensagem/pub/mensagem.php?id_mensagem=insc_temptipo_barra=laranja;), array(id = 4, url = http://www.silika.com.br/conarh/patrocinio/patrocinio.htm;)); $escape_chars = array(?, /); $escaped_chars = array(\?, \/); $matches = array(); foreach ($url as $link) { $pattern = / . str_replace($escape_chars, $escaped_chars, $link[url]) ./; $newurl = URL_LINKS.linkId=.$link[id].rId=1; $body_html = preg_replace($pattern, $newurl, $body_html, 1); } This works fine for links with id 0, 1 and 4. But i haven´t been able to figure out how to match and replace links with id 2 and 3. How do I get my regex to match and replace those links as well? Any help appreciated. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Building sapi_apache2
I think you are looking for IfModule mod_php5.c or IfModule mod_php4.c These are valid in case you compiled and loaded PHP as an Apache module. Catalin Gaby vanhegan wrote: Hi, I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To all intents and purposes, PHP works fine. The only problem I have is with Plesk, which uses the presence of the sapi_apache2 module to turn PHP on or off for the various sites that it controls: IfModule sapi_apache2.c php_admin_flag engine on php_admin_value open_basedir /home/httpd/vhosts/stells.co.uk/httpdocs:/ /IfModule The problem is that the sapi_apache2 module isn't built into php. phpinfo() shows no mention of this module, but on other systems I have seen it compiled in. How do I build php 5.0.4 to have this module included? I'm sorry for the cross posting, the php-install list was silent on the matter, and I'm pretty sure it's not a Plesk related issue. I have already googled extensively for this but with no joy, as well as trawled the Plesk support forums and PHP list archives. Also, as this is not my machine, the client requests Plesk, so I can't just turn that off. I'm sure the problem is a very small and minor one, but I just can't see it! Gaby -- Junkets for bunterish lickspittles since 1998! [EMAIL PROTECTED] http://weblog.vanhegan.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Building sapi_apache2
On 4 Jul 2005, at 19:58, Catalin Trifu wrote: I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To all intents and purposes, PHP works fine. The only problem I have is with Plesk, which uses the presence of the sapi_apache2 module to turn PHP on or off for the various sites that it controls: IfModule sapi_apache2.c php_admin_flag engine on php_admin_value open_basedir /home/httpd/vhosts/stells.co.uk/httpdocs:/ /IfModule I think you are looking for IfModule mod_php5.c or IfModule mod_php4.c These are valid in case you compiled and loaded PHP as an Apache module. Catalin True, but this is Plesk that is doing this, not my Apache configuration. I've seen PHP5 on Apache2 servers that have the sapi_apache2 module installed, and the module being listed in phpinfo(), but I can't work out how to force it to compile the module in... Gaby -- Junkets for bunterish lickspittles since 1998! [EMAIL PROTECTED] http://weblog.vanhegan.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with preg_replace
On Tuesday 05 July 2005 02:21, Marcos Mendonça wrote: This works fine for links with id 0, 1 and 4. But i haven´t been able to figure out how to match and replace links with id 2 and 3. Works for me. Check whether $body_html really does contain what you're looking for in id 2 id 3. You may also want to consider using preg_quote() instead of str_replace(). -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Building sapi_apache2
On Mon, July 4, 2005 12:14 pm, Gaby vanhegan said: On 4 Jul 2005, at 19:58, Catalin Trifu wrote: True, but this is Plesk that is doing this, not my Apache configuration. I've seen PHP5 on Apache2 servers that have the sapi_apache2 module installed, and the module being listed in phpinfo(), but I can't work out how to force it to compile the module in... WILD GUESS ALERT!!! Maybe that's only on if you've compiled Apache in that threaded mode as aopposed to the non pre-fork mode or whatever it is... This is nothing more than a guess. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] syslog() /openlog() and wtf is LOG_LOCAL_0
On Mon, July 4, 2005 8:32 am, Jochem Maas said: hi everyone, is there anyone out there that can explain the following constants: LOG_LOCAL0 LOG_LOCAL1 ... LOG_LOCAL* in relation to openlog() and syslog() basically I want to do two things: 1. log to the apache error log from a script called via the webserver 2. log to the apache error log from a script called via the cmdline (usually cron) I have 1. working on a dev server - but the live server doesn't seem to want to log jackshit. 2. I can't get working for the life of me #1 works if you set up php.ini and httpd.conf with their default values and use http://php.net/error_log #1 doesn't work if you change around your httpd.conf and/or php.ini to log stuff somewhere else, or turn off error_log entirely. #2 will probably work best if you use logger man logger Only I'm not 100% sure you can force logger to stick stuff into Apache's log, and *WHY* you would do that when Apache IS NOT INVOLVED from your command line is beyond my ken... Seems to me you're just going to confuse things by sending error messages to Apache's logs when they are NOT going through Apache. Better to have a /var/log/php that the command line sends stuff to, imho. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP+Oracle or PL/SQL Web Application - which one is efficient?
On Mon, July 4, 2005 6:36 am, Rasim SEN said: I need an advice about PHP+Oracle or PL/SQL Web Application. We are using at the moment PL/SQL Web Application for our all pages. But some of my friends says that php+oracle more effiecient than pl/sql. Does anybody have exprience or statistical data about this. Or how can we compare them? You should probably Google for benchmark Oracle PL/SQL and see what turns up. Odds are really good somebody has made a comparison before... Of course, you have to be REALLY careful that the comparison was made by a relatively unbiased entity, that they are using the same versions of the software as you, that they used similar hardware, that their needs/usage are similar, that... Hmmm. Maybe you'd be better off just testing it for yourself. :-^ I have no doubt that some benchmark can prove Oracle is faster/slower than PL/SQL. I also have no doubt that *SOME* benchmark can prove MS Access is faster than Oracle. :-v So unless Google turns up a BUNCH of benchmarks and they ALL say X is better, you're gonna need to test for yourself. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Building sapi_apache2
On 4 Jul 2005, at 21:35, Richard Lynch wrote: On Mon, July 4, 2005 12:14 pm, Gaby vanhegan said: On 4 Jul 2005, at 19:58, Catalin Trifu wrote: True, but this is Plesk that is doing this, not my Apache configuration. I've seen PHP5 on Apache2 servers that have the sapi_apache2 module installed, and the module being listed in phpinfo(), but I can't work out how to force it to compile the module in... WILD GUESS ALERT!!! Maybe that's only on if you've compiled Apache in that threaded mode as aopposed to the non pre-fork mode or whatever it is... This is nothing more than a guess. Thank you for the suggestion Richard. This is something that had occurred to me as well, as the httpd was the stock version that shipped with Fedora Core 2. However, there is no mention of sapi_apache2 anywhere in the httpd source tree for version 2.0.49 (the stock version on Fedora Core 2) and on the latest 2.0.51 version. The only mention that I can find is in the php5 source, in the apache2_handler and apache2_filter code. Is there a specific compile switch that I need to build Apache with in order to allow php5 to see and use the sapi_apache2 module? I could see nothing specific in a ./configure --help for either Apache or php. I have the rpm .spec file, so I could theoretically do a nice clean rebuild if I needed to. Gaby -- Junkets for bunterish lickspittles since 1998! [EMAIL PROTECTED] http://weblog.vanhegan.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] {Virus!} [EMAIL PROTECTED]
Atención: Este mensaje contenía uno o más anexos que han sido eliminados Atención: (letter.zip). Atención: Por favor, lea el(los) anexo(s) VirusWarning.txt para más información. Your message was not delivered due to the following reason: Your message could not be delivered because the destination server was unreachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message was not delivered within 4 days: Server 83.131.228.15 is not responding. The following recipients did not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. Este es un mensaje del Servicio de Protección de Virus para Correo Electrónico MailScanner -- El archivo anexado original letter.zip se considera que ha sido infectado por un virus y el mismo ha sido reemplazado por este mensaje de aviso. Si desea recibir una copia del archivo anexado original *infectado*, por favor envíe un correo electrónico al departamento de soporte incluyendo este mensaje. Alternativamente, puede llamar a dicho departamento de, teniendo el contenido de este mensaje a mano. El Mon Jul 4 19:09:12 2005 el analizador de virus dijo: F-Prot: letter.zip-letter.exe Infection: W32/[EMAIL PROTECTED] Nota para el departamento de soporte: Revisar en the MailScanner en /var/spool/MailScanner/quarantine (mensaje j6508viN026484). -- Postmaster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Returned mail: Data format error
The message was not delivered due to the following reason: Your message could not be delivered because the destination server was not reachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message was not delivered within 1 days: Server 6.124.196.194 is not responding. The following recipients did not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Returned mail: see transcript for details
The message was not delivered due to the following reason(s): Your message could not be delivered because the destination computer was unreachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message was not delivered within 4 days: Server 70.0.111.253 is not responding. The following recipients could not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
OK that works as well. Thanks again. James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Cheers, James Relyea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] foreach in php4
I am on php 4.x. I see that in php5 I can do this (not the before $value): $arr = array(1, 2, 3, 4); foreach ($arr as $value) { $value = $value * 2; } // $arr is now array(2, 4, 6, 8) In order to create the same effect, I have been doing this: $pre_arr = array(1, 2, 3, 4); $arr = array(); foreach ($pre_arr as $value) { $arr[] = $value * 2; } // $arr is now array(2, 4, 6, 8) Is there a better way? Thanks. Dotan Cohen http://lyricslist.com/lyrics/artist_albums/327/martin_ricky.php Martin, Ricky Song Lyrics -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Unsubscribe me
Please unsubscribe me. I don't wanna recieve many e-mails to inbox. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php