-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
If you're asking if fields are case-sensitive, no they're not.. However on the PHP side, array keys are. You may want to use either print_r or var_dump to double check the values if you're having problems there.
-
Yeah I think the title is just a *little* mis-leading and dramatic. He's after the authority to shut down anything at will that's related to terrorism, or something of that nature I'm assuming... Of course as far as I know he'd only have jurisdiction within the USA anyway? Why would he actually want to 'shut down the internet'? Billions of dollars of USA's wealth will be based on it, as well as a hell of a lot other stuff they depend on.
-
It's confusing, there's no logical order or flow to it. There's no obvious reason for this website, certainly one that would keep me on it for long enough to find out. It's larger than the recommended max. width of 1024px. When you mouseover the polaroids sometimes two shift position at once. The shop thing only pops up at a certain point- about two thirds the way up. The mouse cursor never changes to indicate a link. The connection I'm using at the moment is pretty slow, the website took way too long to load the images. I'd look into reducing the size of them (I've heard Smush.it is good). Looking at the source, do you realise there's not a single piece of actual text in there for search engines to pick up? Needs a lot of improvements.
-
Haha! I'd enquire as to why they're teaching you this to be honest..
-
Would suggest the previous method hasn't been properly closed (most likely a missing brace or two) and so it's not expecting a new method.
-
Ha got a little chuckle out of me... http://imgur.com/m4nuz.gif
-
Where's $path come from?
-
These 3 pretty much contradict themselves. If you want keywords in there you need a longer URL, parameters (I'm assuming you mean SEO friendly) provide the keywords.
-
You've most likely seen 'The' and similar capitalized when somebody else has been using bad grammar, or when companies / organizations capitalize them as that initials part of an acronym.. but generally blog titles are only sub-titles of your web page and shouldn't be capitalized.
-
There's no 'register' button / link. Just by pure chance I found it at login/register.php. First thing I notice is a name field? I just registered, entered both a username and a nick name, and i still have to enter a name? Also it didn't automatically update the messages, I had to refresh the page. Visually it's okay I guess, nothing special though. I have a feeling it may have changed since the last few posts?
-
[SOLVED] Matching text that is following a [/h1] tag
Adam replied to Goldeneye's topic in Regex Help
He wants to match all text (regardless of new lines) following a [/h1] to [h1], ignoring that you shouldn't use more than h1 tag, he'd need to add the 's' modifier to the regexp in order to match new lines. Your examples didn't include that. -
[SOLVED] Matching text that is following a [/h1] tag
Adam replied to Goldeneye's topic in Regex Help
Try: /[\/h1](.*?)[h1]/s -
[SOLVED] Matching text that is following a [/h1] tag
Adam replied to Goldeneye's topic in Regex Help
Not being clear enough. You want to match everything after a [h1] tag, or to another certain tag / point? -
Very blury, looks like it's being stretched? Looking past that though, I think it looks more like an advert than a business card. It should concentrate on contact details but the phone number's barely visible in the corner. It seems a little high too, perhaps take out the chunk of white space that's unused? Definitely better than before but needs some more work...
-
Not the header itself, I mean the images used within it... You modeled the actual robot?
-
Should be: $entry['views'] += 1;
-
Whilst I agree the header does look good, I think the text 'artificial intelligence' lets it down - doesn't look as sharp as the rest. Also those images do look like something off of iRobot, are they definitely not copyright? Apart from that though same as the other comments really, too much white space and remove the Google Ads.
-
Ah no I didn't mean that, more so what you've just said; building upon them.
-
I agree with waynewex, the HTTP_*_VARS arrays are deprecated and you shouldn't be using them, especially within what seems to be a PHP5 class. I also don't understand why you're replacing a load of strings, with the exact same string? On the other hand I don't necessarily agree with waynewex that creating your own custom cleaning is wrong, but I don't think it should be applied to all inputs as a whole. You often need data for different things and so the cleaning / filtering of it should be done on a per-input basis. I'd recommend a good read up on security to be honest.
-
Heh no worries. There is a solution though 'f1r3fl3x'. When you make the AJAX request add a parameter to the URL, something like "ajax=1", which within your code you can then use to determine whether or not apply the design. Obviously then the search engines will take them to the design in-tact version, and the AJAX request will only return the content.
-
Yeah that was my point here...
-
Not really that function's a lot more extensive than the regexp, which really just covers functions.
-
To be honest I can follow the regexp better than that...
-
I think he was meaning to provide a 'href' link for the search engines / JS-disabled users to follow, which would mean the content got indexed, and for the rest call the onclick event (but return false to stop the browser following the link).