I want to make a folder that's named after the ID of a post. So that if you delete the message, the folder can be deleted as well. This way I will keep my server clean. I will make an empty post @ first, the edit it so the folder is created with the correct ID number. Is it possible to read the ID of a record in config.php? Can someone give me a hint, or a better solution?
Thanks in advance!
Thanks in advance!
RE: MCPUK /UserFiles/Image/<$ID> possible?
With authentication enabled you get /UserFiles/ID/Images this
should take care of what you are looking at doing. To enable
authentication set
$fckphp_config['auth']['Req'] to true in the config.php file (about
line 64) then look at the sample05 file for how to create the
editor and pass the id to the file browser:
http://www.mcpuk.net/fbxp/downloads/sample05.phps
Hope this helps,
Grant
RE: MCPUK /UserFiles/Image/<$ID> possible?
RE: MCPUK /UserFiles/Image/<$ID> possible?
RE: MCPUK /UserFiles/Image/<$ID> possible?
RE: MCPUK /UserFiles/Image/<$ID> possible?
RE: MCPUK /UserFiles/Image/<$ID> possible?
//Authentication, set these to appropriate values for you
$s_LoggedInUser_IP=$_SERVER['REMOTE_ADDR'];
$s_LoggedInUser=$data->ID;
It works like a charm in Firefox, IE gives an error:
'Invalid XML response from connector.'
Is there any way to fix this?
RE: MCPUK /UserFiles/Image/<$ID> possible?
RE: MCPUK /UserFiles/Image/<$ID> possible?
I'm not sure why you are getting that error, try enabling debugging in the connector, this should show you what is going on.