6 * This file defines the forms used to insert a textfile into a table
11 * Gets some core libraries and displays links
13 require('./tbl_properties_common.php3');
14 $err_url = 'ldi_table.php3' . $err_url;
15 $url_query .= '&back=ldi_table.php3';
16 require('./tbl_properties_table_info.php3');
23 <form action
="ldi_check.php3" method
="post" enctype
="multipart/form-data">
24 <table cellpadding
="5" border
="2">
26 <td
><?php
echo $strLocationTextfile; ?
></td
>
27 <td colspan
="2"><input type
="file" name
="textfile" /></td
>
30 <td
><?php
echo $strReplaceTable; ?
></td
>
31 <td
><input type
="checkbox" name
="replace" value
="REPLACE" id
="checkbox_replace" /><?php
echo $strReplace; ?
></td
>
32 <td
><label
for="checkbox_replace"><?php
echo $strTheContents; ?
></label
></td
>
35 <td
><?php
echo $strFieldsTerminatedBy; ?
></td
>
36 <td
><input type
="text" name
="field_terminater" size
="2" maxlength
="2" value
=";" /></td
>
37 <td
><?php
echo $strTheTerminator; ?
></td
>
40 <td
><?php
echo $strFieldsEnclosedBy; ?
></td
>
42 <input type
="text" name
="enclosed" size
="1" maxlength
="1" value
=""" />
43 <input type
="checkbox" name
="enclose_option" value
="OPTIONALLY" id
="checkbox_enclose_option" />
44 <label
for="checkbox_enclose_option"><?php
echo $strOptionally; ?
></label
>
46 <td
><?php
echo $strOftenQuotation; ?
></td
>
49 <td
><?php
echo $strFieldsEscapedBy; ?
></td
>
50 <td
><input type
="text" name
="escaped" size
="2" maxlength
="2" value
="\" /></td>
51 <td><?php echo $strOptionalControls; ?></td>
54 <td><?php echo $strLinesTerminatedBy; ?></td>
55 <td><input type="text
" name="line_terminator
" size="8" maxlength="8" value="<?php
echo ((PMA_whichCrlf() == "\n") ?
'\n' : '\r\n'); ?
>" /></td>
56 <td><?php echo $strCarriage; ?><br /><?php echo $strLineFeed; ?></td>
59 <td><?php echo $strColumnNames; ?></td>
60 <td><input type="text
" name="column_name
" /></td>
61 <td><?php echo $strIfYouWish; ?></td>
64 // 2002/2/22 appended by Y.Kawada: Kanji encoding convert controls
65 if (function_exists('PMA_set_enc_form')) {
67 . ' <td>' . $strKanjiEncodConvert . '</td>' . "\n
"
68 . ' <td colspan=2>' . "\n
"
69 . PMA_set_enc_form(' ')
75 <td colspan="3" align="center
"><?php print PMA_showDocuShort('L/O/LOAD_DATA.html'); ?></td>
78 <td colspan="3" align="center
">
79 <input type="hidden
" name="lang
" value="<?php
echo $lang; ?
>" />
80 <input type="hidden
" name="convcharset
" value="<?php
echo $convcharset; ?
>" />
81 <input type="hidden
" name="server
" value="<?php
echo $server; ?
>" />
82 <input type="hidden
" name="db
" value="<?php
echo $db; ?
>" />
83 <input type="hidden
" name="table
" value="<?php
echo $table; ?
>" />
84 <input type="hidden
" name="zero_rows
" value="<?php
echo $strTheContent; ?
>" />
85 <input type="hidden
" name="goto" value="tbl_properties
.php3
" />
86 <input type="hidden
" name="back
" value="ldi_table
.php3
" />
87 <input type="hidden
" name="into_table
" value="<?php
echo $table; ?
>" />
88 <input type="submit
" name="btnLDI
" value="<?php
echo $strSubmit; ?
>" />
89 <input type="reset
" value="<?php
echo $strReset; ?
>" />
100 require('./footer.inc.php3');