-
Remove all keys of
php
Eviroment Variables
of Windows -
Stop all execution of php programs or console
- Download PHP versions
<?php | |
@if(old('uid_tag')) | |
@foreach(old('uid_tag') as $product) | |
<input type="text" name="uid_tag[]" value="{{ old('uid_tag')[$loop->index] }}" size="30" /> | |
<textarea | |
placeholder="Include weight or count" | |
name="product_description[]" | |
cols="45" | |
rows="1" | |
value="{{ old('product_description')[$loop->index] }}" |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
</IfModule> |
// Generate unique IDs for use as pseudo-private/protected names. | |
// Similar in concept to | |
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
// | |
// The goals of this function are twofold: | |
// | |
// * Provide a way to generate a string guaranteed to be unique when compared | |
// to other strings generated by this function. | |
// * Make the string complex enough that it is highly unlikely to be | |
// accidentally duplicated by hand (this is key if you're using `ID` |
/* Use case: returning pdf as blob from XHR request, | |
for example when the endpoint is secure and needs an Authorization header | |
NB: responseType on fetch for blobData has to be "blob". | |
PDF files are not UTF-8, they are binary, so otherwise fonts won't appear properly | |
*/ | |
const showFile = (blobData, reportName) => { | |
// Adapted from: https://blog.jayway.com/2017/07/13/open-pdf-downloaded-api-javascript/ | |
const fileName = reportName && `${ reportName }.pdf` || 'myreport.pdf'; |
<ifModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule (.*) /index.html [QSA,L] | |
</ifModule> |