Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17245
| From | Jan Novak <repcom@gmail.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: laravel validation |
| Date | 2016-12-30 08:58 +0100 |
| Organization | albasani.net |
| Message-ID | <o45441$sml$1@news.albasani.net> (permalink) |
| References | <o43f5s$dr2$1@news.albasani.net> <o43k0e$385$1@jstuckle.eternal-september.org> |
Am 29.12.2016 um 19:19 schrieb Jerry Stuckle: >> i search for a laraval validation rule for directory pathes. >> I want to know if the path exists and is writable, what was entered in a >> form and will evaluated in the contoller. >> >> At the moment i have only >> >> $this->validate($request, >> ['path'=>'required|unique:archive,path,'.$request->id,'id']); >> >> for validation (path is required and must be unique) >> But how to include the rule for is_directory and is_writable ? >> > directory they specify on your site. If so, be aware this is extremely > dangerous. I know, but it is an intranet application (DMS). > If this isn't the case, can you please explain what you're trying to > accomplish? Perhaps there is an easier way to do what you want. It is an laravel question, because of this spcial "validators" inside laravel. I have already try the laravel forum, but until now, i havent got an answer. Maybe i try it again. thx. Jan
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
laravel validation Jan Novak <repcom@gmail.com> - 2016-12-29 17:55 +0100
Re: laravel validation Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-29 13:19 -0500
Re: laravel validation Jan Novak <repcom@gmail.com> - 2016-12-30 08:58 +0100
Re: laravel validation Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-30 08:56 -0500
Re: laravel validation Jan Novak <repcom@gmail.com> - 2016-12-30 16:03 +0100
Re: laravel validation "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-30 16:16 +0100
Re: laravel validation Härra Ramob <y6655442211@gmail.com> - 2022-01-02 03:49 -0800
csiph-web