[DUG] Delphi 4 PHP - stored proc

Rohit Gupta rohit at cfl.co.nz
Thu Mar 3 10:58:17 NZDT 2011


I figured out being spolit was part of the problem :-)

I have sorted most things out now, by trial and error, so I will 
continue.  I am only using it for rapid prototyping to prove a 
concept... but it sure has NOT been rapid.  I sincerely believe that if 
I had stuck with raw php, I would have been further ahead.

Rohit


On 2/03/2011 7:19 p.m., Neven MacEwan wrote:
> Rohit
>
> Problem is mate you've been spoilt using Delphi for years, Download a 
> demo of Nusphere phped and use postgresql, you'll be a lot happier
>
> Neven
>> Ok, I officially announce that Delphi for PHP is the crappiest 
>> program in the universe.
>>
>> Nothing works as documented....
>>
>> includes
>> functions
>> mysql
>>
>> Rohit
>>
>> On 27/02/2011 7:57 a.m., Rohit Gupta wrote:
>>> By setting the proc name and params at design time, I can see that 
>>> the thing is not going to work.
>>>
>>> First it is using call, even though it is supposed to use select 
>>> when you use open.
>>> Second, it still does not seem to be getting teh parameters 
>>> right.... what is the stuff after the semi-colon ?
>>>
>>> *'mysql error: [-9999: Input array does not match ?:
>>> call authenticate_user('r.gupta at xtra.co.nz', 'password');'r.gupta at xtra.co.nz''password'] in Execute(, )
>>> *
>>>
>>>
>>> On 26/02/2011 11:37 p.m., Neven MacEwan wrote:
>>>> Rohit
>>>>
>>>> Which DB? which library?
>>>>> Does anyone know hot get a value/result back from a php function in
>>>>> delphi 4 php using storedproc ?
>>>>>
>>>>> I have tried many variations from other languages - but no go.  There is
>>>>> no help and the examples dont provide much insight.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>> Post:delphi at delphi.org.nz
>>>>> Admin:http://delphi.org.nz/mailman/listinfo/delphi
>>>>> Unsubscribe: send an email todelphi-request at delphi.org.nz  with Subject: unsubscribe
>>>>>
>>>>>
>>>> _______________________________________________
>>>> NZ Borland Developers Group - Delphi mailing list
>>>> Post:delphi at delphi.org.nz
>>>> Admin:http://delphi.org.nz/mailman/listinfo/delphi
>>>> Unsubscribe: send an email todelphi-request at delphi.org.nz  with Subject: unsubscribe
>>>>
>>>> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5908 (20110225) __________
>>>>
>>>> The message was checked by ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.com
>>>>
>>>>
>>>> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5908 (20110225) __________
>>>>
>>>> The message was checked by ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.com
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> -- 
>>> Regards
>>>
>>> *Rohit Gupta*
>>> B.E. Elec., M.E., Mem IEEE, Member IET
>>> Technical Manager
>>> Computer Fanatics Ltd
>>>
>>> *Tel *4892280
>>> *Fax *4892290
>>> *Web *www.cfl.co.nz
>>> ------------------------------------------------------------------------
>>> This email and any attachments contain information, which is 
>>> confidential and may be subject to legal privilege and copyright. If 
>>> you are not the intended recipient, you must not use, distribute or 
>>> copy this email or attachments. If you have received this in error, 
>>> please notify us immediately by return email and then delete this 
>>> email and any attachments.
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus 
>>> signature database 5910 (20110226) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus 
>>> signature database 5910 (20110226) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>> _______________________________________________
>>> NZ Borland Developers Group - Delphi mailing list
>>> Post:delphi at delphi.org.nz
>>> Admin:http://delphi.org.nz/mailman/listinfo/delphi
>>> Unsubscribe: send an email todelphi-request at delphi.org.nz  with Subject: unsubscribe
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5910 (20110226) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5910 (20110226) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>
>>
>> -- 
>> Regards
>>
>> *Rohit Gupta*
>> B.E. Elec., M.E., Mem IEEE, Member IET
>> Technical Manager
>> Computer Fanatics Ltd
>>
>> *Tel *4892280
>> *Fax *4892290
>> *Web *www.cfl.co.nz
>> ------------------------------------------------------------------------
>> This email and any attachments contain information, which is 
>> confidential and may be subject to legal privilege and copyright. If 
>> you are not the intended recipient, you must not use, distribute or 
>> copy this email or attachments. If you have received this in error, 
>> please notify us immediately by return email and then delete this 
>> email and any attachments.
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post:delphi at delphi.org.nz
>> Admin:http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email todelphi-request at delphi.org.nz  with Subject: unsubscribe
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 5918 (20110301) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5918 (20110301) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>


-- 
Regards

*Rohit Gupta*
B.E. Elec., M.E., Mem IEEE, Mem IET
Technical Director
Computer Fanatics Ltd

*Tel *4892280
*Fax *4892290
*Web *www.cfl.co.nz
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110303/2bbe5154/attachment-0001.html 


More information about the Delphi mailing list