This is a discussion on PHP form submission data errors within the PHP Language forums, part of the PHP Programming Forums category; One of my variables "link1" that is storing a bunch of urls is having random lines being duplicated ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
One of my variables "link1" that is storing a bunch of urls is having random
lines being duplicated on form submission. I just recently swithed servers from a PHP 4.3.3 to a 4.2.2 version. This error has only started appearing on the new machine. The script worked fine on the old server and still does on the test server. Any ideas? I think it might have to do with the ini config. i am stumped. here is a link to my code. http://host107.ipowerweb.com/~madpundi/bad.php |
|
|||
|
here is what the form should echo
http://host107.ipowerweb.com/~madpundi/exgood.php here is what it does echo http://host107.ipowerweb.com/~madpundi/exbad.php "Brad Esclavon" <gtg724h@mail.gatech.edu> wrote in message news:c74c8q$rvf$1@news-int.gatech.edu... > One of my variables "link1" that is storing a bunch of urls is having random > lines being duplicated on form submission. I just recently swithed servers > from a PHP 4.3.3 to a 4.2.2 version. This error has only started appearing > on the new machine. The script worked fine on the old server and still does > on the test server. Any ideas? I think it might have to do with the ini > config. i am stumped. here is a link to my code. > > http://host107.ipowerweb.com/~madpundi/bad.php > > |
|
|||
|
On Mon, 03 May 2004 10:54:36 -0400, Brad Esclavon wrote:
> here is what the form should echo > http://host107.ipowerweb.com/~madpundi/exgood.php > > here is what it does echo > http://host107.ipowerweb.com/~madpundi/exbad.php 404: Not Found on both files! Not Found The requested URL /~madpundi/exbad.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.27 Server at host107.ipowerweb.com Port 80 -- Jeffrey D. Silverman | jeffrey AT jhu DOT edu Website | http://www.wse.jhu.edu/newtnotes/ |
|
|||
|
sorry- i had them html extension, not php, now they work
"Jeffrey Silverman" <jeffrey@jhu.edu> wrote in message news:pan.2004.05.03.15.56.36.281730@jhu.edu... > On Mon, 03 May 2004 10:54:36 -0400, Brad Esclavon wrote: > > > here is what the form should echo > > http://host107.ipowerweb.com/~madpundi/exgood.php > > > > here is what it does echo > > http://host107.ipowerweb.com/~madpundi/exbad.php > > 404: Not Found on both files! > > Not Found > The requested URL /~madpundi/exbad.php was not found on this server. > > Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. > Apache/1.3.27 Server at host107.ipowerweb.com Port 80 > > -- > Jeffrey D. Silverman | jeffrey AT jhu DOT edu > Website | http://www.wse.jhu.edu/newtnotes/ > |
|
|||
|
On Mon, 03 May 2004 12:36:32 -0400, Brad Esclavon wrote:
> sorry- i had them html extension, not php, now they work > <snip!> Okay... One other thing. What is your PHP code?? There is no way to tell what is happening just from the output! And one last pet peeve - please don't top post: <http://www.faqs.org/rfcs/rfc1855.html> "If you are sending a reply to a message or a posting be sure you summarize the original at the top of the message, or include just enough text of the original to give a context." Also: <http://www.google.com/search?q=top+posting+is+bad&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8> later... -- Jeffrey D. Silverman | jeffrey AT jhu DOT edu Website | http://www.wse.jhu.edu/newtnotes/ |
|
|||
|
"Jeffrey Silverman" <jeffrey@jhu.edu> wrote in message news:pan.2004.05.03.16.48.41.81365@jhu.edu... > > One other thing. What is your PHP code?? > > There is no way to tell what is happening just from the output! i had this link in the initial post. this is my php code http://host107.ipowerweb.com/~madpundi/bad.php |
|
|||
|
i have debugged my code and traced it all. i have the script running
flawless on the old server and on a local test server. there is just something about data transmission in submitting that screws it up. i think it is a ini misconfig, but i cant see anything that would cause that. i included the 2 php info files, incase i am missing something. i am stumped as to what to do now. the only thing i know to try is compile php/apache/mysql from scratch from the latest versions. (the colocation setup used rh9 rpms, so the versions are slightly old and all the data is scattered in custom locations). i have had nothing but trouble and errors in all my rpm endeavors. here is the phpinfo() from the old server http://host107.ipowerweb.com/~madpundi/oldserver.htm here is the phpinfo() from the new server http://host107.ipowerweb.com/~madpundi/newserver.htm "Brad Esclavon" <gtg724h@mail.gatech.edu> wrote in message news:c762du$4sv$1@news-int2.gatech.edu... |
|
|||
|
Brad Esclavon wrote:
> i have debugged my code and traced it all. i have the script running > flawless on the old server and on a local test server. there is just > something about data transmission in submitting that screws it up. (snip) First indent your code :-) Then try <form accept-charset="iso-8859-1" ... or maybe <form accept-charset="utf-8" ... I have no idea how it all integrates with JavaScript. and don't forget to indent your code! -- USENET would be a better place if everybody read: : mail address : http://www.catb.org/~esr/faqs/smart-questions.html : is valid for : http://www.netmeister.org/news/learn2quote2.html : "text/plain" : http://www.expita.com/nomime.html : to 10K bytes : |