LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-10-2002, 03:47 AM   #1
coea77
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
problms w/ php 4.2.1 mozilla 0.9.9 enctype="mutlipart/form-data" w/ phpWebSite 0.8.3


I've experienced the following problem, using php 4.1.2, with mozilla 0.9.9 :

i've put in a simple html file the following form :

<html>
<head>
<title>Prova</title>
</head>
<body>
<form action="action.php" method="POST" enctype="multipart/form-data">
<input type="text" name="testo" />
<input type="hidden" name="var1" value="1" />
<input type="hidden" name="var2" value="2" />
<input type="submit" name="sub" value="ok" />
</form>
</body>
</html>

the action.php is a very simple script printing the values of the 'testo' var :

<?php

echo( "<p>" . $_POST["var1"] . $var1 . $testo . "</p>" );

?>

The result page is always the same : nothing printed on screen, even with register_globals=on.
Is this right ? There is something else i should aware of ?

I've done this experiment because i tried to run phpWebSite 0.8.3, but the admin pages contains a lot of forms mixing hidden vars, with enctype="multipart/form-data",
but the hidden vars seemed to be ignored, provoking an abnormal behaviour (the app return always to the main page).
 
Old 10-10-2002, 04:29 AM   #2
coea77
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Talking

... it was file_uploads in php.ini turned off ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mozilla or firefox : "ALERT document contains no data!" maxut Fedora 8 06-08-2006 09:12 AM
form action ="?" ... where is my form posting to? verbatim Programming 2 05-23-2005 07:55 PM
Mozilla/Firefox "Document contains no data" e88z4 Linux - Software 16 02-09-2005 03:14 AM
MySQL/PHP/Horde "Failed to write session data" Big Money Linux - Software 0 11-23-2004 02:33 PM
The document contains no data. " mozilla " j.vilon Debian 8 09-29-2004 08:44 AM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration