Does folder exist |
(08-28-2019, 03:49 AM)InsiteFX Wrote: I think what you need is this library. Thanks InsiteFX, Ive downloaded that library and installed it into both "system/libraries" and "application/libraries" but I get An Error Was Encountered Unable to load the requested class: Messages I have changed the coding to 1 line as follows; PHP Code: if(!file_exists("members/$boss")) die ("UsernameDoesntExist"); It works but the notification appears on a blank page. If I insert the following into the view page I get the text box and the notification, but without the submit button and again on a blank page. PHP Code: <?php die ("UsernameDoesntExist"); ?> The same applies if I replace "die" with "exit". I understand this is because "die" & "exit" terminates the PHP scripting. I have tried "echo", "print", "goto", "return" & a few others but they don't work. The above probably could be fixed if I could get the message library to work. |
Messages In This Thread |
Does folder exist - by christaliise - 08-27-2019, 08:19 PM
RE: Does folder exist - by InsiteFX - 08-28-2019, 03:49 AM
RE: Does folder exist - by christaliise - 08-28-2019, 07:37 AM
RE: Does folder exist - by InsiteFX - 08-28-2019, 07:53 AM
RE: Does folder exist - by christaliise - 08-28-2019, 08:14 AM
RE: Does folder exist - by InsiteFX - 08-28-2019, 08:27 AM
RE: Does folder exist - by christaliise - 08-28-2019, 08:36 AM
RE: Does folder exist - by InsiteFX - 08-28-2019, 10:37 AM
RE: Does folder exist - by christaliise - 08-28-2019, 08:49 PM
RE: Does folder exist - by InsiteFX - 08-29-2019, 03:09 AM
RE: Does folder exist - by christaliise - 08-29-2019, 04:57 PM
|