Re: [PHP] cURL Download

2009-04-17 Thread Yannick Mortier
2009/4/17 Robbert van Andel robb...@vafam.com: I've been struggling to download a file from a network file share using cURL, or whatever else will work.   All I want to do is get the contents of a text file.  But when I run the code below I get this error Error: 37 - Couldn't open file

Re: [PHP] Nagios Monitoring

2009-04-13 Thread Yannick Mortier
2009/4/13 Waynn Lue waynn...@gmail.com: Hey guys, I'm looking to write a nagios plugin that essentially monitors whether or not a database query returns a value 0 at any given point.  I was hoping to write this in PHP, but I haven't found too many examples of Nagios plugins in PHP (

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Yannick Mortier
2009/4/10 Marcus Gnaß gona...@gmx.de: Paul M Foster wrote: On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConnell wrote: From: Paul M Foster Here's a hairbrained idea I was kicking around. I object to the idea of including 15 or 30 files in a PHP application just to display one

Re: [PHP] codeigniter 'secure, non-secure content' pop up message in IE7

2009-04-09 Thread Yannick Mortier
2009/4/9 9el le...@phpxperts.net: -- Forwarded message -- From: Sabrina Akter lizzeel...@gmail.com Date: Thu, Apr 9, 2009 at 1:12 AM Subject: codeigniter 'secure, non-secure content' pop up message in IE7 To: phpexpe...@yahoogroups.com Hello Experts, I badly need your

Re: [PHP] Am I being hacked?

2009-04-08 Thread Yannick Mortier
2009/4/8 9el le...@phpxperts.net: On Wed, Apr 8, 2009 at 8:04 PM, Bob McConnell r...@cbord.com wrote: On Behalf Of Richard Heyes I set up a simple form to save comments on my webpage, and after just one day of going live, i'm getting weird comments up like this declare @q varchar(8000)

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Yannick Mortier
2009/4/7 Chris dmag...@gmail.com: I guess there are multiple ways to engage this problem. It depends how deep you want to log the traffic. If you just want to count the traffic of each image, video etc you could just wrap up each image and video to go through php first with

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Yannick Mortier
2009/4/7 Chris dmag...@gmail.com: I guess there are multiple ways to engage this problem. It depends how deep you want to log the traffic. If you just want to count the traffic of each image, video etc you could just wrap up each image and video to go through php first with

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Yannick Mortier
2009/4/7 Phpster phps...@gmail.com: Misk.com is also good at $10/ yep Bastien Sent from my iPod Come on now, please. JD clearly said he wants to do this at home to learn something by doing it. I can understand that very well. Giving answers nobody asked for is like posing questions nobody

Re: [PHP] Best Practices for Hiding Errors

2009-04-07 Thread Yannick Mortier
2009/4/7 Chris dmag...@gmail.com: Igor Escobar wrote: Becarefull, error supression is slow. If it's the only way to stop an error from showing up, what's the problem? php will still generate the warning/notice even if display_errors is disabled - which will be even slower. Plus I never

Re: [PHP] PHP bandwidth control

2009-04-06 Thread Yannick Mortier
2009/4/6 JD danceintherai...@netzero.com: 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

Re: [PHP] Execute EXE with variables

2009-02-18 Thread Yannick Mortier
2009/2/13 Dan Shirah mrsqua...@gmail.com: Use the system() command, and enclose both your command and its parameters in a pair of single quotes, as: system('mycmd -a alfa -b bravo'); Paul -- Paul M. Foster Using both exec() and system() I am getting the error: Unable to fork This

Re: [PHP] Re: Looking for some PHP OO programming guides

2009-02-11 Thread Yannick Mortier
2009/2/11 German Geek geek...@gmail.com: I try to avoid nesting loops altogether if possible. Usually dont go beyond 3 levels of nesting... How can you require 8 levels of nesting? surely there must be something wrong or a more efficient algorithm... No! It's just that you can't think in 8

Re: [PHP] PHP OOP

2009-02-09 Thread Yannick Mortier
2009/2/9 tedd t...@sperling.com: Hi gang: At the college where I teach, they are considering teaching OOP, but they don't want to settle on a specific language. I guess that is not a good idea, you should really combine it with a language, as some students will be curious enough to play

Re: [PHP] Email configuration

2009-02-06 Thread Yannick Mortier
2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it

Re: [PHP] File Manager

2009-02-05 Thread Yannick Mortier
2009/2/5 Sn!per sni...@home.net.my: What would you guys recommend as a good and free opensource file management system? TIA. -- Sign Up for free Email at http://ureg.home.net.my/ I haven't use any up to now. But a quick google search turned out decent results:

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but

Re: [PHP] php rpm

2009-02-04 Thread Yannick Mortier
Can you tell us what distribution you have? Some distributions already deliver PHP rpms and you just have to install additional modules. Mostly they are called php(4|5)-(extensionname). For example php5-mssql or php4-bc. Try to look into your package manager or tell us what distro you have so I

Re: [PHP] php rpm

2009-02-04 Thread Yannick Mortier
2009/2/4 ad...@buskirkgraphics.com: Wow I am so sorry did not mean to be so vague about my installation. RHEL 5.3 The distro that comes with it is 5.1.6 The bad part is the Redhat does not offer an uptodate disto of php. So i am compiling from source. I cant find much information on the

Re: [PHP] Clarity needed

2009-02-04 Thread Yannick Mortier
2009/2/4 tedd t...@sperling.com: Hi gang: I need some fog removed. I have a problem where I have an unlimited number of tutors teaching an unlimited number of courses. When I call upon a tutor, I want to see all the courses they teach. In my old days, I would just set up a linked list of

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-02-01 Thread Yannick Mortier
2009/1/30 Nitsan Bin-Nun nit...@binnun.co.il: Do you close your PHP ?php tags? No, I don't. The reason is that I use subversion and I always get a message when I don't leave the last line empty. So I kind of have to leave the ?php Tag opened. I once read that this is even recommended by the PHP

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-02-01 Thread Yannick Mortier
2009/2/2 Alpár Török torokal...@gmail.com: 2009/2/1 Yannick Mortier mvmort...@googlemail.com I once read that this is even recommended by the PHP developers... Has anyone got a quote for me about this? I know thw ZF codinf style includes it as a must. See here : http

[PHP] Problem with Regexp

2005-10-31 Thread Yannick Mortier
) [6] = Array ( [0] = 99 ) [8] = Array ( [0] = 53,156,556 ) Instead of the values above. Can you explain me how I can get those values? Yannick Mortier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Problem with Regexp

2005-10-31 Thread Yannick Mortier
Richard Heyes schrieb: Yannick Mortier wrote: Hello, I have the string: trtdimg src=http://www.runescape.com/img/hiscores/attack.gif; valign=bottom width=16 height=16 //tdtdnbsp;/tdtda href=hiscoreuser.cgi?username=zezimacategory=1 class=cAttack/a/tdtd align=right4/tdtd align=right99