User Profile

Collapse

Profile Sidebar

Collapse
ratcateme
ratcateme
Last Activity: Mar 27 '08, 07:26 AM
Joined: Nov 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • since i got that working i was trying to convert the normal socket to a SSL socket so connections to it will be encrypted does anyone have any ideas about how to go about doing this or is it just not possiable.

    Scott.
    See more | Go to post

    Leave a comment:


  • Thanks that looks like just what i want.

    Scott.
    See more | Go to post

    Leave a comment:


  • pass socket resource to second script (socket connections)

    i want to create a php script that will listen and accept connections on a port then pass the connection onto another script to keep the main script just handling incoming connections and not being tied up until the connection ends.
    i have made a script that listens on port 9000 and waits until a connection is received then it will do stuff. the only problem with this is that it can only have on connection at a time and i need multiple connections...
    See more | Go to post

  • ratcateme
    started a topic Wont run perl scripts

    Wont run perl scripts

    I am using apache 2.2.4 and perl 5.8.8 on Ubuntu 7.10
    I am creating a website mainly in PHP but i have a few perl scripts i want to run. I am running a simple script but get this error a Internal Server Error 500 the apache error.log file says:
    [Fri Dec 14 14:59:52 2007] [error] [client 10.1.1.5] (2)No such file or directory: exec of '/var/www/cgi-bin/test.cgi' failed
    [Fri Dec 14 14:59:52 2007] [error] [client 10.1.1.5] Premature...
    See more | Go to post

  • ratcateme
    replied to 404 for file that exists
    Sorry worked it out it was a problem with the xajax it was using a Alias so the xajax files were not where i thought they were
    See more | Go to post

    Leave a comment:


  • ratcateme
    started a topic 404 for file that exists

    404 for file that exists

    I am running
    Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server
    and i am using xajax and i just got the file upload add on but when i try to access it i get a 404 error
    but i can get to the xajax core file in the same dir so:
    /xajax/xajax_js/xajax_file_uplo ads.js = 404
    but
    /xajax/xajax_js/xajax.js = 200

    both files are chmod to 777

    i have been fiddling for at least an hour with...
    See more | Go to post

  • ratcateme
    replied to Copy apache logs Ubuntu 7.10
    in PHP
    Thanks for the reply.

    I put this is my code
    [PHP]copy('/var/log/apache2/access.log','/var/log/apache2/access.log.copy ');[/PHP]
    but i gets a error again because the access.log file is in use by apache.
    i dont n o any shell scripting but i think that is what i need to copy this file i tried using this cimmand but i dont think the syntax is correct
    [PHP]$cmd='cp /var/log/apache2/access.log /var/log/apache2/access.log.copy ';...
    See more | Go to post

    Leave a comment:


  • ratcateme
    started a topic Copy apache logs Ubuntu 7.10
    in PHP

    Copy apache logs Ubuntu 7.10

    Hi i am using php 5.2.3 on Ubuntu 7.10 and apache 2.2.4.
    i have just switched from windows 2000 and have encountered a problem with my log viewer script unlike windows i cannot just open the apache log file with php as it is always being used by apache. now i can copy using command line:
    cp /var/log/apache2/access.log /var/log/apache2/access.log.copy

    I need to do this in php but i don't no how.

    Please...
    See more | Go to post

  • Worked it out i had 2 fields name user and pass sorry
    See more | Go to post

    Leave a comment:


  • document.getElementById(id).value Returns Blank

    I have this script to validate my reregistration form then send it to a AJAX handler to create the new user my problem is that when getting the value of the username and password filed it returns blank not "undefined" but just "" but it returns the rest of my form fine.
    my JavaScript is:
    [CODE=javascript]function send(){
    var user = document.getEle mentById('user' ).value;
    alert(document. getElementById( 'user').value);...
    See more | Go to post

  • Javascript says "document.getElementById("namedisplay") has no properties

    I have this script
    Code:
    function getname(){
    <script type="text/javascript">
    	var name = prompt('What is your name?');
    	while(name==''){
    		name = prompt('We need your name?');
    	}
    	alert(name);
    	document.getElementById('namedisplay').value=name;
    	
    }
    getname();
    </script>
    <input name="namedisplay" type="text" id="namedisplay"
    ...
    See more | Go to post
No activity results to display
Show More
Working...