[PHP] Re: RE: safe_mode + move_upload_file

2006-02-15 Thread fjug
Le Tue, 14 Feb 2006 09:47:23 +1100, Chris a écrit : > move_uploaded_file is "safe-mode aware" - it doesn't care whether > safe-mode is on or off. > You can only use move_uploaded_file like: > move_uploaded_file($_FILE['blah']['tmp_name'], $destination); > Check that your destination directory i

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Curt Zirzow wrote: On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote: Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain variable is '1', the first download is selected, if it's '2', the

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
J_K9 wrote: Curt Zirzow wrote: On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote: Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain variable is '1', the first download is selected, if

[PHP] php errors ? help please ...

2006-02-15 Thread Mehmet Fatih AKBULUT
hi all, i get these errors when trying to run horde: Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Perms.php on line 341 Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Auth.php on line 1168 Warning: Cann

[PHP] Re: php errors ? help please ...

2006-02-15 Thread Barry
Mehmet Fatih AKBULUT wrote: hi all, i get these errors when trying to run horde: Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Perms.php on line 341 Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Auth.

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry wrote: J_K9 wrote: Curt Zirzow wrote: On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote: Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain variable is '1', the first download

Re: [PHP] Class/functions question

2006-02-15 Thread Jochem Maas
Paul Goepfert wrote: Does anyone know where I can find the error log? I am using php on a http://www.google.com/search?q=where+is+apache+error+log webserver and the only log I found was a connection log in the logs dir on my webserver. something like: /var/log/apache/error_log /var/log/ht

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry Krein wrote: J_K9 wrote: Barry wrote: J_K9 wrote: Curt Zirzow wrote: On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote: Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
J_K9 wrote: This is what I used: As you can see, there is no output before the headers are set. In fact, the error say that the headers were set on line 6, which is can this be? Is there something I need to turn off like default headers? Thanks, J_K9 What is before line 6? Bec

[PHP] how to build custom/private pear packages

2006-02-15 Thread Jochem Maas
hi people, I have been thinking about how I rollout some of my code (stuff that gets reused alot) and I thought it would be nice if I could have basic functionality available for my projects via a custom pear package server (referred to as a 'pear channel'??) - so what I would like to figure out

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry wrote: J_K9 wrote: This is what I used: As you can see, there is no output before the headers are set. In fact, the error say that the headers were set on line 6, which is default headers? Thanks, J_K9 What is before line 6? Because the Lines 1-10: Downloads

[PHP] Onclick event and PHP function

2006-02-15 Thread Alain Roger
Hi, I have some link on which if user click, should do the following things: - open a particular page - setup to sessions some particular variable value however, PHP function should be declared before HTML headers. so i was thinking about something like that ... ">english ">french ... but

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
J_K9 wrote: Barry wrote: J_K9 wrote: This is what I used: As you can see, there is no output before the headers are set. In fact, the error say that the headers were set on line 6, which is default headers? Thanks, J_K9 What is before line 6? Because the Lines 1-10: --

Re: [PHP] web database template

2006-02-15 Thread Angelo Zanetti
reiner wrote: Hello friend I am new in PHP and Mysql a have a good background in sql server I need to create a mysql database but I am new in web application so can you help me to find a database template in mysql? I do not have to much time. Kind regards Reiner what is a datbase template

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Lines 1-10: Downloads Exactly! HTML "is" output ya know? Well, technically that isn't text output - it's only setting a title... ;) Anyway, I moved the PHP to the top of the file (ie. before the HTML), but now I'm getting a 500 Internal error... Here's the full code I'm using:

Re: [PHP] Regular expression

2006-02-15 Thread Robin Vickery
On 2/14/06, Patrick <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to validate a password, but havent figured out the pattern for > it yet. > The password must contain atleast 6 characters > a-zA-Z0-9_ > must start with a > a-zA-Z > and must have atleast one of the following characters > !#%&$£

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Stut
J_K9 wrote: Well, technically that isn't text output - it's only setting a title... ;) 'Technically' anything that gets sent to the browser is output. Why are you trying to set a title when you are sending a binary file? An HTML title is only relevant if you're returning HTML to the client.

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
J_K9 wrote: Well, technically that isn't text output - it's only setting a title... ;) Technically: PHP is server sided, so anything that is sended to browser like HTML output is output. Any output in text format sended to the browser (HTML headers and such) will be recognized as normal outpu

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Richard Collyer
Hello, Your getting confused between server side and client side. PHP CANNOT be run on the client side which is what Javascript is. In this case all you are doing is calling that php function twice one for eng and once for fre. Instead try using mydomain.com/setlang?=eng as a link which calls v

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry wrote: Technically: PHP is server sided, so anything that is sended to browser like HTML output is output. Any output in text format sended to the browser (HTML headers and such) will be recognized as normal output. The header you set with header() is a HTTP header not HTML header. that

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Duncan Hill
On Wednesday 15 February 2006 11:05, J_K9 wrote: > Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] make test failures

2006-02-15 Thread Jochem Maas
Chris wrote: I'm recompiling php 5.1.2 on an up-to-date fedora core 4 system and pretty much every test is failing when I run 'make test'. I figure it's a server issue but I have no idea where to start looking. make test asks you do you want to send a mail, answer yes I thought someone

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Duncan Hill wrote: On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? I would, but I can't find it. I thought it was under /var/log, but having taken a good look I just c

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Duncan Hill
On Wednesday 15 February 2006 11:35, J_K9 wrote: > Duncan Hill wrote: > > On Wednesday 15 February 2006 11:05, J_K9 wrote: > >> Here's the exact 500 error I'm getting: > > > > Standard Apache error. Look in your error log for more details like it > > suggests? > > I would, but I can't find it. I t

RE: [PHP] Problem with php.ini and include_path

2006-02-15 Thread George Pitcher
Richard, et al, I tried your suggestion of the .htaccess file but that didn't do anything. I'm using Webmin to administer the linux box and the Apache server configs has a PHP module and that allowed me to set a directory level include_path. Problem solved. Now onwards towards configuring pear.

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Duncan Hill wrote: On Wednesday 15 February 2006 11:35, J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? I would, but I can't find it. I th

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:35, J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? I would, but I

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry wrote: J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:35, J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests?

[PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Olaf Greve
Hi guys, Alright, after having been stuck with this for an hour or two now, I'm going to call upon your infinite wisdom regarding the following: On a FreeBSD 5.2.1-RELEASE #0 (so says dmesg) machine, I'm trying to set-up Subversion, Trac and our regular PHP4 and MySQL stuff. The main issue

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Jochem Maas
apache2 needs to be built/run using the prefork worker module (as opposed to a threaded worker module which causes php to blow up quite often [due to the fgact that there are php extensions which are not thread safe]) - check that first. the duplicate name errors seem to stem fom the fact that so

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Michael Crute
On 2/15/06, J_K9 <[EMAIL PROTECTED]> wrote: > Barry wrote: > > J_K9 wrote: > >> Duncan Hill wrote: > >> > >>> On Wednesday 15 February 2006 11:35, J_K9 wrote: > >>> > Duncan Hill wrote: > > > On Wednesday 15 February 2006 11:05, J_K9 wrote: > > > >> Here's the exact 500 error

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Barry
Michael Crute wrote: May I suggest you get a cheap box (you could build one for a few hundred bucks, or ebay), get a copy of and do development locally, beats the heck out of external hosting for development/learning stuff. -Mike probably. yes. But when you have some bad hosting provider us

[PHP] Re: how to build custom/private pear packages

2006-02-15 Thread Jens Kleikamp
Jochem Maas wrote: hi people, I have been thinking about how I rollout some of my code (stuff that gets reused alot) and I thought it would be nice if I could have basic functionality available for my projects via a custom pear package server (referred to as a 'pear channel'??) - so what I would

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread J_K9
Barry wrote: Michael Crute wrote: May I suggest you get a cheap box (you could build one for a few hundred bucks, or ebay), get a copy of and do development locally, beats the heck out of external hosting for development/learning stuff. -Mike probably. yes. But when you have some bad hosti

RE: [PHP] Regular expression

2006-02-15 Thread Weber Sites LTD
Check out some Regular Expression code examples To learn more : http://www.weberdev.com/AdvancedSearch.php?searchtype=category&category=Rege xps Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. Uptime Monitor : http://uptime.weberdev.com SEO Data M

Re: [PHP] Regular expression

2006-02-15 Thread Barry
Weber Sites LTD wrote: Check out some Regular Expression code examples To learn more : http://www.weberdev.com/AdvancedSearch.php?searchtype=category&category=Rege xps Sincerely berber ZONG! -> No results were found. * Run this seach again but include PHP Functions in the resul

Re: [PHP] Re: how to build custom/private pear packages

2006-02-15 Thread Jochem Maas
Jens, thanks for the reply - plenty of material there to get me started! Jens Kleikamp wrote: Jochem Maas wrote: hi people, I have been thinking about how I rollout some of my code (stuff that gets reused alot) and I thought it would be nice if I could have basic functionality available for

RE: [PHP] Complications when sending HTML email

2006-02-15 Thread Manuel Lemos
Hello, > Best group member, > > I am sending HTML email with PHP. I use the example code in the manual to > try, and the email is sent. However, it is not decoded correctly in my > Outlook. I checked thru webmail clients, and then it work. I thought it was > my Outlook that was not correct, but I

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Gerry Danen
Isn't DPI a function of the output device? Has nothing to do with the image, it just has x pixels by y pixels... On 2/15/06, Kim Christensen <[EMAIL PROTECTED]> wrote: > On 2/15/06, Karuna <[EMAIL PROTECTED]> wrote: > > Thanks. I might give the new versions a try :) > > > > IIRC, I think the unix

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Gerry Danen
Alain, have you tried cookies? On http://www.lily-gallery.com/ you will see 2 colored dots (bottom left) that allows for alternate page colors. Once a user chooses one, I remember his choice with a cookie. I use the cookie to control a style sheet. Gerry On 2/15/06, Alain Roger <[EMAIL PROTECTED

[PHP] Re: how to build custom/private pear packages

2006-02-15 Thread James Benson
Jochem Maas wrote: hi people, I have been thinking about how I rollout some of my code (stuff that gets reused alot) and I thought it would be nice if I could have basic functionality available for my projects via a custom pear package server (referred to as a 'pear channel'??) - so what I would

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread tedd
Alain, have you tried cookies? On http://www.lily-gallery.com/ you will see 2 colored dots (bottom left) that allows for alternate page colors. Once a user chooses one, I remember his choice with a cookie. I use the cookie to control a style sheet. Gerry I didn't realize that he was wanting a

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Kevin Kinsey
Olaf Greve wrote: Hi guys, I suspect something went wrong in the way I try to use PHP. Basically, I first removed the installed /usr/ports/lang/php4 port, then built and installed the /usr/ports/www/mod_php4 port, and then added various php4-extensions, using the /usr/ports/lang/php4-extensi

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Gerry Danen
Pretty much the same technique I am using, tedd. I may have even used your example as inspiration... :) At the top of each page, I use $currentstylecolor = isset( $_COOKIE['currentstyle'] ) ? $_COOKIE['currentstyle'] : "brown"; // brown = default style $currentstyle = "/skins/style_" . $

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Karuna
dpi is useful in commercial printing. Most printing companies prefer 300dpi images to make sure the images are printed nice and crisp. While on screen there is no difference between 72 dpi, and 300 dpi, on paper the difference can be obvious. This is the very reason I need to know the dpi, since

[PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Gustavo Narea
Hello everybody. Don't you think that PHP should no longer stand for "Hypertext Pre-Processor"? This great programming language is *much more* than a Hypertext Pre-Processor! Do you agree with a 3rd --and hopefully, the last-- change to the meaning of PHP? I don't have a candidate yet, b

RE: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Jay Blanchard
[snip] Don't you think that PHP should no longer stand for "Hypertext Pre-Processor"? [/snip] I don't think that anyone is really worried about this anymore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Regular expression

2006-02-15 Thread Weber Sites LTD
If you make sure the link does not break you will get results :) http://www.weberdev.com/AdvancedSearch.php?searchtype=category&category=Rege xps -Original Message- From: Barry [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 5:20 PM To: php-general@lists.php.net Subject: Re

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Gustavo Narea
Hi, Jay. Jay Blanchard wrote: [snip] Don't you think that PHP should no longer stand for "Hypertext Pre-Processor"? [/snip] I don't think that anyone is really worried about this anymore. Please take a look at this post and this comment by Chris Shifle

RE: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Jay Blanchard
[snip] Please take a look at this post and this comment by Chris Shiflett . They aren't saying this acronym has to change, but it could be better... So, why don't we change it? That's what I mean. In the end,

[PHP] Ternary operators

2006-02-15 Thread Carl Furst
Hey all, Question about ternary operators. You can't really use functions INSIDE ternary operators, right? They can only be tokens and operators? So $fabulous = true; $fabulous ? echo "I am fabulous!\n" : echo "I am a looser!\n"; Would not work? And this: echo $fabulous ? "I am fabulous!

[PHP] php & ajax

2006-02-15 Thread pete
ello all, Im a beginner at php. but I was able to get this script to work. Now I am looking to have it automatically refresh itself using ajax every 10 seconds. Can somebody explain or show me how to do this. Thank you. PHP Code: | | |$httpfile = file_get_contents('http://www.game-monitor.c

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Jochem Maas
Jay Blanchard wrote: [snip] Please take a look at this post and this comment by Chris Shiflett . They aren't saying this acronym has to change, but it could be better... So, why don't we change it? That's w

Re: [PHP] php & ajax

2006-02-15 Thread Jason Gerfen
pete wrote: ello all, Im a beginner at php. but I was able to get this script to work. Now I am looking to have it automatically refresh itself using ajax every 10 seconds. Can somebody explain or show me how to do this. Thank you. PHP Code: | | | http://URL";> This is what you are look

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Curt Zirzow
On Thu, Feb 16, 2006 at 08:31:12AM +1300, Karuna wrote: > dpi is useful in commercial printing. Most printing companies prefer 300dpi > images to make sure the images are printed nice and crisp. While on screen > there is no difference between 72 dpi, and 300 dpi, on paper the difference > can b

Re: [PHP] Ternary operators

2006-02-15 Thread Jochem Maas
Carl Furst wrote: Hey all, Question about ternary operators. You can't really use functions INSIDE ternary operators, right? They can only be tokens and operators? So $fabulous = true; $fabulous ? echo "I am fabulous!\n" : echo "I am a looser!\n"; Would not work? testing this is quite

[PHP] Re: Ternary operators

2006-02-15 Thread Dan Baker
"Carl Furst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all, > > Question about ternary operators. You can't really use functions INSIDE > ternary operators, right? They can only be tokens and operators? You *can* use functions inside of ternary operators, as long as they r

RE: [PHP] Ternary operators

2006-02-15 Thread Carl Furst
Well, I tried something simple... $ php -r 'echo "hello world\n";' Error in argument 1, char 2: option not found r Error in argument 1, char 2: option not found r Usage: php [-q] [-h] [-s] [-v] [-i] [-f ] php [args...] -a Run interactively -C Do not chdir to

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Richard Davey
On 15 Feb 2006, at 19:59, Jay Blanchard wrote: In the end it is not worth worrying about. If someone asks you what PHP stands for tell them it stands for the best darned programming language you ever saw. Not disagreeing, just wondering if people here see PHP as a programming language, o

[PHP] Using javascript with php

2006-02-15 Thread Sugrue, Sean
To all, I have a check box input which I assign an array to the name. I want to pass the array to a javascript and based on a certain criteria check the box. I use the syntax: formname.elements['array[]'][index].checked= true. It works with IE but since my buddy added an html validator to a config

[PHP] Upgrading from PHP 4 to PHP 5

2006-02-15 Thread Gustafson, Tim
Hello everyone! I have a very active Apache/PHP 4 server right now that I would like to upgrade to PHP 5. Can anyone give me any personal experiences as far as upgrading to the new version goes? I looked through the upgrade FAQ, and none of the issues listed there seem to apply to me. What I

Fw: [PHP] Re: php & ajax

2006-02-15 Thread Satyam
There is not much more to it than that, but do read this afterwards: http://www-128.ibm.com/developerworks/views/web/libraryview.jsp?search_by=Mastering+Ajax It is a series of articles, so far 3 of them (there were two when someone posted it) but it goes step by step and has good code. To me

Re: [PHP] Re: RE: safe_mode + move_upload_file

2006-02-15 Thread Chris
if(!move_uploaded_file($_FILES['file']['tmp_name'], $path)) { if (is_uploaded_file($_FILES['file']['tmp_name'])) echo "file ok "; else echo "file nok "; } 1- when I turn the safe mode off, the move is OK 2- when I turn the safe mode on, the move is not OK, but the is_uploaded_file

Re: [PHP] Routing downloads through PHP - Thanks!

2006-02-15 Thread J_K9
Thanks everyone, especially Barry for that great script which I've tested on a home server and _does_ work... So, I'm going to wait for my external hosting company to get back to me and alter the files there so that it'll work on my website. Thanks again! ;-) J_K9 -- PHP General Mailing Li

Re: [PHP] php errors ? help please ...

2006-02-15 Thread Chris
Mehmet Fatih AKBULUT wrote: hi all, i get these errors when trying to run horde: how can i fix these problems ? Upgrade horde - or at least talk to them and see if they have a fix. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Robert Cummings
On Wed, 2006-02-15 at 16:48, Richard Davey wrote: > On 15 Feb 2006, at 19:59, Jay Blanchard wrote: > > > In the end it is not worth worrying about. If someone asks you what > > PHP > > stands for tell them it stands for the best darned programming > > language you > > ever saw. > > Not disagr

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Gustavo Narea
Hi, Jay. Jay Blanchard wrote: [snip] Please take a look at this post and this comment by Chris Shiflett . They aren't saying this acronym has to change, but it could be better... So, why don't we change it

RE: [PHP] Routing downloads through PHP - Thanks!

2006-02-15 Thread R. Van Tassel
To develop locally try using the xampp package at www.apachefriends.org, really easy to set up. Thanks, -Roy http://www.myspace.com/GhostOrgy http://www.myspace.com/SuitOfLights Please add these artists as your friend on MySpace -Original Message- From: J_K9 [mailto:[EMAIL PROTECTED] Se

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Kevin Kinsey
Jay Blanchard wrote: In the end it is not worth worrying about. If someone asks you what PHP stands for tell them it stands for the best darned programming language you ever saw. Hrm, I thought it was "People Hate PERL" . :-D /me ducks and runs -- First Corollary of Taber's Secon

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Robert Cummings
On Wed, 2006-02-15 at 19:29, Gustavo Narea wrote: > Hi, Jay. > > Jay Blanchard wrote: > > [snip] > > Please take a look at this post and > > this comment by Chris Shiflett > > . > > > > They aren't saying this

Re: [PHP] Ternary operators

2006-02-15 Thread Kevin Kinsey
Carl Furst wrote: Well, I tried something simple... $ php -r 'echo "hello world\n";' Error in argument 1, char 2: option not found r Error in argument 1, char 2: option not found r Usage: php [-q] [-h] [-s] [-v] [-i] [-f ] php [args...] -a Run interactively -C

[PHP] Upload via email?

2006-02-15 Thread Nicholas Couloute
How would u make a script that uploads files to ur server via email? 1. user emails the server 2. if there is a audio file (amr) attached then add it a folder! Are there any scripts that can do that? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www

[PHP] missing modules ??? help please ...

2006-02-15 Thread Mehmet Fatih Akbulut
hi all, i've PHP Version: 5.1.2-1 and i want to enable Imap and Mcrypt support. but dont know how ? pear or pecl install doesnt work. and secondly > how can i disable memory_limit ??? need urgent help please ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] missing modules ??? help please ...

2006-02-15 Thread Chris
i've PHP Version: 5.1.2-1 and i want to enable Imap and Mcrypt support. > but dont know how ? It depends. If you're using a packaged system (debian, fedora etc etc) - install the modules package (php-imap, php-mcrypt). If you compiled from source, you'll need to recompile with different sw

[PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
I am currently testing HN CAPTCHA and noticed that the range of alphabets that were produced ranges from A..F only. My PHP skill is quite limited to change that to A..Z so if ppl here have any experience with that class, appreciate your thoughts. TIA. HN CAPTCHA: http://www.phpclasses.org/brows

Re: [PHP] missing modules ??? help please ...

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: if i set memory_limit to 0 then apache stops working ? any other solution to disable memory limit ??? Post back to the list as well. You can disable it at compile time (take out your '--enable-memory-limit' option). Or just disable it in your script: ini_set('m

Re: [PHP] missing modules ??? help please ...

2006-02-15 Thread Mehmet Fatih Akbulut
but i didnt install php from its source :'( used apt-get install ... its not a good idea to uninstall php5 and reinstall it from source :'( anything else that can be done to get rid of memoy limitation ;) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] missing modules ??? help please ...

2006-02-15 Thread J_K9
Mehmet Fatih Akbulut wrote: but i didnt install php from its source :'( used apt-get install ... its not a good idea to uninstall php5 and reinstall it from source :'( anything else that can be done to get rid of memoy limitation ;) ? It looks like you will either have to recompile it from so

Re: [PHP] missing modules ??? help please ...

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: but i didnt install php from its source :'( used apt-get install ... its not a good idea to uninstall php5 and reinstall it from source :'( anything else that can be done to get rid of memoy limitation ;) ? Have you read the manual? http://www.php.net/ini.core Te

[PHP] php module problems ???

2006-02-15 Thread Mehmet Fatih Akbulut
hi all, i install fileinfo and memcache using pecl #pecl install fileinfo #pecl install memcache then add extension=fileinfo.so and extension=memcache.so in my php.ini file and finally restart apache but still get these errors : # MIME Magic Support (fileinfo): No # memcached Support (memcache): N

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread J_K9
Roger Thomas wrote: I am currently testing HN CAPTCHA and noticed that the range of alphabets that were produced ranges from A..F only. My PHP skill is quite limited to change that to A..Z so if ppl here have any experience with that class, appreciate your thoughts. TIA. HN CAPTCHA: http://ww

Re: [PHP] php module problems ???

2006-02-15 Thread Mehmet Fatih Akbulut
; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" ??? i think they are in right folder because i restart apache soon as i installed those modules. after checking test script there were no errors but as time passes they're gone one by one. now IMAP Support: No and

Re: [PHP] php module problems ???

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: hi all, i install fileinfo and memcache using pecl #pecl install fileinfo #pecl install memcache then add extension=fileinfo.so and extension=memcache.so in my php.ini file and finally restart apache but still get these errors : # MIME Magic Support (fileinfo): No # m

Re: [PHP] php module problems ???

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" ??? As I said: "If that's commented out check a phpinfo page to see which folder extension files go into." i think they are in right folder because i restart apache soon as i i

Re: [PHP] php module problems ???

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: yes sir, the datas in the previous mail copied from the output of ;) I meant: do you get "IMAP Yes" "MCRYPT Yes" "MemCache Yes" in your info script - or are they saying no? If they are saying "yes" then the horde test script doesn't work very well, you'll need

Re: [PHP] php module problems ???

2006-02-15 Thread Mehmet Fatih Akbulut
yes, phpinfo shows that they're enabled. then the problem is all about Horde: 3.1-RC3 :( thanks Chris. i had better check a stable release or uninstall - reinstall all php related stuff :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php module problems ???

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: yes, phpinfo shows that they're enabled. then the problem is all about Horde: 3.1-RC3 :( thanks Chris. i had better check a stable release or uninstall - reinstall all php related stuff :( You don't need to re-install php or it's modules - the problem lies with how

Re: [PHP] Upload via email?

2006-02-15 Thread Michael Crute
On 2/15/06, Nicholas Couloute <[EMAIL PROTECTED]> wrote: > How would u make a script that uploads files to ur server via email? 1. > user emails the server 2. if there is a audio file (amr) attached then > add it a folder! Are there any scripts that can do that? This will take some work but what

Re: [PHP] php module problems ???

2006-02-15 Thread Chris
Mehmet Fatih Akbulut wrote: they're in the right folder, but dont know why horde test.php doesnt recognize them :( Don't worry about horde, worry about a phpinfo page. Once that's working then you can look about horde. If they show up on a phpinfo page, then they work. If they don't show up

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Ligaya Turmelle
On the IRC - been told it's for "Pretty Horny People" ;) LOL Kevin Kinsey wrote: Jay Blanchard wrote: In the end it is not worth worrying about. If someone asks you what PHP stands for tell them it stands for the best darned programming language you ever saw. Hrm, I thought it was "Peop

Re: [PHP] php module problems ???

2006-02-15 Thread Mehmet Fatih Akbulut
>Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini >PHP API20041225 >PHP Extension 20050922 >Zend Extension 220051025 > extension_dir /usr/lib/php5/20050922 /usr/lib/php5/20050922 they're in the right folder, but dont know why horde test.php doesnt recognize them

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting J_K9 <[EMAIL PROTECTED]>: > How about sending us the code so that we can have a look? If not we > have > to register there... > > Cheers, > > J_K9 > OK. Attached. --roger --- Sign Up for free Email at http://ureg.home.net.my/ --

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Curt Zirzow
On Thu, Feb 16, 2006 at 09:44:33AM +0800, Roger Thomas wrote: > I am currently testing HN CAPTCHA and noticed that the range of alphabets > that were produced ranges from A..F only. My PHP skill is quite limited to > change that to A..Z so if ppl here have any experience with that class, > appre

Re: [PHP] Upload via email?

2006-02-15 Thread Paul Scott
On Wed, 2006-02-15 at 22:37 -0500, Michael Crute wrote: > On 2/15/06, Nicholas Couloute <[EMAIL PROTECTED]> wrote: > > How would u make a script that uploads files to ur server via email? 1. > > user emails the server 2. if there is a audio file (amr) attached then > > add it a folder! Are there an

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Curt Zirzow
On Thu, Feb 16, 2006 at 01:00:38PM +1000, Ligaya Turmelle wrote: > On the IRC - been told it's for "Pretty Horny People" ;) LOL +1 Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using javascript with php

2006-02-15 Thread Curt Zirzow
On Wed, Feb 15, 2006 at 05:10:53PM -0500, Sugrue, Sean wrote: > To all, > > I have a check box input which I assign an array to the name. I want to > pass the array to a javascript and based on a certain criteria check > the box. I use the syntax: formname.elements['array[]'][index].checked= > tru

[PHP] installing php 4.4.2 on windows system

2006-02-15 Thread Paul Goepfert
Hello all, I have been developing a php website. I have been ftping my php web pages to a webserver and that works hkowever I don't have an error log on the webserver. So I downloaded apache 2.0.55. I am doing a manual installation and I am at the point where it tells me where to place the php

Re: [PHP] Upload via email?

2006-02-15 Thread Curt Zirzow
Michael, On Wed, Feb 15, 2006 at 10:37:07PM -0500, Michael Crute wrote: > On 2/15/06, Nicholas Couloute <[EMAIL PROTECTED]> wrote: > > How would u make a script that uploads files to ur server via email? 1. > > user emails the server 2. if there is a audio file (amr) attached then > > add it a fo

Re: [PHP] how to build custom/private pear packages

2006-02-15 Thread Curt Zirzow
On Wed, Feb 15, 2006 at 11:05:33AM +0100, Jochem Maas wrote: > hi people, > > I have been thinking about how I rollout some of my code (stuff > that gets reused alot) and I thought it would be nice if I could have > basic functionality available for my projects via a custom pear > package server (

Re: [PHP] how to build custom/private pear packages

2006-02-15 Thread Paul Scott
On Wed, 2006-02-15 at 22:33 -0800, Curt Zirzow wrote: > with more research I came accross this place: > > http://pearadise.net/ > Well aware of pearadise.net. I was just waiting to actually get some content going before registering there... > Hopefully the more people take advantage of this

  1   2   >