Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
require_once
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
23 Hours Ago
by david.tigner
That's a problem. The email addresses issued for @RadiantNewHorizonHomes.com or 1 of the other 4 are created by me. Unknown parties that submit online forms on one of my domains would not have one of these email addresses. I would want to receive the submitted info from senders of any email address like has been since 2011 until Feb 2024. This is …
'AI Is Expected to Transform the Role of Controllers & Analysts '
Community Center
1 Day Ago
by Johannes C.
**AI will automize many routine tasks in accounting and the role of financial controllers and analysts will change, but not be replaced – say Manoj Kumar Vandanapu and Sandeep Kumar.** ![agi-talks-02.jpg](https://static.daniweb.com/attachments/4/b1fce5f78b7456fea7043a6d095ca2f0.jpg) In the latest AGI Talks, two renowned finance experts share …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Days Ago
by Biiim
I checked my code and I only found 2 differences, the first is the 2 `use` commands before the require: use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'includes/PHPMailer/src/Exception.php'; require 'includes/PHPMailer/src/PHPMailer.php'; require 'includes/PHPMailer/src/SMTP.php';…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
5 Days Ago
by david.tigner
This one is becoming more perplexing. After adding in the PHPMailer coding, page would crash (e.g. blank white screen, HTML file that would display the screen doesn't even start at all, e.g. error in the 1st running PHP file). Adding the semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
by Biiim
You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by david.tigner
More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email address associated …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by toneewa
An RTX 30 or 40 series card with 8GB of VRAM. ~$299. There is no support with Wine a user has reported. There was a link to a [python api](https://github.com/rpehkone/Chat-With-RTX-python-api). That was just an example and a thought, but not limited there. There's creative solutions. Having only users with an RTX card can use the feature, …
Re: What are the key components of an effective email marketing campaign?
Digital Media
Digital Marketing
2 Weeks Ago
by myresellerhome
Effective and compelling email marketing campaigns require several key features. A crisp and simple subject line is vital because it's the first thing recipients see and can determine if they open the email. Personalizing emails by name and personalizing information to recipients' interests boosts engagement. A powerful call-to-action (CTA) in …
AI-powered Code Reviews: The Future of Collaborative Development
Programming
1 Month Ago
by SEO_935
AI-powered code reviews are bringing about a revolution in the way developers collaborate, enabling more efficient, accurate, and thorough evaluations of code prior to its integration into the central project repository. This transformation is made possible by leveraging machine learning and artificial intelligence to automate and enhance different…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
2 Months Ago
by usmanmalik57
On February 21, 2024, Google released [Gemma](https://ai.google.dev/gemma), a family of state-of-the-art open-source large language models (LLMs). As per initial results, its 7b (seven billion parameter) version is known to perform better than Meta's [Llama 2](https://llama.meta.com/), the previous state-of-the-art open-source LLM. As always, my…
"Enhanced Imaging: USB 3.0 Camera Technology"
Hardware and Software
1 Month Ago
by diana_17
USB 3.0 cameras are at the cutting edge of photography technology, taking advantage of the USB 3.0 interface's high-speed data transfer capabilities to provide greater performance in a variety of applications. These cameras outperform their predecessors, particularly in terms of data transfer speed, image quality, and overall efficiency. High-…
Slaying Unicorns: How Europe Sabotages Its Own Economic Future
Community Center
4 Weeks Ago
by Johannes C.
**With the decline of industry and post-colonial exploitation, Europe should aim to become a global leader in the tech and service industry. But as the EU increasingly complicates the process for startups to thrive, the economic outlook appears bleak.** If you've missed recent AI news, **[Claude Opus now outperforms GPT-4 in most areas](https://…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by Biiim
In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or…
Re: A reliable way of detecting AI content?
Hardware and Software
Cloud-based Apps
1 Month Ago
by jkon
There are some apps that claim to detect AI Generated content and have paid APIs (e.g. GPTZero , Originality) , I haven't use them except of testing , I didn't had any good reason and furthermore the landscape is changing so fast that all the statistical patterns they might detect need better and better adjustment to work decently. We still can…
Re: What's up with XOAuth?
Programming
Web Development
1 Month Ago
by toneewa
Maybe you were thinking of something like this: <?php // Include PHPMailer-BMH library require 'vendor/autoload.php'; // Adjust the path as needed // Create a new BounceMailHandler instance $bmh = new \voku\BounceMailHandler\BounceMailHandler(); // Set up Office 365 SMTP settings $bmh->…
Re: AirTM API: How to Build a Form?
Programming
Web Development
1 Month Ago
by Dani
I can see that the URL that you linked me to has 4 steps to create a purchase. The first one is to create a Purchase via an HTTP POST request. That can be done with a cURL request. cURL requests require some backend programming such as via PHP or some other language. Are you using a server-side language to write your web app? If so, which one so…
Re: "Enhanced Imaging: USB 3.0 Camera Technology"
Hardware and Software
1 Month Ago
by rproffitt
Weird. I thought the move to USB-C was the next big thing.
Re: require and @INC
Programming
Software Development
17 Years Ago
by eishbut
[quote=KevinADC;250260]I think the problem with this line: require Oogaboogoo::date; is that the :: is a directory path, which is why you get the error message: Can't locate Oogaboogoo/date.pm rename the module to 'date.pm' and put it in the Oogaboogoo directory and I think it will work.[/quote] Although the method above works, I figured out …
require and @INC
Programming
Software Development
17 Years Ago
by eishbut
I been reading through Perl Objects, References & Modules, one of the exercises asks for the creation of a library with two simple subs. The 2nd exercise then wants to use the library that was just created to print out the date. The model answer is as follows: [inlinecode]#!/usr/bin/perl -w package Oogaboogoo::date; use strict; my @months =…
Re: require and @INC
Programming
Software Development
17 Years Ago
by KevinADC
I think the problem with this line: require Oogaboogoo::date; is that the :: is a directory path, which is why you get the error message: Can't locate Oogaboogoo/date.pm rename the module to 'date.pm' and put it in the Oogaboogoo directory and I think it will work.
Re: require and @INC
Programming
Software Development
17 Years Ago
by KevinADC
they really do the same thing but in a differnt way. Either way will work. My way showed why the code you had was not working, but going with 'require' and replacing '::' with '/' and .pm with .pl is fine.
Require user action before continuing..
Programming
Software Development
15 Years Ago
by Beginerman
I need a little help with the below if statement. What i would like to have happen is for the loop caused by the first if statment to also be conditional to a second if statement that will pause the loop output and require user interaction to either continue displaying the looped information or quit. My thought was to pause the loop after every 12 …
Require Some MODS
Community Center
19 Years Ago
by Vinoth
Hello everybody. We require some moderators for our forum [url]http://www.httpguru.com/forum[/url] Those who are interested in being an MOD, can gladly PM me here or in our forum. [url]http://www.httpguru.com[/url] This is not any means of promotion done here, just we need some moderators so an request is being …
Require assitance in networking setup in entire school premises
Hardware and Software
Networking
14 Years Ago
by eduserve
DETAILS OF THE SCHOOL PREMISES :- MAIN DETAILS:- TOTAL FOUR FLOOR (GROUND +3)> EACH FLOOR GOT FOUR BIG ROOMS(400 SQ FT.) AND TWO SMALL ROOMS (100 SQ. FT.) ONE OF THE BIG ROOM (2ND FLOOR) ALREADY CONTAINS SETUP OF 15 COMPUTERS CONNECTED TO EACH OTHER VIA DLINK 24 SWITCH. (WORKING PROPERLY) SETUP REQUIRE FOR: 1. ONE NETWROKING CONNECTIVITY …
Require help to solve!!!
Programming
Software Development
14 Years Ago
by abhishek2301
Hello, I require a help on a basic issue. I have 2 classes and I want to have an interaction among the classes. Suppose my 2 classes are testA and testB. Now I want a handle of object pointer in each class to the other class. Like I want a variable in testA to be testB* t and a variable in testB to be testA* t. How can I implement this situation???…
require() all files in a directory structure
Programming
Web Development
14 Years Ago
by chaines51
Here's the problem: I have a folder /tests/ which contains all my unit tests. I want the test runner to be able to go and include all of the unit test classes from that directory, and then run all the tests in those classes. So the first part of the problem is to require() all files that end with .test.php Can anybody point me in the right …
Require help on this php script
Programming
Web Development
12 Years Ago
by sammry
…/"; //$server_path = "../";
require_once
($server_path."inc/db_details.php");
require_once
($server_path."autoload.php");
require_once
($server_path."inc/mysql_wrapper.php…
require user to select Checkbox
Programming
Web Development
9 Years Ago
by RonKevinT.Manuela
So basically, I want to require the user to select from the checkbox Here is addpost.php <form action='' method='post'> <p><label>Title</label><br /> <input class= "form-control" type='text' name='postTitle' value='<?php if(isset($error)){ echo $_POST['postTitle…
Re: Warning: require(connect_to_mysql.php)
Programming
Databases
13 Years Ago
by drjohn
REQUIRE "connect_to_mysql.php"; means you must have a file of that name, which will then contain your connection details. So, is the opening bit of PHP code you give saved in a file called connect_to_mysql.php and in the same folder as the other file that uses it?
Re: include() and require()
Programming
Web Development
18 Years Ago
by Black Knight
require (or
require_once
) is usually used when you have database connections in seperate files. This stops it duplicating any connections
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC