[PHP] Re: annoying autoreplies

2004-08-08 Thread Chris Martin
Robby Russell wrote: To all those who have auto-replys set for their email, please turn them off. ;-) We shouldn't have to opt-in to 3 different peoples spam email sites so that we can post to the list. heh. -Robby Seriously, we shouldn't have to setup a new mail filter everytime we reply either!

Re: [PHP] Re: annoying autoreplies

2004-08-08 Thread Bjorn Sodergren
heh, i subscribe to a couple mailing lists for a product that i work with (a rather large company). last month i got a record 43 out of office replies from a single message to their list. On Sat, 07 Aug 2004 23:37:27 -0700, Chris Martin [EMAIL PROTECTED] wrote: Robby Russell wrote: To all

Re: [PHP] SQL Join query

2004-08-08 Thread Lenar Lõhmus
Mattias Thorslund wrote: Though, (regardless of SQL database platform) in a case like this, it MAY be both more straightforward and efficient to use two separate queries for the pictures and comments, given the one-to-many cardinality between them. The above statement causes redundant data

[PHP] Re: Function Mail

2004-08-08 Thread Torsten Roehr
Juan Pablo Herrera [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everybody, I have a cuestion about the features on function mail. I think that it send the email one to one address. Is it ok?. Regards, Juan Pablo Hi Juan Pablo, the manual says: mail() automatically mails the

Re: [PHP] Local version works - production breaks

2004-08-08 Thread Torsten Roehr
Robby, I just enabled log_errors locally. No errors (as I thought). Since I am hacking a previously written site, the problem seems to arise most when accessing his pre-built functions across pages. For instance, he uses a 'cards.php' to store all display functions -- showleft() --

[PHP] WYSIWyG

2004-08-08 Thread Me2resh
Hi i am using WYSIWYG (_javascript_ editor) to enter the contents of online news website ,(PHP MYSQL) everything works pretty good on my local server but online when i enter a page i find that the colors i choosed changed would this be a problem on my code or on something on the server

Re: [PHP] safe_mode restriction

2004-08-08 Thread Kevin
So after the directories are created, those are the actual permissions that are on them? Did you actually check this or are you assuming it? If you can, please show us the output of 'ls -al' of the directories in question. Yes, I have seen the permission and its rwx-rwx-rwx i.e 777. -- PHP

[PHP] php_check_syntax loads functions and classes

2004-08-08 Thread Michael Scholl
Hi, I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the php_check_syntax function. When I use it, it loads all functions ans classes. But I only want to check the syntax, not to load the files. Is this a bug or a feature ? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Bouncer Test

2004-08-08 Thread Aidan Lister
Please do not reply to this email, or you will be taken off the mailing list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Apache 2

2004-08-08 Thread Rosen
Hi, What is the reason, thath in the installation manual of PHP writes: WARNING: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Thanks, Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WYSIWyG

2004-08-08 Thread raditha dissanayake
Please read the list newbie guide -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User

[PHP] Re: PHP and Apache 2

2004-08-08 Thread Aidan Lister
Hi Rosen, It doesn't hurt to use google you know. [Q:] Is there going to be a version of PHP 4.x which is declared stable for use with Apache 2.x or, is this feature going to be reserved for PHP5? [A:] The development of the Apache 2 module is completely disconnected from the PHP 5 efforts. I

Re: [PHP] Local version works - production breaks

2004-08-08 Thread Andre Dubuc
Thanks for the idea, Josh. I will do this, but still this hack doesn't answer the question: Why does it work locally without hitch, yet totally barfs on a very similar configuration on the net? As I mentioned, this is a re-write. I've learned my lesson: never try to patch another's code --

Re: [PHP] SQL Join query

2004-08-08 Thread Curt Zirzow
* Thus wrote Lenar Lhmus: Mattias Thorslund wrote: Though, (regardless of SQL database platform) in a case like this, it MAY be both more straightforward and efficient to use two separate queries for the pictures and comments, given the one-to-many cardinality between them. The above

Re: [PHP] Function Mail

2004-08-08 Thread John Holmes
Juan Pablo Herrera wrote: I have a cuestion about the features on function mail. I think that it send the email one to one address. Is it ok?. Yes. It is all ok. -- John Holmes php|architect - The magazine for PHP professionals - http://www.phparch.com -- PHP General Mailing List

Re: [PHP] php_check_syntax loads functions and classes

2004-08-08 Thread John Holmes
Michael Scholl wrote: I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the php_check_syntax function. When I use it, it loads all functions ans classes. But I only want to check the syntax, not to load the files. Is this a bug or a feature ? I'd say it was a bug, but since the

Re: [PHP] WYSIWyG

2004-08-08 Thread Matthew Sims
Hi i am using WYSIWYG (javascript editor) to enter the contents of online news website ,(PHP MYSQL) everything works pretty good on my local server but online when i enter a page i find that the colors i choosed changed would this be a problem on my code or on something on the server or

Re: [PHP] php_check_syntax loads functions and classes

2004-08-08 Thread John Holmes
Michael Scholl wrote: I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the php_check_syntax function. When I use it, it loads all functions ans classes. But I only want to check the syntax, not to load the files. Is this a bug or a feature ? Actually I found this bug

Re: [PHP] php source management

2004-08-08 Thread Jordi Canals
CHAN YICK WAI wrote: if a project is worked by a small team of developers, is there a tool for source and version management for php source code? e.g. check which part of source is modified! Thanks for information. Regards, Yw If you're on windows I recommend using WinCVS and CVSnt.

Re: [PHP] HOWTO run PHP4 and PHP5 on Apache/Linux

2004-08-08 Thread AJL
On Tue, Aug 03, 2004 at 10:04:11PM -0500, AJL wrote: I ran into so many problems trying to set this up that I thought I'd post my notes to hopefully save others some trouble. I found most of the information I needed at: http://rayh.co.uk/archives/13_PHP5__PHP4_side_by_side.html but the

[PHP] Re: Getting data from table as a tree

2004-08-08 Thread pt2002
Hi Take a look at this array. It represents a simple tree. I need that because the site i'm working on uses Smarty templates an there's a way to do output the tree using 'Smarty functions' $tpl-assign(tree,array(element=array(array(name= test1,

Re: [PHP] Local version works - production breaks [SOLVED]

2004-08-08 Thread Andre Dubuc
On Sunday 08 August 2004 01:51 am, Jason Wong wrote: On Sunday 08 August 2004 09:38, Andre Dubuc wrote: That's what I thought. But the differences are glaring. Seems like none of the code wants to work. Navigation is a nightmare: header(location:...); usually brings an error message:

Re: [PHP] PHP and Apache 2

2004-08-08 Thread Thomas Goyne
On Sun, 8 Aug 2004 16:20:55 +0300, Rosen [EMAIL PROTECTED] wrote: Hi, What is the reason, thath in the installation manual of PHP writes: WARNING: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Thanks, Rosen

Re: [PHP] Local version works - production breaks [SOLVED]

2004-08-08 Thread John Holmes
Andre Dubuc wrote: Thought I'd drop a note -- turning register_globals=off on the server in question magically made everything work. Now I'll rasie the question that IP manager has asked: Having register_globals=of/on should not amke any difference to your site if you are using $_POST,

Re: [PHP] Local version works - production breaks [SOLVED]

2004-08-08 Thread Josh Acecool M
Glad to hear turning reg globals off made it work :-) I had suspected that because people often use the same variables for different things and with globals on, well it can overwrite other vars. Josh Acecool M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] That might be something,

[PHP] PHP 5 - $_REQUEST undefined???

2004-08-08 Thread Marcus Bointon
I'm getting errors like this: Notice: Undefined variable: _REQUEST in /var/www/html/index.php on line 57 This is truly weird - why on earth would this superglobal be undefined? (and there is no unset($_REQUEST) lurking!) As far as I'm aware, there isn't even an ini option to turn it off. I'm in

Re: [PHP] PHP 5 - $_REQUEST undefined???

2004-08-08 Thread John Holmes
Marcus Bointon wrote: I'm getting errors like this: Notice: Undefined variable: _REQUEST in /var/www/html/index.php on line 57 This is truly weird - why on earth would this superglobal be undefined? (and there is no unset($_REQUEST) lurking!) As far as I'm aware, there isn't even an ini option to

[PHP] Searching database with different languages?

2004-08-08 Thread Karl Timmermann
Hi, Does anyone how I could accomplish this: Basically, I have a MySQL database of names - some names have Spanish accents in them. I want to build a web interface in PHP to search this database. However, I want the names with Spanish accents to be shown in the search results, regardless if the

[PHP] How PHP handles multiple inclusions of the same file?

2004-08-08 Thread Gambler ZG
Lets say I have function named render, which looks like this: ?php function render($template, $vars){ extract($vars); include(templates/.$template.'.php'); } ? I also have template some_tmplt.php, which I need to render 100 times. Will PHP read, parse and compile this file 100 times, or

[PHP] Header list

2004-08-08 Thread Daniel Guerrier
I need to know what header to send when using readile with real media and windows media. Is there a list that has all header when sending rich media and images. Thanks __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!

Re: [PHP] Header list

2004-08-08 Thread John Holmes
Daniel Guerrier wrote: I need to know what header to send when using readile with real media and windows media. Is there a list that has all header when sending rich media and images. Install Firefox/Mozilla and then go here (http://livehttpheaders.mozdev.org/) to get LiveHTTPHeaders. Then

[PHP] urlencode - urldecode

2004-08-08 Thread PHP Gen
Hi, I am using a header(location:) to send a rawurlencod'ed string to another script...then I tried decode it and use those values...but its not working... snippets of my code: // sending file:

Re: [PHP] WYSIWyG

2004-08-08 Thread raditha dissanayake
Matthew Sims wrote: And how does this relate to PHP?? Matthew, you are now sure to be flamed by all those who believe off topic maililngs by those who do not read the newby guide should be allowed and encouraged. -- Raditha Dissanayake.

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-08 Thread raditha dissanayake
Gambler ZG wrote: Lets say I have function named render, which looks like this: ?php function render($template, $vars){ extract($vars); include(templates/.$template.'.php'); } ? I also have template some_tmplt.php, which I need to render 100 times. Will PHP read, parse and compile this

Re: [PHP] urlencode - urldecode

2004-08-08 Thread John Holmes
PHP Gen wrote: // sending file: $one=rawurlencode(dir_name=$dir_nameimgs_dir=$imgs_dirthumb_pre=$thumb_pretn_width=$tn_widthtn_height=$tn_heightwrite_text=$write_textcolors=$colorsx_pos=$x_posy_pos=$y_poslink1=$link1link2=$link2link3=$link3img_src1=$img_src1img_src2=$img_src2); header(location:

Re: [PHP] urlencode - urldecode

2004-08-08 Thread PHP Gen Newbie
Hi, Thanks again John, point taken...will not trust the browser, will use sessions :-) Cheers, -Mag --- John Holmes [EMAIL PROTECTED] wrote: PHP Gen wrote: // sending file:

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-08 Thread Gambler ZG
If you want to cache the compiled php script look at Turck MMCache. Thanks for the info, but I'll probably just use create_function() for caching. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Getting data from table as a tree

2004-08-08 Thread Brian Kell
Well, first off, a little bit of formatting (line numbers added for clarity): 1 $tpl-assign(tree, 2 array( 3 element = array( 4 array( 5 name = test1, 6 element = array( 7 array( 8 name =

[PHP] any javascript gurus?

2004-08-08 Thread Aris Santillan
i need help on this html head script language=JavaScript /script titleCompute quantity/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body form name=test table width=53% border=0 tr td height=21 colspan=2nbsp;/td td width=28%div

Re: [PHP] any javascript gurus?

2004-08-08 Thread Jason Davidson
what is it that you need... for it to calculate the fields... just get the value of the fields with.. document.FORMNAME.FIELDNAME.value make sure your dealing with integers for doing the math, the value will be a string initially.. use parseInt or parseDouble or something .. Jason Aris

Re: [PHP] any javascript gurus?

2004-08-08 Thread John Holmes
Aris Santillan wrote: i need help on this Okay... script language=JavaScript /script You have an empty script tag here... font size=1 face=Verdana, Arial, Helvetica, sans-serif and the font tag is depreciated. You should use CSS. Oh... WTF is your problem that you need help on and what's this got

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-08 Thread raditha dissanayake
Gambler ZG wrote: If you want to cache the compiled php script look at Turck MMCache. Thanks for the info, but I'll probably just use create_function() for caching. what do you mean by that? -- Raditha Dissanayake.

Re: [PHP] any javascript gurus?

2004-08-08 Thread raditha dissanayake
Aris Santillan wrote: i need help on this ask in a javascript group. read the list newby guide before posting. -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean

[PHP] ImageColorTransparent Problem

2004-08-08 Thread Kevin
Hi, I am having PHP Version 4.3.4 with GD 2.0.15 compatible and PNG support enabled. My problem with the following code is that the image produced be this code is not transparent. It has a black background. I have viewed it in IE 6 and its not transparent. Can someone help me how to make this

Re: [PHP] ImageColorTransparent Problem

2004-08-08 Thread Jason Davidson
Does IE even support PNG transparncy properly anyways??? maybe thats the issue here? Jason Kevin [EMAIL PROTECTED] wrote: Hi, I am having PHP Version 4.3.4 with GD 2.0.15 compatible and PNG support enabled. My problem with the following code is that the image produced be this code is

Re: [PHP] ImageColorTransparent Problem

2004-08-08 Thread Matthew Runo
Have you tried it in other browsers? IE 6 / windows PNG support leaves much to be desired, even more so when we want them to be transparent. Try it in Firefox, or some other similar browser. Same results? Matthew Runo http://www.quabbo.com Quabbo Internet Services The only host with the Zend

Re: [PHP] ImageColorTransparent Problem

2004-08-08 Thread Kevin
Jason Davidson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does IE even support PNG transparncy properly anyways??? maybe thats the issue here? Yes, I have tried making the image with imagecreate() function and it was transparent. Using imagecreate() function I was only able to

Re: [PHP] [Newbie Guide] For the benefit of new members

2004-08-08 Thread raditha dissanayake
Me thinks a note about 'if you don't follow these guidelines your questions will not be answered' is a good idea. keep up the good work siva kumar. -- Raditha Dissanayake. http://www.radinks.com/sftp/ |