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

允许用户自定义其配置文件URL

I'm trying to allow users to create their own custom URL for their profile page. I have a profile page called user.php that takes the parameter uid, so a URL might look like http://website.com/user.php?uid=10. How would I assign that user their own url, for example http://website.com/johndoe? And, additionally, how would I allow them to customize their URL if they feel the need to change it?

I planned on having a column in my MySQL table for url so that's where I plan to store this custom link.

近期文章

  • 警告:preg_match():未知的修饰符't'
  • jquery - 每秒检查数据库值
  • 需要一个mysql查询推荐
  • 为什么我的Zend表单没有更新为新值?
  • php解码或解析十六进制的每个半字节
  • 在URL之后删除多个尾部斜杠
  • php SEO urls通过关键字和mysql查询重写
  • PHP登录脚本无法处理页面可用错误
  • PHP - CodeIgniter - DataMapper - save()出错
  • 如何从mysql删除重复的年份和月份到PHP?
  • php图形无法正常运行
  • 使用joomla函数将逗号分隔值插入textarea
  • 使用php和ajax驱动的表单更改文本文件
  • 脚本适用于本地,但不适用于实时
  • 发送PHP联系表单时出错
  • Php脚本从另一个数据库更新VIEW
  • 高级自定义字段,设置html5画布文本
  • 案例按A-Z升序和0-9降序排序?
  • ResponsiveSlides.js - 转到列表中的幻灯片
  • 将数据库数据检索到JSON - 移动登录表单

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华