Reply to Newbie problem with $_POST

Your name:

Reply:


Posted by Chris on 02/27/06 21:10

I ran into a problem with the $_POST feature in my scripts. I just changed
over to a new hosting company and now some of my scripts are acting wierd.
I know it is probably a setting in the PHP.ini file, but I have no idea what
to look for. The old server ran 4.2.2 and the new server runs 4.4.2

In my script I use $_GET to get the name of the text file that needs to be
created and $_POST to get the content to post to the text file. I added
error checking and the results (displayed using ECHO statements) of the
script should return either "Success", "Unable to open file" or "Unable to
save data". Using these results my program knows if the file was created.
This all worked just fine until I started testing on the new server. Now
the script returns the data that was sent during the post (writevar=my data
to be posted) instead of any of the three possible results. The file is
being successfully created, just that the script is now returning a
statement that I have no idea where it is coming from.

Any ideas?

Thanks in advance.

Chris

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация