[PHP] Re: How can I debug wsf/php in eclipse?
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 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 I only can see if that service has returned a correct value or not! I'd be glad to know if it's possible or not to do something like this in eclipse. Thanks for any help.
Re: [PHP] Re: How can I debug wsf/php in eclipse?
:( Thanks for your help. Is it the only way? On Tue, Feb 7, 2012 at 12:44 PM, Sharl.Jimh.Tsin amoiz.sh...@gmail.comwrote: 在 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 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 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 print the log to console or something else. and I only can see if that service has returned a correct value or not! I'd be glad to know if it's possible or not to do something like this in eclipse. Thanks for any help. -- Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) Using Gmail? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?10073.
[PHP] How can I debug wsf/php in eclipse?
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 I only can see if that service has returned a correct value or not! I'd be glad to know if it's possible or not to do something like this in eclipse. Thanks for any help.
Re: [PHP] Converting a Unicode code to related charachter
Thanks for your reply. But the function that I've written, converts a code to a character. for example if input is u0631 the output will be: ARABIC LETTER REH ر But I think that use of this json_decode() is a little nonsense! I didn't find a straightforward function to do this ,though I've searched a lot. On Mon, Dec 19, 2011 at 11:51 AM, Francisco M. Marzoa Alonso franci...@marzoa.com wrote: Hello, Can you please provide an example of real input and the output expected? I'm not sure about what you want to do. Anyway, for converting utf-8 characters into plain ASCII equivalents chars, you can use iconv translit feature like: $rtn = iconv ('UTF-8', 'ASCII//TRANSLIT', $string); You may need to set locale before using setlocale. For Spanish strings 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' Regards, On 18/12/11 10:33, Ali Asghar Toraby Parizy wrote: 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 should be something like '\u0627'. I want to know if it's acceptable to use this function? Does exist any better solution to do that? Thanks.
[PHP] Converting a Unicode code to related charachter
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 should be something like '\u0627'. I want to know if it's acceptable to use this function? Does exist any better solution to do that? Thanks.
[PHP] Does exist any zend debugger for windows 64bit?
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. Could you tell me, there is any 64bit version of Zend debugger for windows? Thanks for any help.
[PHP] implementing dot-net DES encryption by php
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-disposition: attachment; filename=test.txt); Header(Content-type: text/plain); $key = alidfsdf; $iv = asghasdr; $buffer = 0736f6a24766866a60e5a300e6f067aef5c2428a7c5ba59b1c2af2ec9289aaad6d7fd8345910fac94b99311d0487a02080665ed5a5f48b9a35093eed16eb8c38\nsdfgh; $td = mcrypt_module_open('tripledes', '', 'cbc', ''); $key .= substr($key, 0, mcrypt_enc_get_key_size($td)); $block = mcrypt_get_block_size('tripledes', 'cbc'); $len = strlen($buffer); $padding = $block - ($len % $block); $buffer .= str_repeat(chr($padding),$padding); if (mcrypt_generic_init($td, $key, $iv) != -1){ $Result = mcrypt_generic($td, $buffer); mcrypt_generic_deinit($td); mcrypt_module_close($td); } echo $Result; this is the output of this php program: …زPy³fضt5OWہاKھہj³¬Lء³[;´n‡طê^uH ×Lں¸g‚اw~2ڈC cصôIْ7”ûG„pکج:®1ّس qغY‰zMْکل%`وً؛ءufˆ نT™INâè#!û½à©آ¼’ط2ظص•£ٌ8% Output from c# application is here(using PaddingMode.PKCS7 and other default settings): …زPy³fضt5OWہاKھہj³¬Lء³[;´n‡طê^uH ×Lں¸g‚اw~2ڈC cصôIْ7”ûG„pکج:®1ّس qغY‰zMْکل%`وً؛ءufˆ نT™INâè#!û½à©آ¼’ط2ظj¹¸n(V¯ë 2ث ¼ However they are like each other. But As you can see, the 16 last characters are different. I think there is a problem in $buffer .= str_repeat(*chr($padding)* ,$padding); Please help me. I'm going to deliver it tomorrow. Thanks for any help.
[PHP] Why Is the Zend debugger this too slow?
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 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
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 unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] smart auto download file
Hi thanks for your help jean I've used this code before. But I want a little different thing. I need to tell something to the user before starting download. something like Your download will begin in a moment... . So header couldn't help me. If I try to echo anything header doesn't work! On Tue, May 31, 2011 at 10:01 PM, jean-baptiste verrey jeanbaptiste.ver...@gmail.com wrote: it's made in JavaScript, by creating an iframe loading the file, but their downloader might use something like a php file to force download such as ?php $filePath='/var/wwwblablah.zip'; 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 aliasghar.tor...@gmail.com wrote: 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 unsubscribe, visit: http://www.php.net/unsub.php -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] login to protected directory by php
all files (web pages, pictures, and exe files) and folders in a directory should be protected against anonymous users. I create an application with php and mysql for registered users. when a user registers it's information will be saved in database and its username and password will be added to .htpass file. so registered users can reach protected area. But browser prompts login dialog, when users want to access this folder. How can I run login process with php. Thanks On Sat, Aug 14, 2010 at 4:23 PM, chris h chris...@gmail.com wrote: it sounds as if apache - or whatever your http server is - is not aware of your php script. All apache knows is that someone is trying to access a directory or file that is protected, it does not know that it should send that request to the php script for a login. What are the protected resources that you want a login for? 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 file is not in the protected realm. On Sat, Aug 14, 2010 at 3:26 AM, chris h chris...@gmail.com wrote: Based off what your saying my guess is that the request is not hitting your php script. Is the php script in the protected directory? If so what is it's file name and what url are you hitting for the test? Chris. On Fri, Aug 13, 2010 at 6:21 PM, Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com wrote: 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 directory, user authentication dialog appears. How can I do this? What is my error? -- Ali Asghar Torabi -- Ali Asghar Torabi -- Ali Asghar Torabi -- Ali Asghar Torabi
[PHP] login to protected directory by php
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 directory, user authentication dialog appears. How can I do this? What is my error? -- Ali Asghar Torabi
[PHP] protecting a directory by php mysql
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 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
Re: [PHP] Inconsistent json_decode() results
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 franc...@teksol.info: Hello all! We're seeing inconsistent json decoding between PHP versions: http://gist.github.com/390090 Calling json_decode() from 5.2.6 returns an associative array when asked, while 5.2.10 always returns a stdClass. Is this a bug or a problem with my calling convention? Thanks! François -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to Force IE to download text file?
attachment is correct syntax and solves the problem. Thanks On Fri, Apr 30, 2010 at 9:44 PM, Andre Polykanine an...@oire.org wrote: Hello Ali, It's attachment, not attachement. Maybe here's the reason? Just a thought. -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com To: php-general@lists.php.net php-general@lists.php.net Date: Friday, April 30, 2010, 7:19:38 PM Subject: [PHP] How to Force IE to download text file? 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? ?php Header(Content-disposition: attachement; filename=data.txt); Header(Content-type: text/plain); echo $some_data; ? -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to Force IE to download text file?
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? ?php Header(Content-disposition: attachement; filename=data.txt); Header(Content-type: text/plain); echo $some_data; ? -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two color rows in table inside while iteration
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 j...@rodriguezmonti.com.ar wrote: Hello Guys, I would like to implement a two color row table for some queries that I'm doing. I use PHP to query a DB, then I use while to print all its results. I have a code pretty similar to this one : $results = Here the QUERY; echo html; echo head; echo 'link rel=stylesheet type=text/css href=style.css /'; echo /head; echo body; echo 'div id=container'; echo centerh2Results/h2/centerbr /; echo (table border='1'); echo tdstrongAt1/strong/td tdstrongAt2/strong/td tdstrongAt3/strong/td $ while ($row = while condition )) { echo (tr); echo td$row[0]/tdtd$row[1]/td td$row[2]/td td$row[3]/tdtd$row[4]/td ; echo /div; echo /body; echo /html; I just want to show you how I write the table. What I would like to know is what do you suggest to do a two color row format. Thanks!, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two color rows in table inside while iteration
I agree with you. in this simple example we can use php but we may need table with extra functionality and only client side scripts are reasonable and applicable. we can create multi color and clickable rows by php but we'll have greater server load. anyway that was only an propose;-) On Wed, Apr 28, 2010 at 4:12 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: 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:59 PM, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: Hello Guys, I would like to implement a two color row table for some queries that I'm doing. I use PHP to query a DB, then I use while to print all its results. I have a code pretty similar to this one : $results = Here the QUERY; echo html; echo head; echo 'link rel=stylesheet type=text/css href=style.css /'; echo /head; echo body; echo 'div id=container'; echo centerh2Results/h2/centerbr /; echo (table border='1'); echo tdstrongAt1/strong/td tdstrongAt2/strong/td tdstrongAt3/strong/td $ while ($row = while condition )) { echo (tr); echo td$row[0]/tdtd$row[1]/td td$row[2]/td td$row[3]/tdtd$row[4]/td ; echo /div; echo /body; echo /html; I just want to show you how I write the table. What I would like to know is what do you suggest to do a two color row format. Thanks!, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Javascript is even less of a good idea, as it can be turned off and isn't available on all browsers. PHP doesn't rely on the clients browser, so is a safer bet. Thanks, Ash http://www.ashleysheridan.co.uk
[PHP] Zend debugger doesn't work
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 start Apache, I have a line in log file that says: Apache/2.2.14 (Win32) PHP/5.3.1 configured -- resuming normal operations And phpinfo() says nothing about debugger module! What do you think about this thing? I haven't seen any error, But there is no debug session! Should I wait for 5.3.x release of zend debugger? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best ajax library
On Sat, Dec 19, 2009 at 7:13 PM, tedd tedd.sperl...@gmail.com 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 * jQuery does not extend the elements that it works on, which means that JavaScript such as 'for(i in el){...}' will still work * jQuery's CSS selector engine, Sizzle, is arguably the most complete and the quickest available reffer to jquery with php by Kae Verens thanks for your helps frinds Additional consideration. There are at least two books published re jQuery, which makes it very widespread and well documented. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I agree with you. jQuery1.3 with Php http://www.packtpub.com/jquery-1-3-with-php/book is the best book I have seen so far. it is a good start point for Php developers who want to learn jQuery.
Re: [PHP] Best ajax library
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 • jQuery does not extend the elements that it works on, which means that JavaScript such as 'for(i in el){...}' will still work • jQuery's CSS selector engine, Sizzle, is arguably the most complete and the quickest available reffer to jquery with php by Kae Verens thanks for your helps frinds On Tue, Dec 15, 2009 at 6:49 PM, Philip Thompson philthath...@gmail.comwrote: 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, in future? On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson philthath...@gmail.com wrote: On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote: 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? I really like this js library. http://mootools.net/ It's based off of jquery or prototype... I can't remember. ~Philip JQuery and Mootools are two very different approaches of creating a JavaScript framework. Both shine in different ways. I use JQuery when I want to get things done quickly (using the Yii framework or on custom projects). I use mootols when I develop Joomla! Extensions and it's amazing. Which is more suitable boils down to what your project needs. I'm messing around with Ext at the moment and it's really nice too! The ultimate answer to your question is; it depends. Along those lines of it depends... to my knowledge, most of the larger/more popular js frameworks consider other libraries when being developed. Meaning, the chances of a naming conflict are lowered. Not that I recommend it, but it does allow for using multiple libraries for a single project - that's another thread. I can't speak for the other libraries, but I know that MooTools is constantly being updated and improved. I doubt that it will be leaving anytime soon. Check out some extended functionality of MooTools... Clientcide. It's created by the same author of MooTools to work with it. http://www.clientcide.com/ ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best ajax library
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 philthath...@gmail.com wrote: On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote: 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? I really like this js library. http://mootools.net/ It's based off of jquery or prototype... I can't remember. ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best ajax library
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 ang...@zlogic.co.za wrote: On Sat, 2009-12-12 at 15:34 +0330, shahrzad khorrami wrote: salam ;) JQuery is good one. Yes I agree with JQuery but you also get JQuery UI (user interface). You can also check out extjs.com. good luck. Angelo http://www.elemental.co.za http://www.wapit.co.za JQuery is good for client-side, did you want something for the server? Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Best ajax library
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] Best ajax library
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 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sat, 2009-12-12 at 15:34 +0330, shahrzad khorrami wrote: salam ;) JQuery is good one. JQuery is good for client-side, did you want something for the server? Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] Can I get the IP address from a visitor?
It is very simple: $ip=$_SERVER['REMOTE_ADDR']; On Tue, Dec 1, 2009 at 1:47 PM, Lester Caine les...@lsces.co.uk 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 php script page on my domain. This page would contain a form in which the visitor would state his/her message. My goal is to create purchase-orders written on unique files, and to separate them my idea was to baptize files with the IP addresses, which would ive each visitor an unique purchase-order... Any hints to a newbie? http://uk3.php.net/manual/en/reserved.variables.server.php 'REMOTE_ADDR' But don't rely on it to be the same each time for a customer. If they are on a shared connection then the ISP may give them a different IP each time they access the internet. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to create a web application like igoogle?
Hi. thanks for your reply. I learned php and I have created several web application before. But all i ever do, is creating php files with one html form an some php tags that manipulate data and sends it to a database or another web page (or to itself). Now i like try building a web pages that have several widgets, gadgets or anything. Therefore i make a web page like a portal that each segments work independently of each other, something like home page of gmail or in igoogle or anything. I examined HTML frames in a project, recently. But, indeed it wasn't a thing that i looking for. Because 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 a...@ashleysheridan.co.ukwrote: On Fri, 2009-11-20 at 23:15 +0330, Ali Asghar Toraby Parizy wrote: 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? Wow! Well, first what is it you want to do? Make another iGoogle or Gmail, as they are both pretty different beasts. One is a page of 'gadgets' as you call them, the other is a web-based email application. I'm guessing from your post that PHP is new to you. First then, I guess you need to decide on where are you getting the gadget parts from? If you can find things online that you can embed as Flash apps or iframes, then you probably won't need PHP at all. If you are planning on building them yourself, then you really will need to learn PHP. There is no magic solution to this question I'm afraid, and the scope of it is pretty huge, so you need to think about the parts that make it up and tackle each one. Thanks, Ash http://www.ashleysheridan.co.uk
[PHP] How to create a web application like igoogle?
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?
[PHP] Hash function
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. 002314EFD000544AB05345300045675609782123C3254B312123D12312EE13123F123D123123EEE000E000E000EE i want to create a function that mix together this request code with user name that user entered and create new serial number. What implications i have to satisfy to create such hash function in php? Thanks for any suggestion
[PHP] Paypal transaction
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
Re: [PHP] Hash function
Ok, thanks but how can i create serial number that nobody can guess it. for example when i use sha1() every body can examine it too! and so they can create it themselves! what strategy is useful to protect license? I think it is better to add a specific hidden string to request code, instead of 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 s...@network-technologies.orgwrote: 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 user name request codes are strings like this: They are literally HEX codes of MAC mac addresses. 002314EFD000544AB05345300045675609782123C3254B312123D12312EE13123F123D123123EEE000E000E000EE i want to create a function that mix together this request code with user name that user entered and create new serial number. What implications i have to satisfy to create such hash function in php? Thanks for any suggestion How about using sha1 to hash your string. If the data is unique then the hash will be unique as well. $string = $request_code.$user_name; $hash = sha1($string); -- John Jeder hat soviel Recht, wie er Macht hat. [Spinoza] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?
On Mon, Nov 9, 2009 at 7:58 PM, Martin Scotta martinsco...@gmail.comwrote: On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl ak...@telkomsa.net 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 and Xdebug? Or other debugger recommendations besides Zend? PHP List, I won't go into a big rant about Zend, and instead simply say that while I was using Zend Studio to debug PHP pages since version 5.0. I was never really all that happy with it. It seemed to be the most complete debugging environment for PHP, so I put up with it. I will say that the Studio installation procedure has got better, but setting up a reliable debugging server has not. Now, the current version of Zend Studio (7.0) is based on Eclipse (I think since v6.0), and so I'm just not sure what I'm paying for anymore. Aptana Studio, also based on Eclipse has pretty much the exact same interface and can even connect to a Zend server. Since one of those is free, I can't see why I wouldn't switch. The issue for me is that paying for Zend hasn't really saved me much hassle, so even if Aptana has difficulties, at least they are free difficulties. The main failing point, so far as I can see, of Aptana/Xdebug, is a lack of good, clear, documentation (also note that Zend doesn't have great documentation either). Especially on how to set it up. I was wondering if anyone has used it and could provide a link or instructions on how to get the debugging environment up and running. Or, equally as valuable, would be recommendations on other debugging environments. The key is finding one that has a clear set of instructions for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.) Thanks for any advice. Dave M G -- Dave, take a look at PhpED from Nusphere. I've used the Windows version very happily for the last 6 years. There is a Linux version but I haven't tried it so can't comment - from the forum I gather that most users use the Windows version. Debugging in PhpED is brilliant, but so is the rest of the IDE. I also looked at Zend Studio every now and then over the last few years to see how it was progressing, but wasn't that impressed. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why anyone needs to buy a IDE for develop PHP code? You can use any text editor. I use SciTE. It is free and open source. It does not provide any tool of any kind. It just allow me to write code, and that's all I need. Also there are a lot of tools for development. And IDE is just a fat text editor with lot of tools on it, and in some cases it can make your development slower. You can improve your development with a set of lightweight tools, this is the linux style. -- Martin Scotta What do you think IDE is? Do you think you can build a real commercial application without debugging and project management tools?