Re: [PHP] Re: How can I debug wsf/php in eclipse?

2012-02-07 Thread Ali Asghar Toraby Parizy
:( Thanks for your help. Is it the only way? On Tue, Feb 7, 2012 at 12:44 PM, Sharl.Jimh.Tsin wrote: > 在 2012-02-07二的 12:11 +0330,Ali Asghar Toraby Parizy写道: > > Can anybody help me in this regard? > > > > On Mon, Feb 6, 2012 at 10:15 PM, Ali Asghar Toraby Parizy < > &

[PHP] Re: How can I debug wsf/php in eclipse?

2012-02-07 Thread Ali Asghar Toraby Parizy
Can anybody help me in this regard? On Mon, Feb 6, 2012 at 10:15 PM, Ali Asghar Toraby Parizy < aliasghar.tor...@gmail.com> wrote: > Hi. > I'm developing a wsf/php web service. I'm using doc/lit messaging format > and every thing is OK. > But I don't know how

[PHP] How can I debug wsf/php in eclipse?

2012-02-06 Thread Ali Asghar Toraby Parizy
Hi. I'm developing a wsf/php web service. I'm using doc/lit messaging format and every thing is OK. But I don't know how i can debug my web services using eclipse. Although I can directly run my web service in debug mode, Unfortunately when I debug my client it never jump into web service code and

Re: [PHP] Converting a Unicode code to related charachter

2011-12-19 Thread Ali Asghar Toraby Parizy
I > use this code: > > setlocale (LC_ALL, 'es_ES.UTF-8'); > $rtn = iconv ('UTF-8', 'ASCII//TRANSLIT', $string); > > If I use for example this as $string: > > 'ביםףתס' > > I will get this as $rtn at return: > > 'aeioun&

[PHP] Converting a Unicode code to related charachter

2011-12-18 Thread Ali Asghar Toraby Parizy
Hi. As I was writing a php code last week, I struggled with a function that was supposed to convert Unicode code to a character. At last I wrote this function: function unicodeToChr($param) { $a =json_decode('{"t":"'.$param.'"}'); return $a->t; } In this function the $param sho

[PHP] Does exist any zend debugger for windows 64bit?

2011-09-02 Thread Ali Asghar Toraby Parizy
Hi I was using windows32 bit for a while, But last week I decided to install 64bit version. I've installed wamp64bit with xdebugger, already. but I want to use zend debugger. But when I want to download zend debugger from http://downloads.zend.com/pdt/server-debugger/ I cant find any 64bit version.

[PHP] implementing dot-net DES encryption by php

2011-06-16 Thread Ali Asghar Toraby Parizy
Hi I have a big problem.I've tried for 2 days but I haven't been able to solve the problem yet. I need to implement dot-net DES encryption in php site. I tired several solutions and the following code is the best that I've seen. But it doesn't work perfect either. Header("Content-d

Re: [PHP] smart auto download file

2011-05-31 Thread Ali Asghar Toraby Parizy
> header('Content-type: application/octet-stream'); > header('Content-Disposition: attachment; filename="azipfile.zip"'); > readfile($filePath); > ?> > > On 31 May 2011 18:02, Ali Asghar Toraby Parizy > wrote: >> >> I want to build a

[PHP] smart auto download file

2011-05-31 Thread Ali Asghar Toraby Parizy
I want to build a web page for file auto download like cnet.download. A page that tells user "Your download will begin in a moment..." and after a few seconds download starts. How can I do that by php thanks for any help. -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To

[PHP] Why Is the Zend debugger this too slow?

2011-05-31 Thread Ali Asghar Toraby Parizy
Hi I've installed pdt and zend debugger. But when I start debugging as web page it takes a long time to start the debugging for each page. Browser remains in waiting status for farther than 10 or 20 seconds before loading a page. But after that debugging seems to be comfortable. I think there is a

[PHP] login to protected directory by php

2010-08-15 Thread Ali Asghar Toraby Parizy
gt; On Sat, Aug 14, 2010 at 1:52 AM, Ali Asghar Toraby Parizy < > aliasghar.tor...@gmail.com> wrote: > >> Hi >> The php script is in another folder. I set PHP_AUTH_USER and 'PHP_AUTH_PW >> in login script then try to open the file in the protected directory. the

[PHP] login to protected directory by php

2010-08-13 Thread Ali Asghar Toraby Parizy
Hi. I have a protected directory in my host. I have configured .htaccess successfully and it works prefect. Now I'm looking for a solution to login and logout by a php script. In my site I have a login page. In that page I set 'PHP_AUTH_USER' and ' PHP_AUTH_PW'. but when I try to open protected dir

[PHP] protecting a directory by php mysql

2010-08-11 Thread Ali Asghar Toraby Parizy
Hi. I need a protected directory in my server that only the authenticated user can reach all files in that folder(file type is zip and picture or a web page, maybe). I save user ID and passwords in mysql database. today I tried to use htaccess but mod_auth_mysql isn't installed on my server. I know

Re: [PHP] Inconsistent json_decode() results

2010-05-05 Thread Ali Asghar Toraby Parizy
Hi I have this problem too. I think that the version of php results this problem. I have searched later but could not find any solution. 2010/5/5 François Beausoleil : > Hello all! > > We're seeing inconsistent json decoding between PHP versions: > http://gist.github.com/390090 > > Calling json_

Re: [PHP] How to Force IE to download text file?

2010-05-01 Thread Ali Asghar Toraby Parizy
e > Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ > jabber.org > Yahoo! messenger: andre.polykanine; ICQ: 191749952 > Twitter: m_elensule > > ----- Original message - > From: Ali Asghar Toraby Parizy > To: php-general@lists.php.net > Date: Frida

[PHP] How to Force IE to download text file?

2010-04-30 Thread Ali Asghar Toraby Parizy
I have written this code to export data to a text file and asks user to save generated file. It works with Firefox perfectly, but IE shows content of file instead of prompting the download window. How can I force IE to show the download dialog? -- Ali Asghar Torabi -- PHP General Mailing List

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ali Asghar Toraby Parizy
, Apr 28, 2010 at 4:12 PM, Ashley Sheridan wrote: > On Wed, 2010-04-28 at 16:16 +0430, Ali Asghar Toraby Parizy wrote: > > It isn't good idea to use php to visualize your table. You can fetch > you data by php and style them by java script. > > On Wed, Apr 28, 2010 at 3

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ali Asghar Toraby Parizy
It isn't good idea to use php to visualize your table. You can fetch you data by php and style them by java script. On Wed, Apr 28, 2010 at 3:59 PM, Juan Rodriguez Monti wrote: > Hello Guys, > I would like to implement a two color row table for some queries that I'm > doing. > > I use PHP to que

[PHP] Zend debugger doesn't work

2010-01-18 Thread Ali Asghar Toraby Parizy
Hi I have installed php 5.3.1 (with thread safety = on) recently And I tried to install zend debugger yesterday. I downloaded zend debugger extension from http://downloads.zend.com/pdt/server-debugger/ But I didn't find dll module for 5.3.x release. So I tried dll file in 5_2_x_comp folder. When I

[PHP] Application Help Provider for my website

2009-12-23 Thread Ali Asghar Toraby Parizy
I'm looking for any Application help provider that created by php. Is any php application help provider written, so far?

Re: [PHP] Best ajax library

2009-12-20 Thread Ali Asghar Toraby Parizy
On Sat, Dec 19, 2009 at 7:13 PM, tedd wrote: > I have chosen jquery at last. because: >> >> * jQuery has a huge number of plugins available for everything you could >> imagine wanting to do online >> * The information on the jQuery site is extremely well documented, with >> many >> examples >> *

Re: [PHP] Best ajax library

2009-12-19 Thread Ali Asghar Toraby Parizy
e: > On Dec 15, 2009, at 3:12 AM, Joseph Masoud wrote: > > > On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy < > aliasghar.tor...@gmail.com> wrote: > > > >> Which one is more active than others? I mean which project extends > >> faster and better,

Re: [PHP] Best ajax library

2009-12-15 Thread Ali Asghar Toraby Parizy
Which one is more active than others? I mean which project extends faster and better, in future? On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson wrote: > On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote: > >> Hi >> I think the best choice is jquery until now. >&g

Re: [PHP] Best ajax library

2009-12-14 Thread Ali Asghar Toraby Parizy
Hi I think the best choice is jquery until now. But, is it reasonable to combine jquery and other library to client side and server side scripting respectively? By the way, where i can find good lessons about jquery and php? On Mon, Dec 14, 2009 at 1:16 PM, Angelo Zanetti wrote: > >>  On Sat, 20

Re: [PHP] Best ajax library

2009-12-12 Thread Ali Asghar Toraby Parizy
Thanks for your replies. Which one is better for GUI building? I'm looking for a ajax library that is comfortable for client side applications. I think php is plenty comfortable For server side issues, so I can't see any reason to toil in experiencing new technologies. On Sat, Dec 12, 2009 at 3:37

[PHP] Best ajax library

2009-12-12 Thread Ali Asghar Toraby Parizy
Hi friends. What ajax library do you suggest for php developers? Can i use gwt with php, or It is compatible only with java web applications? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can I get the IP address from a visitor?

2009-12-01 Thread Ali Asghar Toraby Parizy
It is very simple: $ip=$_SERVER['REMOTE_ADDR']; On Tue, Dec 1, 2009 at 1:47 PM, Lester Caine wrote: > Lars Kristiansson wrote: >> >> Hi! >> >> This is probably the wrong forum. Please redirect me if im out of place. >> >> I would like to find out what IP address my visitor uses when visiting a >>

Re: [PHP] How to create a web application like igoogle?

2009-11-21 Thread Ali Asghar Toraby Parizy
cause the gadgets can have been removed by user, but HTML frames are static absurd things in web page. *In summary, I looking for a technology to build php pages with some independent sections.* On Fri, Nov 20, 2009 at 11:21 PM, Ashley Sheridan wrote: > On Fri, 2009-11-20 at 23:15 +0330, Al

[PHP] How to create a web application like igoogle?

2009-11-20 Thread Ali Asghar Toraby Parizy
Hi How can i create a web page that include some gadgets? what kind of technology do i have to use to creating web pages like igoogle and gmail? How can i create them by php?

Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Ali Asghar Toraby Parizy
On Mon, Nov 9, 2009 at 7:58 PM, Martin Scotta wrote: > On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl wrote: > > > -Original Message- > > From: Dave M G [mailto:mar...@autotelic.com] > > Sent: 09 November 2009 05:36 PM > > To: php-general@lists.php.net > > Subject: [PHP] Anyone using Aptana an

Re: [PHP] Hash function

2009-11-09 Thread Ali Asghar Toraby Parizy
user name that is known for a probable jobber user. what do you think about it? On Mon, Nov 9, 2009 at 3:09 PM, John Black wrote: > Ali Asghar Toraby Parizy wrote: > >> hi friends >> I need a hash function to build a Unique serial number by mixing a request >> code and a us

[PHP] Paypal transaction

2009-11-09 Thread Ali Asghar Toraby Parizy
Hi friends I have an application I want to sell it in my website How can i use PayPal to marketing? i understand php so i am eager to write some php code, myself. How can i implement a php code to use PayPal gateway Thanks for any help

[PHP] Hash function

2009-11-09 Thread Ali Asghar Toraby Parizy
hi friends I need a hash function to build a Unique serial number by mixing a request code and a user name request codes are strings like this: They are literally HEX codes of MAC mac addresses. "002314EFD000544AB05345300045675609782123C3254B312123D12312EE13123F123D123123EEE000E