Questions tagged [week9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
3answers
745 views

Can't access local host. Forbidden

I am typing out and following along with Week 9 codes as shown in lecture. When i remove index.html and index.php from my directory, i expect to see list of files when i run http:// localhost in ...
1
vote
2answers
74 views

How is Week 9 SQL Atomocity solved?

David said: So in problem set seven, we give you this one line of code, which long story short, solves this problem in MySQL. This very long instruction that doesn't even fit onto one line on ...
0
votes
1answer
18 views

Escaping Characters in PHP

// handle URL if (preg_match("/^https?:\/\//", $destination)) { header("Location: " . $destination); } I was wondering why the string inside preg_match has extra /^ and / ...
0
votes
1answer
34 views

form-1.html from Week 9 Code Walkthroughs

http://pastebin.com/jqhiH3MR This is form-1.html from Week 9 code walkthroughs. When professor runs this code in the video without giving any input, he gets an alert message and his url remains the ...
0
votes
1answer
182 views

Week 9 froshims

In week 9 source codes, can anyone post the output screen of froshims-1.php. When i run it, it doesn't make a difference whether or not I include bootstrap. Nor does it make a difference if I delete ...
0
votes
0answers
34 views

" can't check until a frown turns upside down " annoys me (Finance, week9)

I got like this: :| quote page has all required elements can't check until a frown turns upside down :| quote handles invalid ticker symbol can't check until a frown turns upside down :| quote ...
0
votes
0answers
15 views

CS50 Finance Error: Expected something but got other

I'm struggling with register function in application.py since I am having error messages in check50 That says: :) register page has all required elements :( registering user succeeds expected ...
0
votes
0answers
23 views

Week 9 - Finance. How could I check de return?

I am coding the week 9 problem (Finance) and I am part of (quote) and I have some doubts. The lookup () function returns (none) if the API does not find (stock). I am interested in how I check using ...
0
votes
2answers
307 views

Cant list files in chrome when I enter localhost

When I try to list my files in chrome as david did in week 9 lecture, I get this error message: Forbidden You don't have permission to access / on this server. I entered http://localhost and ...