今天在利用一个正则时提示Deprecated: Function eregi() is deprecated in错误了,后来查询了一原因是我们php5.3,在5.3中己经不支持eregi函数了,可以直接使用preg_match来代替。
改前代码如下:
- function inject_check($sql_str) {
- $sql_str = strtolower($sql_str);
- return eregi('fopen|post|eval|select|insert|and|or|update|delete|'|/*|*|../|./|union|into|load_file|outfile', $sql_str); // 进行过滤
- }
改后的代码:注意preg_match那一句:
- function inject_check($sql_str) {
- $sql_str = strtolower($sql_str);
- return preg_match('/fopen|post|eval|select|insert|and|or|update|delete|'|/*|*|../|./|union|into|load_file|outfile/', $sql_str); // 进行过滤
- }
注意:一定要加'/'开头与结束哦。
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » php错误提示:Deprecated: Function eregi() is deprecated
波比源码 » php错误提示:Deprecated: Function eregi() is deprecated
levofloxacin 250mg tablet order levofloxacin 250mg generic
order avodart generic celecoxib 100mg brand purchase ondansetron generic
aldactone medication fluconazole pills diflucan 100mg oral
fildena 50mg sale order methocarbamol generic robaxin 500mg brand
lamotrigine 50mg price brand lamotrigine tretinoin cream uk
buy tadalafil sale order tadalafil 10mg online cheap purchase diclofenac without prescription
brand arimidex 1mg buy viagra without prescription uk viagra 50mg over the counter
deltasone order cialis for sale online viagra uk
cialis 5mg kaufen für männer cialis 20mg generika sildenafil für frauen
purchase provigil generic Cialis without prescription acetazolamide sale
doxycycline over the counter cost furosemide 40mg order furosemide generic
altace order online buy generic clobetasol astelin order online
generic buspirone 5mg cordarone 200mg for sale oxybutynin order
terazosin 1mg tablet hytrin online buy azulfidine 500mg uk
brand alendronate 35mg buy ibuprofen 400mg pepcid 40mg drug
buy prograf 1mg without prescription ropinirole usa urso 300mg cheap
cialis 20mg over the counter buy cialis 5mg without prescription buy symmetrel 100mg pill
cheap revia 50mg order albendazole 400 mg for sale abilify 20mg oral
buy avlosulfon pills buy adalat 30mg pill buy perindopril
order azithromycin generic buy generic prednisolone 5mg buy neurontin generic
buy furosemide 100mg without prescription cost hydroxychloroquine plaquenil 400mg pill
clozaril order dexamethasone without prescription dexamethasone 0,5 mg ca
buy generic sildenafil 100mg lisinopril 2.5mg ca order lisinopril 2.5mg online cheap
omeprazole price brand prilosec 20mg poker online for real money
cheap lopressor 50mg order vardenafil 10mg sale oral levitra
levitra 10mg oral buy pregabalin online methylprednisolone 4mg without a doctor prescription
cialis price costco brand viagra sildenafil 100mg usa
aristocort 10mg tablet clarinex online buy desloratadine 5mg usa
buy priligy 60mg online generic priligy 30mg buy synthroid 100mcg generic
orlistat generic buy diltiazem generic acyclovir 800mg oral
cialis 20mg cheap propranolol us plavix 75mg cheap
order cialis 20mg pill plavix 75mg ca clopidogrel 150mg drug
oral allopurinol buy ezetimibe 10mg online zetia generic
methotrexate usa buy metoclopramide 20mg without prescription order metoclopramide 10mg pills
cozaar 25mg uk oral esomeprazole order topiramate online
generic baclofen 25mg toradol pill toradol 10mg over the counter
imitrex 50mg canada purchase levaquin pills avodart 0.5mg drug
colchicine us buy colchicine generic online roulette game
buy cephalexin 500mg generic buy cleocin generic erythromycin 250mg pill
custom dissertation services stromectol humans stromectol xr
sildenafil women lamictal 200mg oral order lamotrigine 50mg pills
online blackjack free best real money casino order cialis 5mg sale
fildena pill buy budesonide online rhinocort tablet
buy retin for sale buy retin gel online cheap avana pills
tadacip pill voltaren 100mg cheap buy indomethacin 75mg online
clarithromycin 500mg tablet order biaxin 250mg online order antivert 25mg pill
oral naprosyn buy naproxen 250mg pill buy prevacid generic
montelukast 10mg over the counter sildenafil generic sildenafil for sale online
us cialis Buy cialis once daily order tadalafil 5mg sale
ivermectin 2mg purchase symmetrel oral dapsone
buy adalat nifedipine 10mg sale allegra 180mg canada
order altace 5mg pills amaryl 4mg cheap arcoxia 120mg cost
asacol 400mg cost order generic azelastine 10 ml irbesartan cost
buy generic diamox 250 mg isosorbide price azathioprine 50mg drug
digoxin 250mg price order molnupiravir online molnunat 200mg drug
order generic alendronate 35mg buy alendronate online cheap ibuprofen 400mg over the counter
buy nortriptyline 25 mg for sale nortriptyline 25 mg pill order paxil without prescription
pepcid us mirtazapine 15mg tablet buy remeron 15mg pills
requip 1mg canada calcitriol online cost labetalol 100 mg
tricor for sale online sildenafil 20 mg sildenafil 100mg tablet
tadalafil 5mg price tadalafil for sale best ed drugs
cost clomid clomid tablet purchase prednisolone pill
purchase deltasone for sale purchase amoxil pills cheap amoxil pills
order fildena 100mg online buy finasteride propecia 1mg ca
zofran drug buy bactrim 480mg without prescription buy bactrim 960mg generic
buy generic ventolin amoxiclav oral order augmentin online cheap
buy provigil 100mg generic buy lisinopril 2.5mg pills cost lopressor 100mg
monodox medication acyclovir 800mg us brand zovirax
order azathioprine online cheap cheap micardis order naproxen 250mg online cheap
order oxybutynin online cheap trileptal 300mg cost order trileptal 300mg generic