Robert I'd be interested to know how it goes, Did you use an IDE fro the PHP dev? I use nusphere (though it seems a lot use eclipse)
N > Ok. Once my ISP finishes setting up the site I will just have to give > it a go ! > > Ta > > /Robert Martin/ > > /Software development manager/ > > > > Chreos > > www.chreos.co.nz > > Ph +64 03 377-0495 > > > > > > > > > > Neven MacEwan wrote: >> Robert >> >> I'll have to admit I haven't written a soap server in php, but it is so >> 'geared' toward webdev that I thought it would be the easiest way >> to do a portable one >> >> I can't see why you can't use your current WSDL and write your php class >> to match otherwise there seems to be a few WSDL generators >> for PHP classes around, the problem is the weakly typed nature of php >> but with 5 you got parameter type 'hinting' (which seems strict for a hint) >> but I 'cant see that they have included the hint in the reflection >> methods, though there is this one >> http://phpclasses.sitehost.co.nz/browse/package/2310.html >> >> I actually use Nusphere for PHP dev so have access to NuSOAP (which i >> would prob use if doing this) >> >> Neven >> >>> Thanks Neven >>> >>> As you see I am taking your suggestion from the Delphi list 'refactor >>> it'. I have one other question you might be able to answer... >>> >>> I need a wsdl for for my soap server. It seems I need to manually >>> create one with Php. However I have my delphi soap server that >>> automatically creates a wsdl. Sooo since I already have one from my >>> delphi app, and since the functions and data classes are the same, I >>> can use that wsdl with my PHP soap server? >>> >>> Thanks >>> >>> >>> >>> /Robert Martin/ >>> >>> /Software development manager/ >>> >>> >>> >>> Chreos >>> >>> www.chreos.co.nz >>> >>> Ph +64 03 377-0495 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Neven MacEwan wrote: >>> >>>> Rob >>>> >>>> I didn't get the orig post but >>>> >>>> \t is right, in php escape sequences are replaced in double quote (and >>>> heredoc) delim strings so >>>> >>>> if ($a == "TAB\nTAB") { >>>> .... >>>> } >>>> >>>> note you can use the chr() function as well (ie for non escapable chars) >>>> The control escapable chars are \r, \n, \t, others are \\, \", \', \$ >>>> >>>> if ($a == 'TAB'.chr(9).'TAB') { >>>> .... >>>> } >>>> >>>> Heredoc is really good for multiline strings is SQL statements >>>> >>>> $S = <<<SQL >>>> SELECT Column >>>> FROM Table >>>> WHERE >>>> ID = '$ID' >>>> SQL; >>>> >>>> >>>> >>>>> "\t" >>>>> >>>>> >>>>> >>>>>> Hi >>>>>> >>>>>> I am re writing a Delphi SOAP server in php. I am doing ok so far >>>>>> (for my first PHP app !). Anyway I want to compare a string with >>>>>> special chars. >>>>>> >>>>>> In Delphi I have something like if (a = 'NULL' + #9 + 'NULL') then >>>>>> begin .... >>>>>> >>>>>> essentially my string is two NULL words with a separating tab. How to >>>>>> I access the tab key in php ? >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> /Robert Martin/ >>>>>> >>>>>> /Software development manager/ >>>>>> >>>>>> >>>>>> >>>>>> Chreos >>>>>> >>>>>> www.chreos.co.nz >>>>>> >>>>>> Ph +64 03 377-0495 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> NZ Borland Developers Group Offtopic mailing list >>>>>> Post: [email protected] >>>>>> Admin: http://delphi.org.nz/mailman/listinfo/offtopic >>>>>> Unsubscribe: send an email to [email protected] >>>>>> with Subject: unsubscribe >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> NZ Borland Developers Group Offtopic mailing list >>>>> Post: [email protected] >>>>> Admin: http://delphi.org.nz/mailman/listinfo/offtopic >>>>> Unsubscribe: send an email to [email protected] with >>>>> Subject: unsubscribe >>>>> >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> NZ Borland Developers Group Offtopic mailing list >>>> Post: [email protected] >>>> Admin: http://delphi.org.nz/mailman/listinfo/offtopic >>>> Unsubscribe: send an email to [email protected] with >>>> Subject: unsubscribe >>>> >>>> >>>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> NZ Borland Developers Group Offtopic mailing list >>> Post: [email protected] >>> Admin: http://delphi.org.nz/mailman/listinfo/offtopic >>> Unsubscribe: send an email to [email protected] with >>> Subject: unsubscribe >>> >> >> _______________________________________________ >> NZ Borland Developers Group Offtopic mailing list >> Post: [email protected] >> Admin: http://delphi.org.nz/mailman/listinfo/offtopic >> Unsubscribe: send an email to [email protected] with >> Subject: unsubscribe >> >> > ------------------------------------------------------------------------ > > _______________________________________________ > NZ Borland Developers Group Offtopic mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/offtopic > Unsubscribe: send an email to [email protected] with > Subject: unsubscribe _______________________________________________ NZ Borland Developers Group Offtopic mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/offtopic Unsubscribe: send an email to [email protected] with Subject: unsubscribe
