众所周知php中GET是不能专递中文的传递过来的一般都是乱码,但是有的时候我们需要传递中文,就拿网最近的项目《分享/收藏》来说吧,笔者在写PHP程序时就遇到了这样的问题,获取到的中文标题被传递到新浪收藏后,就变成了乱码。
如何解决这一问题呢?我们:
正常的写法(乱码):
@$title_this = $_GET["title"];
改为以下代码(正常了):
@$title_this = iconv("UTF-8","gb2312",$_GET["title"]);
问题解决了吧,别忘了去网的新项目——分享&收藏看看吧。http://www.veryhuo.com/res/share/
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » PHP使用Get变量获取中文乱码的解决方法
波比源码 » PHP使用Get变量获取中文乱码的解决方法
order levofloxacin 250mg pills buy levaquin 500mg online
nootropil 800 mg for sale order nootropil 800 mg pill sildenafil 50mg
buy itraconazole 100mg online cheap tindamax sale buy tindamax without prescription
generic zyprexa cost olanzapine 10mg purchase valsartan without prescription
viagra without prescription viagra 150mg price order lisinopril 2.5mg for sale
clomid cheap casino near me online blackjack for money
generic cialis 40mg price of cialis buy sildenafil online cheap
money games casino moons online casino gambling site
order keflex 250mg pill order erythromycin for sale erythromycin buy online
buy desyrel 50mg sale trazodone 100mg for sale purchase aurogra sale
buy azithromycin 250mg neurontin online buy order gabapentin 600mg generic
sildenafil 50mg drug tamoxifen tablet buy rhinocort sale
retin ca tadalis 20mg without prescription buy avana generic
tadacip buy online buy generic tadacip 10mg order generic indocin
clarithromycin 250mg without prescription antivert medication order antivert 25 mg pills
purchase naprosyn generic naprosyn brand prevacid oral
order proventil sale pantoprazole price ciprofloxacin 500mg price
order singulair 5mg without prescription cheap sildenafil 50mg sildenafil us
tadalafil for women Cialis for sale play poker online for money
stromectol canada symmetrel online order cheap dapsone
oral adalat order fexofenadine pills allegra ca
order ramipril 10mg generic buy amaryl online order etoricoxib 60mg generic
doxycycline for sale online buy ventolin 4mg for sale cleocin 150mg for sale
purchase temovate generic generic clobetasol order amiodarone 100mg online
amoxil medication stromectol 12mg ca ivermectin 3mg for people
order dapoxetine 90mg online cheap buy avana online domperidone online order
buy indomethacin 75mg generic flomax online cenforce 50mg over the counter
purchase famotidine generic oral famotidine 40mg purchase mirtazapine for sale
buy doxycycline 200mg order chloroquine 250mg generic medrol buy online
tadalafil 10mg uk generic clopidogrel 75mg trimox uk
tricor 200mg us fenofibrate 160mg usa sildenafil 50mg brand
cialis 20mg without prescription Cialis visa viagra 100mg
minocin cheap oral gabapentin 600mg hytrin 1mg for sale
order tadalafil 40mg pill cheapest ed pills buy ed meds
order glycomet metformin 1000mg ca tamoxifen 10mg pill
provigil brand phenergan pill phenergan cost
clomiphene 50mg drug buy clomiphene 100mg online brand prednisolone
buy prednisone 10mg online amoxil for sale amoxicillin 1000mg oral
order isotretinoin online acillin over the counter brand ampicillin
ivermectin 1%cream buy ed meds oral prednisone 20mg
buy albuterol generic ventolin inhalator online order buy augmentin for sale
purchase provigil without prescription buy lisinopril 2.5mg without prescription buy lopressor 100mg generic
order avodart without prescription order xenical online cheap cost orlistat
order vibra-tabs pills purchase vibra-tabs generic acyclovir 800mg usa
order azathioprine 50mg sale azathioprine 25mg cheap order naproxen 250mg without prescription