 |
|
 |
When posting your question please:- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-fou
|
|
|
|
 |
|
 |
I'm having trouble in a strange problem.Around the corner I've write page used html + css,and it feels no bad.
But when I use the technology of 'smarty',and I just make several string-replace,it looks completely awful,as the deployment of the page is mess.
I don't know why.
|
|
|
|
 |
|
 |
i am planning to do my final year project. i need some ideas am stuck guyz. Thank you in advance
|
|
|
|
 |
|
 |
What sort of ideas? We have no information about your skills or your interests so the best I can suggest is, choose a subject that you understand and are interested in.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
Thanks for the reply my friend. I want to do software or web development. The problem is i did my internship at a networking company, so my knowledge of Web and software is limited.
I appreciate the help guyz
|
|
|
|
 |
|
 |
creespy wrote: so my knowledge of Web and software is limited.
So what exactly do you think we can suggest that will be useful as your project? As I said before, you need to make the decision based on your knowledge, experience and interests.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
|
 |
|
 |
Great idea, now type that into Google and start learning.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
I want to create a button on a php pafe like a form now after pressing this button i should load an image. Now the I have done this. when the image is appearing it's on the other page than where the button was. I want to have the button on the same page. Left hand side i have a set of buttons and pressing each button should load image on the right side of the same page. I should be able to see the button and image both. Please help me how can I achieve this. Is it possible using only php. ?? Thanks for any help.
[code]
if(isset($_POST['submit']))
{
$imagepath="shirt7.jpg";
$image=imagecreatefromjpeg($imagepath);
header('Content-Type: image/jpeg');
imagejpeg($image);
}
?>
<form method="post" action="">
<input type="submit" name="submit" value="Submit Form">
</form>
[/code]
|
|
|
|
 |
|
 |
When you submit the form a new page is loaded. You could make the new page look the same but with your new image embedded in it using only PHP.
Or you could load the image inside a frame or iframe by targetting the frame from the form tag.
Or you could load the image using Javascript.
Also, your PHP code appears to be loading an image using a GD function and then serving it to the browser without changing it at all - unless you are planning to draw on the image or resize it or something, this is very inefficient.
|
|
|
|
 |
|
 |
Hi all,
There are so many articles on the web about 'how to send mails in PHP' using the mail function. But actually it gives lots of errors for me. Have a look at the code segment I tried.
$to = "to@gmail.com";
$subject = "subject goes here";
$message = "message of the email goes here";
$from = "from@gmail.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent ";
When i try the code, gives the following error.
Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.emailsrvr.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\WorkOn\PHP\MyPHPSites\emai_test.php on line 10
How can I workaround with this?
Thanks in advance.
I appreciate your help all the time...
CodingLover
|
|
|
|
 |
|
 |
CodingLover wrote: How can I workaround with this?
Check why the server smtp.emailsrvr.com is not accepting your mail request. I just tested it and it hangs after the HELO command, and then drops the connection. You need to contact the site administrator.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
No the request accepting. But no luck. I'll check with a different connection if possible, and let you know.
I appreciate your help all the time...
CodingLover
|
|
|
|
 |
|
 |
CodingLover wrote: No the request accepting.
I'm not sure what you mean by this, but when I tried to connect manually it definitely timed out on the initial HELO command, and then dropped the connection. You need to check with the site what the correct connection protocol is - it may be that you need to use a different port.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
Yes, when I try to telnet to the port it is not allowed to connect. Seems my settings are invalid or the connection dropped somehow by my network. I'll check and let you know.
I appreciate your help all the time...
CodingLover
|
|
|
|
 |
|
 |
Did you telnet to port 25?
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
Yes I do, but the connection is fail. Seems my network not allowed to connect.
I appreciate your help all the time...
CodingLover
|
|
|
|
 |
|
|
 |
|
 |
the process you are using is wrong. Please read about how email works. and also follow the link to email using gmail smtp server
link[^]
|
|
|
|
 |
|
 |
I couldn't find any example in that download bundle. However I tried what that tutorial suggest but it didn't work either.
Fatal error: Cannot access empty property in ...\phpmailer\phpmailer.inc.php on line 271
I appreciate your help all the time...
CodingLover
|
|
|
|
 |
|
 |
follow the instruction link
|
|
|
|
 |
|
|
 |
|
 |
classes[^]
Luc Pattyn [My Articles] Nil Volentibus Arduum
Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.
|
|
|
|
 |
|
 |
Hi,
We are about to tie up with our competitors site. So anyone who is member of that site, can access our site after entering their username and password used in our competitors site.
Would this be a good solution, if we ask them to write a web service that talks to their database member table and we can then communicate to that web service to allow the members to log inn using their existing username and password?
Thanks
modified 8 Feb '12.
|
|
|
|
 |
|
 |
Question fixed by OPWrong forum?
modified 8 Feb '12.
|
|
|
|
 |