- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
24 Posted Topics
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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? :) | |
Re: 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 … | |
Re: 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 ;) | |
Re: 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 :)) | |
![]() | Re: 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] |
Re: As above, more information would help. Have you started anything yet? If so, what have you done, and where are you doing wrong? | |
Re: 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. | |
Re: 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 - … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: Will check it out, thanks :) I've used Ubuntu mostly, although I've heard lots of good things about Mandriva. | |
Re: 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 … | |
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' … | |
Re: [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? :) | |
Re: 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. | |
Re: 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? | |
Re: 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. | |
Re: Granted I'm fairly new to Java, but could you not declare variables as synchronized to help solve this problem? | |
Re: Are you sure you created the boot CD correctly? What program are you using to burn the CD? |
The End.