我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

按国家/地区脚本显示标志[关闭]

I'm looking for a decent php script/snippet that can display a flag by the users' country with PHP. Surprisingly, there doesn't seem to be a decent/accessible solution for this.

Here's the idea:

  1. Firstly, the flag images should condensed into a single sprite

  2. The script would then zero in on the coordinates of the sprite based on the country code.

Any ideas?

You can try the sprite over here : Flag sprite

近期文章

  • 51单片机 89c52rc
  • java中JScrollPane面板如何实现嵌套?
  • 刚学Java遇到的一个小问题~
  • mint-ui底部选项卡
  • TypeError: __init__() missing 1 required positional argument: 'c2'
  • 刚刚入门:为什么求程序输出不了小数点
  • 压缩文件在电脑上图标显示一张白纸,而且打不开是为什么
  • FindWindow 64位运行出错
  • vscode怎么调试c啊
  • 对于在drupal中按请求调用的许多查询
  • mac装parallel desktop后使用Devcpp的问题
  • 没有精简掉Windows Defender 也没删除相关的插件和组件 封装完成之后为什么用不了defender。
  • switch case 语句,想知道哪里有语法错误
  • 更改用户名失败后的问题
  • 用指针表示顺序表,具体要怎么表示啊,写不来
  • vs2022函数重定义错误
  • java怎么输入-1就结束输入?
  • 设计一个查询余额的接口,考虑哪些方面
  • 每日多问:&的用途是什么啊
  • CodeIgniter / Fat Models / Skinny Controllers

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华