English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - March 2007

[Selected]: All categories Computers & Internet Programming & Design

Hi;
I have Unix server and i have tried the following code to send an email:
==>
ini_set('error_reporting', E_ALL);
ini_set ("SMTP","193.188.87.163");
ini_set ("sendmail_path", "/usr/sbin/sendmail -t -i");
$Msg= "

Name " .
$_REQUEST['Yname'] .
"
Email" .
$_REQUEST['Email'] .
"
The message is " .
$_REQUEST['body'] . "
";
$FMail = $_$_REQUEST ['Email'] ;
$TMail = "alaa@cmc-amman.gov.jo" ;
$MSub = "CMC-Web Mail" ;
$fromname= $_REQUEST['Yname'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $fromname <$FMail>" ;
if (mail ($TMail ,$MSub, $Msg,$headers))
echo "Your mail have been sent";
else
echo "Sorry, your mail cant be sent";
?>
==>
the code is successful on localhost but failed when i uploaded it to the server ==> why?

2007-03-18 00:11:05 · 4 answers · asked by alaa_alomari 1

Could you give me some simple examples?

2007-03-17 23:35:38 · 3 answers · asked by VIS 1

I have installed Apache and Configured it using PHP's installer. But when I try to open a File with .php extension Firefox displays it like a Normal text file. What to do?

2007-03-17 22:58:28 · 3 answers · asked by Anonymous

I'm young,
I want to know something about web designing.
Where can I find good and easy tutorials about it.
I want to learn it for myspace.
Because I want to fully customize my page.
I have all Macromedia either Adobe products to work with it.
From Dreamweaver to Photoshop.
Will this help?
And any tips for beginners?

2007-03-17 22:55:53 · 6 answers · asked by RIOT! 3

2007-03-17 22:54:44 · 4 answers · asked by Himaja M 1

0

What do i use to make a slide show and put music on it ? and how do i do it or is it self-explanatory.

2007-03-17 22:26:51 · 6 answers · asked by B3B3 1

2007-03-17 22:21:28 · 4 answers · asked by Siu02rk 3

I make C++ programs. Now i want to see what actually run in the machine. How does the system handle variables and function calls.

2007-03-17 22:17:54 · 2 answers · asked by Anonymous

I want the coding for connection to MS-access using ASP.
I want the code for finding the record in Database.

2007-03-17 22:11:17 · 4 answers · asked by Sharda P 1

I do not know anything about Unix...only what I have learned by researching for the past hour. My ex-boyfriend has been using his computer to monitor all of my activity on my laptop. How was he able to set this up, how is he using Unix to find out all of my passwords and please...How do I shut him down?

2007-03-17 22:06:58 · 5 answers · asked by zenladyohm 1

it should be visul based coz i am bad at HTML language. and i prefer freeware :)

2007-03-17 22:05:11 · 4 answers · asked by Anonymous

I wish to send my writtings through mail but ina fashion that people can not modify the text at all, I already tried under "preferences" the " read only" option but it does not seem to work, can any one please please prety please help me to solve this chalenge I have?

2007-03-17 21:40:54 · 2 answers · asked by Mario G 2

on my laptop the screensavers work but for some odd reason my backgrounds don't it will not even let me click on my backgrounds list

do i have to install windows again to recover my backgrounds?

2007-03-17 21:25:52 · 1 answers · asked by jesse 1

Is it possible to define
FILE*output;
etc.....
and write data to a file using
fprintf( ) function?

2007-03-17 21:22:34 · 1 answers · asked by Anonymous












help us out lisn

2007-03-17 21:22:13 · 1 answers · asked by alejandro 1

can you explain me to me the following
1.Computer information system (CIS)
2.Device driver
3.Search engine webs
4.Network marketing
5.windows xp operating system.
it is all about computers if you are out there an know those things please help up to march 22/2007

2007-03-17 21:20:15 · 2 answers · asked by Anonymous

possible attributes entity sets an rel. sets?

2007-03-17 21:17:23 · 2 answers · asked by nawtyviper 1

Can anyone one help me?...i need your help very badly..example: a program w/c have a menu and ask user if wat is his choice....
or it plays a guessing game..or a program with any games..
I need the codes...kindly help me

2007-03-17 21:13:34 · 1 answers · asked by ivana_2pz 1

I have a question in my assignment which I need to submit as soon as possible. The question is about the design of Assets Management System. If anyone has got its design it can help me out to do the assignment. I would be very thankful for the help.

2007-03-17 21:07:00 · 0 answers · asked by nmkhan 1

where can I get good LiveJournal [LJ] layouts? the more links/layouts in the site the better. the one with the most helpful will get the ten points. either that, or the person that gives me a layout I actually want to use.

2007-03-17 20:44:34 · 2 answers · asked by Anonymous

Right now I have a program that will play tic tac toe between 2 people, but I am confused on how to turn it into a program that plays between the computer and the player. The computer doesn't have to be smart. import java.io.*; import java.util.*; class TTT { public static void main(String args[]) { int a,b,x,y; int person,row,col,count=0; char pl; char[][] array= { {' ',' ',' '}, {' ',' ',' '}, {' ',' ',' '}, }; do { for(a=0;a<4;a++) { System.out.println("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); for(b=0;b<2;b++) { if(b==1) { pl='O'; } else { pl='X'; } if(b==1) { person=1; } else { person=2; } System.out.println(" 0 1 2"); for(x=0;x<3;x++) { System.out.print(x); for(y=0;y<3;y++) { System.out.print("["+array[x][y] +"]"); } System.out.println(); } boolean invalidcoordinates = false; do{ count=count+1; System.out.println("Enter Row(0,1,2)"); Scanner scan = new Scanner(System.in); row=scan.nextInt(); System.out.println("Enter Column(0,1,2)"); col=scan.nextInt();
*not all of code*

2007-03-17 20:41:36 · 3 answers · asked by Anonymous

2007-03-17 20:05:15 · 6 answers · asked by Anonymous

Can anyone one help me?...i need your help very badly..example: a program w/c have a menu and ask user if wat is his choice....
or it plays a guessing game..or a program with any games..

2007-03-17 19:57:09 · 1 answers · asked by ivana_2pz 1

2007-03-17 19:56:39 · 4 answers · asked by Lakshmi Narayana C 2

For example:

select * from emp


Default Result will be like This in Crystal Reports

No Name
1 nnn
2 mmm
3 ppp

I want like the crystal report display as follows

No Name
1 nnn
No Name
2 mmm
No Name
3 ppp

2007-03-17 19:10:26 · 1 answers · asked by Nisha N 1

Has anyone made one using this software?

2007-03-17 19:02:53 · 4 answers · asked by Sweet n Sour 7

2007-03-17 18:40:55 · 6 answers · asked by pria 1

I am going to take a computer class next year and it says it specializes in java script...what can i do with that knowledge

2007-03-17 18:30:31 · 4 answers · asked by Sean O 1

Plz prefer me a site where i learn web designing in HTML.

2007-03-17 18:28:48 · 5 answers · asked by AJ 2

fedest.com, questions and answers