FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-18 10:35

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2008-11-03 18:39 
Offline
500 Command not understood

Joined: 2008-11-03 18:29
Posts: 1
I have uploaded xampp to my pc. I am using Windows XP Professional, and have downloaded the entire xampp package which includes Apache server, MySQL, php5, Mercury mail program, and FileZilla FTP. Once I started FileZilla, I assumed I would be able to use the forms I use with all websites on my paid server and upload information to the database. Now I can update information already in the database if there is already an entry, however uploading/inserting a new entry is not working, which is telling me that it is the FileZilla setting or program. The code I am using is simple and will NOT seem to work with FileZilla:

<? if ($action == "") { ?>

BLAH, BLAH, BLAH, FORM, BLAH, BLAH, BLAH

<? } else {
$question = $_POST['question'];
$answer = $_POST['answer'];
mysql_query("INSERT INTO faq SET question = '$question', answer = '$answer'");
?>

<tr align="center">
<td>FAQ Item has been successfully added.</td>
</tr>
<? } ?>

What am I doing wrong with the settings? How can I configure it to work as I need it to? Please advise!
Thanks so much for the help!
Sincerely,
Charles


Top
 Profile  
 
PostPosted: 2008-11-05 01:17 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19640
Location: Germany
AFAIK XAMPP includes Filezilla Server. Filezilla Server can only host files. You cannot use it to insert information into a MySQL database. You could use PHP code running on the included Apache HTTP Server, Filezilla Server does only support FTP protocol.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Dedicated server provided by Artmotion.
Forum sponsored by Everyware.ch.
Powered by phpBB® Forum Software © phpBB Group