User Profile

Collapse

Profile Sidebar

Collapse
Cmaza
Cmaza
Last Activity: Sep 30 '13, 04:54 AM
Joined: May 19 '07
Location: Perth, Western Australia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Cmaza
    replied to conversion of language.
    in C
    What about words like "Flour" and "Devour"? Your logic is fairly sound, given that with the American standardisation of English, most -our words were changed to -or words. However, unfortunately, in any given natural language - especially English - there are always exceptions to the rules.

    Best thing you could probably do here is hard-code for the more commonly encountered exceptions, and include a disclaimer in your...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to How to create a feedback form in my website?
    in PHP
    Your PHP installation (most likely) doesn't have a default sendmail_from (originating email address) specified in its configuration and no originating email address has been specified in the headers of your call to mail (function).

    Also, if the "$yourname<$you remail>" part of your call is the intended originating email address, then the syntax of your call isn't entirely accurate, as the second (2nd) variable of a mail...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to Code displaying incorrect in IE 8
    I'm not entirely sure what part of the code is causing the problem, but I did notice this when I took a look - line 34, missing opening quotation mark on parameter:

    <option value="funeralcar">Fun eral Car</option>
    See more | Go to post

    Leave a comment:


  • Needs to be document.getElementById( "myform").submi t();

    Had a similar problem in the past.

    Hope this helps. :)
    See more | Go to post

    Leave a comment:


  • Adding this as a parameter to your file input tag should do the trick:

    onchange="javas cript:{document .FormName.submi t();}"

    (Changing 'FormName' to the name of the form uploading the file.)

    Depending on the structure of your website, what other inputs may or may not be present within your form and what sort of validation methods you are using, you may wish to modify or expand on what I've suggested...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to How can I include a file betweeen <td> tag?
    in PHP
    I haven't double-checked or tested this, but off the top of my head, I think the problem is the context in which you're calling include. Might not be it, but, I don't think it looks right - Include parses and executes rather than parsing and returning. Anyhow.

    Where you've got:

    echo "<td>" . include 're.php' . "</td>";

    Instead, try this:

    echo "<td>";...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to Split button in three parts
    Technically, you *could* achieve what you're wanting to do by using the "button" tag instead of the "input" tag and simply including two different images on either side of text to simulate the effect of a split button, because, unlike "input" tags, "button" tags can support content beyond the simple text values displayed by their "input" counterpart. I've used this in the past when desperate to achieve...
    See more | Go to post

    Leave a comment:


  • Which stage of the code execution is your memory problem occurring at?
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to get file out of server
    in Java
    Depends on what you mean by 'load'.

    Are you wanting to load and execute code from the server, within the context of the active document, or simply load an entirely new page?

    Clarification is needed.
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to system is not proper shutdown.
    There are a variety of things that could cause this, but I'm guessing it's probably just a buggy or laggy process causing the system to haul when you're trying to shut down. How long has this problem persisted? And can you describe what you were doing just prior to this problem arising? Did you install any new software or make any changes to your system that you can think of?
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to store e-mail in pc.
    ...Perhaps you could try using email software other than Outlook? I use Thunderbird to deal with my email, and that works pretty well for me - you could try that. Or, you could try something else. There's a lot of email clients out there other than Outlook.
    See more | Go to post

    Leave a comment:


  • If you are working from the computer in question, this will give you the information you require:

    1. Go to your Start menu and hit run.
    2. Type in "cmd", and hit okay.
    3. A window should open. In this window, you are able to type text. Type in "ipconfig /all" and hit enter.

    If you are *not* working from the computer in question, this will give you the information you require:
    ...
    See more | Go to post

    Leave a comment:


  • It *is* possible, but it's probably not a good idea - most operating systems assume external drives and storage devices to be of a specific type of file system, and setting such a device to something other than that specific type of file system could prevent that device from being read from such operating systems and basically render the device useless (or atleast cause the device to require reformatting, thus, losing data) - it's basically possible...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to How do I display a web page from code
    You could always do something like, for loading the menu page, just target your hyperlinks to the frame name of the menu frame, then for displaying each menu option in another frame, use Javascript:

    Put an onLoad command somewhere into each of your menu pages that automatically loads the first or something option of your menu into the display frame, then, use onMouseOver and onMouseOut commands with each of your menu options to change...
    See more | Go to post

    Leave a comment:


  • Cmaza
    replied to Wierd setcookie Problem
    in PHP
    Nevermind.

    I've figured out what the problem was.

    Always seems to go that way -> Waste hours of your life away trying to sort out a seemingly impossible problem, only to ask for help then finally figure out what's wrong for yourself... ¬_¬

    Incase anyone else has the same problem - I was sending the incorrect character encoding with the page header, and I'm guessing either the server, PHP or all the...
    See more | Go to post

    Leave a comment:


  • Cmaza
    started a topic Wierd setcookie Problem
    in PHP

    Wierd setcookie Problem

    Hi,

    I've been dealing with PHP for a few years now and I've never encountered a problem quite like this.

    I've searched the net for an answer to my problem hoping somebody else may have encountered this, but without any luck, so I now resolve to pose the question myself.

    Code:
    [CODE=PHP]
    <?php
    $somedata="Lore m Ipsum";
    setcookie("some name",$somedata ,time()+43200,"/");...
    See more | Go to post
No activity results to display
Show More
Working...