How To Remove Pic In Gallery Hosting?

Started on the old forum in July 2008 · view the original in the archive · old links redirect here

3 replies · 496 views · started 18 years ago · 1 min read

3 participants
winpda Junior · 38 posts #1

if(candelgal($uid, $item[0])) { $delnk = " <a href="genproc.php?action=delgal&sid=$sid&pid=$item[0]">Remove Photo</a>"; }else{ $delnk = ""; }

like this combine remove in hosting .. how yea?

winpda Junior · 38 posts #3

[del],$upload_dir) === false); //possible hacking else if (substr($_REQUEST[del],0,6)==$upload_dir) { unlink($_REQUEST[del]); header("location:$url_this?message=deleted successfully"); } } else if ($_FILES['userfile']) { $resource = fope

remove pic from hosting like this ... wap upload

Phpnewb Newbie · 5 posts #4

Im tryna use unlink functi0n 2 delete all of a users pics when i delete their username but it 0nly deletes 1 pic, iv got it w0rkin when i just want 2 delete a single pic, but want it 2 delete all their pics when i delete the user... Code im usin is like $get_file = mysql_query("SELECT imageurl FROM my_table WHERE id='".$id."'"; list($del_path) = mysql_fetch_row($get_file); unlink($del_path);

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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