Jump to content

sniperscope

Members
  • Posts

    280
  • Joined

  • Last visited

Everything posted by sniperscope

  1. I figured out that date("y-n-m H:i") gives me exact tokyo time. But this code gives me 15 hours behind Chicago time. Why is this happening? Why i have two different time at same host at same time. if(date("H:i:s") < '03:00:00') // Changes midnight 00:00:00 to 03:00:00 $midnight = 1; else $midnight = 0; $TODAY__ = mktime(0, 0, 0, date("n"), date("d") - $midnight, date("Y"));
  2. i want to reset it for tokyo time. Because my database stored date for japanese local time. And now all my time is 15 hours behind schedule. Example: i store some data which should display at 2010/12/01 11:47:00 at japan time(Current time in Tokyo). But Chicago is 2010-11-30 20:48:00. So, based on this difference i have to wait 15 hours to display data which means data will be useless.
  3. Hi My code was working perfectly when my hosting company located in Japan. But i transfer to US(hostgator) and now my time zone changes asia/tokyo to America/Chicago. Therefore, all my codes, scripts and sites are following one day behind of Japan local time. Great appreciate for any help. My code is below: <?php $host = "localhost"; $user = "user"; $pass = "pass"; $data = "mysql_db"; $cn = mysql_connect($host, $user, $pass) or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db($data, $cn) or die("Could not Connect Database Please Try again later !!!"); mysql_query("set names utf-8", $cn); if(date("H:i:s") < '03:00:00') // Changes midnight 00:00:00 to 03:00:00 $midnight = 1; else $midnight = 0; $TODAY__ = mktime(0, 0, 0, date("n"), date("d") - $midnight, date("Y")); date_default_timezone_set('Asia/Tokyo'); ?>
  4. Do something following. <?php if (isset($_POST['SubmitMe']) && $_POST['SubmitMe'] == 1){ echo "clicked"; } else{ echo "not_clicked"; } ?> <form id="myform" enctype="multipart/form-data" action="test.php" method="POST"> <input type="hidden" name="SubmitMe" value="1"> <input type="submit" value="Upload" /> </form>
  5. Hi i wrote a find and replace code but my code replace last value of array and skip the first, second.... values in the array. Please give me an idea because i stack with this code. Regards $KeyWord = explode("\n", $RowGetWords['KEYWORDS']); $Replace = explode("\n", $RowGetWords['ReplaceTo']); for($i=0; $i<count($KeyWord); $i++){ $pattern = $KeyWord[$i]; $replace = "<a href=\"" .$URL. "\" target=\"_blank\" >" .$Replace[$i]. "</a>"; $html = str_replace($pattern, $replace, $Row['MessageBody']); }
  6. And here is debug of $result; :'( :-\ <html><head><meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1"><link href="http://blogsearch.google.com/blogsearch_feeds?hl=en&q=php&ie=utf-8&num=10&output=atom" rel=alternate type="application/atom+xml" title=Atom /><link href="http://blogsearch.google.com/blogsearch_feeds?hl=en&q=php&ie=utf-8&num=10&output=rss" rel=alternate type="application/rss+xml" title=RSS /><script type="text/javascript">function b(c){this.t={};this.tick=function(d,e,a){a=a?a:(new Date).getTime();this.t[d]=[a,e]};this.tick("start",null,c)}var f=new b;window.jstiming={Timer:b,load:f};try{window.jstiming.pt=window.gtbExternal&&window.gtbExternal.pageT()||window.external&&window.external.pageT}catch(g){}; </script><title>php - Google Blog Search</title><style type="text/css"><!-- .t a:link,.t a:active,.t a:visited,.t{color:#000} .t{background-color:#e5ecf9} .k{background-color:#36c} .h{color:#36c;font-size:14px} .i,.i:link{color:#a90a08} .a,.a:link{color:#008000} .z{display:none} div.n{margin-top: 1ex} .n a{font-size:10pt; color:#000} .n .i{font-size:10pt; font-weight:bold} .q a:visited,.q a:link,.q a:active,.q {color: #00c; } .b{font-size: 12pt; color:#00c; font-weight:bold} .ch{cursor:pointer;cursor:hand} .e{margin-top: .75em; margin-bottom: .75em} p.pr{margin:30px 0 0 0} ul.pr{margin:0; padding-left:20px} ul.pr li{margin-top:2px; list-style: disc} .j{width:34em} .br2{line-height:18px} br.sbb{display:none} .std{font-size:small;font-family:arial,sans-serif;white-space:nowrap} .std span{color:green;font-style:normal} .std a:link{color:#77c}.sop{font-size:63%} #gbar,#guser{font-size:13px;padding-top:2px !important}#gbar{float:left;height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}#gbs,.gbm{background:#fff;left:0;position:absolute;text-align:left;visibility:hidden;z-index:1000}.gbm{border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;z-index:1001}.gb1{margin-right:.5em}.gb1,.gb3{zoom:1}.gb2{display:block;padding:.2em .5em;}.gb2,.gb3{text-decoration:none;border-bottom:none}a.gb1,a.gb2,a.gb3,a.gb4{color:#00c !important}.gbi .gb3,.gbi .gb2,.gbi .gb4{color:#dd8e27 !important}.gbf .gb3,.gbf .gb2,.gbf .gb4{color:#900 !important}a.gb2:hover{background:#36c;color:#fff !important}body,td,div,.p,a{font-family:arial,sans-serif} body{background:#fff;margin:2px 8px 0 8px} div,td{color:#000} div#m{margin:0.5em 0 0} table.ttt{background:#e5ecf9;padding:5px 1px 4px} td.tpb{background:#36c} td.ttb{background:#e5ecf9;white-space:nowrap} td.rsb{background:#e5ecf9;white-space:nowrap} td.btb{background:#36c} td.bts{background:#e5ecf9} .ln{border-right:1px solid #ccc;float:left;padding-bottom:1em;width:135px} .ln .hd{background:#eee;color:#000;margin-bottom:0.3em;padding-bottom:1px;padding-top:1px;padding-left:4px;text-align:left} .ln .tx{padding-left:8px} .ln .ctx{padding-left:8px;font-weight:bold} .ln .s{margin-top:1.5em} .f,.fl:link{color:#77c} a:link,.w,a.w:link,.w a:link{color:#00c} a:visited,.fl:visited{color:#551a8b} a:active,.fl:active{color:#f00} a.f1:link,a.f1:visited{color:green} a.f2:link,a.f2:visited{} .g{color:#f00;margin-bottom:1em;margin-top:1em} tr.asb{background:#e5ecf9} td img.as{padding:12px 0 12px 0} div#rs td{padding:0pt 30px 7px 0pt;vertical-align:top;font-size:small}div#rs caption{text-align:left;padding-bottom:5px}--></style> <script src="/blogsearch/cscript/calpop-tight2.js" type="text/javascript"></script><script> <!-- window.gbar={};(function(){function h(a,b,d){var c="on"+b;if(a.addEventListener)a.addEventListener(b,d,false);else if(a.attachEvent)a.attachEvent(c,d);else{var f=a[c];a[c]=function(){var e=f.apply(this,arguments),g=d.apply(this,arguments);return e==undefined?g:g==undefined?e:g&&e}}};var i=window.gbar,k,l,m;function n(a){var b=window.encodeURIComponent&&(document.forms[0].q||"").value;if(b)a.href=a.href.replace(/([?&])q=[^&]*|$/,function(d,c){return(c||"&")+"q="+encodeURIComponent(b)})}i.qs=n;function o(a,b,d,c,f,e){var g=document.getElementById(a);if(g){var j=g.style;j.left=c?"auto":b+"px";j.right=c?b+"px":"auto";j.top=d+"px";j.visibility=l?"hidden":"visible";if(f&&e){j.width=f+"px";j.height=e+"px"}else{o(k,b,d,c,g.offsetWidth,g.offsetHeight);l=l?"":a}}}i.tg=function(a){a=a||window.event;var b,d=a.target||a.srcElement;a.cancelBubble=true;if(k!=null)p(d);else{b=document.createElement(Array.every||window.createPopup?"iframe":"div");b.frameBorder="0";k=b.id="gbs";b.src="javascript:''".parentNode.appendChild(b);h(document,"click",i.close);p(d);i.alld&&i.alld(function(){var c=document.getElementById("gbli");if(c){var f=c.parentNode;q(f,c);var e=c.prevSibling;f.removeChild(c);i.removeExtraDelimiters(f,e);b.style.height=f.offsetHeight+"px"}})}};function r(a){var b,d=document.defaultView;if(d&&d.getComputedStyle){if(a=d.getComputedStyle(a,""))b=a.direction}else b=a.currentStyle?a.currentStyle.direction:a.style.direction;return b=="rtl"}function p(a){var b=0;if(a.className!="gb3")a=a.parentNode;var d=a.getAttribute("aria-owns")||"gbi",c=a.offsetWidth,f=a.offsetTop>20?46:24,e=false;do b+=a.offsetLeft||0;while(a=a.offsetParent);a=(document.documentElement.clientWidth||document.body.clientWidth)-b-c;c=r(document.body);if(d=="gbi"){var g=document.getElementById("gbi");q(g,document.getElementById("gbli")||g.firstChild);if(c){b=a;e=true}}else if(!c){b=a;e=true}l!=d&&i.close();o(d,b,f,e)}i.close=function(){l&&o(l,0,0)};function s(a,b,d){if(!m){m="gb2";if(i.alld){var c=i.findClassName(a);if(c)m=c}}a.insertBefore(b,d).className=m}function q(a,b){for(var d,c=window.navExtra;c&&(d=c.pop());)s(a,d,b)}i.addLink=function(a,b,d){if((b=document.getElementById(b))&&a){a.className="gb4";var c=document.createElement("span");c.appendChild(a);c.appendChild(document.createTextNode(" | "));c.id=d;b.appendChild(c)}}})();function ss(w){window.status=w;return true;}function cs(){window.status='';}function ga(o,e){if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h) r = h.id;}} else {h = e.srcElement;f = h.parentNode;if (f) p = f.id;t = h.id;}if (t==a || p==a || r==a) return true;location.href=document.getElementById(a).href}}function clk(url,ct,cd,cad,sg){return function() {window.status = url;var rwurl = escape(url.href).replace(/\+/g,"%2B");var rdh = '';var rdp = '';if (rdh.length > 0 && rdp.length > 0) {if ((url.host == rdh || url.hostname == rdh) &&url.pathname == rdp) {if (url.search.length) {var fields = url.search.split('&');for (var f = 0; f < fields.length; f++) {var field = fields[f].split('=');if (field[0] == 'q' ) {rwurl = escape(field[1]).replace(/\+/g,"%2B");break;}}}}}(new Image()).src="/blogsearch/url?sa=T&ct="+escape(ct)+"&cd="+escape(cd)+"&cad="+escape(cad)+"&url="+rwurl+"&ei="+sg;return true;}} function rl() {if (document.images) {var h = location.hostname;var nln = document.links.length;for (var i = 0; i < nln; ++i) {var ln = document.links[i];if (ln.id) {if (ln.host == h || ln.hostname == h) {continue;}var id = ln.id;var sig = "";var colonPos = id.indexOf(":");if (colonPos != -1) {sig = "&sig2=" + id.substring(colonPos+1);id = id.substring(0, colonPos);}var posIdArray = id.split("-");if ( posIdArray.length != 2 ||(posIdArray[0] != "p" && posIdArray[0] != "b" &&posIdArray[0] != "pb") ||Number(posIdArray[1]) == Number.NaN) {continue;}ln.onmousedown = clk(ln, "res",posIdArray[1],posIdArray[0], sig);}}}}if(window.jstiming){window.jstiming.a={};window.jstiming.c=1;function j(a,b,e){var c=a.t[b],g=a.t.start;if(!c||!(g||e))return undefined;c=a.t[b][0];g=e!=undefined?e:g[0];return c-g}window.jstiming.report=function(a,b,e){var c="";if(window.jstiming.pt){c+="&srt="+window.jstiming.pt;delete window.jstiming.pt}try{if(window.external&&window.external.tran)c+="&tran="+window.external.tran;else if(window.gtbExternal&&window.gtbExternal.tran)c+="&tran="+window.gtbExternal.tran()}catch(g){}if(a.b)c+="&"+a.b; var f=a.t,n=f.start,k=[],h=[];for(var d in f)if(d!="start")if(d.indexOf("_")!=0){var i=f[d][1];if(i)f[i]&&h.push(d+"."+j(a,d,f[i][0]));else n&&k.push(d+"."+j(a,d))}delete f.start;if(b)for(var l in b)c+="&"+l+"="+b[l];a=[e?e:"http://csi.gstatic.com/csi","?v=3","&s="+(window.jstiming.sn||"blogsearch")+"&action=",a.name,h.length?"&it="+h.join(","):"",c,"&rt=",k.join(",")].join("");b=new Image;var m=window.jstiming.c++;window.jstiming.a[m]=b;b.onload=b.onerror=function(){delete window.jstiming.a[m]}; b.src=a;b=null;return a}}; function _rrt_t(n, r) {var t = window.jstiming.load;t.name = 'search';t.tick(n);if (r) {window.jstiming.report(t, {'e': '17259'});}}function _rrt_ol() {_rrt_t('ol', true);}//--> </script> </head><body onLoad="document.gs.reset();rl();_rrt_ol();"><div id=gbar><nobr><a href="http://www.google.com/search?hl=en&ie=UTF-8&q=php&sa=N&tab=bw" onclick=gbar.qs(this) class=gb1>Web</a> <a href="http://www.google.com/images?hl=en&ie=UTF-8&q=php&sa=N&tab=bi" onclick=gbar.qs(this) class=gb1>Images</a> <a href="http://video.google.com/videosearch?hl=en&ie=UTF-8&q=php&sa=N&tab=bv" onclick=gbar.qs(this) class=gb1>Videos</a> <a href="http://maps.google.com/maps?hl=en&ie=UTF-8&q=php&sa=N&tab=bl" onclick=gbar.qs(this) class=gb1>Maps</a> <a href="http://news.google.com/news?hl=en&ie=UTF-8&q=php&sa=N&tab=bn" onclick=gbar.qs(this) class=gb1>News</a> <a href="http://www.google.com/products?hl=en&ie=UTF-8&q=php&sa=N&tab=bf" onclick=gbar.qs(this) class=gb1>Shopping</a> <a href="http://mail.google.com/mail/?hl=en&tab=bm" class=gb1>Gmail</a> <a href="http://www.google.com/intl/en/options/" onclick="this.blur();gbar.tg(event);return !1" aria-haspopup=true class=gb3><u>more</u> <small>&#9660;</small></a><div class=gbm id=gbi><a href="http://books.google.com/books?hl=en&ie=UTF-8&q=php&sa=N&tab=bp" onclick=gbar.qs(this) class=gb2>Books</a> <a href="http://www.google.com/finance?hl=en&ie=UTF-8&q=php&sa=N&tab=be" onclick=gbar.qs(this) class=gb2>Finance</a> <a href="http://translate.google.com/translate_t?hl=en&ie=UTF-8&q=php&sa=N&tab=bT" onclick=gbar.qs(this) class=gb2>Translate</a> <a href="http://scholar.google.com/scholar?hl=en&ie=UTF-8&q=php&sa=N&tab=bs" onclick=gbar.qs(this) class=gb2>Scholar</a> <b class=gb2>Blogs</b> <div class=gb2><div class=gbd></div></div><a href="http://www.youtube.com/results?hl=en&ie=UTF-8&q=php&sa=N&tab=b1" onclick=gbar.qs(this) class=gb2>YouTube</a> <a href="http://www.google.com/calendar/render?hl=en&tab=bc" class=gb2>Calendar</a> <a href="http://picasaweb.google.com/lh/view?hl=en&ie=UTF-8&q=php&sa=N&tab=bq" onclick=gbar.qs(this) class=gb2>Photos</a> <a href="http://docs.google.com/?hl=en&tab=bo" class=gb2>Documents</a> <a href="http://www.google.com/reader/view/?hl=en&tab=by" class=gb2>Reader</a> <a href="http://sites.google.com/?hl=en&tab=b3" class=gb2>Sites</a> <a href="http://groups.google.com/groups?hl=en&ie=UTF-8&q=php&sa=N&tab=bg" onclick=gbar.qs(this) class=gb2>Groups</a> <div class=gb2><div class=gbd></div></div><a href="http://www.google.com/intl/en/options/" class=gb2>even more »</a> </div></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div align=right id=guser style="font-size:84%;padding:0 0 4px" width=100%><nobr><a href="https://www.google.com/accounts/Login?continue=http://blogsearch.google.com/blogsearch%3Fhl%3Den%26ie%3DUTF-8%26q%3Dphp%26btnG%3DSearch%2BBlogs&hl=en">Sign in</a></nobr></div><div id=h style="clear:left;position:relative;left:1px;padding-top:16px;padding-bottom:11px;"><table border=0 cellpadding=0 cellspacing=0><tbody><tr><td valign="top"><a href="http://blogsearch.google.com/blogsearch?hl=en"><img alt="Go to Blog Search Home" border=0 class=l height="40" src="/blogsearch/intl/en_ALL/images/blogs_logo.gif" width="167"></a></td><td style="width:8px"></td><td style="padding-bottom:4px;"><table border=0 cellpadding=0 cellspacing=0><tbody><tr></tr><form action="http://blogsearch.google.com/blogsearch" name=gs><tr><td rowspan=3></td><td align=center><input id=hl name=hl type=hidden value="en" /><input name="ie" type=hidden value="ISO-8859-1" /><input id=q maxLength=256 name=q size=41 value="php"><br class=sbb> <input id=btnG name=btnG type=submit value="Search Blogs" /> <input id=btnW name=btnW type=submit value="Search the Web" /></td><td align=left class=sop nowrap width=185> <a href="http://blogsearch.google.com/blogsearch/advanced_blog_search?hl=en&ie=ISO-8859-1&q=php">Advanced Blog Search</a><br/> <a class=prf href="http://www.google.com/preferences?hl=en">Preferences</a></td></tr></form></tbody></table></td></tr></tbody></table></div><div style="clear:left"></div><table border=0 cellpadding=0 cellspacing=0 width="100%"><tbody><tr><td class=tpb><img alt="" height=1 width=1></td></tr></tbody></table><table border=0 cellpadding=0 cellspacing=0 class=ttt width="100%"><tbody><tr><td class=ttb><font size="-1"> <b>Blog results</b></font></td><td align=right class=rsb><font color="" size="-1">Results <b>1</b> - <b>10</b> of about <b>439,624,978</b> for <b>php</b>. (<b>0.16</b> seconds) </font></td></tr></tbody></table></div><div id=m><div class=ln style="width:138px"><div style="padding-bottom:20px;"><font size="-1"><a href="http://blogsearch.google.com/blogsearch?hl=en" style="font-weight:bold">Browse Top Stories</a></font></div><script language="javascript" type="text/javascript">function toggleToAdvanced() {document.getElementById("Advanced").style.display = '';document.getElementById("noAdvanced").style.display = 'none';}function toggleFromAdvanced() {document.getElementById("noAdvanced").style.display = '';document.getElementById("Advanced").style.display = 'none';}</script><div class=hd><font size=-1>Published</font></div><font size=-1><div class=tx><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&as_drrb=q&as_qdr=h">Last hour</a></div><div class=tx><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&as_drrb=q&as_qdr=t">Last 12 hours</a></div><div class=tx><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&as_drrb=q&as_qdr=d">Last day</a></div><div class=tx><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&as_drrb=q&as_qdr=w">Past week</a></div><div class=tx><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&as_drrb=q&as_qdr=m">Past month</a></div><div class=ctx>Anytime</div><div style="padding-bottom:3px"></div></font><div id="noAdvanced" style="padding-left:8px; visibility:hidden;"><font size=-1><a href="javascript:toggleToAdvanced();">Choose Dates</a></font></div><div id="Advanced" style="display:none;padding-left:8px"><font size=-1>Choose Dates [<a href="javascript:toggleFromAdvanced();">Hide</a>]</font><form action="http://blogsearch.google.com/blogsearch" id="daterange" name="daterange" onsubmit="ddcal1.formatDateInput(1);ddcal2.formatDateInput(2);" style="padding-left:.7em;padding-top:5px"><input name="hl" type=hidden value="en" /><input name="ie" type=hidden value="ISO-8859-1" /><input name="q" type=hidden value="php" /><input id="as_maxm" name="as_maxm" type=hidden value=""/><input id="as_miny" name="as_miny" type=hidden value=""/><input id="as_maxy" name="as_maxy" type=hidden value=""/><input id="as_minm" name="as_minm" type=hidden value=""/><input id="as_mind" name="as_mind" type=hidden value=""/><input id="as_maxd" name="as_maxd" type=hidden value=""/><input id=as_drrb name=as_drrb type=hidden value="b"><input id=ctz name=ctz type=hidden value=""><font color=#333333 size=2>Start<br><input autocomplete=off border=1 id=c1cr maxLength=10 name=c1cr size=10 onblur="ddcal1.checkAndClose(event,1);return true;" onfocus="ddcal2.close(2);ddcal1.open(1);return true;" style="border:1px solid #999;font-size:100%"></font><div style="padding-top:5px;"></div><font color=#333333 size=2>End (optional)<br><input autocomplete=off border=1 id=c2cr maxLength=10 name=c2cr size=10 onblur="ddcal2.checkAndClose(event,2);return true;" onfocus="ddcal1.close(1);ddcal2.open(2);return true;" style="border:1px solid #999;font-size:100%;"></font><div style="padding-top:5px;"><input name=btnD style="border:1px solid #999;font-size:80%" type=submit value="Go"></div></form></div><script language="javascript" type="text/javascript">document.getElementById("noAdvanced").style.visibility = 'visible';document.getElementById("ctz").value = new Date().getTimezoneOffset();var monthArray = new Array("Jan", "Feb", "Mar","Apr", "May", "Jun","Jul", "Aug", "Sep","Oct", "Nov", "Dec");var dowArray = new Array("Su", "M","Tu", "W","Th", "F","Sa");var dateDelim = "/";var ymdPermutation = "mdy";var ddcal1 = new _CalendarPopup(monthArray, dowArray,dateDelim, ymdPermutation);var ddcal2 = new _CalendarPopup(monthArray, dowArray,dateDelim, ymdPermutation);ddcal1.setInitialCalendarSettings(1);ddcal2.setInitialCalendarSettings(2);</script><noscript></noscript><link href="/blogsearch/blogsearch_cal.css" type="text/css" rel="stylesheet"><div id="ddcal1_pop" style="display:none;" class="ddcal_pop" onmousedown="ddcal1.cBoxMouseDownHandler();" onclick="ddcal1.handleClick(-1, 1);" onmouseup="ddcal1.cBoxMouseUpHandler();"><table cellpadding="0" cellspacing="0" border="0"><tr><td name="" valign="top"><table cellpadding="0" cellspacing="0" border="0" align="center" width="100%" id="ddcal1_yr"><tr><td name="" onclick="ddcal1.toggleYearMonth(-1, 1);"><img src="/blogsearch/images/left_arrow.gif" width="6" height="11" border="0" hspace="5" id="ddcal1_larrow" class="ulink"></td><td class="ddcalp_year" nowrap="nowrap" id="ddcal1_yearmonth"></td><td onclick="ddcal1.toggleYearMonth(1, 1);"><img src="/blogsearch/images/right_arrow.gif" width="6" height="11" border="0" hspace="5" id="ddcal1_rarrow" class="ulink"></td></tr></table><table cellpadding="2" cellspacing="0" border="0" width="100%"><script language="javascript" type="text/javascript">document.write('<tr id="ddcal1_dow">');for (var iz = 1; iz <= 7; iz++) {document.write('<td id="ddcal1_dow_' + iz + '" ');document.write('class="ddcalp_day"></td>');}document.write('</tr>');for (var iz = 1; iz <= 6; iz++) {document.write('<tr id="ddcal1_week_' + iz + '">');for (var jz = 1; jz <= 7; jz++) {var curr_day = 7 * (iz - 1) + jz;document.write('<td id="ddcal1_day_' + curr_day + '" ');document.write('class="ddcalp_day" ');document.write('onclick="ddcal1.handleClick(' + curr_day + ', 1);">');document.write('</td>');}document.write('</tr>');}</script></table></td></tr></table></div><div id="ddcal2_pop" style="display:none;" class="ddcal_pop" onmousedown="ddcal2.cBoxMouseDownHandler();" onclick="ddcal2.handleClick(-1, 2);" onmouseup="ddcal2.cBoxMouseUpHandler();"><table cellpadding="0" cellspacing="0" border="0"><tr><td valign="top"><table cellpadding="1" cellspacing="0" border="0" align="center" width="100%" id="ddcal2_yr"><tr><td onclick="ddcal2.toggleYearMonth(-1, 2);"><img src="/blogsearch/images/left_arrow.gif" width="6" height="11" border="0" hspace="5" id="ddcal2_larrow" class="ulink"></td><td class="ddcalp_year" nowrap="nowrap" id="ddcal2_yearmonth"></td><td align="right" onclick="ddcal2.toggleYearMonth(1, 2);"><img src="/blogsearch/images/right_arrow.gif" width="6" height="11" border="0" hspace="5" id="ddcal2_rarrow" class="ulink"></td></tr></table><table cellpadding="2" cellspacing="0" border="0" width="100%"><script language="javascript" type="text/javascript">document.write('<tr id="ddcal2_dow">');for (var iz = 1; iz <= 7; iz++) {document.write('<td id="ddcal2_dow_' + iz + '" ');document.write('class="ddcalp_day"></td>');}document.write('</tr>');for (var iz = 1; iz <= 6; iz++) {document.write('<tr id="ddcal2_week_' + iz + '">');for (var jz = 1; jz <= 7; jz++) {var curr_day = 7 * (iz - 1) + jz;document.write('<td id="ddcal2_day_' + curr_day + '" ');document.write('class="ddcalp_day" ');document.write('onclick="ddcal2.handleClick(' + curr_day + ', 2);">');document.write('</td>');}document.write('</tr>');}</script></table></td></tr></table></div><br><div class="hd s"><font size=-1>Subscribe:</font></div><div style="padding-left:7px"><font color=#333333 size=-1><div style="padding-bottom:6px;"><a href="http://www.google.com/alerts?t=4&hl=en&q=php&ie=ISO-8859-1"><img alt="Blogs Alerts" border=0 height=15 src="/blogsearch/images/envelope.gif" width=16></a> <a href="http://www.google.com/alerts?t=4&hl=en&q=php&ie=ISO-8859-1">Blogs Alerts</a></div><div style="padding-bottom:12px;"><a href="http://blogsearch.google.com/blogsearch_feeds?hl=en&q=php&ie=utf-8&num=10&output=atom">Atom</a> | <a href="http://blogsearch.google.com/blogsearch_feeds?hl=en&q=php&ie=utf-8&num=10&output=rss">RSS</a></div></font></div></div><div style="margin-left:148px"><table align=right border=0 cellpadding=0 cellspacing=0><tbody><tr><td align=right><font size=-1><b>Sorted by relevance</b> <a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&scoring=d">Sort by date</a></font></td></tr></tbody></table><div> </div><table border=0 cellpadding=1 cellspacing=0 class=j><tbody><tr><td colspan=2 align=left nowrap=nowrap valign=top width="15%"><font size="-1">Related Blogs:</font></td><td align=left class=br2 valign=top style="padding-left:1px;" ><div><font size=-1><a class=f2 href="http://www.phpbuilder.com/" id=b-1>PHPBuilder.com, the best resource for <b>PHP</b> tutorials, templates <b>...</b></a> - http://www.phpbuilder.com/</font></div><img height=1 width=1><div><font size=-1><a class=f2 href="http://www.zend.com/" id=b-2><b>PHP</b> Web Application Server - <b>PHP</b> Developer tools - <b>PHP</b> Training <b>...</b></a> - http://www.zend.com/</font></div><img height=1 width=1><div><font size=-1><a class=f2 href="http://phpnuke.org/" id=b-3><b>PHP</b>-Nuke</a> - http://phpnuke.org/</font></div><img height=1 width=1><div><font size=-1><a class=f2 href="http://cakephp.org/" id=b-4>CakePHP: the rapid development <b>php</b> framework. Home</a> - http://cakephp.org/</font></div><img height=1 width=1><div><font size=-1><a class=f2 href="http://gtk.php.net/" id=b-5><b>PHP</b>-GTK</a> - http://gtk.php.net/</font></div><img height=1 width=1></td></tr></tbody></table><p class=g></p><a href="http://devzone.zend.com/article/12132-Getting-Started-with-MongoDB-and-PHP" id="p-1">Getting Started with MongoDB and <b>PHP</b></a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>7 Jun 2010 </font><br><font size=-1>Over the next few pages, I&#39;ll guide you through the process of getting started with MongoDB, showing you how to install it, set up a data store, connect to it and read and write data using <b>PHP</b>. Let&#39;s get started! <b>...</b><br></font><font size=-1><a class=f1 href="http://devzone.zend.com/" id="pb-1" title="http://devzone.zend.com/">Zend Developer Zone (DevZone) - Advancing... - http://devzone.zend.com/</a><br>[ <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php+blogurl:http://devzone.zend.com/">More results from Zend Developer Zone (DevZone) - Advancing...</a> ]</font></td></tr></table><p class=g></p><a href="http://www.authenticjobs.com/jobs/5672/" id="p-2">Freelance <b>PHP</b> Developer (Zend Framework) at Speakaboos ~ Authentic <b>...</b></a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>3 Jul 2008 </font><br><font size=-1>Speakaboos is seeking a <b>PHP</b> developer that is fluent in Zend Framework to supplement an existing development team. COMPANY: Speakaboos (www.speakaboos.com) brings classic children&#39;s entertainment into a digital world. <b>...</b><br></font><font size=-1><a class=f1 href="http://www.authenticjobs.com/" id="pb-2" title="http://www.authenticjobs.com/">AuthenticJobs.com Job Listings - All Listings - http://www.authenticjobs.com/</a> - <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=link%3Ahttp://www.authenticjobs.com/jobs/5672/">References</a><br>[ <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php+blogurl:http://www.authenticjobs.com/">More results from AuthenticJobs.com Job Listings - All Listings</a> ]</font></td></tr></table><p class=g></p><a href="http://www.catswhocode.com/blog/10-php-code-snippets-for-working-with-strings" id="p-3">10 <b>PHP</b> code snippets for working with strings</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>7 Jun 2010 </font><font color=#555555 size=-1>by Jean-Baptiste Jung </font><br><font size=-1>Strings are a very important kind of data, and you have to deal with them daily with web development tasks. In this article, I have compiled 10 extremely useful functions and code snippets to make your <b>php</b> developer life easier.<br></font><font size=-1><a class=f1 href="http://www.catswhocode.com/blog/" id="pb-3" title="http://www.catswhocode.com/blog/">CatsWhoCode.com - http://www.catswhocode.com/blog/</a></font></td></tr></table><p class=g></p><a href="http://www.phpclasses.org/package/6264-PHP-Encrypt-and-decrypt-data-using-Rijndael-256-cypher.html" id="p-4">Crypt Class <b>PHP</b> - <b>PHP</b> Classes</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>21 hours ago </font><br><font size=-1>Encrypt and decrypt data using Rijndael 256 cypher. This is a simple class that can be used to Encrypt and decrypt data using Rijndael 256 cypher. It can take a string of data and encrypt it with a given secret key.<br></font><font size=-1><a class=f1 href="http://www.phpclasses.org/browse/latest/latest.html" id="pb-4" title="http://www.phpclasses.org/browse/latest/latest.html">PHP Classes: Latest entries - http://www.phpclasses.org/browse/latest/latest.html</a><br>[ <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php+blogurl:http://www.phpclasses.org/browse/latest/latest.html">More results from PHP Classes: Latest entries</a> ]</font></td></tr></table><p class=g></p><a href="http://groups.drupal.org/node/73783" id="p-5"><b>PHP</b>/Drupal Developer | Ask Partner Network, an IAC/InterActiveCorp <b>...</b></a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>13 hours ago </font><font color=#555555 size=-1>by bstothers1 </font><br><font size=-1>Should be an expert developing custom <b>PHP</b> modules on Drupal • Knowledge of web site optimization and browser caching principles. • Knowledge of database optimization techniques. • Has knowledge of relational database design, <b>...</b><br></font><font size=-1><a class=f1 href="http://groups.drupal.org/jobs" id="pb-5" title="http://groups.drupal.org/jobs">Drupal Jobs - http://groups.drupal.org/jobs</a></font></td></tr></table><p class=g></p><a href="http://carsonified.com/blog/dev/9-magic-methods-for-php/" id="p-6">9 Magic Methods for <b>PHP</b> | Carsonified</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>7 Jun 2010 </font><font color=#555555 size=-1>by Lorna Jane Mitchell </font><br><font size=-1>Following on from my previous two posts, showing a gentle introduction to OOP in <b>PHP</b> and some slightly more advanced concepts, I&#39;d like to take a dive into the magic methods in <b>PHP</b>. It might be magic, but no wands are required! <b>...</b><br></font><font size=-1><a class=f1 href="http://carsonified.com/" id="pb-6" title="http://carsonified.com/">Carsonified » Blog - http://carsonified.com/</a></font></td></tr></table><p class=g></p><a href="http://www.phparch.com/2010/06/08/php-tours-europe-in-fall/" id="p-7"><b>PHP</b> tours Europe in fall | <b>php</b>|architect</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>16 hours ago </font><font color=#555555 size=-1>by Jordi Roura </font><br><font size=-1>A good way to measure the health of any given thing is to measure its activity (except bridges... I tend to get nervous when bridges start moving on their own). In this sense, <b>PHP</b> is very much alive and the community is showing it off <b>...</b><br></font><font size=-1><a class=f1 href="http://www.phparch.com/" id="pb-7" title="http://www.phparch.com/">php|architect - http://www.phparch.com/</a></font></td></tr></table><p class=g></p><a href="http://blog.liip.ch/archive/2010/06/07/the-future-of-php.html" id="p-8">Liip Blog // The future of <b>PHP</b></a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>7 Jun 2010 </font><font color=#555555 size=-1>by lukas </font><br><font size=-1>A few months ago the current development branch for the next major release of <b>PHP</b> was dropped. It was in development for several years and was intended to brin.<br></font><font size=-1><a class=f1 href="http://blog.liip.ch/" id="pb-8" title="http://blog.liip.ch/">Liip Blog - http://blog.liip.ch/</a><br>[ <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php+blogurl:http://blog.liip.ch/">More results from Liip Blog</a> ]</font></td></tr></table><p class=g></p><a href="http://www.bestonlinedegree.co.cc/online-degree-program/php-online-course-choosing-your-online-school.html" id="p-9"><b>Php</b> Online Course: Choosing Your Online School</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>19 hours ago </font><font color=#555555 size=-1>by admin </font><br><font size=-1>he Internet, including online courses, <b>PHP</b>. But effectively to the best school can teach students to make sure they are updated, most teaching materials as refe rences. It is an evolving web resource and information technology and a <b>...</b><br></font><font size=-1><a class=f1 href="http://www.bestonlinedegree.co.cc/" id="pb-9" title="http://www.bestonlinedegree.co.cc/">Best Online Degree - http://www.bestonlinedegree.co.cc/</a></font></td></tr></table><p class=g></p><a href="http://www.daniweb.com/forums/thread288945.html" id="p-10">Tracing visitors locatin in <b>php</b> - <b>PHP</b></a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j><font color=#555555 size=-1>3 hours ago </font><font color=#555555 size=-1>by dalip_007 </font><br><font size=-1>Tracing visitors locatin in <b>php PHP</b>.<br></font><font size=-1><a class=f1 href="http://www.daniweb.com/forums/member746547.html" id="pb-10" title="http://www.daniweb.com/forums/member746547.html">DaniWeb IT Discussion Community - http://www.daniweb.com/forums/member746547.html</a><br>[ <a class=fl href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php+blogurl:http://www.daniweb.com/forums/member746547.html">More results from DaniWeb IT Discussion Community</a> ]</font></td></tr></table><p class=g></p><p class=pr>Stay up to date on these results:</p><ul class=pr><li><a href="http://www.google.com/alerts?t=4&hl=en&q=php&ie=ISO-8859-1">Create an email alert for <b>php</b></a></li><li><a href="http://news.google.com/?hl=en&q=php&ie=ISO-8859-1&client=blogsearch">Search Google News for <b>php</b></a></li><li><a href="http://www.google.com/ig/add?onlyshow=ig&feedurl=http://blogsearch.google.com/blogsearch_feeds%3Fhl%3Den%26q%3Dphp%26ie%3Dutf-8%26num%3D10%26output%3Datom">Add a blog search gadget for <b>php</b> to your Google homepage</a></li><li><a href="http://www.google.com/reader/view/feed/http://blogsearch.google.com/blogsearch_feeds%3Fhl%3Den%26q%3Dphp%26ie%3Dutf-8%26output%3Datom">Subscribe to a blog search feed for <b>php</b> in Google Reader</a></li></ul></div><br><div id=navbar class=n><table border=0 cellpadding=0 width=1% cellspacing=0 align=center><tr align=center valign=top><td valign=bottom nowrap><font size=-1>Result Page: </font><td nowrap><img src=nav_first.gif width=18 height=26 alt=""><br><td nowrap><img src=nav_current.gif width=16 height=26 alt=""><br><span class=i>1</span><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=10"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>2</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=20"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>3</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=30"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>4</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=40"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>5</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=50"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>6</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=60"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>7</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=70"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>8</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=80"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>9</a><td nowrap><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=90"><img src=nav_page.gif width=16 height=26 alt="" border=0><br>10</a><td nowrap class=b><a href="http://blogsearch.google.com/blogsearch?hl=en&ie=ISO-8859-1&q=php&sa=N&start=10"><img src=nav_next.gif width=100 height=26 alt="" border=0><br>Next</a></table></div></div><div id=f><center><br clear="all"><br><table border=0 cellpadding=0 cellspacing=0 width="100%"><tbody><tr><td class=btb><img alt="" height=1 width=1></td></tr><tr><form action=http://blogsearch.google.com/blogsearch method=get name=f><td align=center class=bts nowrap=nowrap> <br><font size=-1><input id=hl name=hl type=hidden value="en"><input name="ie" type=hidden value="ISO-8859-1" /><input maxLength=256 name=q size=31 value="php"> <input name=btnG type=submit value="Search Blogs"> <input name=btnW type=submit value="Search the Web"></font><br><br></td></form></tr><tr><td class=btb><img alt="" height=1 width=1></td></tr></tbody></table></center><p></p><center><table border=0 cellpadding=2 cellspacing=0 width="100%"><tbody><tr><td align=center><font size=-1><a href="http://www.google.com/webhp?hl=en">Google Home</a> - <a href="http://www.google.com/support/faqs/bin/static.py?page=faq_blog_search.html&hl=en">About Google Blog Search Beta</a> - <a href="http://blogsearch.google.com/ping?hl=en">Information for Blog Authors</a></font></td></tr></tbody></table><br><font size=-2>©2009 Google<br><br></font></center></div></body></html>Not Found
  7. $result contains whole search result of google. So, i can see whole page without no problem and i can see that id="p-1" is exist when i check page source. But program tells me "Not Found".
  8. Dear ZachMEdwards Thanks for your help. I added else statement into your code, and it says "not found". But it is exist. You can see yourself if you run this code. I am doing something wrong but not sure where ? <?php $KeyWord = "php"; $SearchURL = "http://blogsearch.google.com/blogsearch?hl=en&ie=UTF-8&q=" .$KeyWord. "&btnG=Search+Blogs"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $SearchURL); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); $result = curl_exec ($ch); curl_close($ch); if(preg_match('/<a href="(.+)" id="p-1">/', $result, $out)){ echo $out[1]; } else{ echo "Not Found"; } ?>
  9. I have : Notice: Undefined offset: 1 in C:\Apache\htdocs\MyBlog\index.php on line 29 By the way, i am testing your codes in my localhost, is that cause this problem ?
  10. Dear ZachMEdwards I really appreciate for your help. It is so great but i think i could not made my self clear. $result variable hold whole google search result page(hundreds of hundreds lines and of course there is many <a></a> tags). But i only need to get the url which has id="p-1". I don't need other urls or any other tags. I am trying to figure out how can i get it whole day, and i read at least 10 tutorials. But regular expressions are out of my capable.
  11. Dear cags. Thanks for the link. I read every single comment in there but unfortunately i could not found where did i make mistake...
  12. Dear Cags Here is my code below; Please point my mistake. Reagrds <?php $SearchURL = "http://blogsearch.google.com/blogsearch?hl=en&ie=UTF-8&q=Something to Search&btnG=Search+Blogs"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $SearchURL); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); $result = curl_exec ($ch); curl_close($ch); preg_match('/<a href="(?:.+)" id="(.+)">/', $result, $out); print_r ($out); ?>
  13. Dear ZachMEdwards Thanks for your assistance. I just tested your code and i got output Array() only. How can i assign that url into a variable? <a href="http://example.jp/kigvlfa/index.php?type=1&entryId=5" id="p-1">this is<b>REGEX</b> test<b> but</b> i stuck <b>...</b></a> all i need is to get that url only. The sample link i gave was search result of google and i need only top first record. id="p-1" means top of search query. Regards
  14. here is my code $find = preg_match("/<a(.*)[\/ id=\"p-1\">]/U", $result); // $result is cURL result. echo $find;
  15. Dear gurus. I am searching some keywords in google with cURL and assign all results into $result variable. So my results going something liek this; <a href="http://example.jp/kigvlfa/index.php?type=1&entryId=5" id="p-1">this is<b>REGEX</b> test<b> but</b> i stuck <b>...</b></a> <a href="http://example.jp/kigvlfa/index.php?type=1&entryId=5" id="p-2">this is<b>REGEX</b> test<b> but</b> i stuck <b>...</b></a> <a href="http://example.jp/kigvlfa/index.php?type=1&entryId=5" id="p-3">this is<b>REGEX</b> test<b> but</b> i stuck <b>...</b></a> <a href="http://example.jp/kigvlfa/index.php?type=1&entryId=5" id="p-4">this is<b>REGEX</b> test<b> but</b> i stuck <b>...</b></a> ... How can i get the link top record of search query. i need link which id="p-1" only. I could not solve this issue with preg_match by my self. Any help please.
  16. Dear mrqpro thanks for advice but it doesn't solve my problem. if you search something in google with japanese characters google shows correct japanese characters in URL. but if you copy and paste that url, kanji karacters transform into %E3%83 format. ie; let's say i am searching 日本(which means Japan) and google shows http://www.google.com/#hl=en&source=hp&q=日本&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=dfdf66882bd03aae in the URL. bu if you copy and paste that url transform into http://www.google.com/#hl=en&source=hp&q=%E6%97%A5%E6%9C%AC&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=dfdf66882bd03aae All i want is user input some japanese characters into text area then hit search button, my form search google with cURL. But mentioned problem always shows different result. So, user input normal japanese character but i want to transform it into %E6%97%A5%E6%9C%AC type format and then run cURL. Hope i could make myself clear. Regards
  17. <?php if(date("H:i:s") < '18:00:00'){ $nextday = 1; }else{ $nextday = 0; } $i = mktime(0, 0, 0, date("m"), date("d")-$nextday, date("Y")); ?> it may help you.
  18. sorry for second post but i can not edit my own post. anyway, i would like to transform japanese text into %E3%83...... format. How can i do that ? or what kind of encoding is this?
  19. hi gurus. how can i convert japanese text into %E3%83%96%E3%83%AD%E3%82%B0%E6%A4%9C%E7%B4%A2. in url looks normal japanese characters but if copy entire url and paste into DW all kanji characters change into above. Is this encoding. Because i am doing something which grab records from google search. So, if i use $SearchURL = "http://blogsearch.google.co.jp/blogsearch?hl=ja&ie=UTF-8&q=%E9%A2%A8&btnG=%E3%83%96%E3%83%AD%E3%82%B0%E6%A4%9C%E7%B4%A2&lr=lang_ja"; works exact result what i want. But if use $SearchURL = "http://blogsearch.google.co.jp/blogsearch?hl=ja&ie=UTF-8&q=JapaneseTEXT&btnG=Japanese_Button_Name&lr=lang_ja"; then result appear totally different thing. any idea how to solve this issue. Regards
  20. Dear MadTechie Thank you for your advice, my mail is now working. Will you have heart attack if i say i have a tiny problem which is my ISP's mail account works perfect but site's mail address fail and turn into plain text. ie: sniperscope@my-isp.ne.jp <--- OKAY !!! HTML mail sniperscope@hosting.co.jp <-- This mail turn into plain text. same code, same server, same file but turn into plain text just changing mail address.
  21. thanks for you help guys. I solved my problem. Solution was very simple. I sent 200 mail at same time to same mail server (let's say hotmail) and server was accept first mail then figured out rest 199 mails are spam. That's why my mails did not reach all subscribers. I passed this problem with sleep(60); Now all mails deliver to users. Thank you very much for all of you who interested. PS: how can i change header to SOLVED ?
  22. @jcbones; the original class was like this: $result = $mail->send(array('foo@goo.com')); do you think array causing this problem?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.