Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F512703
20150804.ponder.answer.mailkey.2.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
20150804.ponder.answer.mailkey.2.php
View Options
<?php
$table
=
new
PonderAnswer
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
$iterator
=
new
LiskMigrationIterator
(
$table
);
foreach
(
$iterator
as
$answer
)
{
$id
=
$answer
->
getID
();
echo
pht
(
'Adding mail key for Answer %d...'
,
$id
);
echo
"
\n
"
;
queryfx
(
$conn_w
,
'UPDATE %T SET mailKey = %s WHERE id = %d'
,
$table
->
getTableName
(),
Filesystem
::
readRandomCharacters
(
20
),
$id
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 11, 12:13 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
104968
Default Alt Text
20150804.ponder.answer.mailkey.2.php (408 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment