php-general Digest 6 Apr 2009 01:08:26 -0000 Issue 6051

2009-04-05 Thread php-general-digest-help
php-general Digest 6 Apr 2009 01:08:26 - Issue 6051 Topics (messages 291088 through 291106): Re: AJAX with POST 291088 by: Phpster Re: Possible Server Infection? 291089 by: Phpster 291096 by: Marc Christopher Hall Re: I'm new 291090 by: Ashley Sheridan

Re: [PHP] RE: AJAX with POST

2009-04-05 Thread Bruno Fajardo
Ajax is asynchronous. The option of asynchronous or synchronous can be set in the XMLHTTPRequest object (used by Ajax), but a synchronous call is not Ajax. Cheers, Bruno. 2009/4/5 Phpster phps...@gmail.com Ajax can be both async and sync. Itsbthe fourth param in the open call and I believe by

Re: [PHP] I'm new

2009-04-05 Thread Raymond Irving
Hello, You can try using WAMP or XAMPP: http://www.apachefriends.org/en/xampp.html http://www.wampserver.com/ WAMP is very easy to install but only works on windows __ Raymond Irving Create Rich Ajax/PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ --- On Sat, 4/4/09, ®0L¥

Re: [PHP] RE: AJAX with POST

2009-04-05 Thread Phpster
On Apr 4, 2009, at 21:33, Skip Evans s...@bigskypenguin.com wrote: But my function using GET does seem to wait. Granted I cobbled it together from various samples and didn't author it from my own deep understanding of the exact process, but here's the snippet that does the real work.

Re: [PHP] Possible Server Infection?

2009-04-05 Thread Phpster
On Apr 4, 2009, at 21:51, TG tg-...@gryffyndevelopment.com wrote: Had to deal with a rogue PHP based backdoor situation recently. Two remote management scripts were installed somehow that would allow you to do something like what you describe. You probably want to download a fresh copy of

RE: [PHP] I'm new

2009-04-05 Thread Ashley Sheridan
On Sat, 2009-04-04 at 18:29 -0400, Andrés Robinet wrote: -Original Message- From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On Behalf Of 9el Sent: Sábado, 04 de Abril de 2009 12:52 p.m. To: Andrés Robinet; php-general@lists.php.net Subject: Re: [PHP] I'm new

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread hessiess
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote: I have bean trying to right a PHP script to generate XHTML code from the class documentation xml files created by Doxygen(the HTML it outputs is invalid, messy and virtually imposable to integrate into another web page). One thing

Re: [PHP] I'm new

2009-04-05 Thread Ashley Sheridan
On Sun, 2009-04-05 at 08:24 -0700, ®0L¥ wrote: hello thank you so much, I will try with wampserver, this software has apache php and mysqlo ?? everything ?? and later I can, programate in my page a search bar for my web, a login and password for customers and when the customers enter your zip

[PHP] Newibie: fetch Obj question - data not showing.

2009-04-05 Thread MEM
Hello, 1) Ok, with mysqli, to fetch data from a database to a select drop down list, we would do something like this right? : ?php $result = $mysqli-query(SELECT id_cliente, nome_cliente FROM cliente); echo select id='listacliente' name='listacliente'; while($row =

Re: [PHP] Newibie: fetch Obj question - data not showing.

2009-04-05 Thread 9el
On Sun, Apr 5, 2009 at 10:08 PM, MEM tal...@gmail.com wrote: Hello, 1) Ok, with mysqli, to fetch data from a database to a select drop down list, we would do something like this right? : ?php $result = $mysqli-query(SELECT id_cliente, nome_cliente FROM cliente); echo select

Re: [PHP] I'm new

2009-04-05 Thread Michael A. Peters
Ashley Sheridan wrote: also, it's best to reply back to the list, as your questions might help others, and it's always good to have as much feedback as you can from everyone on the list! I think this may be the only major list I'm on that does not default reply to the list. It's rather

RE: [PHP] Possible Server Infection?

2009-04-05 Thread Marc Christopher Hall
I recommend switching to Hostgator for your ded and ask them for their custom modsec. I'm not affiliated with them except that I am a customer and have been for 6 years. I do bring this up because you stated that they do not know which if true tells me that do not know how to do even the smallest

RE: [PHP] Newibie: fetch Obj question - data not showing.

2009-04-05 Thread MEM
why did you forget to use the debugging functions : print_r() and var_dump() for the results? So, you'll get some idea beforehand of posting the problem here. I am looking at the code in a hurry so I cant help you much right away. Lenin http://www.twitter.com/nine_L www.twitter.com/nine_L

Re: [PHP] Newibie: fetch Obj question - data not showing.

2009-04-05 Thread 9el
Because I’ve never debug on my entire life of programming (2 months). :D In the meanwhile, I will search how to debug using print_r and var_dump. ROFL ha hahaha echo 'pre', print_r($array),'/pre'; // here pre is used to keep the way its outputed in HTML echo 'pre',

[PHP] Too many open files

2009-04-05 Thread Larry Garfield
I've a site on a shared host that is for the most part working well. However, more recently I've started getting the following error: failed to open stream: Too many open files in system in filename on line blah. When it happens it will happen to everyone for a short period, and then stop.

Re: [PHP] Too many open files

2009-04-05 Thread Daniel Brown
On Sun, Apr 5, 2009 at 12:57, Larry Garfield la...@garfieldtech.com wrote: I know PHP has a max-files-open limit somewhere.  Is that per process, per user, or per server?  Is this even something I can address myself in my app, or does it indicate that the server itself is getting over-busy and

RE: [PHP] Newibie: fetch Obj question - data not showing.

2009-04-05 Thread MEM
On Behalf Of 9el On Sun, Apr 5, 2009 at 10:08 PM, MEM mailto:tal...@gmail.com tal...@gmail.com wrote: Hello, 1) Ok, with mysqli, to fetch data from a database to a select drop down list, we would do something like this right? : ?php $result = $mysqli-query(SELECT id_cliente, nome_cliente

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread Andrew Williams
I HAVE THE SAME PROBLEM, PLEASE HOW HAVE YOU DONE IT On Sun, Apr 5, 2009 at 4:08 PM, hessi...@hessiess.com wrote: On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote: I have bean trying to right a PHP script to generate XHTML code from the class documentation xml files created by

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread hessiess
I HAVE THE SAME PROBLEM, PLEASE HOW HAVE YOU DONE IT On Sun, Apr 5, 2009 at 4:08 PM, hessi...@hessiess.com wrote: On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote: I have bean trying to right a PHP script to generate XHTML code from the class documentation xml files created

[PHP] phpMyAdmin, suhosin, proper solutions

2009-04-05 Thread Michael A. Peters
Hi - my phpMyAdmin and suhosin are not playing nice. The reality is that I'm only using phpMyAdmin for stuff I haven't yet written an admin interface to in my app, to avoid having to log in via ssh to change stuff. But I'll probably keep phpMyAdmin around anyway. Yes, I read the documentation

Re: [PHP] phpMyAdmin, suhosin, proper solutions

2009-04-05 Thread Chris
Yes, I read the documentation on how to make them play nice, and to me it is unacceptable to change suhosin settings intended to protect my users and my site from a malicious user so that I can use a web app that is not open to the public. No idea what the problems are (couldn't find a list

Re: [PHP] phpMyAdmin, suhosin, proper solutions

2009-04-05 Thread Michael A. Peters
Chris wrote: Yes, I read the documentation on how to make them play nice, and to me it is unacceptable to change suhosin settings intended to protect my users and my site from a malicious user so that I can use a web app that is not open to the public. No idea what the problems are (couldn't

[PHP] [solved] Re: [PHP] phpMyAdmin, suhosin, proper solutions

2009-04-05 Thread Michael A. Peters
Michael A. Peters wrote: Chris wrote: Yes, I read the documentation on how to make them play nice, and to me it is unacceptable to change suhosin settings intended to protect my users and my site from a malicious user so that I can use a web app that is not open to the public. No idea what

[PHP] PHP bandwidth control

2009-04-05 Thread JD
Hello, I am relatively new to PHP and am trying to make a video/image sharing site for my family to upload and share family videos and pictures. My concern is that because I'm hosting this site at my house, I will quickly exceed my bandwidth limitations each month if all the family members I

Re: [PHP] PHP bandwidth control

2009-04-05 Thread Paul M Foster
On Mon, Apr 06, 2009 at 03:58:45AM +, JD wrote: Hello, I am relatively new to PHP and am trying to make a video/image sharing site for my family to upload and share family videos and pictures. My concern is that because I'm hosting this site at my house, I will quickly exceed my

Re: [PHP] PHP bandwidth control

2009-04-05 Thread 9el
On Mon, Apr 6, 2009 at 10:09 AM, Paul M Foster pa...@quillandmouse.comwrote: On Mon, Apr 06, 2009 at 03:58:45AM +, JD wrote: Hello, I am relatively new to PHP and am trying to make a video/image sharing site for my family to upload and share family videos and pictures. My concern is