Jump to content


.josh

Member Since 31 Dec 1969
Offline Last Active Today, 09:20 AM

Posts I've Made

In Topic: Displaying static properties in a string

18 April 2014 - 01:06 PM

you need to remove the $ in front of $input_class

In Topic: Explode on buttons, is it safe?

16 April 2014 - 03:25 PM

umm, checking if it's empty in no way makes it safe.

In Topic: Explode on buttons, is it safe?

16 April 2014 - 03:17 PM

it is a trivial thing to change the value of an input field, regardless of what type it is. You need to make sure that $liked[1] contains an expected value, same as any other value coming from a request.

In Topic: Any Try Atom.IO Yet?

16 April 2014 - 08:18 AM

Name one thing vim can do that other editors can't do, other than excel at grabbing people by their nostalgic balls.

In Topic: Is there a way to do global fulltext search?

10 April 2014 - 12:00 PM

Although as an alternative hacky solution, you could do a mod rewrite rule to redirect to search.php if your query param is present.

Example w/ Apache in .htaccess file:
 
RewriteEngine on

RewriteCond %{REQUEST_URI} !^/?search.php
RewriteCond %{QUERY_STRING} (^|&)search=
RewriteRule ^.*$ /search.php [R]

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com