|
|
You already posted this question inn the LAMP forum; please do not repost.
|
|
|
|
|
Am totally sorry about that it's just that i needed help
|
|
|
|
|
I am new to ASP, have been working on this for some time
your help will be greatly appreciated, since your responses say do not reply, please accept my thanks
I am getting the error below
error '80040211'
/AspClassic/mail.asp, line 40
the code I am using is as below
<%@LANGUAGE="VBSCRIPT"%>
<%
'Step 1: create an object of CDO.Message
dim objMail
Set objMail = Server.CreateObject("CDO.Message")
'Step 2: set the smtp server, user name and password for authentication
dim smtpServer, yourEmail, yourPassword
smtpServer = "smtp.gmail.com"
yourEmail = "teckchandanirp@gmail.com" 'replace with a valid gmail account
yourPassword = "32233223" 'replace with a valid password for the gmail account set in yourEmail
'Step 4: set the email address to which email will be sent
sendEmailTo = "teckchandanirp@gmail.com"
'Step 5: set the configuration properties of objMail object
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "teckchandanirp@gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "32233223"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
'Step 6: update the configuration after setting all the required items
objMail.Configuration.Fields.Update
'Step 7: prepare your email like set subject, body, from, to etc.
objMail.From = "teckchandanirp@gmail.com"
objMail.To = "teckchandanirp@gmail.com"
objMail.Subject="Application Form Registration Details"
objMail.htmlBody = "This is test message"
'Step 8: send the email
objMail.Send
'Step 9: release the object
|
|
|
|
|
|
This isn't exactly web development, but development of a browser extension (Chrome) which in itself uses javascriopt, etc.
Has anyone have experience with writing Chrome extensions that can access the specific user profile that a tab is using? I have been pouring over the API documentation and cannot find any way to do this.
I know that if I run from the command line I can specify the profile to use with the --profile-directory switch, and it would be useful to be able to do the same from the APIs.
Thanks,
Andreas
|
|
|
|
|
I used the code below to send mail using asp classic, the code does not work. I am new to ASP
dim smtpServer, yourEmail, yourPassword
smtpServer = "smtp.gmail.com"
yourEmail = "teckchandanirp@gmail.com" 'replace with a valid gmail account
yourPassword = "32233223" 'replace with a valid password for account set in yourEmail
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtp.gmail.com
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = teckchandanirp@gmail.com
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = 32233223
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
objMail.Subject="Application Form Registration Details"
objMail.htmlBody = "This is test message"
objMail.Send
|
|
|
|
|
|
I have a simple ASP.Net Web API on my home server. This is just for a Proof of Concept I'm working on.
There's one method on the controller called Login which takes a UserEntity:
[HttpPost]
public UserEntity Login(UserEntity user)
{
return Repository.Login(user);
}
the repo:
public UserEntity Login(UserEntity user)
{
var results = new UserEntity();
if (user.UserName.ToLower() == "admin" &&
user.Password.ToLower() == "admin")
{
results.UserName = user.UserName;
results.Password = user.Password;
results.IsLoggedIn = true;
}
return results;
}
So, if you pass "admin" and "admin", I create a new user entity with IsLoggedIn = true. Again, all I'm trying to do is make a simple call with a user object and get a repsonse.
I'm using Postman to test the API. If I make this POST call with HTTPS
https:
and pass this as the body:
{"UserName": "admin","Password": "admin"}
then it fails with "Could not get a response" and
Error: write EPROTO 1432630488:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:
However, if I change the URL to HTTP then it works fine and I get back the expected result:
{
"IsLoggedIn": true,
"UserName": "admin",
"Password": "admin",
"Id": 0
}
I'm a bit lost here. Could someone help me figure this out?
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
What is the best combo of technologies and programming languages to use for a custom e-commerce platform in 2022. Please share your opinion and the reasoning behind it.
|
|
|
|
|
|
Nobody here is going to do your homework for you. Do your own research and come up with your own reasoning.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
It is not a 'homework', I have my own preferences regarding this matter. I just want to see if there are different popular options from experienced people.
It is wrong learning new things from others or listen to different opinions?
|
|
|
|
|
If you don't want to be told "we don't do your homework for you" then don't ask homework type questions. Your original post stinks of a homework assignment, and looks like it was copy'n'pasted direct from a teacher's email ...
If you want intelligent discussion, share your thoughts and reasoning first - don't make it look like you just want to copy'n'paste what we say back as your own work!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't want an intelligent discussion or a discussion at all, just some opinions and then I will investigate further based on them...
|
|
|
|
|
Which again comes over as "I want my homework done because I can't be bothered".
Think about it: you are asking others to invest a fair amount of time, effort, and experience, and yet you aren't prepared to give us anything that you have already covered - so we could easily be duplicating your research and thus wasting your and our time.
Make an effort and we're pleased to help.
Look like a lazy student, and why would we? That's not saying you are a lazy student, but that the way you ask for information is the way lazy students do.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Maybe you are right there, I did ask a straight question and did not provide some background behind it. I'm not even a student, I'm a developer trying to find which are some good new alternatives (adopted alternatives) to ecomm traditional (established) dev stacks.
P.S. : I will not profit in any way of your answers, it is just for my curiosity. It is like I'm asking what music do you listen to, to extend my horison.
|
|
|
|
|
There are so many technologies available, like if we talk about PHP frameworks then depending on the business requirements some of the important PHP frameworks for ecommerce development are - WordPress, Shopify, ExpressionEngine, CraftCMS, and Magento and so on... Even ASP .Net is also a Good idea to implement ecommerce projects.
|
|
|
|
|
hello friends I am developing a web application to connect to a mariaDb database. I have 04 tables (table 1, table 2, table 3, table 4)
to have access to the first table I made a coinnection form but my problem is that if a person knows the link of table 2 he can display it. I want to force everyone to connect before having access to my web application... is this method possible?
|
|
|
|
|
Never grant direct database access to your customers, even when they are authenticated. The problem is not that they can run all the SELECT queries, the problem is that they can run all sorts of queries; DROP , DELETE , etc.
Now, the login.html part comes in based on your web framework. In ASP.NET, for example, you can require that the users be authenticated, and the same is the case for Python and other major frameworks. So, read the documentation on how to require only authenticated users to be able to make a request and read the page.
Overview of ASP.NET Core Authentication | Microsoft Docs
Otherwise, always redirect to the login.html page.
Again, tip: even when the user is authenticated, never grant them access to the open database connections. Only return the fetched results in a form of a list.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
One of various ways to do this:
Use a dynamically created web page for the page that you do not want to be directy accessed.
When page one is accessed, properly, and with your predetermined permission; then page two is made available via a javascript that directs them to page two with it's dynamically created name.
Example:
Page 1 = daPage01.html
Page 2 = [does not exist except in the database]
User goes to Page 2 : Oh wait! There is no Page 2. That page is still in the database.
User goes to Page 1.
There is no link to Page 2.
User does what YOU want them to do on Page 1.
Page 2 is created dynamically with a changable name. Exmaple: daPage12E13F4576496587G5447868764K5P7q84578_02.html
Page 2 is then added to Page 1 for that user to click on and to go to.
Later that user goes to Page 2 via that link. Oh wait! When they were detected of having closed or left Page 1 and *also* closed or left Page 2 then Page 2 was removed from the system. There is no Page 2 for them.
|
|
|
|
|
The actual question is: What kind of tech are Internet search engines using on the front end (it looks like that`s what the part of the Internet that takes place on your computer is being called as).
My personal perspective on things, feel free to skip this part:
Basically a web browser is just a window, everything that takes place inside of it is pretty much just a bunch of other windows. Search engines aren`t using windows (ajax style) from the looks of it. Is it plain html or some other technology?
It seems that there is a parallel between Internet windows(the stuff displayed inside a web browser) and Windows95 windows, the main difference between the two is that Internet windows doesn`t have compile time, whatever is created on the far end (back end) get displayed instantly on the near end.
|
|
|
|
|
The basics of using a search engine, as well as some techniques you can use to get better search results.
|
|
|
|
|
The front end (Browser) is built on various systems, ASP.NET, PHP, some custom web engines. The back end is where the real work takes place, and is mostly custom built by the different companies. The basic system is just a huge database with an interface that can quickly find the items you search for. The details of the architecture itself is proprietary to the search companies. The results of the search are sent to the browser as HTML/Javascript for rendering on the client screen.
The difference between Web windows and Desktop windows is purely in the technology used to build the display. Desktop windows usually work directly with the operating system libraries. Web windows need an interface (the Browser) to translate the HTML and Javascript dynamically into local Windows display code.
If you type chrome://version/ into Chrome's address bar it lists some of the tools it uses. Firefox, Bing etc. probably have similar displays.
|
|
|
|