Mod_Rewrite(username)

Started on the old forum in February 2011 · view the original in the archive · old links redirect here

8 replies · 1,164 views · started 15 years ago · 1 min read

4 participants
subzero Super moderator Fellow · 3,954 posts #2

you can tell it to be that 🙂

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

whitewingz Developer · 64 posts #3

it's ok now<-(what i mean here is the question above is ok becuase you dont understand before because of that link that i use example.com so i change it so you can see the real question).. sorry hehe 😀

subzero Super moderator Fellow · 3,954 posts #4

you still need help ??

Use any rewrite here then get the script to know it first

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

whitewingz Developer · 64 posts #5

yes i still need help.. i try this but it seems not work it say not found

RewriteRule ^([^/.]+)$ /user.php?who=$1

i try to search my name whitewingz.com/whitewingz

user does not exist..

but when i try whitewingz.com/1

it works..

but i want to be mod rewrite is name?

it's lavalair script..

subzero Super moderator Fellow · 3,954 posts #6

order by id

you will need to use abc like getting username from id

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

i0nutzxp Developer · 150 posts #7

user.php?who=whitewingz means that in ur query's u must put :

$x = mysql_fetch_assoc(mysql_query("SELECT bla, bla FROM users WHERE name='".mysql_real_escape_string($_POST['who'])."'")); not $x = mysql_fetch_assoc(mysql_query("SELECT bla, bla FROM users WHERE id='".((int)$_POST['who'])."'"));

<?php unlink('World/Europe/Romania.country'); ?>
whitewingz Developer · 64 posts #8

i0nutzxp wrote: user.php?who=whitewingz means that in ur query's u must put :

$x = mysql_fetch_assoc(mysql_query("SELECT bla, bla FROM users WHERE name='".mysql_real_escape_string($_POST['who'])."'")); not $x = mysql_fetch_assoc(mysql_query("SELECT bla, bla FROM users WHERE id='".mysql_real_escape_string($_POST['who'])."'"));

i try it.. thanks..

pichiriche Junior · 38 posts #9

$name = $_POST['name'];

$ok = mysql_fetch_assoc(mysql_query("SELECT id FROM blabla_users WHERE name='".mysql_real_escape_string($name).'""));

$who = $ok[0];

simple...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close