Help coders, my site have 255 char to post in articles, then i edit the articles.Php and i put in all form the maxlenght of 5000 character, but its always post 255 char. Then i try to change artpost table and change the value of "text" to blob. . But its the same problem? How to change/edit to maxlenght the value of character that post in articles, thanks!
MaxLimit of posting articles, how?
Started on the old forum in December 2009 · view the original in the archive · old links redirect here
arg0s12 wrote: Help coders, my site have 255 char to post in articles, then i edit the articles.Php and i put in all form the maxlenght of 5000 character, but its always post 255 char. Then i try to change artpost table and change the value of "text" to blob. . But its the same problem? How to change/edit to maxlenght the value of character that post in articles, thanks!
do some changes on your tables
sample:
-- --------------------------------------------------------
--
-- Table structure for table `tableprefix(ibwf)_artpost`
--
CREATE TABLE IF NOT EXISTS `tableprefix(ibwf)_artpost` (
`id` int(100) NOT NULL AUTO_INCREMENT,
`[COLOR="Red"][b]text[/b][/COLOR]` varchar([COLOR="Red"][b]5000[/b][/COLOR]) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '1' COMMENT '1',
`crdate` int(100) NOT NULL DEFAULT '0',
`artid` int(100) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `tableprefix(ibwf)_artpost`
--
-- --------------------------------------------------------
hacking is like sex. you get in, you get out and you pray you left nothing behind.
kei_ki7 wrote: try to use blob, then go to article.php search for 255
not in d script, its on his database tables..
hacking is like sex. you get in, you get out and you pray you left nothing behind.
arg0s12 wrote: thanks! Sir, Huwad, i will try it, , thanks for helping even we have a little prob. Bout our member, , @sir kei_ki7, i try the blob, but same problem, ,
it will surely work.. dont 4get to upd8 your form in posting an article,,
<input name="formname" maxlength="5000">
echo "<input name=\"formname\" maxlength=\"5000\"/>";
or remove limit
echo "<input name=\"formname\"/>";
-- --------------------------------------------------------
--
-- Table structure for table `tableprefix(ibwf)_artpost`
--
CREATE TABLE IF NOT EXISTS `tableprefix(ibwf)_artpost` (
`id` int(100) NOT NULL AUTO_INCREMENT,
`text` [B][COLOR="Red"]text[/COLOR][/B] NOT NULL,
`crdate` int(100) NOT NULL DEFAULT '0',
`artid` int(100) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `tableprefix(ibwf)_artpost`
--
-- --------------------------------------------------------
and do same with cwart, readart, etc. and so on
hacking is like sex. you get in, you get out and you pray you left nothing behind.
