Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~7K People Reached
Favorite Tags

24 Posted Topics

Member Avatar for yangyang

I still design/code to ensure maximum compatibility with IE6 - some of my sites still have as much as 25% of visitors using it. I think that within a few years I'll *start* to use HTML5, but at the moment I see no major reason to use it just yet.

Member Avatar for baabroz1
0
240
Member Avatar for Dani

Glad to hear it's been sorted :) Whilst I'm sure neither would like to admit it, I doubt that Google pulling out from China would benefit either company/country.

Member Avatar for stevenpeter
0
387
Member Avatar for OmniX

An awesome thread :) Some amazing bits of advise here. I guess it depends on the application. For basic login systems which don't protect sensitive data, something like a double-hashed randomly salted string (with sha1()) will work fine.

Member Avatar for Stefano Mtangoo
2
2K
Member Avatar for keval_hack

Just one character? So "a" or "3", but not "ab" or "3r" etc? If so, just do: [code=php] if( strlen($val) == 1 ) { // Fine } else { // Error } [/code] Or do you mean something else? :)

Member Avatar for swi2
0
121
Member Avatar for Mukt@R

Do you want to have a specific download link depending on the customer (i.e a secure download system), or simply mask the download link? If it's the latter, you could always have a script like: [code=php] <?php header('Location: http://www.example.org/path/to/download/file.pdf'); ?> [/code] And then link to the PHP file. This way …

Member Avatar for Mukt@R
0
168
Member Avatar for panhwer

Okay, which bit are you getting stuck at? No worries if you are stuck at the very start, although it'll help us if we know where to start suggesting things ;)

Member Avatar for Devoted Hosting
0
84
Member Avatar for mayanktalwar

What is the output when you run: print_r($out) Knowing that output can sometimes give a great insight into where these sorts of problems lie (or at least it has been useful when I've been doing regex work :))

Member Avatar for d5e5
0
257
Member Avatar for doctorphp

To delete a file (i.e. image in a folder), use the PHP function unlink: [CODE=php]<?php if( unlink('/path/to/file/imagenn.jpg') ) { // File delete worked } else { // File delete failed } ?>[/CODE]

Member Avatar for kumiyare
0
127
Member Avatar for theCommander

As above, more information would help. Have you started anything yet? If so, what have you done, and where are you doing wrong?

Member Avatar for theCommander
0
168
Member Avatar for Chillawowa

Switch statements? They would be the best way to do this, IMO, since you're just considering *one* variable (i.e. the %) and outputting different values (i.e. the grade) depending on that % variable.

Member Avatar for BestJewSinceJC
0
127
Member Avatar for whiteberry

A domain name registrar allows you to register a domain name. A web host allows you to host a website, and 'link it' to that domain. Meaning that, when someone visits your domain, your website files (hosted via your website host) will show up. I'm a little confused though - …

Member Avatar for Devoted Hosting
0
214
Member Avatar for ayesha789

As above, it's not possible using PHP. You'd need some sort of program running on your computer/server (or network of computers/servers, etc) which can query websites on demand, taking a print screen of that website, and then upload that print screen image wherever's necessary.

Member Avatar for Devoted Hosting
0
78
Member Avatar for AjithAnnadurai

Erm, well you just create the new pages as normal, and then hyperlink to each new page on that main News page. The HTML code for a hyperlink is: <a href="PageFilenameHere.html">Title To Show As Link</a> So, if the page name was AsalStoryTrue.html, you would set the hyperlink as: <a href="AsalStoryTrue.html">Asal …

Member Avatar for Devoted Hosting
0
82
Member Avatar for thuku

Assuming I read your post correctly, wouldn't it just be basic SQL? For example: SELECT * FROM table WHERE shoe = 'Nike' AND size = '7' AND continent = 'Africa' AND country = 'Kenya' Where exactly are you struggling? Is it with how to carry out a SQL query in …

Member Avatar for thuku
0
113
Member Avatar for gerard4143

Will check it out, thanks :) I've used Ubuntu mostly, although I've heard lots of good things about Mandriva.

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for sleign

GoDaddy's hosting can be pretty weird. Can you create custom php.ini or .htaccess files? If so try adding either into your public (web-accessible) folder: A file named "php.ini" containing: session.bug_compat_42 = 1 session.bug_compat_warn = 0 OR A file name ".htaccess" containing: php_flag session.bug_compat_42 1 php_flag session.bug_compat_warn 0 See if that …

Member Avatar for Devoted Hosting
0
215
Member Avatar for Devoted Hosting

Hello there, I am curious as to whether there's any 'easy' way of creating 3D models (e.g. animals, Humans etc) via a Java applet? I know in a full-blown application one could use Java 3D (with the Java 3D libraries being installed with the application), but is there an 'easy' …

Member Avatar for Devoted Hosting
0
110
Member Avatar for MODKER
Re: HDD

As cguan_77 says, could you be more specific? Did it randomly stop working? Or was it working fine, but now your computer won't boot up? Do you get any diagnostic errors? Is it a brand new HD?

Member Avatar for cguan_77
0
110
Member Avatar for kulrik

[QUOTE=kulrik;1040800]i dont know what im doing wrong. You think you can help me?[/QUOTE] Are you getting an error message? All you've said is the question, and your code. Is there a problem, if so, what is it? :)

Member Avatar for kulrik
0
2K
Member Avatar for dmartindale

I don't *think* it will be a problem (i.e. I think it will still work), but it'd be somewhat of a waste of cash since it'll only run at 667 MHz.

Member Avatar for Crash~Override
0
182
Member Avatar for Espanhol

Do you know any programming languages? A 2D (or 2.5D) game can be done in C++, C, Java, etc. Just depends on what languages you know?

Member Avatar for Jiwe
0
82
Member Avatar for kiranpvsr

A full HTTP request would look like this: GET /file/loc/here.html HTTP/1.1 Host: [url]www.example.org[/url] User-Agent: Mozilla/5.0 (Windows;en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11 Accept: text/xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-gb,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: [url]http://www.somewebsite.com/example.html[/url] Which, of course, is longer - that is, I think, what the question was saying.

Member Avatar for Devoted Hosting
0
145
Member Avatar for eleal

Granted I'm fairly new to Java, but could you not declare variables as synchronized to help solve this problem?

Member Avatar for Devoted Hosting
0
161
Member Avatar for dv1r

Are you sure you created the boot CD correctly? What program are you using to burn the CD?

Member Avatar for jbennet
0
116

The End.