Vishal Kumar
28p27 comments posted · 1 followers · following 0
12 years ago @ Vishal Kumar - At IIMB. Post 1. · 0 replies · +1 points
V
13 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 0 replies · +1 points
First check that normal php pages are being displayed (i.e. wamp is running as it should). Create a test.php page in your www folder, and put in <?php echo "hi"; ?>
Then open the page by going to your http://localhost/test.php. You should see a "hi".
If you don't, check click on the wampserver logo and select Start All Services.
If you have started the services and you were just thinking that yada yada yada I've already done all of that, please make sure that you've edited the php.ini page.
If even that doesn't work, try using XAMPP, and try with the same instructions.
13 years ago @ Vishal Kumar - Game: Chat Noir in Jav... · 0 replies · +1 points
[WORDPRESS HASHCASH] The poster sent us '0 which is not a hashcash value.
13 years ago @ Vishal Kumar - Help: I Can't Open .EX... · 0 replies · +1 points
Try this: rightclick and create a new text file, and save it as new.reg. Then paste and save the following text (between the lines):
___
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"
___
The system should recognize it as a registry backup file. Double click on the file, and allow it to run (security permissions might be asked).
If you can't open notepad, try going to run (Windowskey+R), and typing "edit" and enter, and use that instead.
13 years ago @ Vishal Kumar - Asp.NET Mail using Gma... · 0 replies · +1 points
Please have a look athttp://msdn.microsoft.com/en-us/library/system.ne...
Critical are these lines:
// Create the file attachment for this e-mail message.
Attachment data = new Attachment(file, MediaTypeNames.Application.Octet);
// Add time stamp information for the file.
ContentDisposition disposition = data.ContentDisposition;
disposition.CreationDate = System.IO.File.GetCreationTime(file);
disposition.ModificationDate = System.IO.File.GetLastWriteTime(file);
disposition.ReadDate = System.IO.File.GetLastAccessTime(file);
// Add the file attachment to this e-mail message.
message.Attachments.Add(data);
13 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 0 replies · +2 points
Also check out that your PHP is working by enabling error messages in php.ini (search for error_reporting ), and making sure theres a line like error_reporting = E_ALL
13 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 0 replies · +1 points
13 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 0 replies · +1 points
14 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 0 replies · +1 points
For the parse error, you might have accidentally deleted a few characters or misspelled a word.
14 years ago @ Vishal Kumar - PHP Mail using Gmail S... · 1 reply · +2 points
So you'll have <form action="sendmail.php" method="post">...
Then in your sendmail.php, you need to receive the variables.
Access the form elements in the previous page with '$_POST['name']'. So instead of the strings in the demo email sending above, you would use the POST variables.