RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Rasmus Lerdorf
Just to add an authoritative answer here. Mucking up the reply-to header is simply wrong. I don't really care what arguments you come up with, it makes no technical sense. The list has been configured this way for years and years and believe me, it is the safest and most flexible configuration.

Re: [PHP] PHP+FreeType installation headaches

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 13:51, Daniel Hansen wrote: I am having a bear of a time getting FreeType compiled into PHP. I have successfully installed the RPM: [EMAIL PROTECTED] rpms]# rpm -U freetype-2.1.3-6.i386.rpm [EMAIL PROTECTED] php-4.3.1]# rpm -q freetype-2.1.3-6

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 04:55, Glenn E. Sieb wrote: From: Eugene Lee [mailto:[EMAIL PROTECTED] If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. Amusing--I've used Eudora.. I've used Mozilla.. I've used

Re: [PHP] PHP+FreeType installation headaches

2003-11-26 Thread Daniel Hansen
Jason Wong wrote: With RHL you probably want: --with-freetype-dir=/usr I tried that -- no luck. But the libfreetype* files are in /usr/lib Someone else suggested installing the FT devel rpm (which I had not done earlier due to a download problem). I am trying that now. We'll see!

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Panos Konstantinidis
What's the problem with the Reply All button? Which of the following words you just don't understand: *some mail clients (eg yahoo) do not have a Reply All button? __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- PHP

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 04:56, Chris W. Parker wrote: Eugene Lee mailto:[EMAIL PROTECTED] on Tuesday, November 25, 2003 12:47 PM said: If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. The problem

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
To start out, I'd just like to make an observation. I've noticed that some people in this thread have said how this argument has come up many times, and they would even prefer that people look in the archives to see what the results were of previous discussion. I find the fact that the

Re: [PHP] PHP+FreeType installation headaches

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 15:06, Daniel Hansen wrote: Jason Wong wrote: With RHL you probably want: --with-freetype-dir=/usr I tried that -- no luck. But the libfreetype* files are in /usr/lib Someone else suggested installing the FT devel rpm (which I had not done earlier due to

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread - Edwin -
Okay, I thought I won't be posting again for this thread but... On Tue, 25 Nov 2003 23:30:37 -0800 (PST) Panos Konstantinidis [EMAIL PROTECTED] wrote: What's the problem with the Reply All button? Which of the following words you just don't understand: *some mail clients (eg yahoo)

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 15:30, Panos Konstantinidis wrote: What's the problem with the Reply All button? Which of the following words you just don't understand: *some mail clients (eg yahoo) do not have a Reply All button? Not sure if you're using the same Yahoo as I do, but my one

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
Edwin, I read the articles you pointed out. I'm sorry, but I still have not seen any argument that makes me think that the reply-to-the author option is better. In another posting I've put forth some of my reasons. And, what is your opinion regarding Reply All? Reply all is very

Re: [PHP] Windows PHP permissions question

2003-11-26 Thread Burhan Khalid
Robin Kopetzky wrote: Good Morning/Afternoon. I have a program that is trying to write to a directory on a Windows server and I don't know how to setup the permissions to read/write/delete just from this directory. I have it permissions set to 'Everyone' but that doesn't work. Help?!?! If you

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Panos Konstantinidis
Which of the following words you just don't understand: The Reply All button is just BESIDE (on the right side) of the Reply button! There is not such a button. __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- PHP General

Re: [PHP] Windows PHP permissions question

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 02:38, Robin Kopetzky wrote: I have a program that is trying to write to a directory on a Windows server and I don't know how to setup the permissions to read/write/delete just from this directory. I have it permissions set to 'Everyone' but that doesn't work.

Re: [PHP] Windows Environment Variables

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 00:24, Rodney Green wrote: Is PHP able to access and use Windows Environment Variables? If so, is there a function or a reference you can point me to? If any are available they would most likely be in: print_r($_SERVER) -- Jason Wong - Gremlins Associates -

Re: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread Pavel Jartsev
[EMAIL PROTECTED] wrote: Hello all mailing list, I am wondering if it exists a PHP built-in function to determine the numbers of dimensions of any type of array (indexed, and associative), thanks for any help, bye. http://www.php.net/manual/en/function.count.php -- Pavel a.k.a. Papi -- PHP

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Panos Konstantinidis
Breaking the list to cater for broken mail clients is a ludicrous suggestion. Do you think lame arguments like the following aren't? (from http://www.unicom.com/pw/reply-to-harmful.html) Some administrators justify Reply-To munging by saying, All responses should go directly to the list

Re: [PHP] array problems

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 04:45, Curtis Maurand wrote: consider the following code (content.txt is tab delimited). $city = Ipswitch; $content = fopen(content.txt, r); $city_found = 0; while (!feof($content) $city_found == 0) { $my_line = fgets($content, r);

Re: [PHP] eregi function?

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 06:32, Jas wrote: Not sure how to do this but I have a call to a database which pulls the contents of a table into an array and I need a eregi string which will sift through the contents and put a line break (i.e. \n or br) after each ;, } or {. If that is

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread - Edwin -
Okay, I've seen my name so here we go again... ;) On Wed, 26 Nov 2003 16:59:27 +0900 Dave G [EMAIL PROTECTED] wrote: Edwin, Hi Dave, I read the articles you pointed out. I'm sorry, but I still have not seen any argument that makes me think that the reply-to-the author option

Re: [PHP] Certificate failure for (IMAP)

2003-11-26 Thread Jason Wong
On Monday 24 November 2003 04:45, QT wrote: I try your advise which is imap open sample like follows and I get; Warning: imap_open(): Couldn't open stream {mail.smsavantaj.com:110/pop3 [snip] It looks like you tried the example in the manual. As the same example worked for me I think that

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
[quote] Breaking the list to cater for broken mail clients is a ludicrous suggestion. [/quote] I don't know who is talking about broken anything, but I'm certainly not. I don't think this list is broken, or that my email software is broken, or that anyone else's is, or that other lists

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Jason Wong
On Wednesday 26 November 2003 17:26, Dave G wrote: [quote] Breaking the list to cater for broken mail clients is a ludicrous suggestion. [/quote] [snip] I tend towards the side that follows the natural expectation model because I don't think it comes at the expense of any options.

Re: [PHP] $ of variables, php, mysql

2003-11-26 Thread Marek Kilimajer
Eugene Lee wrote: On Tue, Nov 25, 2003 at 11:38:27AM +0100, Marek Kilimajer wrote: : Eugene Lee wrote: : : Try using more variables to make life a little easier to parse: : : $colname = $_FORM['form'] : $query = select {$colname} from structure; : $result = mysql_query($query); : while

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Nigel Jones
I totally agree. The cost for Outlook is heaps do you think we what to flush $200(or however much it is in your country) down the drain??? And note to the ones that say just switch to another client well have you ever worked in a Corporate Enviroment, Companies have their systems locked down so

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Nigel Jones
You have missed in my opinion the most important thing, many do NOT want to throw money down the drain because their Client Doesn't support mailing lists ok. IMHO we'd be better off having a PHP Forum on php.net and scrub the Mailing List altogether. That would just about suit everyone. You get

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
Guys. This is ridiculous! When I check my mails from PHP General Mailing List it's to learn something new about PHP and to help somebody to learn abut PHP. NOT TO WITNESS CAT FIGHTS. Take your issues elsewhere as you or wasting everyone's time, space and bandwidth. -Original Message-

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Roddie Grant
on 26/11/03 7:18 am, Rasmus Lerdorf at [EMAIL PROTECTED] wrote: Just to add an authoritative answer here. I am now thoroughly confused! I clicked Reply-All to Rasmus Lerdorf's message. Result: To: Rasmus Lerdorf and Nigel Jones Cc: PHP General Mailing List. I clicked Reply-All on a Jason Wong

RE: [PHP] Blessing an object

2003-11-26 Thread Wouter van Vliet
Raditha Dissanayake wrote: Hi Wouter, Wouter van Vliet wrote: Hi Folks I was wondering (mostly because I came across some situations where I need it) if PHP supplies any methods to bless an array or object to become some other object. In perl, I can simply do: (..) I suspect that

[PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution? -- PHP General

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Sophie Mattoug
Anonymous wrote: I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution?

Re: [PHP] Blessing an object

2003-11-26 Thread Raditha Dissanayake
Hi, Hmm, seriailze and deserialize.. Don't think that's what I would want to do. You probably mean that I can serialize an object, hack the string to change the Class reference. That's not really what I want to do. more or less yes Right now I'm hacking through it by *) Creating a new

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
Well, you see. I didn't mean it that way. I meant PHP to fetch a website. The website is password protected and you need to fill a form to access it. So I would like PHP to fill that form for me. Would that be possible? Are there any other solutions? Sophie Mattoug [EMAIL PROTECTED] skrev i

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Nathan Taylor
You're not making any sense my friend. If you want to fill form field then supply them with a value= value. There's nothing more to it. - Original Message - From: Anonymous To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:37 AM Subject: Re: [PHP] PHP script that

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Sophie Mattoug
form-filling is client-side, php is server-side = i don't see any solution for your problem... Anonymous wrote: Well, you see. I didn't mean it that way. I meant PHP to fetch a website. The website is password protected and you need to fill a form to access it. So I would like PHP to fill that

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Adam i Agnieszka Gasiorowski FNORD
John W. Holmes wrote: Adam i Agnieszka Gasiorowski FNORD wrote: Thomas Svenson wrote: If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. I wouldn't mind that at all. What clients do you recommend for

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Adam i Agnieszka Gasiorowski FNORD
John W. Holmes wrote: Try the Opera's 7 M2 (build-in revolutionary email and news client). Is this an advertisement or does it actually have the features everyone is looking for? Oh, it does automatically sort all complying mailing lists, BTW, no need to create filters

RE: [PHP] PHP script that fills forms ?

2003-11-26 Thread Nigel Jones
If it's protected by the PHP Auth or htaccess I think you can pass User/Pass via the headers Anyone know for sure? _ Nigel Jones [EMAIL PROTECTED] -Original Message- From: Anonymous [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 11:38 PM To: [EMAIL

[PHP] Could some one check my code

2003-11-26 Thread PAUL FERRIE
i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file ?php include(connection.php); if(!empty($rating)){ $query=SELECT * FROM

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Eugene Lee
On Wed, Nov 26, 2003 at 04:38:50PM +0900, Dave G wrote: : : I find the fact that the topic has come up multiple times in itself : indicative of what natural human expectations are. I find that M$ Outlook does a number of things that going against natural human expections. : On the lists I

[PHP] Re: PHP script that fills forms ?

2003-11-26 Thread Bogdan Stancescu
Check out curl, I think it does this. If it doesn't, you have one last shot to keep it simple by sending the data via GET instead of POST. If that fails too, you're practically going to have to emulate a browser. That wouldn't be SO tricky, sending a few POST variables is not *such* a big

Re: [PHP] Could some one check my code

2003-11-26 Thread Sophie Mattoug
PAUL FERRIE wrote: i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file ?php include(connection.php); if(!empty($rating)){

RE: [PHP] Is there a php built-in function to determine the numbe r of dimensions of the array?

2003-11-26 Thread Ford, Mike [LSS]
On 26 November 2003 03:28, [EMAIL PROTECTED] contributed these pearls of wisdom: Hello all mailing list, I am wondering if it exists a PHP built-in function to determine the numbers of dimensions of any type of array (indexed, and associative), thanks for any help, bye. (i) All PHP arrays

RE: [PHP] Object aggregation/composition - Experimental..?

2003-11-26 Thread Ford, Mike [LSS]
On 25 November 2003 18:48, Video Populares et Optimates contributed these pearls of wisdom: Hi! I'm sifting through the possibilities with PHP and naturally one of the first things I searched for was the possibility for OO development. Now, I found chapter LXXII in the PHP manual (file

Re: [PHP] Could some one check my code

2003-11-26 Thread Eugene Lee
On Wed, Nov 26, 2003 at 11:23:19AM -, PAUL FERRIE wrote: : : i am getting this error returned but i dont know why :( : error: : : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result : resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 : : php file

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Roddie -- ...and then Roddie Grant said... % % on 26/11/03 7:18 am, Rasmus Lerdorf at [EMAIL PROTECTED] wrote: % % Just to add an authoritative answer here. % % I am now thoroughly confused! Well, that's an honest answer. % ... % What is supposed to happen? (This is a plea for education,

[PHP] Socket problems

2003-11-26 Thread Technical Services
I am trying to use a php include provided by a 3rd party. In the include the code is trying to open a socket however I get the following error: errno 38 - Socket operation on non-socket however if I check the server the file requested exists and is chmoded 777. Does anyone have any

Re: [PHP] Could some one check my code

2003-11-26 Thread John W. Holmes
PAUL FERRIE wrote: i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file ?php include(connection.php); if(!empty($rating)){

[PHP] Queries Regarding File Upload and Form Object enctype attribute

2003-11-26 Thread Prashant
Dear Mr Jay Blanchard There are some queries regarding PHP 4.1.As you mentioned in php 4.1 register_globals=off. are set for security reasons. Is it Required to have Form attribute as enctype=multipart/form-data if i have a File Upload on the Particular Form. form name=form1

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Jay Blanchard
[snip] If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved.[/snip] As has been said several times, not all can do this. True. But maybe instead of *switching* they can just use *another* mail client for mailing

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Sophie Mattoug
Wouldn't it be possible to stop this troll ? Or go on, but in private between people who are interested by this matter... Thanks Jay Blanchard wrote: [snip] If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved.[/snip]

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
I agree! -Original Message- From: Sophie Mattoug [mailto:[EMAIL PROTECTED] Sent: 26 November 2003 14:39 To: [EMAIL PROTECTED] Subject: Re: [PHP] Add Reply-To to this list(s) Wouldn't it be possible to stop this troll ? Or go on, but in private between people who are interested by this

RE: [PHP] FLAG

2003-11-26 Thread Jay Blanchard
[snip] Well, so is there any online resource whereby I can read up on FLAG ???Or any idea how should I go about creating the memory location to store the binary-ish information (e.g. true/false, yes/no, 1/0)? Hope to get some help soon...thnx. [/snip] You're not likely to find something

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Justin French
On Wednesday, November 26, 2003, at 09:48 PM, Nathan Taylor wrote: You're not making any sense my friend. If you want to fill form field then supply them with a value= value. There's nothing more to it. he wants PHP to act as a 'user at a keyboard and mouse', entering values into a form,

RE: [PHP] PHP script that fills forms ?

2003-11-26 Thread Jay Blanchard
[snip] I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution? [/snip] Use

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Justin French
On Wednesday, November 26, 2003, at 09:14 AM, Anonymous wrote: I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Prashant
Dear Mr Justin There are some queries regarding PHP 4.1.As you mentioned in php 4.1 register_globals=off. are set for security reasons. Is it Required to have Form attribute as enctype=multipart/form-data if i have a File Upload on the Particular Form. form name=form1 action=test.php3

RE: [PHP] FLAG

2003-11-26 Thread Jay Blanchard
[snip] You're not likely to find something specific on FLAG, but maybe the following demonstration can help ?php if(blue == $sky){ $niceWeatherFLAG = TRUE; } else { $niceWeatherFLAG = FALSE; } ? $niceWeatherFLAG is that 'memory location' (variable) where the FLAG information is stored.

RE: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread Jay Blanchard
[snip] (ii) All PHP arrays are 1-dimensional. Some elements of an array may themselves contain arrays, but that only makes them nested arrays, not multi-dimensional. If what you want to know is the deepest level of nesting, then, no, I don't believe there's a built-in function for this. [/snip]

RE: [PHP] FLAG

2003-11-26 Thread Ford, Mike [LSS]
On 26 November 2003 12:43, Jay Blanchard contributed these pearls of wisdom: [snip] Well, so is there any online resource whereby I can read up on FLAG ???Or any idea how should I go about creating the memory location to store the binary-ish information (e.g. true/false, yes/no, 1/0)? Hope

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Dave, et al -- ...and then Dave G said... % % Edwin, % I read the articles you pointed out. I'm sorry, but I still have % not seen any argument that makes me think that the reply-to-the author % option is better. In another posting I've put forth some of my reasons. Perhaps you've simply

[PHP] Outlinin block of code

2003-11-26 Thread Uros
Hello! Anybody know any good PHP ide with support of code outlining like Visual .NET. On the left side where are usualy line numbers is + and you can group functions, classes or custom defined blocks of code. -- Best regards, Uros mailto:[EMAIL PROTECTED] -- PHP

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Nigel, et al -- ...and then Nigel Jones said... % % You have missed in my opinion the most important thing, many do NOT want to % throw money down the drain because their Client Doesn't support mailing % lists ok. What money down the drain? Most of the mail clients presented as alternatives

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Panos -- ...and then Panos Konstantinidis said... % % % What's the problem with the Reply All button? % % Which of the following words you just don't % understand: *some mail clients (eg yahoo) do not have % a Reply All button? Which of the following words do you not understand? GET A

Re: [PHP] Windows Environment Variables

2003-11-26 Thread Rodney Green
Jason Wong wrote: On Wednesday 26 November 2003 00:24, Rodney Green wrote: Is PHP able to access and use Windows Environment Variables? If so, is there a function or a reference you can point me to? If any are available they would most likely be in: print_r($_SERVER) Thanks Jason.

RE: [PHP] Is there a php built-in function to determine the numbe r of dimensions of the array?

2003-11-26 Thread Ford, Mike [LSS]
On 26 November 2003 13:09, Jay Blanchard contributed these pearls of wisdom: [snip] (ii) All PHP arrays are 1-dimensional. Some elements of an array may themselves contain arrays, but that only makes them nested arrays, not multi-dimensional. If what you want to know is the deepest level

RE: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread Jay Blanchard
[snip] Just because they *call* them multi-dimensional doesn't *make* them true multi-dimensional arrays -- they're still *nested* 1-dimensional arrays. Both types have advantages and disadvantages, but they are not the same thing. [/snip] Curious, how is it that you define multi-dimensional? --

[PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
Hi all! Its really strange/weird problem for me. it says::: Fatal error: Call to undefined function: mysql_connect() in /home/abcde/dfdfdfd/incfiles/db.inc on line 24 till afternoon site was running fine with all mysql connection . but suddenly its showing that error i don

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[snip] Fatal error: Call to undefined function: mysql_connect() in /home/abcde/dfdfdfd/incfiles/db.inc on line 24 [/snip] Strange indeed. Can you show the code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Sophie Mattoug
If you do phpinfo(), do you see in the section names *Configure Command* this directive: --with-mysql=something ? If not, you must re-compile PHP lwith MySQL support Binay wrote: Hi all! Its really strange/weird problem for me. it says::: Fatal error: Call to undefined function:

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
I just upload a simple file containing ... mysql_connect(localhost,username,password) thtst it ... and its showing fatal error and same problem Binay - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Binay [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday,

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[snip] I just upload a simple file containing ... mysql_connect(localhost,username,password) thtst it ... [/snip] Try mysql_pconnect(localhost,username,password); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Marek Kilimajer
Binay wrote: Hi all! Its really strange/weird problem for me. it says::: Fatal error: Call to undefined function: mysql_connect() in /home/abcde/dfdfdfd/incfiles/db.inc on line 24 till afternoon site was running fine with all mysql connection . but suddenly its showing that error

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
i tried mysql_pconnect() also ... but same problem.. - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 7:18 PM Subject: RE: [PHP] mysql_connect() : undefined function [snip] I just upload a simple file containing ...

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
it says --without-mysql -- i don know .. how suddenly this can happen Binay - Original Message - From: Sophie Mattoug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 7:16 PM Subject: Re: [PHP] mysql_connect() : undefined function If you do phpinfo(),

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[snip] i tried mysql_pconnect() also ... but same problem.. [/snip] As the others have suggested, what does it say when you run phpinfo() ? Is this server under your control? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP+FreeType installation headaches

2003-11-26 Thread Daniel Hansen
Jason Wong wrote: On Wednesday 26 November 2003 15:06, Daniel Hansen wrote: Jason Wong wrote: With RHL you probably want: --with-freetype-dir=/usr I tried that -- no luck. But the libfreetype* files are in /usr/lib Someone else suggested installing the FT devel rpm (which I had

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
it says --without-mysql -- i don know .. how suddenly this can happen Binay - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 7:23 PM Subject: RE: [PHP] mysql_connect() : undefined function [snip] i tried

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[snip] it says --without-mysql -- i don know .. how suddenly this can happen [/snip] Do you own the server or control it? If not, someone else has recompiled PHP without MySQL support and it needs to be re-compiled. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Chris Hayes
At 14:57 26-11-03, you wrote: it says --without-mysql -- i don know .. how suddenly this can happen Binay Better find out who has replaced PHP on your server, or modified the config file of Apache (if you run Apache). - Original Message - From: Sophie Mattoug [EMAIL PROTECTED]

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Marek Kilimajer
Binay wrote: it says --without-mysql -- i don know .. how suddenly this can happen Binay You might have some other version of php installed that was used instead. Check your startup scripts. ps ax |grep httpd will tell you where apache reads its configuration, is it the one it should

Re: [PHP] Outlinin block of code

2003-11-26 Thread Chris Boget
Anybody know any good PHP ide with support of code outlining like Visual .NET. On the left side where are usualy line numbers is + and you can group functions, classes or custom defined blocks of code. Visual Slick Edit. It is by far the best IDE I've run across. It's both versatile and

Re: [PHP] Windows Environment Variables

2003-11-26 Thread Stuart
Rodney Green wrote: $blah = shell_exec (echo %ComputerName%); Eww, evil. Try http://php.net/getenv -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Dave, et al -- ...and then Dave G said... % % To start out, I'd just like to make an observation. I've noticed ... % that the topic has come up multiple times in itself indicative of what % natural human expectations are. On the lists I belong to where responses I very much disagree; I

[PHP] configure/build question

2003-11-26 Thread xmg
I am building PHP 4.3.4 on RH Linux 9.0. When I look at the output of phpinfo() for the version that came with RH I see this param for mysql: '--with-mysql=shared,/usr' I ran configure using the same: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr Have tried

[PHP] Re: Blessing an object

2003-11-26 Thread Greg Beaver
Wouter, you could try this adding this method to each object you need blessings from: function bless($classname) { if ($classname == get_class($this)) { return $this; } $vars = get_object_vars($this); $ret = new $classname; return $ret-loadValues($vars); } function

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Duncan Hill
On Wednesday 26 November 2003 10:04, Nigel Jones wrote: IMHO we'd be better off having a PHP Forum on php.net and scrub the Mailing List altogether. That would just about suit everyone. You get to subscribe to Topics you want to, you can subscribe to whole forums if you want to, less Privacy

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Nigel -- ...and then Nigel Jones said... % % I totally agree. With what? % % The cost for Outlook is heaps do you think we what to flush $200(or however % much it is in your country) down the drain??? While doing my best to not ridicule your [company's] choice of on what to spend some

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Roger B.A. Klorese
you don't need special privs to use another mail program. Actually, given the fact that the other products you're talking about are POP or IMAP clients, and most Exchange-based companies allow only MAPI clients (specifically Outlook and the Outlook Web Access client), that could easily be

Re: [PHP] Outlinin block of code

2003-11-26 Thread David T-G
Uros -- ...and then Uros said... % % Hello! Hi! % % Anybody know any good PHP ide with support of code outlining like Visual % .NET. I don't know from V.NET, but ... % % On the left side where are usualy line numbers is + and you can group % functions, classes or custom defined blocks

Re: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread David T-G
Jay, et al -- ...and then Jay Blanchard said... % % Curious, how is it that you define multi-dimensional? I'm no expert, but I'd say that a multi is addressed as array[x,y,z] while a nested is array[x][y][z] which actually works out about like array[x[y[z]]] or so. How did I do,

[PHP] IE download problem

2003-11-26 Thread Luis Lebron
I am working on a script to force downloading a file. The script works fine with NS (4.8 and 7) but does not work correctly with IE 6.0 I have looked at examples on php.net and have googled for a solution, but still can't find a solution. I think IE wants to download the script instead of the

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Chris Shiflett
--- Panos Konstantinidis [EMAIL PROTECTED] wrote: Which of the following words you just don't understand: The Reply All button is just BESIDE (on the right side) of the Reply button! There is not such a button. They tricked you and changed this recently. When you click the Reply button,

[PHP] Stripping out all illegal characters for a folder name

2003-11-26 Thread Joseph Szobody
Folks, I'm taking some user input, and creating a folder on the server. I'm already replacing with _, and stripping out a few known illegal characters (', , /, \, etc). I need to be sure that I'm stripping out every character that cannot be used for a folder name. What's the best way to do

Re: [PHP] Outlinin block of code

2003-11-26 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): % % On the left side where are usualy line numbers is + and you can group % functions, classes or custom defined blocks of code. ... vim does a nice job folding, which sounds like what you describe. I tend to use foldmarkers and be picky, but

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): [snip] it says --without-mysql -- i don know .. how suddenly this can happen [/snip] Do you own the server or control it? If not, someone else has recompiled PHP without MySQL support and it needs to be re-compiled. Another option is

Re: [PHP] Stripping out all illegal characters for a folder name

2003-11-26 Thread Sophie Mattoug
Joseph Szobody wrote: Folks, I'm taking some user input, and creating a folder on the server. I'm already replacing with _, and stripping out a few known illegal characters (', , /, \, etc). I need to be sure that I'm stripping out every character that cannot be used for a folder name. What's

Re: [PHP] Stripping out all illegal characters for a folder name

2003-11-26 Thread Curt Zirzow
* Thus wrote Sophie Mattoug ([EMAIL PROTECTED]): Joseph Szobody wrote: I'm taking some user input, and creating a folder on the server. I'm already replacing with _, and stripping out a few known illegal characters (', , /, \, etc). I need to be sure that I'm stripping out every

Re: [PHP] Stripping out all illegal characters for a folder name

2003-11-26 Thread CPT John W. Holmes
Sorry for the reply to the reply, but OExpress won't let me reply to newsgroup posts... From: Sophie Mattoug [EMAIL PROTECTED] Joseph Szobody wrote: I'm taking some user input, and creating a folder on the server. I'm already replacing with _, and stripping out a few known illegal characters

Re: [PHP] IE download problem

2003-11-26 Thread CPT John W. Holmes
From: Luis Lebron [EMAIL PROTECTED] I am working on a script to force downloading a file. The script works fine with NS (4.8 and 7) but does not work correctly with IE 6.0 I have looked at examples on php.net and have googled for a solution, but still can't find a solution. I think IE wants

  1   2   >