Only Owner Can delete

Started on the old forum in May 2009 · view the original in the archive · old links redirect here

4 replies · 729 views · started 17 years ago · 1 min read

5 participants
Pablo Developer · 164 posts #1

can u tell me how to make only me the owner uid 1 perm 4 delete photo and photo comment?

capofret Developer · 225 posts #3

i think he's asking he should only be the one that can delete it..

well, just remove the mod part and leave only the admin part in genproc for deleting photos or comments

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

crazybrumi Super moderator Principal · 1,064 posts #4
if($uid=='1')
        {
echo "<a href=\"genproc.php?action=delgal&sid=$sid&gid=$item[0]\">Remove This Photo</a>";
} 

this is so funny as when host put if username = crazybrumi (for example) you cannot delete this person lol, whats the point cos u can just rename the person if your the other owner who has got pisd of with the server lol. when renamed you would be able to delete the user crazybrumi. this code above would be the fix for this. i only made people aware of this because people who ask for a site said they deleted the host cos they pisd em of but had to rename them lol.

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

mcKeny Developer · 130 posts #5

Dj-marc wrote: here is the code for uid 1

 if($uid=='1')
        {
echo "<a href=\"genproc.php?action=delgal&sid=$sid&gid=$item[0]\">Remove This Photo</a>";
}

let me knw if it work

suppose i type in the verify area?(genproc) i'll still be able to delete photos...........

R.M.C

PHP Adovocate B)

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