Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > PHP

Reply
 
LinkBack Thread Tools Display Modes
Old 11-30-2003, 08:49 PM   #1 (permalink)
trevor
Code Monkey
 
Join Date: Jan 2003
Location: Canada
Posts: 91
trevor is on a distinguished road
strange posting problem on my website.........

i have had a strange problem on my site for a while, where when people are trying to post large posts (couple pages) on a slower connection, it times out or something when posting. i guess they wait for a few minutes while it trys to upload it, and then they get a "page cannot be displayed". Any ideas on this?, i dont think it would be my code so i guess it would be server side (prob posting in wrong forum).
peace,
Trevor
trevor is offline   Reply With Quote
Old 11-30-2003, 10:50 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,532
sde is on a distinguished road
the only thing in the php.ini file i found was:

default_socket_timeout = 60

you might want to try to bump that up. there is also probably a timeout parameter in your web server ( apache / iis )

are they uploading files? or just posting text?
__________________
Mike
sde is offline   Reply With Quote
Old 12-19-2003, 01:25 PM   #3 (permalink)
bdonalds
Registered User
 
Join Date: Dec 2003
Posts: 5
bdonalds is on a distinguished road
I am going take a wild guess at the problem.... Are you using the "GET" method in your form tag. Try using the "POST" mehtod instead. GET passes all of the form info as part of the URL and it is limited to 1024 characters (or is it 2048...I forget). POST sends straight to stdout.

Usually, going over the limit just truncates your form data, but wihtout seeing your code, if the "action" page requires a certain variable that is getting truncated or something like that, it could cause problems.

Also, don't forget that you will need to make some changes to grab the variables when you change from GET to POST...i.e. change the $_GET['varname'] to $_POST['varname']

Of course, I may have guessed wrong about the whole thing!

If that's not it, send me a link to the page, or some code to look at.

Bryan
bdonalds is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Problem Ilya020 HTML, XML, Javascript, AJAX 4 12-09-2003 04:05 PM
Web Design Problem elusionsdesign HTML, XML, Javascript, AJAX 2 11-09-2003 08:01 PM
Help debugging a power problem Belisarius Lounge 0 10-25-2003 05:44 PM
Job posting: Blizzard Entertainment(Creators of Starcraft, Diablo & Warcraft) MEDIEVALDRAGON Lounge 2 04-26-2003 10:30 AM


All times are GMT -8. The time now is 07:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting