hello i am trying to pass a large serialized array (12.4kb) using POST via PHP, but it doesn't get passed completely i only recieve 269 bytes, whats wrong? i am using Godaddy linux shared hosting.
Mohammed S 0 Newbie Poster
Recommended Answers
Jump to Post— as.bhanuprakash 2I guess you will have to check the following setting in php.ini
; Maximum size of POST data that PHP will accept.
post_max_size = 50M
Jump to Post— Fbody 682put a temporary page on your GoDaddy server with just this code:
<?php phpinfo(); ?>Navigate directly to it. The current value of the setting should appear in the "Configuration -> PHP Core" section of the output.
Once you have the output, print it for your …
Jump to Post— xylude 3The array doesn't contain any slashes or quotes does it? You may just need to run some clean up like mysql_real_escape_string on it to get it to come through.
Jump to Post— xylude 3In php5 you have to have an open connection to mysql to use the mysql_real_escape_string. You can also try addslashes().
All 13 Replies
as.bhanuprakash 2 Junior Poster
Mohammed S 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
Mohammed S 0 Newbie Poster
xylude 3 Junior Poster
Mohammed S 0 Newbie Poster
xylude 3 Junior Poster
Mohammed S 0 Newbie Poster
Mohammed S 0 Newbie Poster
xylude 3 Junior Poster
xylude 3 Junior Poster
Mohammed S 0 Newbie Poster
xylude 3 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.