faithfulman

faithfulman

Real Name: Faithfulman

(United States)
Application Developer

Biography

Former Christian-Web-Masters.com user.

Going to become a Daddy in December 2009! :-)

Latest Contributions

  • PHP "Class" question

    Here seems to be my delima, I can get my script to work by entering the USERNAME and PASSWORD manually in the PHP script. But if I want it to come over in a variable, it give me an error.

    This code works:

    class ExchangeNTLMStream extends NTLMStream {
    protected $user = 'USERNAME';
    protected $password = 'PASSWORD';
    }

    This code fails:

    class ExchangeNTLMStream extends NTLMStream {
    protected $user = $ntusername;
    protected $password = $ntpassword;
    }

  • Does FOPEN have a maximum size limit?

    Hello,

    I have the following code that has been working just fine and still is, for files that are under 12Mb. But we now have a flash presentation that is 13.4 and suddenly it doesnt't work. And we have narrowed it down to be the size, because we have reduced the size to 11.6Mb and it works fine. Once we go back to full size it stops working properly. Is there a size restriction with either FOPEN or FPASSTHRU? Any ideas? Basically what I am doing is hiding the name of the file in the session variable FILE LOCATION, so the average person can't tell where I have the files stored.

  • Microsoft New FastCGI for Windows?

    Have any of you used this:

    http://www.microsoft.com/web/platform/phponwindows...

    I'm seeing this for the first time, and I wonder if it will work better than the ISAPI method I currently use. Have any of you experimented with this? or are any of you currently using this right now?

    I'd appreciate feedback.

    Thanks!

    Faithfulman

  • PHP - filectime

    Hello,

    I am experiencing some oddity when I am trying to use the filectime, filemtime or fileatime functions in PHP.

    When I use it on files in a certain folder I seem to get accurate data, then when I use it on any other folder, it prints the files correctly, but the dates on them are all "19691231", which means it is returning false.

    Can someone give me any tips on what might be wrong? I am use PHP 5.2 and it is on a Windows 2003 SP2 server.

    Below is my code:

  • Javascript Dynamic? Variables

    Hello, I am trying to something like the following in javascript and I am stuck.

    CODE
    for(i=0; document.FORM1.TOTLOANS.value > i; i++){
    totalpropcom=totalpropcom + ((Number(document.FORM1.PROPCOM{i}.value))*100);
    }

    I want it to be able to add the fields:
    document.FORM1.PROPCOM1.value
    document.FORM1.PROPCOM2.value
    document.FORM1.PROPCOM3.value
    document.FORM1.PROPCOM4.value