Re: [PHP] php accelorator

2010-06-01 Thread Sudheer Satyanarayana
On 06/02/2010 12:35 AM, Dan Joseph wrote: Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? APC opcode caching works well. -- With warm regards, Sudheer. S Tech stuff: http://techchorus.net Business:

Re: [PHP] Happy New Year

2009-12-31 Thread Sudheer Satyanarayana
May 2010 2009. Fortunately, I think that's automatically true by definition :-D James Humorous. -- With warm regards, Sudheer. S Tech stuff: http://techchorus.net Business: http://binaryvibes.co.in -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP and XML

2009-11-22 Thread Sudheer Satyanarayana
What do you recommend me to produce XML from those news of the SQL database?. What do you suggest to output XML from the existing content to then put those XML files into Flash. The posted news are saved in a MySQL database. I don't know if do I need to output from PHP then parse the output

Re: [PHP] Re: Need suggestions on PHP frameworks

2009-11-12 Thread Sudheer Satyanarayana
I doubt you'll get a reasoned bunch of suggestions, more a religious war... :-) Still, I like PEAR components. Exactly. You have to visit the websites of frameworks, comparison articles, etc and find out for yourself which one suits you best. Currently, if I get to decide, I choose ZF

Re: [PHP] Web Service Server in PHP

2009-10-22 Thread Sudheer Satyanarayana
On Thursday 22 October 2009 06:56 AM, Daniel Echalar wrote: Hi, Does anybody knows a web services server based on PHP? The only one a see is Nusoap, but even for this one i can't find the webpage to see the documentation. by the way, i'm trying to develop an application using web services in

Re: [PHP] PHPlot patch

2009-09-24 Thread Sudheer Satyanarayana
On Thursday 24 September 2009 03:33 PM, Chandana wrote: Hi, I was using Phplot for a project of mine and I had to do some modifications in the phplot.php code to show the data values at the peaks of the graph. I would like to commit the modification code to the phplot repository so that others

Re: [PHP] htaccess question

2009-09-11 Thread Sudheer Satyanarayana
Is there a way I can use a htaccess directive to require a php script to be included within each file contained within that directory? For example, let's say I have a directory with 100 scripts in it, but I want each script within that directory to pass through an authorization script

Re: [PHP] How to download and configure php mvc website locally

2009-08-20 Thread Sudheer Satyanarayana
Sumit Sharma wrote: Hi, Please help as I have downloaded a php website for my client which is developed using model view controller pattern. Now when I am accessing this site locally it is not showing any thing. Please tell me the what's the problem Thanks, Sumit Sharma It should at

Re: [PHP] Cannot exec in my own directory

2009-08-16 Thread Sudheer Satyanarayana
Dotan Cohen wrote: I have a script in /home/username/script.sh with permissions 777. I can SSH into the server and execute ./script.sh to run the script, but calling it from exec in PHP does not run it. What should I start checking? Thanks. Check the include path. Try using the complete

Re: [PHP] ZCE question - duplicate object

2009-08-12 Thread Sudheer Satyanarayana
Augusto Flavio wrote: HI everyone, i'm studying for the zce exam and i found a blog that try to answer some questions covered in the exam. I found one that i do not agree. Question: What is wrong with the following code? function duplicate($obj) { $newObj = $obj; return $newObj; } $a = new

Re: [PHP] Re: Question: what are frameworks?

2009-08-09 Thread Sudheer Satyanarayana
Michael A. Peters wrote: Ralph Deffke wrote: good question !! I think the word framework is modern fashion term in the first case. in former days we used to say library C comes with a standard library, in modern words C comes with a standard framework. I use my own framework, means I reuse my

Re: [PHP] Re: best way to properly build an include path *regardless* from where I am calling the include?

2009-07-06 Thread Sudheer Satyanarayana
Govinda wrote: On Jul 5, 2009, at 2:33 PM, Govinda wrote: I am confusing myself reading the docs just now. i.e.: include_path basename() and dirname() I had thought from many months ago that ?php include '/somedir/somefile.php'; ? would include somefile.php living in somedir regardless from

Re: [PHP] Calendar

2009-06-19 Thread Sudheer Satyanarayana
salmarayan wrote: Does Any body please have the code of A Java Script Calendar that works with a PHP Html Form.. if yes can you please send it as i have one but does not work that Efficiently. Thanks in advance This might help if you are looking for a date picker

Re: [PHP] Preventing XSS Attacks

2009-06-10 Thread Sudheer Satyanarayana
I've been doing a bit of reading, and I can't really understand why XSS is such an issue. Sure, if a user can insert a script tag, what difference will that make to anyone else, as it is only on their own browser. 1. User 1 logs on to the application. Fills up the form with malicious JS

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Sudheer Satyanarayana
Richard was likely suggestion his mail example as listed in his signature Other options include phpmailer pear's mime mail various other classes available www.phpclasses.org Fernando, I recommend you check out the various PHP frameworks out there. Instead of randomly searching for

Re: [PHP] Preventing XSS Attacks

2009-06-10 Thread Sudheer Satyanarayana
Ashley Sheridan wrote: On Wed, 2009-06-10 at 23:05 +0530, Sudheer Satyanarayana wrote: I've been doing a bit of reading, and I can't really understand why XSS is such an issue. Sure, if a user can insert a script tag, what difference will that make to anyone else, as it is only on their own

Re: [PHP] Newbie - Setting Up Some Basic Sendmail Scripts

2009-05-05 Thread Sudheer Satyanarayana
And got this code below going, but I'll bet I need a bit more - like adding authentication - smtp - port - sending user / pass etc. Any hints how to get this to the next level? Hi Dave, As others have said, it is convenient to use a library/framework to send mails from your PHP script

Re: [PHP] Change color of anything in double/single quotes

2009-04-26 Thread Sudheer Satyanarayana
Robert Cummings wrote: I was about to say the same thing *lol*. tis true though, the class should be doubleQuoted or something similar. What happens when they decide it should be blue? Aren't CSS class names supposed to be in lower case? I would go with something like double_quoted.

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Sudheer Satyanarayana
Manoj Singh wrote: Hi Guys, I am creating a page which submits the form through Ajax request the submitted page is sending the mails to n number of users. Now until the mail sends or the page process completed the end user has to wait. Is it possible that server sends the response to the

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Sudheer Satyanarayana
Manoj Singh wrote: Hi Sudheer, Can you please put more focus or sample code for the second option which you have suggested Send the email after you flush the output.. ?php //Code to send some output to user ... ... ... echo Email will be sent to you shortly; //Time to send email //Send all

Re: [PHP] Re: PHP includes

2009-03-09 Thread Sudheer Satyanarayana
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

Re: [PHP] PHP includes

2009-03-08 Thread Sudheer Satyanarayana
Gary wrote: I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My particular

Re: [PHP] Performance of PHP

2007-11-06 Thread Sudheer Satyanarayana
Merlin wrote: Hi there, I am doing some image cropping of about 40.000 files with php. To do this I wrote a PHP file that does what I want and I did disable the timeout so I can call it via webbrowser and fire the script. There are two down sides I see: 1. One image takes about 0.25 s, so the

Re: [PHP] Generating HTML table from MySQL table based on some criteria

2007-11-03 Thread Sudheer Satyanarayana
containing 5 cells. Each table cell should contain one user picture. How can I do this? PS: The DB column names are slightly different than I mentioned in my previous message. Wolf Sudheer Satyanarayana [EMAIL PROTECTED] wrote: Hello, I have a MySQL table with four columns - userid

[PHP] Generating HTML table from MySQL table based on some criteria

2007-11-01 Thread Sudheer Satyanarayana
Hello, I have a MySQL table with four columns - userid, created_date, username and path_to_picture. path_to_picture column contains the path to the image files of those users who have uploaded pictures. An example path stored in path_to_picture column is picture/username.png. There are

Re: [PHP] php on irc

2007-10-05 Thread Sudheer Satyanarayana
Hi Slith, #php on irc.freenode.net is a nice PHP channel Slith wrote: i was just wondering if there is an irc channel for php? -- With Warm Regards, Sudheer. S http://www.binaryvibes.co.in -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Public Announcement

2007-09-11 Thread Sudheer Satyanarayana
I'm still waiting for the URL where I can see the product in action. Aleksandar Vojnovic wrote: Hahaha oh wow. -Xander Stut wrote: Sascha Braun - CEO @ Braun Networks wrote: hi stut, thank you for your advices. Ok, just so it's perfectly clear to you... I'm taking the piss. Still,

[PHP] Single Sign On

2007-06-03 Thread Sudheer Satyanarayana
Hi, We have three web sites a) example1.com b) example2.com c) my.example2.com Our sites include exclusive pages for registered users. All user account management tasks are handled by my.example2.com including registration, modification, cancellation, etc. We would like to create a single