sending data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
blomberg
Forum Newbie
Posts: 6
Joined: Sun Sep 20, 2009 8:28 am

sending data

Post by blomberg »

hi
i send a lof of data with TEXTAREA about 20,000 character and after sending in new page show erro
INTERNAEL SERVER ERROR
i use this data for queries in my project
please help me
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: sending data

Post by jackpf »

Does it work when you post less characters?

Try changing the max post size in php.ini.
blomberg
Forum Newbie
Posts: 6
Joined: Sun Sep 20, 2009 8:28 am

Re: sending data

Post by blomberg »

yes it work in less data
how can change max siza of post
tnx
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: sending data

Post by jackpf »

Do you have access to php.ini?
blomberg
Forum Newbie
Posts: 6
Joined: Sun Sep 20, 2009 8:28 am

Re: sending data

Post by blomberg »

no i dont have access to php.ini
what am doing now?
tnx
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: sending data

Post by jackpf »

Umm...you might have to ask your hosts to change it for your account then, if you're a virtual server.

Or you could try this:

Code: Select all

ini_set('post_max_size', '8M');
but I'd be surprised if that works tbh.
blomberg
Forum Newbie
Posts: 6
Joined: Sun Sep 20, 2009 8:28 am

Re: sending data

Post by blomberg »

i have to change my host
thanx my friend
8)
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: sending data

Post by jackpf »

Well...I think most hosts will probably have this setting on about 8m.

Will they not change it for you or something?

And no problem :)
blomberg
Forum Newbie
Posts: 6
Joined: Sun Sep 20, 2009 8:28 am

Re: sending data

Post by blomberg »

are u know that 20,000 character is more than 8m or less!!!!??
tnx 8O
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: sending data

Post by jackpf »

It's less.

But you may have a smaller max post size setting atm. Or I could just be completely wrong 8O

I'm just guessing and giving suggestions here...I think the only way to find out is to ask your hosts.

You should test it out on your own machine and see if it is the max post size setting causing it.
Post Reply