php-general Digest 15 Dec 2008 07:07:03 -0000 Issue 5846
Topics (messages 284605 through 284624):
Re: Chrome 1.0 released
284605 by: Nisse Engström
284619 by: Yeti
284620 by: franzemmanuel
284621 by: Ross McKay
284622 by: German Geek
php client
284606 by: idan72
284608 by: Stephen
284609 by: German Geek
284615 by: Wolf
284617 by: Nathan Rixham
284623 by: Bastien Koert
Re: Credit Card processing: Chase PaymenTech
284607 by: Chris
284616 by: Miles Thompson
284624 by: clive
Good PHP book?
284610 by: jeffery harris
284611 by: Ashley Sheridan
284612 by: Tim | iHostNZ
284613 by: German Geek
284614 by: Ólafur Waage
284618 by: franzemmanuel
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On Sat, 13 Dec 2008 15:08:44 -0800, Yeti wrote:
> I have to defend poor little IE a little now. It supports XHTML and
> CSS2 pretty well so far. And those standards came out a couple of
> months ago.
???
CSS2 dates back to 1997-98 and XHTML to 1998-2000.
And some claim that XHTML is still not supported by IE;
It is simply rendered as tag-soup HTML.
(I haven't studied it, so don't ask me.)
References:
CSS2:
<http://www.w3.org/TR/1998/REC-CSS2-19980512/> (Recommendation)
<http://www.w3.org/TR/WD-CSS2-971104/cover.html> (Working draft)
XHTML 1.0
<http://www.w3.org/TR/2000/REC-xhtml1-20000126/> (Recommendation)
<http://www.w3.org/TR/1998/WD-html-in-xml-19981205/> (Working draft)
/Nisse
--- End Message ---
--- Begin Message ---
It more and more seems like a conspiracy against M$ to me. A company
trying to make up its own standards every once in a while, how can
that be wrong?
--- End Message ---
--- Begin Message ---
This is my opinion (and only mine... So it could be useless) :
I installed it and try to use it... To slow and buggy (problems
importing datas from Firefox)... Keep on using IE6 et 7, Firefox and
Safari... But I am sure that as developpers we will have to use it more
and more.
Hope you are all alright now !
Have a nice night everybody
--- End Message ---
--- Begin Message ---
On Sun, 14 Dec 2008 09:28:49 -0500, tedd.sperling wrote:
>IE's popularity is dropping. I know it depends upon what site you
>test, but I like this set of stats:
>
>http://www.w3schools.com/browsers/browsers_stats.asp
>
>You see here that IE6 and IE7 together hold less than 50 percent.
>[...]
I like those stats, but they basically show that web-savvy users who are
trying to develop websites are tending to dump IE in favour of Firefox.
This is probably in large part because of extensions like Web Developer
and Firebug. You need to take the user base into account when viewing
such statistics.
The site that Richard posted a link to shows this variability nicely:
http://www.upsdell.com/BrowserNews/stat.htm
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--- End Message ---
--- Begin Message ---
Conspiracy against M$? I thought they were conspiring against the world :-)
Tim-Hinnerk Heuer
http://www.ihostnz.com
On Mon, Dec 15, 2008 at 2:22 PM, Yeti <[email protected]> wrote:
> It more and more seems like a conspiracy against M$ to me. A company
> trying to make up its own standards every once in a while, how can
> that be wrong?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi,
I am new to PHP.
I want to write a web client in PHP that will data to a server written in
Java.
I want that the client will send an object to the server.
What is the best way to do that?
Where can I find an example for doing that ?
Thanks
--
View this message in context:
http://www.nabble.com/php-client-tp21004811p21004811.html
Sent from the PHP - General mailing list archive at Nabble.com.
--- End Message ---
--- Begin Message ---
idan72 wrote:
Hi,
I am new to PHP.
I want to write a web client in PHP that will data to a server written in
Java.
I want that the client will send an object to the server.
What is the best way to do that?
Where can I find an example for doing that ?
JAVA is on the client side. That is, it runs in the users browser.
PHP is on the server side, and there is no direct interaction between
PHP and the user.
It seems from what you write that you need a "form" in a web page, and a
PHP script to process the data the user enters and submits from the
form. You may not need JAVA at all.
If this is what you want to go, Google, "PHP forms"
Stephen
--- End Message ---
--- Begin Message ---
On Mon, Dec 15, 2008 at 11:07 AM, Stephen <[email protected]> wrote:
> idan72 wrote:
>
>> Hi,
>>
>> I am new to PHP.
>> I want to write a web client in PHP that will data to a server written in
>> Java.
>> I want that the client will send an object to the server.
>
> Don't know if that would be easy in PHP. I presume you are using RMI??
>
>>
>> What is the best way to do that?
>> Where can I find an example for doing that ?
>>
>>
> JAVA is on the client side. That is, it runs in the users browser.
>
This is not necessarily true. There are Java Applets that are run on the
client. But there are also Java Server Pages (JSP) and Java is designed to
run on servers as well as clients. Javascript (which is totally different!)
always runs on the client.
You could even write a web (or any) server in Java, because it supports
sockets, RMI and even CORBA ;). Ever heard of Java IEEE?
>
> PHP is on the server side, and there is no direct interaction between PHP
> and the user.
You can also write applications in PHP that you can run on a client
(although you would need PHP installed). There are even gui frameworks for
PHP ( http://gtk.php.net/ ).
>
> It seems from what you write that you need a "form" in a web page, and a
> PHP script to process the data the user enters and submits from the form.
> You may not need JAVA at all.
>
> If this is what you want to go, Google, "PHP forms"
>
> Stephen
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Tim-Hinnerk Heuer
http://www.ihostnz.com
--- End Message ---
--- Begin Message ---
idan72 wrote:
> Hi,
>
> I am new to PHP.
> I want to write a web client in PHP that will data to a server written in
> Java.
> I want that the client will send an object to the server.
>
> What is the best way to do that?
> Where can I find an example for doing that ?
>
JAVA is on the client side. That is, it runs in the users browser.
PHP is on the server side, and there is no direct interaction between
PHP and the user.
It seems from what you write that you need a "form" in a web page, and a
PHP script to process the data the user enters and submits from the
form. You may not need JAVA at all.
If this is what you want to go, Google, "PHP forms"
Stephen
--
For that, you don't even need PHP! You can do that directly with HTML. Forms
are html and css, php would only be needed to process the data received from
the forms.
But then, you can do that with CGI/Perl as well...
But at this point, stfw and go for forms. Htmlgoodies.com is a good tutorial
place to go..
Wolf
--- End Message ---
--- Begin Message ---
idan72 wrote:
Hi,
I am new to PHP.
I want to write a web client in PHP that will data to a server written in
Java.
I want that the client will send an object to the server.
What is the best way to do that?
Where can I find an example for doing that ?
Thanks
Run you're java app as a soap 1.X web service, using jax-ws via
cxf/axis2 on tomcat/jboss if it's a spring app; or jax-ws via metro on
glassfish/jboss if it's an EJB3 app.
When you deploy all your input and return objects will be defined in WSDL.
on the php side you'd probably be best to use WSO2 WSF/PHP, which will
parse the wsdl and auto generate the input return objects from the wsdl.
works a treat.
http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html
http://wso2.org/projects/wsf/php
https://jax-ws.dev.java.net/
google
--- End Message ---
--- Begin Message ---
On Sun, Dec 14, 2008 at 6:51 PM, Nathan Rixham <[email protected]> wrote:
> idan72 wrote:
>
>> Hi,
>>
>> I am new to PHP.
>> I want to write a web client in PHP that will data to a server written in
>> Java.
>> I want that the client will send an object to the server.
>>
>> What is the best way to do that?
>> Where can I find an example for doing that ?
>>
>> Thanks
>>
>>
>>
> Run you're java app as a soap 1.X web service, using jax-ws via cxf/axis2
> on tomcat/jboss if it's a spring app; or jax-ws via metro on glassfish/jboss
> if it's an EJB3 app.
>
> When you deploy all your input and return objects will be defined in WSDL.
>
> on the php side you'd probably be best to use WSO2 WSF/PHP, which will
> parse the wsdl and auto generate the input return objects from the wsdl.
>
> works a treat.
>
> http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html
> http://wso2.org/projects/wsf/php
> https://jax-ws.dev.java.net/
> google
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hey, thats pretty cool. I have a project in mind where that may be very
useful. Thanks for the link, Nathan.
--
Bastien
Cat, the other other white meat
--- End Message ---
--- Begin Message ---
phphelp -- kbk wrote:
Hello - - --- -- - --
I need to develop Credit Card processing for my current application. We
have our own shopping cart. We have been trying in vain to get technical
information from PaymenTech for *months* -- but it seems that Chase sold
part of it, or split it off into a separate company -- or something. in
any case, they seem extremely distracted and unresponsive.
By doing some heavy googling, I was able to find some code from a PHP
developer's web site, mostly for the format of the xml strings to pass
to them.
I can't believe that they don't have a processing object for PHP already
available, but it seems not. I see in the archives a couple of requests
to the group for code, but the most recent was a couple of years old.
So, I'll ask again:
Anybody have modules, code, tips, land mines, or any other information
for doing credit card processing with PaymenTech that you would be
willing to share?
I don't have anything for you but if they're that bad with responses can
you switch to another payment provider? Might save you a lot of
headaches, especially if something goes wrong (or they change something).
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---
--- Begin Message ---
On Sun, Dec 14, 2008 at 6:04 PM, Chris <[email protected]> wrote:
> phphelp -- kbk wrote:
>
>> Hello - - --- -- - --
>>
>> I need to develop Credit Card processing for my current application. We
>> have our own shopping cart. We have been trying in vain to get technical
>> information from PaymenTech for *months* -- but it seems that Chase sold
>> part of it, or split it off into a separate company -- or something. in any
>> case, they seem extremely distracted and unresponsive.
>>
>> By doing some heavy googling, I was able to find some code from a PHP
>> developer's web site, mostly for the format of the xml strings to pass to
>> them.
>>
>> I can't believe that they don't have a processing object for PHP already
>> available, but it seems not. I see in the archives a couple of requests to
>> the group for code, but the most recent was a couple of years old. So, I'll
>> ask again:
>>
>> Anybody have modules, code, tips, land mines, or any other information for
>> doing credit card processing with PaymenTech that you would be willing to
>> share?
>>
>
> I don't have anything for you but if they're that bad with responses can
> you switch to another payment provider? Might save you a lot of headaches,
> especially if something goes wrong (or they change something).
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/ <http://www.php.net/unsub.php>
>
We have experience with two: Beanstream (also known as Online Mart) which is
a branch fo toronto-Dominion Bank. Their system is cURL based. fabulously
reliable, and we would have used it for our own company except that it
supports only CAN and USD.
The second is WorldPay, a subsidiary of The Royal Bank of Scotland. Supports
a raft of credit cards and just about any currency you care for. Downside?
Your customers are taken to a WorldPay site - which you can sort of decorate
like your own - and then are sent back to your site. They also rely on
*timing* for completion of transactions. Sort of lousy.
Nevertheless, we will see.
General reflection? All these companies seem to want your business, but then
are hellaciously slow in providing basic information, responding to
questions, etc.
Good luck - you will need it in some measure.
Cheers - Miles
--- End Message ---
--- Begin Message ---
phphelp -- kbk wrote:
Anybody have modules, code, tips, land mines, or any other information
for doing credit card processing with PaymenTech that you would be
willing to share?
Ken - I think your first step is to find another provider, support is
everything, your code can be 110% correct, but if there is 1 item wrong
in the comms you have with PaymenTech, then you can spend hours if not
days with a broken application.
This recently happened with me and HSBC bank in the UK, rubbish support,
my code look right, but nothing worked, until after a number of days I
managed to get through to one of the developers of there payment gateway
system, he was able to a make a few changesto the xml I sending and just
like that I was able to process payments.
Move providers
Clive
--- End Message ---
--- Begin Message ---
Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
--- End Message ---
--- Begin Message ---
On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote:
> Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
>
>
>
I tend to trust O'Reilly books a lot for all things programming,
although I learnt largely with 'PHP, Apache, MySQL Web Development' from
WROX.
Ash
www.ashleysheridan.co.uk
--- End Message ---
--- Begin Message ---
The best book is php.net, if you already know a programming language ;-).
Otherwise Ashley is probably right. I haven't read any books on php, got all
the info off the web, but it's still my main language atm.
Tim-Hinnerk Heuer
http://www.ihostnz.com
On Mon, Dec 15, 2008 at 11:33 AM, jeffery harris <
[email protected]> wrote:
> Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
The best book is php.net, if you already know a programming language ;-).
Otherwise Ashley is probably right. I haven't read any books on php, got all
the info off the web, but it's still my main language atm.
Tim-Hinnerk Heuer
http://www.ihostnz.com
On Mon, Dec 15, 2008 at 11:48 AM, Ashley Sheridan
<[email protected]>wrote:
> On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote:
> > Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
> >
> >
> >
> I tend to trust O'Reilly books a lot for all things programming,
> although I learnt largely with 'PHP, Apache, MySQL Web Development' from
> WROX.
>
>
> Ash
> www.ashleysheridan.co.uk
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hey,
php.net is the best "book", but if you want a good book that goes over
all the elements of php then pickup the Zend PHP 5 Certification Study
Guide:
http://www.amazon.com/architects-Zend-Certification-Study-Guide/dp/0973862149/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1229296547&sr=8-1
Olafur Waage
On Sun, Dec 14, 2008 at 10:52 PM, German Geek <[email protected]> wrote:
> The best book is php.net, if you already know a programming language ;-).
> Otherwise Ashley is probably right. I haven't read any books on php, got all
> the info off the web, but it's still my main language atm.
>
> Tim-Hinnerk Heuer
>
> http://www.ihostnz.com
>
>
> On Mon, Dec 15, 2008 at 11:48 AM, Ashley Sheridan
> <[email protected]>wrote:
>
>> On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote:
>> > Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
>> >
>> >
>> >
>> I tend to trust O'Reilly books a lot for all things programming,
>> although I learnt largely with 'PHP, Apache, MySQL Web Development' from
>> WROX.
>>
>>
>> Ash
>> www.ashleysheridan.co.uk
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
--- End Message ---
--- Begin Message ---
Ashley Sheridan a écrit :
On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote:
Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
I tend to trust O'Reilly books a lot for all things programming,
although I learnt largely with 'PHP, Apache, MySQL Web Development' from
WROX.
Ash
www.ashleysheridan.co.uk
Yes, I am agree with Ashley. This book must be read. But first, you
should read the whole php documentations as Tim said (available on HTML
offline). There is everything in it.
Good luck !
Zeuf
--- End Message ---