Thanks Luuk. I upgraded to 5.5 and its giving me this error.
Fatal error: Class 'Swift_SmtpTran sport' not found in C:\wamp\www\btb _sandbox\sendem ail8.php on line 8
What do you think is the problem this time around? Thanks Luuk, you have been helpful.
User Profile
Collapse
-
Thanks Luuk, been quite a while, i have been really busy. I opted against using PHPmailer because i heard that it is always meddled with complications. A friend suggested another third party email system. sendgrid.com . I signed up,looked up the documentation and looked at their integration with Open Source apps(PHP in this case). I worked with this code
...Code:require_once("../zoomie_files/includes/sendgrid/smtpapi-php.php");Leave a comment:
-
Thanks Luuk. The article you gave me is about just about the PHP mail() function.
When you talk about log files and 'library which is more than 4 years old', honestly, i dont really understand would be grateful if you explained better. Im a novice.
I ran this code
...Code:<?php $inis = Array('SMTP', 'smtp_port', 'sendmail_path');// from not important foreach($inis as $key=>$val){Leave a comment:
-
Thanks Luuk. I change the false to true in. It still did the same thing it did when SMTPAuth was false. (loaded for a long time and came up with a blank page).Code:$mail->SMTPAuth = true;
What do you think is the problem???Leave a comment:
-
Thanks Luuk, before i try it out, do you mean that the email and password info i put there were correct?? Thanks.Leave a comment:
-
Bugs with SMTP and PHPMailer
Hello Folks. I want to first appreciate for all the help that i have received here. I am pretty new to PHP and im trying to use PHP mailer for my SMYP settings. With the settings below, i tried to send the mail, but after a long time of loading, it just stops with a blank page. I set up and error report, that would let me know whether the message was sent or not, but i got no error message, just blank screen. I think its the STMP settings. Im supposed... -
Thanks Dormilich, on Line #8 i kinda prefer the numeric error codes. Thats how they are understandable to me.
Line #2 is also a good idea.
Thanks Dormilich, you have really been helpful. :-)Leave a comment:
-
Oh. Thanks Dormilich. Sorry for the late reply. I have not been feeling too fine. This upload page was just a test, on how i could handle my uploads. When i was sure i could upload successfully, i wrote 2 public methods SAVE and ATTACH_FILE, that perfectly handles from file upload, to tmp_directory, to permanent directory, considering every exception i could think of. I flexed the muscles of the conditional statements on this one. Here are they....Leave a comment:
-
Virenderkanger, can you be more specific with your question? Are you referring to timestamps?? :-)Leave a comment:
-
Thanks Dormilich. You have been far too kind. I have cracked it. An elder colleague advised me to run the isset test after the $upload_errors array and not before it. I removed those <pre> tags that i used in inspecting the uploaded files and later decided against running the test on 'file_upload'. Instead i checked whether the $_POST variable was subumitted. Like this
...Code:if(isset($_POST['submit'])) {..my form processingLeave a comment:
-
No. $upload_errors is the array. What should i do to at least define 'file_upload'? Am confused right nowLeave a comment:
-
OHH! My bad. I think isset && is_array would have been better
...Code:<?php $upload_errors = array ( UPLOAD_ERR_OK => "No Errors.", UPLOAD_ERR_INI_SIZE => "Larger than upload_max_filesize.", UPLOAD_ERR_FORM_SIZE => "Larger than form MAX_FILE_SIZE.",Leave a comment:
-
Thanks Dormilich. You have really been helpful. i look at that php.net link that you showed to me and it was really helpful. Im pretty new to php. I spent all night working on this bug, yet no progress. Same error, or some other. Just now, i came up with an idea. If it was about the index 'file_upload' not being set,, or not being an array, why not a simple echo statement. Thus i took the initiative from the php.net site and did something like this...Leave a comment:
-
-
Notice: Undefined index Error. Help!!!
Hello Folks. Thanks for all the help i have received here. I was trying to write an upload file. It was ok until i began error reporting. First i tried to inspect the file uploaded by asking the print_r to show the associate array of name, type, size, tmp_name and error. It works all right but it gives this error just as i load the page
Notice: Undefined index: file_upload in C:\wamp\www\btb _sandbox\upload .php on line 27... -
Nice one. weaknessforcats . You just spoke my mind. Java seems to be more fluid with apps and games. C/C++/C# is also cool with windows related stuff. Turn your hobby, what you enjoy most, to your profession. While you are yet to make up your mind on your language area(which should be based purely on what gives you joy the most), study everyday, follow video tutorials, then try to tweak your assignments and get new functionality. After each assignment,...Leave a comment:
-
Lets say the name of your table is "students" and it has a timestamp,
like this
Then this will do for date and timeCode:CREATE TABLE students ( ts TIMESTAMP, description VARCHAR(80));
This will do for just timeCode:INSERT INTO students VALUES (CURRENT_TIMESTAMP);
Code:INSERT INTO students VALUES (CURRENT_TIME);
or use NOW
...Code:INSERT INTO students VALUES
Leave a comment:
-
Hey Folks!!! I have debugged it myself. It was indeed a HTML issue and not CSS. I was separated my header and footer and attached my layout to them so that wherever i include header or footer, the layout comes together with it. Pretty smart ei? Anyways, i was supposed to leave the html code on the header incomplete. i.e stop at main' and not close tags of body, head and html. That was why i ran into that error. I removed them those closing tags and...Leave a comment:
-
Bugs with CSS code.
Hello Folks. First, i must admit how helpful you have been since i signed up here. Thank you all.
Im following a PHP course and this is the code of the stylesheet
...Code:/*SITE COLORS : #1A446C - Blue grey #689DC1 - Light blue #D4E6F4 - Very light blue #EEE4B9 - Light tan #8D0D19 - Burgundy */ html { height: 100%; width: 100%; }
No activity results to display
Show More
Leave a comment: