UnknownCodester's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
37 (0.04 per day)
Joined:
05-March 13
Profile Views:
1,296
Last Active:
User is offline Jul 21 2015 03:03 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   UnknownCodester has not set their status

Posts I've Made

  1. In Topic: Password Reset function running slowly

    Posted 9 Jul 2015

    View PostArtificialSoldier, on 09 July 2015 - 09:48 AM, said:

    Look into process control and forking a new process to run for sending the email. The ajax request will not complete until the connection with the server is closed, so you have to end the request in order for your ajax callback to get the response. Forking a child process will allow you to end the response and still send the email in another process (if your server supports forking).

    This makes sense. Is this similar to using threads?
  2. In Topic: Sessions without cookies

    Posted 12 Dec 2014

    View PostDormilich, on 12 December 2014 - 07:25 AM, said:

    you can manually set the session id with session_id(). make sure you also read the introductory article about session security.


    Ahah, So do you mean this sort of thing/would this work?..

    $id = $_SERVER['HTTP_ID'];
    session_id($id);
    session_start(); 
    


    Quote

    the use of the $_SERVER variable is highly depending on the used webserver and thus never a good idea for custom headers. PHP has some functions for getting your hands on the headers directly.


    Could you recommend any?
  3. In Topic: WSDL tools for PHP Webservice

    Posted 23 Oct 2014

    Just in case anybody else is wondering about this in the future...

    I have found that SoapUI is a good tool for testings WSDL's and Eclipse WSDL Editor has a great GUI interface that allows you to make WSDLs whilst providing a layer of abstraction and automating the process.
  4. In Topic: Web Service Problems

    Posted 20 Oct 2014

    Now I have no errors, but;

    var_dump($client->getMiles(2.0));
    


    Produces;

    object(stdClass)#2 (0) { }

    When I'd expect 2.0 to be sent to my getMiles method and return a value around 1.2
  5. In Topic: Web Service Problems

    Posted 20 Oct 2014

    Haha wow I can't believe I couldn't see that... Should be...

    require('converter.php');
    
    $server = new SoapServer('wsdl.wsdl');
    $server->setClass('Converter');
    $server->handle();
    
    

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

UnknownCodester hasn't added any friends yet.

Comments

UnknownCodester has no profile comments yet. Why not say hello?