473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

email problem

Hi All,

i have a problem and i hope that some one help me .

i designed an html form using front page (index.html)

to send data to mail.php ( data store in txt file) i test the form on my computer

and worked well but when i tested on the net not soring data !!!! why?
Feb 17 '07 #1
3 1086
ronverdonk
4,258 Expert 4TB
How do you think we could be of help if you don't even show us any of the working code you developed? We are not clairvoyant (yet).

Ronald :cool:
Feb 17 '07 #2
How do you think we could be of help if you don't even show us any of the working code you developed? We are not clairvoyant (yet).

Ronald :cool:
_------------------------------------------------
Hi All,

i have a problem and i hope that some one help me .
i designed an html form using front page includes a questionnaire and
send data to mail.php ( data store in txt file) i test the form on my computer
and worked well but when i tested on the net not storing data !!!! why?
here is the code:
[php]
<html dir="rtl">
<?
// to open file
$fp = fopen("prosalim.txt","a+");
if(!$fp)
{
echo "cannot open file";
exit;
}
$date =$T1."\t<br>".$T2."\t<br>".$R1."\t<br>".$R2."\t<br >".$R3."\t<br>".$R4."\t<br>".$R5."\t<br>".$R6.
"\t<br>".$R7."\t<br>".$R8."\t<br>".$R9."\t<br>".$R 10."\t<br>".$R11."\t<br>".$R12."\t<br>".$R13."\t<b r>".
$R14."\t<br>".$R15."\t<br>".$R16."\t<br>".$R17."\t <br>".$R18."\t<br>".$R19."<br>******************** *************************<p>";
//to write to file
Fwrite($fp,$date);
echo "<center><font color='#944E6D'><b> thank you very much for filling the questionnaire
</b></font><center>";
fclose($fp);
//echo "<META HTTP-EQUIV='Refresh' Content=3;URL='index.html'>"

?>
</html>[/php]

Next time show your code within code or php tags!! - moderator
Feb 18 '07 #3
ronverdonk
4,258 Expert 4TB
All I can see from your code is that you

- open a file
- fill a variable with unknown/non-initialzed variables
- write that variable to the file
- echo a message
- close the file

Does that sum up what you are doing? I cannot see any code that is related to entering data in a form, nor filling any variables, nor sending an email. This code cannot have sent any email on your system or whatever other system. Maybe you posted the wrong code!

Ronald :cool:
Feb 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: jpastora | last post by:
I'm having a strange problem with our email links on the domain : http://www.pc350.com/ . The problem is that when you click on an email link, the email app is not launched until the browser...
6
by: mike | last post by:
I have created a side application in VB.NET which reads rows from a DB and builds an email message. when i have a long string the the mailmessage.body or the mailmessage, it puts in an...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
0
by: VP | last post by:
g'day, i am posting a problem i have encountered with creating an email using outlook through some basic c# code. the problem arises when using different email editors in outlook. At the moment...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
26
by: libsfan01 | last post by:
Hi all! Can anyone show me how to check and email field on a form for the existence of these two characters. Kind regards Marc
0
by: RickVidallon | last post by:
Missing or Truncated Body Text in Email Application - 2 Strange Examples... There is no earthly reason why this is happening! EXAMPLES HERE: http://65.36.227.70/actmailer/ We have a...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
3
by: IGD | last post by:
I don't know if this is the right place to post this or not. If not, could someone direct me elsewhere where I would find more information on how to solve my problem? Thanks! My problem is this:...
28
tdw
by: tdw | last post by:
Hi all, I am trying to add a feature to our database that automates sending emails. When entering a new order, I want the option to send an email to the company the order came from, attaching a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.