-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
It's not too bad, though I do have a few issues with it. First off it's completely JavaScript dependent. Then with JavaScript on, although the effects and pop ups may look pretty, they slow down the whole process quite considerably. There's no human validation like captcha images or email verification, so the whole thing's wide open to spamming! If you upload a file, then upload another with the same name, the old one is automatically over-written, this could cause some serious frustration! Also the links in the top right hand corner seem to vary on every page. Adam
-
..... that's what I meant.
-
Ohhh sorry, my mistake! Yeah check boxes would work. Store them in an array like: <input type="checkbox" name="cats[]" value="cat_id" /> cat_name Then for the PHP side of things, something like: foreach ($_POST['cats'] as $cat) { $insert = mysql_query("INSERT INTO CatItem (itemid, catid) VALUES('...', '{$cat}')"); } Obviously that's just a basic idea, you'll probably want to build on it, perhaps add some error handling as well?
-
Not a great deal. Page ranking doesn't take into consideration the age of a web page (as far as I'm aware).. and logically there's no reason why it would. The only way it may help is that search engines will already be regularly crawling your pages - but that's not a slow process to start with. Also when you do go live it may still be displaying web pages with "PAGE UNDER CONSTRUCTION" in the description / title that could easily put people off. Adam
-
Perhaps create a new table - "cat_products" (prod_id, cat_id), or something - with a row for each category a product belongs to? The SQL will be a bit more complex as you'll need to query multiple tables, but it's the best way. I'd advise against solutions such as separating the categories by a delimiter or creating 5 or so mostly empty fields (i.e. 'cat1', 'cat2', 'cat3', etc). Adam
-
Do you get any errors? Have you looked in the error console??
-
What exactly is the problem?? Perhaps skimming over this would get you more help in future. Adam
-
You may also want to look into any possible vulnerabilities your site has? Perhaps they are manipulating your code or even 'injecting' their own somewhere? Are your aware of XSS attacks, SQL injection, etc? Adam
-
I think he means you'd need to be certified by VISA, MC, etc - unless by clients you mean that you're selling them this software / solution of some form? I think generally you'd use a third-party company to process your card transactions to avoid this fuss, as they are already certified and can store the data securely. If you are wanting it to be done completely by yourself I imagine you're going to have to look into some kind of CGI application to connect to the banks servers / networks - I have very little clue as to how it works to be honest! Adam
-
Post your parser code..
-
Well you're obviously fairly new to web design so I'll go easy, but to be honest, it's pretty awful. What actually is neko network by the way? Use of such frames in my opinion are a big no-no! Bright blue links on a black background? Strains the eyes! The distorted animation underneath the welcome message is tacky. The HTML is broken and doesn't validate. Most links open into another window or to third-party sites/scripts - it's very unusable. Sorry but, I wouldn't stay on your site for more than a few seconds.
-
If you look in the PHP that generates your image, you should see a line similar to: header("Content-Type: image/png"); This is defining the content type as an image, half way through the file, which obviously the surrounding HTML is definitely not. You need to include the generated image externally, which you can do using the HTML <img> tag, like so: <img src="gen_img.php" alt="" /> Just place the PHP that generates the image within the "gen_img.php" file (or whatever you wish to call it). By the way this isn't a JavaScript problem... Adam
-
Excellent! Mind just marking the topic as solved?
-
The only thing I can think of is that trans() is being called before i and x are being set. Try moving: i=0.0; x=0; ... to the very top of your script, or adding it to the 'window.onload' event (Though you'd still need to declare them as globals). Adam
-
Please Read before posting here for PHP Help
Adam replied to revraz's topic in PHPFreaks.com Website Feedback
Ha, touché! -
Please Read before posting here for PHP Help
Adam replied to revraz's topic in PHPFreaks.com Website Feedback
How about forcing new registered users to read a topic before they can post? I don't think the majority of users on here - those with 30 or so posts - care all that much about the rules to be honest, but they still go on cluttering up the boards and being enough of a deal to cause threads like this. Perhaps forcing users to read a thread before they can begin posting, which outlines the basic rules and tips to better posts, would help at least reduce the number? I can't find a mod specifically for it, the closest being this. If anybody knows of one post it up! Adam -
I'm not massively keen personally. Think outer-glows and shadows have been a little over used... I do think though the white mouse over effect will look good if you can just get the shadows to blend better, perhaps a slightly darker gray just on the outside or something? Also I think the red image in the logo is a little too big. Also another point to make is that in my mind, your design draws attention from the content of the page! I think perhaps a stronger font would be better suited? Doesn't validate by the way... Adam
-
I assume you mean desktop app and not web based?
-
Need far more information than that pal! What's the table structure like at the minute? How are you entering them? How are you retrieving them? Adam
-
Have you actually done a search for this on Google, or any search engine? http://www.google.co.uk/search?q=javascript+tr+onmouseover+change+background+color
-
You'd be surprised what they can do... http://en.wikipedia.org/wiki/Reptilian_humanoid#David_Icke ... those crafty lizards!
-
[SOLVED] Whats wrong with my code? Please help
Adam replied to matt.sisto's topic in PHP Coding Help
Try: preg_match("/http:\/\//i", $message) Adam -
Yeah, I don't blame you. Personally, I don't really care about it all. I'll do my bit by turning off electrical appliances I'm not using (though TBH, probably more for my own financial benefit), recycling my paper and bottles (probably because the black bin would get too full), etc.. And just ignore all this crap!
-
I have to agree, people will pat themselves on the back for making a difference and forget about it. Does anybody know just how much fact there is in that humans are killing the planet? I mean, do websites like this, actually give us the facts, or are they just conspiracy theories? Adam
-
Ahhh yeahh! I don't think I made sense of it first time I read it!