[PHP] Problem running ./configure php-4.3.3

2003-10-28 Thread antonio scotti
Hi, the command $./configure end prematurely with the following message can't find main/build-defs.h.in Any reason why this happens? I am installing php-4.3.3 on suse8.1/linux with apache2 Also it looks like that directory privileges are ok rwx both for the parent diretory of main and main. Any

Re: [PHP] show_source

2003-10-28 Thread Evan Nemerson
On Tuesday 28 October 2003 12:55 pm, nathan -- wrote: Is there a way to stop the function show_source() from putting extra code at the begginning and end of the code it grabs? Beginning: codefont color=#00 Middle: br / End: /font/code Not unless you modify Zend/zend_highlight.c and

Re: [PHP] How do i mod php.ini to use an outside smtp?

2003-10-28 Thread Evan Nemerson
Don't think so for PHP's mail(), but I know there are tons of classes out there that speak SMTP and could help you. Check PEAR first ( http://pear.php.net/ ) On Tuesday 28 October 2003 03:05 pm, Mike D wrote: php v4.12 on redhat linux 6.2. Is it possible to give a domain or ip instead of a

Re: [PHP] Problem running ./configure php-4.3.3

2003-10-28 Thread Evan Nemerson
Well I suppose the obvious first: does the file (not just the directory) itself exist? In the source directory, `ls main/build-defs.h.in` On Tuesday 28 October 2003 03:09 pm, antonio scotti wrote: Hi, the command $./configure end prematurely with the following message can't find

Re: [PHP] show_source

2003-10-28 Thread Robert Cummings
On Tue, 2003-10-28 at 16:33, Evan Nemerson wrote: On Tuesday 28 October 2003 12:55 pm, nathan -- wrote: Is there a way to stop the function show_source() from putting extra code at the begginning and end of the code it grabs? Beginning: codefont color=#00 Middle: br / End:

Re: [PHP] Variables not passing to mail script

2003-10-28 Thread John Nichel
CPT John W. Holmes wrote: From: Bob Rea [EMAIL PROTECTED] At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote: Disregard last email. I figured it out. Thanks. Care to tell the rest of us? I'm a newby and would like to know. Hmmm, that's obvious, since you can't even spell newbie. ;) ---John

Re: [PHP] Site Replication Software

2003-10-28 Thread Justin French
On Tuesday, October 28, 2003, at 06:52 PM, Daryl Meese wrote: Does any one know of some good PHP software to replicate websites (allow customer's to choose a template based website, etc.) Can't seem to find anything. Not 100% sure what you're asking for, but my assumption is you're talking

Re: [PHP] show_source

2003-10-28 Thread Curt Zirzow
* Thus wrote Evan Nemerson ([EMAIL PROTECTED]): On Tuesday 28 October 2003 12:55 pm, nathan -- wrote: Is there a way to stop the function show_source() from putting extra code at the begginning and end of the code it grabs? Beginning: codefont color=#00 Middle: br / End: /font/code

Re: [PHP] show_source

2003-10-28 Thread Leif K-Brooks
Curt Zirzow wrote: +1 and + on getting rid of the font tags What he said. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Problem running ./configure php-4.3.3

2003-10-28 Thread antonio scotti
Sorry for not mentioning that, but the process stops just by saying this, but before that another message is shown saying that the file wasn't created. Cheers Antonio --- Evan Nemerson [EMAIL PROTECTED] ha scritto: Well I suppose the obvious first: does the file (not just the directory)

[PHP] Echo issue

2003-10-28 Thread Kim Kohen
G'day all, I've stumbled onto a weird problem after upgrading to Mac OSX 1.3. I had a script whose echo statement wasn't working so I decided to test the echo (I should point out that everything else with php is working fine phpinfo() etc). If I run the following I get nothing returned: ?php

[PHP] Session Timeout

2003-10-28 Thread daniel
Hi there, i am experiencing a session timeout problem with one of my projects. One of the users had left their machine for less than 15 mins, maybe a bit more and it logged them out when posting data. This isnt good as they lost their data. I was wondering how i can dynamically set the session

[PHP] Shortening a String

2003-10-28 Thread Jason Williard
I would like to display part of the output of a query. In many cases, the string returned by this query exceeds 200 characters. Is there a way to cut it off after 200 characters? Even better, is there a way to cut it off at the next space after 200 characters? Thank you for any assistance, -

[PHP] Big array problem.

2003-10-28 Thread Yz.Cai
Hi,there, I am currently using Phrame as my MVC framework. In my project there're more than 50 actions in one of the modules.That means everytime when the script loaded a big array would be initialized.And that would take up too much memory. Of course I can break up the module into serval small

RE: [PHP] Shortening a String

2003-10-28 Thread Martin Towell
substr($str, 0, 200); or an (untested) ereg ereg((.{200}[^ ]*), $str, $bits); HTH Martin -Original Message- From: Jason Williard [mailto:[EMAIL PROTECTED] Sent: Wednesday, 29 October 2003 1:53 PM To: [EMAIL PROTECTED] Subject: [PHP] Shortening a String I would like to display part of

RE: [PHP] Session Timeout

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 6:46 PM wrote: Hi there, i am experiencing a session timeout problem with one of my projects. One of the users had left their machine for less than 15 mins, maybe a bit more and it logged them out when posting data. This isnt good as they lost their data. I was

RE: [PHP] Shortening a String

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 6:53 PM Jason Williard wrote: I would like to display part of the output of a query. In many cases, the string returned by this query exceeds 200 characters. Is there a way to cut it off after 200 characters? Even better, is there a way to cut it off at the

RE: [PHP] Session Timeout

2003-10-28 Thread daniel
right of course, 1440 is only 24 minutes. On Tuesday, October 28, 2003 6:46 PM wrote: Hi there, i am experiencing a session timeout problem with one of my projects. One of the users had left their machine for less than 15 mins, maybe a bit more and it logged them out when posting data. This

Re: [PHP] Error 1148 and 1045

2003-10-28 Thread Burhan Khalid
Steve Buehler wrote: I have upgraded my mysql version to 3.23.58 and am coming up with a couple of errors using phpmyadmin to Insert data from a textfile into table I didn't get this on the previous versions of mysql. Here are the errors: [ snip ] --- Can anybody shed some light

RE: [PHP] Shortening a String

2003-10-28 Thread Jason Williard
Thanks. That's exactly what I was looking for and is working perfectly. - Jason -Original Message- From: Pablo Gosse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 7:18 PM To: Jason Williard; [EMAIL PROTECTED] Subject: RE: [PHP] Shortening a String On Tuesday, October 28,

Re: [PHP] Shortening a String

2003-10-28 Thread John W. Holmes
Jason Williard wrote: I would like to display part of the output of a query. In many cases, the string returned by this query exceeds 200 characters. Is there a way to cut it off after 200 characters? Even better, is there a way to cut it off at the next space after 200 characters? Read this

[PHP] Generate Thumbnail gif's

2003-10-28 Thread Vijaya_Manda
Dear all, Is there any pre-written code available on the net to generate thumbnail images for a picture. I mean I send the path of the image and my PHP Script should be able to generate a gif file of size 100x71 or something like that. Thanks Regards, ___ PHPLover *

Re: [PHP] Generate Thumbnail gif's

2003-10-28 Thread Leif K-Brooks
Vijaya_Manda wrote: Is there any pre-written code available on the net to generate thumbnail images for a picture. I mean I send the path of the image and my PHP Script should be able to generate a gif file of size 100x71 or something like that. Images will look stretched if you do that, but

[PHP] quotes in php.ini

2003-10-28 Thread Evan Nemerson
Is anyone aware of a way to get double quotes in the php.ini file? For instance, I'd like to be able to set error_prepend_string to font color=\#ff\ (which doesn't work). The only work-around I can think of is doing ini_set()'s in an auto_prepend_file, and that's not acceptable for my

Re: [PHP] Generate Thumbnail gif's

2003-10-28 Thread Leif K-Brooks
Vijay Killu wrote: That will resize the image and display it as a thumbnail. No, they will give you a GD image resource to do what you want with. What I want is a new image to be created. I mean a .gif file. You can't create a GIF, but you can use imagepng() or imagejpeg() to output it

Re: [PHP] quotes in php.ini

2003-10-28 Thread Rolf Brusletto
Evan Nemerson wrote: Is anyone aware of a way to get double quotes in the php.ini file? For instance, I'd like to be able to set error_prepend_string to font color=\#ff\ (which doesn't work). The only work-around I can think of is doing ini_set()'s in an auto_prepend_file, and that's not

Re: [PHP] Generate Thumbnail gif's

2003-10-28 Thread Curt Zirzow
* Thus wrote Leif K-Brooks ([EMAIL PROTECTED]): Vijaya_Manda wrote: Is there any pre-written code available on the net to generate thumbnail images for a picture. I mean I send the path of the image and my PHP Script should be able to generate a gif file of size 100x71 or something like

Re: [PHP] quotes in php.ini

2003-10-28 Thread ary . p . wibowo
Evan Nemerson wrote: Is anyone aware of a way to get double quotes in the php.ini file? For instance, I'd like to be able to set error_prepend_string to font color=\#ff\ (which doesn't work). The only work-around I can think of is doing ini_set()'s in an auto_prepend_file, and that's not

Re: [PHP] quotes in php.ini

2003-10-28 Thread Evan Nemerson
On Tuesday 28 October 2003 11:29 pm, Rolf Brusletto wrote: Evan Nemerson wrote: Is anyone aware of a way to get double quotes in the php.ini file? For instance, I'd like to be able to set error_prepend_string to font color=\#ff\ (which doesn't work). The only work-around I can think of

[PHP] Error 1148 and 1045

2003-10-28 Thread Steve Buehler
I have upgraded my mysql version to 3.23.58 and am coming up with a couple of errors using phpmyadmin to Insert data from a textfile into table I didn't get this on the previous versions of mysql. Here are the errors: SQL-query : LOAD DATA INFILE '/tmp/phpKFlQ2b' INTO TABLE `annsubscribers`

<    1   2