ͬʱ°²×°PHPºÍRUBYµÄÎÊÌâ - Web ¿ª·¢ / Ruby/Rails
ѧϰPHPÓÐÒ»¶Îʱ¼äÁË ÏÖÔÚÏëͬʱѧϰRUBY ON RAILS
ÓÉÓÚ֮ǰѧϰPHP ÒѾװºÃÁËAPACHE ºÍ MYSQL ÏÖÔÚÏëÈÃAPACHE·þÎñÆ÷Ò²¿ÉÒÔÔËÐÐRUBY¡£
Ó¦¸ÃÔõô°ì£¿
Çë¸ßÊÖÌáʾ лл
RailsÓ¦Óò¿ÊðרÀ¸: http://www.javaeye.com/wiki/rails_deployment
ÕâÀïµÄÎÄÕ¿ÉÒԲο¼Ò»ÏÂ,ÕâÍøÕ¾Ò²²»´í,CSDNºÍJAVAEYEÓ¦¸ÃÁªºÏÆðÀ´,·½±ã´ó¼Ò½»Á÷ºÍѧϰ.
Èç¹û ÄãÖ»ÊÇÏëѧ ruby µ¥¶À°²×° ruby¾ÍÐÐÁË¡£
Èç¹ûÄãҪѧ rails µÈ£¬ÐèÒª²¿ÊðwebÀàÏîÄ¿¿ÉÒÔÓà passenger, http://www.modrails.com/
Ïà¹ØÎÊ´ð£º
phpÔõôÌ滻ǰÃæµÚÒ»¸ö¡°$¡±
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµÄ漢語ˮƽ...»òÄãµÄ±í達ÄÜÁ¦
ÒýÓÃ
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµ ......
phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë
ÀýÈ磺
SELECT time, goodid from dbname1.time, dbname2.goods
ÊÇÕâ¸öÒâ˼ô£¿
SELECT time, goodid from ......
ÏÖÔÚÓÐa,bÈý¸öÒ³Ãæ
bÊǵǽҳÃ棬·ÃÎÊaÒ³Ã棬Èç¹ûûÓеǼ£¬Ôòheaderµ½bÒ³Ãæ
ÔÚbÒ³ÃæÈ¡²»µ½HTTP_REFERER
òËÆHTTP_REFERERÖ»ÄÜÈ¡µ½a±êÇ©ºÍpost,get·½·¨µÄÌøת
Äܲ»ÄÜαÔìÒ»¸öHTTP_REFERER£¬È»ºó¹ýÈ¥£¿
¼ÈÈ»Ö ......
ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹ÔʱÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......