[PHP] protecting a directory by php mysql

2010-08-11 Thread Ali Asghar Toraby Parizy
er. I know that I can protect web pages by a simple PHP script(checking log in session) but I don't know how I can protect images and files! Thanks for any help -- Ali Asghar Torabi

[PHP] login to protected directory by php

2010-08-13 Thread Ali Asghar Toraby Parizy
n I try to open protected directory, user authentication dialog appears. How can I do this? What is my error? -- Ali Asghar Torabi

[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] Why Is the Zend debugger this too slow?

2011-05-31 Thread Ali Asghar Toraby Parizy
is a problem with some initializations! I use widows7 and wamp. eclipse helios. php version 5.2.4 and zend plugin 4.2.x -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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://w

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] 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

[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] 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

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] 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

[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

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 < > &

<    1   2