User Profile
Collapse
-
Don't know if this helps or not, but I use a service called Vigil which is at vigil-app.com. I've got a free plan and get an email once a week. Not sure what their paid plans are like though. -
I'm just guessing at this but I suspect your image (the actual file) can't be found by your code.
Have you tried using dev tools to see if the url of your image is correct? If not, go to the browser your using to view the webpage your making, and right-click. In Chrome you choose 'Inspect', in Firefox you choose 'Inspect Element'. It's different for all browsers, just google to find out what it is for your browser, if it's not one of...Leave a comment:
-
You should probably use media queries. This page should help you find out about them. If you need more information, just google it.
You would probably use something like this:
Code:@media only screen and (max-width: 600px) { section ul li{ display: block; } }
Leave a comment:
-
Okay. Thanks. I tried the form field validation which didn't work. I'm now trying the data confirmation screen and we'll see how it goes. I'm also thinking the php script might be the hackers target rather than the web form, so I've got another idea there. Thanks again.Leave a comment:
-
How to stop spam email coming through my web form?
I have a web form that keeps getting submission from what I'm guessing is a spambot. None of the data I'm getting in the emails matches the form on the website, not even the subject line which is a hidden input. I can't figure out how to stop them. I tried using recaptcha but couldn't make it work (kinda hate it anyway), I also tried using a honeypot trap and a couple of javascript scripts but nothing stops the emails.
This is the... -
Formmail from Tectite - Setting target email address
I'm using a plugin that sends messages from forms to an email address. It's from Tectite and their website is here.
I'm having trouble setting the target email address. This is the target email line in the formmail.php file:
Code:$TARGET_EMAIL = array("^unrestinpeace@yahoo\.com\.au$");
Code:<input type="hidden" name="recipients" value="unrestinpeace
-
Order the options of a select list
I have a php for loop that generates a select list, but I can't figure out how to order the options of the list the way I want.
This is the php:
Code:static function tp_widget_do($args) { echo '<span class="' . NO_TRANSLATE_CLASS . '">'; echo '<select name="lang" onchange="document.location.href=this.options[this.selectedIndex].value;">';
-
Location selector for field input
Does anyone know where to get a plugin that will make a form field create a dropdown menu with suggestions for locations?
Something like you find on Google Maps when you start typing a location, you get a list of suggestions. For example, I live in Sydney, Australia and if I start typing Sydney into Google Maps, I only have to get to the 'Syd' before I get suggestions for Sydney Airport, Sydney Opera House, Sydenham New South Wales,... -
Setting php sessions
I'm trying to register new users and store their email address and password to a db, which is working fine, but I'm also trying to set a session, so that the page they land on after they register is a protected page.
I'm using a standard form which runs this when the form is submitted:
Code:<?php // connect to db manager $link = mysql_connect("localhost", "root", "");
-
I don't want to be rude but could I ask how many years of experience you have with coding?Leave a comment:
-
Frameworks for newbs
I'm wondering what a usable - but modern - set of technologies is for someone that isn't very experienced with coding. I've been coding for about three years and think I have a fairly decent understanding of the basics but trying to use modern frameworks just seems too difficult.
I've tried using node.js (V5.1.0), with express. I have version 3.3.12 of npm. I've tried using things like passport and lockit but I just cannot get authentication... -
That was correct. The function now looks like this:
Code:exports.create = { post: function(req, res, next) { new user(req.body).save(); res.redirect("/users/firstSignIn"); }, get: function(req, res, next){ res.redirect("/users/firstSignIn"); } }
Leave a comment:
-
Nevermind. I just set the animation on the images inside the divs instead of on the divs themselves. Dur. Easy.Leave a comment:
-
How to fix bottom of page
I have an animation set to two divs that appear near the bottom of the page. It's a spin animation but it's making the divs turn, so the divs cause the bottom of the page to move up and down as the transparent part of the divs turns around.
Is there someway to fix the bottom of the page to avoid this blank space appearing when the divs turn? -
I'm not sure if it's just my system (my work computer is pretty ordinary), but I changed it to this:
Code:exports.create = { post: function(req, res, next) { // password if(req.method.toLowerCase() != "post") { res.render("signup.jade", {layout: false}); } else { new user(req.body).save(); } }, get: function(req,
Leave a comment:
-
Express.js redirect user after sign up
I can't find an answer to this: What do I do after a new user signs up to my express.js app?
I have a view, and this in the routes/index file that correspnds:
Code:router.get('/users/firstSignIn', function(req, res, next) { res.render('uesrs/firstSignIn', { title: 'title' }); });
And this signup function in my users controller:
Code:exports.create = function(req, res,
-
Best database for Laravel 5.2 on Windows
I've tried Googling this and can't find an answer anywhere, which is an issue because I can't get Laravel to connect to my DB.
I'm using a MySql DB which is managed through phpMyAdmin which I access from an app called InstantWordPres s. I've always been able to connect to databases this way before but when I try to get Laravel to connect it just won't, no matter what settings I use in my .env file.
I'd rather avoid things... -
-
The /newBen file. I could use that a redirect. But it looks like the data I sent from the browser wasn't inserted to the db. I don't suppose you know of any MongoDB tutorials that would explain it?Leave a comment:
-
That seems correct. I removed .body from all of the items to be posted to the db. Now, when I run a test in the browser, it redirects to the action of the form, which is /newBen. Another quick question. Do I use that file to post the data to the db, or can I use it to redirect to a new page, or both?Leave a comment:
No activity results to display
Show More
Leave a comment: