School!

Chat about anything and everything non-Etrian related!

Moderator: ItL Moderators

1199 posts
User avatar
theo
Bloodant
Posts: 232
Joined: Thu Jun 19, 2008 8:11 pm
Location: Indiana
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby theo » Mon Apr 05, 2010 6:32 pm


User avatar
negzee
ItL's resident princess
Posts: 4049
Joined: Sun Aug 31, 2008 6:45 pm
Location: Minnesoouuda
Contact:

Postby negzee » Mon Apr 05, 2010 6:54 pm


User avatar
Kimiko
Manticor
Posts: 6044
Joined: Wed Jun 18, 2008 9:31 am
Location: Leiden, Netherlands, EU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Kimiko » Mon Apr 05, 2010 8:47 pm

I just read the assignment. Wow, it tells you exactly how the data should look. One cookie per stored address. They're simply numbered as Adress1, Adress2, etc. The page 3 tip tells you to use some separator to distinguish between the parts of the address, in case you hadn't figured that out yet. I don't think using straight HTML in there is a wise thing to do. If you want to use that to print out the addresses directly, you leave your program wide open for malicious code inserted into the strings. I doubt that the teacher will test that, but it would be a bad habit to pick up.
Kimiko

Rewatching: Beast Player Erin


User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Postby Maxine MagicFox » Mon Apr 05, 2010 9:09 pm


[] - [] - [] - []

User avatar
Kimiko
Manticor
Posts: 6044
Joined: Wed Jun 18, 2008 9:31 am
Location: Leiden, Netherlands, EU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Kimiko » Mon Apr 05, 2010 9:26 pm

You shouldn't assume that all cookies are ones set by this program. Assume that there are lots and lots of cookies, only a few of which you are interested in. So, check the name of the cookie first, before trying to do anything with the value of it.
Kimiko

Rewatching: Beast Player Erin


User avatar
theo
Bloodant
Posts: 232
Joined: Thu Jun 19, 2008 8:11 pm
Location: Indiana
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby theo » Mon Apr 05, 2010 9:28 pm


User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Postby Maxine MagicFox » Mon Apr 05, 2010 9:30 pm


[] - [] - [] - []

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Postby Maxine MagicFox » Mon Apr 05, 2010 9:33 pm


[] - [] - [] - []

User avatar
Kimiko
Manticor
Posts: 6044
Joined: Wed Jun 18, 2008 9:31 am
Location: Leiden, Netherlands, EU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Kimiko » Mon Apr 05, 2010 9:34 pm

Kimiko

Rewatching: Beast Player Erin


User avatar
Kimiko
Manticor
Posts: 6044
Joined: Wed Jun 18, 2008 9:31 am
Location: Leiden, Netherlands, EU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Kimiko » Mon Apr 05, 2010 9:36 pm

Kimiko

Rewatching: Beast Player Erin


User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Postby Maxine MagicFox » Mon Apr 05, 2010 9:39 pm


[] - [] - [] - []

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Postby Maxine MagicFox » Mon Apr 05, 2010 9:43 pm


[] - [] - [] - []

User avatar
theo
Bloodant
Posts: 232
Joined: Thu Jun 19, 2008 8:11 pm
Location: Indiana
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby theo » Mon Apr 05, 2010 9:45 pm


User avatar
theo
Bloodant
Posts: 232
Joined: Thu Jun 19, 2008 8:11 pm
Location: Indiana
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby theo » Mon Apr 05, 2010 10:05 pm


User avatar
Kimiko
Manticor
Posts: 6044
Joined: Wed Jun 18, 2008 9:31 am
Location: Leiden, Netherlands, EU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Kimiko » Mon Apr 05, 2010 10:28 pm

Kimiko

Rewatching: Beast Player Erin



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
1199 posts

Return to “Discussion Section”

Who is online

Users browsing this forum: Google [Bot] and 2 guests