-
Posts
3,584 -
Joined
-
Last visited
-
Days Won
3
Everything posted by JonnoTheDev
-
Personally, starting from scratch with a clean install I would view as a last resort option. If your AV software has detected and cleaned the infection, you have also installed malware detection software, your AV software is fully upto date, and you have done a complete scan with both bits of software and it is coming back as negative; then I would be OK with that. If your PC starts doing all kinds of wierd shit then format it and start again.
-
I much prefer using imagemagick to resample images as opposed to php's native GD library functions. It works much better. You can execute its commands via php's exec() function. For more info on installing imagemagick and it's usage go to the website and take a look at the command line tools: http://www.imagemagick.org/script/index.php I've noticed that most hosting companies have this pre-installed on their servers.
-
Please have a reviewing on my lite site!
JonnoTheDev replied to www.SoDepCatTuong.com's topic in Website Critique
Cluttered. Colours make your eyes hurt. Too much data on one page. Just a mass of numbers. And, I cannot read chinese. -
You are on the right lines
-
Just block using your .htaccess file i.e. # Block WGET attempts SetEnvIfNoCase User-Agent "^Wget" bad_bot <Limit GET POST PUT HEAD> order allow,deny allow from all deny from env=bad_bot </Limit>
-
You should have methods for setting and getting data within your class. Also on another note if your class has that many member variables why not consider using and array. Use setters and getters to work with the data. Consider the following for your cookie data: <?php class foobar { private $cookie; public function setCookieVal($cookie) { $this->cookie = $cookie; } public function getCookieData($key) { if(strlen($this->cookie[$key])) { return $this->cookie[$key]; } return false; } } $x = new foobar(); $x->setCookieVal($_COOKIE); if(!$x->getCookieData('name')) { print "Your name is not stored in this cookie, ooops"; } ?>
-
You would probably be better creating something like that with Flash if it is in your skillset. Online games are Flash / Shockwave based. Javascript sucks for creating games.
-
Oh no, not that one, it's rubbish. Only kidding, LOL
-
Yeah, its not bad actually. Code structure is poor but that didn't matter. Has most of the main Ebay features
-
You can't really stop people disributing open source code although you could ask for payment for the software and once you have received the monies send the user a download link where they will have to login to access, or just email a zipped package. One method to ensure that the software cannot be distributed is to ask the user for the domain where they will be installing your software. before you send the software to the user you could add somewhere in the code so it will only function on that domain. Once you have done this you could encrypt the codebase so it cannot be modified.
-
They probably haven't used any install directory at all. In fact you should have completely removed the install directory from the server after installing the application. I'm guessing that you are on a shared hosting server. If you are, it is likely that one of the accounts on this server has been compromised and has resulted in all sites hosted on the server being defaced. I have seen this happen plenty of times.
-
What can I do with my spare domains?!
JonnoTheDev replied to liamloveslearning's topic in Miscellaneous
Who cares if your in India. You are advertising Amazons products and taking a commission from sales. Your target audience could be anywhere in the world where Amazon ships to: US, UK, Europe If you are more interested in targeted marketing i.e your website is targeted at people in India so you only want to serve adverts that offer a service to the people of India that they may be interested in i.e Mobile phones, broadband, etc then just search through some of the companies websites and see if they do any affiliate marketing schemes. -
What can I do with my spare domains?!
JonnoTheDev replied to liamloveslearning's topic in Miscellaneous
Amazon https://affiliate-program.amazon.com/ -
Create another field in your database table to hold the date (make it of date type) i.e dateposted and add the following to your insert query $sql="INSERT INTO anime (Title, Type, Year, Genre, Status, Summary, pic, dateposted)VALUES('$_POST[Title]','$_POST[Type]','$_POST[Year]','$_POST[Genre]','$_POST[status]','$_POST[summary]','$_POST[pic]',CURDATE())";
-
I just bookmarked it. F'ing awsome. How can you not like it? Looks slick, the colours are great.
-
Success! My ADSL is now stable and incoming calls no longer drop the DSL sync. Got an email from my provider saying that the ADSL supplier has 'remotely stabilised your broadband line'. However my router used to connect at around 15000kb / 900kb and now its dropped to around 11000kb / 700kb. I still get around 4-7mb download and about 0.5mb upload on speed tests. Does anyone have any idea about what the hell they could have done to sort the issue?
-
Pressure mounts to phase out Internet Explorer 6
JonnoTheDev replied to Adam's topic in Miscellaneous
Read the article from the link on the original post. I dont know where you have been if you haven't heard of this topic. I do a lot of development on adult sites and Internet services, so yeah, you do have to trawl through some shit and dodgy links. You could get targeted through any type of website, doesn't even have to be a website to get hit with a trojan. -
Pressure mounts to phase out Internet Explorer 6
JonnoTheDev replied to Adam's topic in Miscellaneous
LOL. What about the massive security holes! And don't tell me it can be patched. Why do you think it's getting dropped. Use IE6 at your own risk. You won't be able to view YouTube on IE6 soon. Most major sites will fail on it. If you use IE, then use IE8. Don't know what this means. All 4 browsers on my desktop took about 2 minutes to install. -
Pressure mounts to phase out Internet Explorer 6
JonnoTheDev replied to Adam's topic in Miscellaneous
IE6 sucks balls -
It's unlikely that the preg_match function is causing your app to run slow. I would suggest you post your entire script. Poor code, or attempting to load a massive amount of data into a script, or heavy database queries are usually the cause of a script to perform poorly.
-
It is in what is called 'design view'. A bit like a desktop publishing application where you can drop images into a page or move text about, etc. Dreamweaver will create the HTML / XHTML for you. However, this is really for web designers. If you are a developer / programmer then you will be spending your time in the 'coder view' where you will work with raw programming code. The design view is not useful for a developer, at least, not me anyway. I use Dreamweaver CS4 and it is a great tool for both developer and designer. The other applications like Neatbeans or Zend Studio that are mentioned on this site are for the pure developer, not designers. When you hear thing mentioned above like CMS or Drupal. These are not desktop applications i.e you dont install them on your mac or copy of windows. They are scripts that are placed on your webserver and will manage all the content on your website (CMS: Content Management System). Like all applications they have limits to what they can do in terms of adding functionality to your website. Dreamweaver is an IDE (Integrated Development Environment). You could build a CMS like Drupal using it.