I just finished installing php 4.1.0 with the following options
with-imap, with-expat, with-mysql and with-apxs
my system is Mandrake 8.1
I tried using the mail function to send mail out and this is the error I get
"Warning: mail() is not supported in this PHP build in content on line 26"
Is it
I'll try to be both concise and precise with this.
I have some PHP code like this:
if (!rename($path_to_file,$path_to_file_BACKUP))
die("$unable_to_access_file_msg $path_to_file_BACKUP");
$buffersize = round(filesize($path_to_file_BACKUP)*1.5);
$fp_in = fopen("$path_to_file_BACKUP","r") or
di
php-general Digest 23 Dec 2001 03:44:39 - Issue 1068
Topics (messages 78563 through 78606):
Re: PostgreSQL query taking a long time
78563 by: Papp Gyozo
Re: array_walk() + class methods
78564 by: Jeff Levy
Help with select boxes
78565 by: Sam
78571 by: Andr
i'm trying to use the following code to access a node w/ id=$idnum in
record.xml :
$doc=new DomDocument;
$doc=xmldocfile( "record.xml" );
$strXPath = "/Students[@id='$idnum']";
$context=xpath_new_context($doc);
$query = xpath_eval($context,$strXpath);
$node = $query->nodeset[0];
$strValue = $nod
Hi. I need to convert jpegs to wbmp. Unfortunately, the PHP build available
in my server wasn't compiled with the GD library, so I have no access to
JPEG2WBMP().
Is the source code of this function available somewhere? Or does anyone know
about a PHP class to make this task? At least an algorithm
> i dont understand. What is pear email, and what is it used for?
http://cvs.php.net/cvs.php/php4/pear/Mail.php
and
http://cvs.php.net/cvs.php/php4/pear/Mail
--
Richard Heyes
"If you have any trouble sounding condescending,
find a Unix user to show you how it's done." - Scott Adams
--
PHP
At 11:32 PM 12/22/2001 +0100, mweb wrote:
>Hello,
>
>I know I can convert a string to all uppercases with the strtoupper()
>function. However, what if the original string contains HTML entities?
>
>EXAMPLE:
>
>original string = "funkstörung"
Try this:
--
PHP General Mailing List (http://www.
i dont understand. What is pear email, and what is it used for?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Terry,
Their is a cool class someone has made to make it a snatch to add graphs
charts, and so forth.
Make a search for google for "PHP graph" its the first result JPGraph.
I highly recommend it for your project.
Regards,
Yoep
"Step One" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">
I had a very hard trouble the other week trying to do a fresh installation
of the newest PHP and Apache on the newest Suse (I think 7.3)
with the GD libaries installed!! Everytime it compiled it refused to include
the imagejpeg or imagepng support GD provides.
I ended up just putting the newsest
Hi,
I am using mysql with PHP.
I have one table called inventory with an index field of:
Inventory_Id int(11) NOT NULL auto_increment
Now I want to create another inventory table, for a different type say
Royal_Inventory where it also has a
Royal_Inventory_Id int(11) NOT NULL auto_increment
How
Hello,
I know I can convert a string to all uppercases with the strtoupper()
function. However, what if the original string contains HTML entities?
EXAMPLE:
original string = "funkstörung"
contains lowercase o with dieresis (ö)
properly displayed
> I was wondering if anyone could point me towards some good
> documentation on the PEAR e-mail functions. I was unable to turn
> up anything.
http://www.phpguru.org/pear/contents.html
Not complete yet, but better than nothing.
--
Richard Heyes
"If you have any trouble sounding condescending
Hi there!
I'm writing some stuff for a non-profit site as voluntary help. Does somebody have any
PHP image generation scripts (GD) that could be used to "pretty" up a statistics page.
The produced image should be a chart, pie, bars or something similar that could
visually represent various st
TextPad is another good text editor for all types of programming languages.
Unforuntatly it is not free but the demo my work for you.
http://www.textpad.com
It supports multiple languages like PHP, JAVA and HTML
-Mike
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[
Hello All,
I was wondering if anyone could point me towards some good documentation on the PEAR
e-mail functions. I was unable to turn up anything.
Thanks,
G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I missed this thread but:
a) split takes on regex, explode does not.
b) spliti is case insensitive, spaces don't have cases.
So, in your example, might as well use explode.
$words = explode(' ', trim($string));
Although, let's say the following existed (it will):
$string = 'a b c d
* Phillip B. Bruce ([EMAIL PROTECTED]) [Dec 22. 2001 14:47]:
> Hi,
Hi.
>How can I tell if a web server has gd library load properly. I'm
> having problem with
>the imagecreatejpeg as the graphics does not want to come up. The
> code is correct.
>As other images that doesn't use this
> In pseudo-code:
>
> function makeyogurt ($flavour, $type = 'EMPTY ARRAY')
> { }
function makeyogurt ($flavour, $type = array()) {
...
}
or
function makeyogurt ($flavour, $type = array('a','b')) {
...
}
regards,
Philip Olson
--
PHP General Mailing List (http://www.ph
since you CAN'T create functions runtime, unles you are using an eval
expression
but that's even slower that create_function..
function bla() {
}
$test = "bla";
$test();
Is not solving the problem since, it doesn't create a function at RUNTIME it
only references a function..
(it references $tes
At 01:17 PM 12/22/2001 +0100, Michael Jurgens wrote:
>I'm now looking for a way to have the second (optional) argument be an array
>of strings. I can't get it to work though...
>
>In pseudo-code:
>
>function makeyogurt ($flavour, $type = 'EMPTY ARRAY')
>{ }
Does this work?
function makeyogurt ($
Hi,
How can I tell if a web server has gd library load properly. I'm
having problem with
the imagecreatejpeg as the graphics does not want to come up. The
code is correct.
As other images that doesn't use this are coming up ok.
--
It works does fine with PHP, but my favorite is EditPlus,
py
At 07:29 PM 12/22/2001 +, you wrote:
>Does 1st page work well with PHP? The website says its good for Perl, HTML
>and ASP but it doesnt mention PHP anywhere.
>:-s
>
>
>
>"-Bd-" <[EMAIL PROTECTED]> wrote in message
>028901c18b1c$3c0e
Does 1st page work well with PHP? The website says its good for Perl, HTML
and ASP but it doesnt mention PHP anywhere.
:-s
"-Bd-" <[EMAIL PROTECTED]> wrote in message
028901c18b1c$3c0e4d80$[EMAIL PROTECTED]">news:028901c18b1c$3c0e4d80$[EMAIL PROTECTED]...
> I use 1stpage from evrsoft.com .. no
Deron,
By doing a Post to itself, this form will cause an error everytime someone
clicks the Back button on the browser (after the first post, of course).
What I do is have two forms, first invoked with a get via hot link or
redirect.
Form_1.php checks to see if variable $s has been passed (in
I use 1stpage from evrsoft.com .. not a "real" php editor, but does a
pretty good job...
> Does anybody know of or can recommend any freeware text editing tools for
> editing PHP code in Win32?
> I can manage with Windows' Notepad but something with code highlighting
etc
> and of a similar footp
* LaserJetter ([EMAIL PROTECTED]) [Dec 22. 2001 13:49]:
> Does anybody know of or can recommend any freeware text editing tools for
> editing PHP code in Win32?
> I can manage with Windows' Notepad but something with code highlighting etc
> and of a similar footprint to notepad would be useful.
http://synedit.sourceforge.net
--
Cristian Graziano
Digimax Graphics
Mobile: 206.409.7132
www.digimaxgraphics.com
- Original Message -
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, December 22, 2001 10:46 AM
Subject: [PHP] PHP software
Does anybody know of or can recommend any freeware text editing tools for
editing PHP code in Win32?
I can manage with Windows' Notepad but something with code highlighting etc
and of a similar footprint to notepad would be useful.
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
* Anthony F. Rodriguez ([EMAIL PROTECTED]) [Dec 22. 2001 10:25]:
> When I call the following script, I get "Premature End of Script Header". Why?
> if ($password!=$row_2["password"])
> {
> @mysql_free_result($result_1);
> @mysql_close($connection);
> header ("location:dis_3.htm");
It may
* J.Mueller, pro.vider.de GmbH ([EMAIL PROTECTED]) [Dec 22. 2001 10:03]:
> Hello Everybody,
Hiya.
> we have a problem to implement a PGP-function into
> a PHP-Script. PHP 4.0.6 as CGI, Apache 1.3.11, FeeBSD 4.2
> a)
> PGP from the command line works:
> % pgps -ato test.sig test.txt -z passphra
u can use the function
function GetDirArray($sPath)
{
//Load Directory Into Array
$handle=opendir($sPath);
while ($file = readdir($handle)) if(($file!=".")&($file!=".."))
$retVal[(isset($retVal))?count($retVal):0] = $file;
//Clean up and sort
closedir($handle);
sort($retVal);
return $retVal;
}
//
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 12:38]:
> Yeah, I know. It's not an urgent matter, but I'll probably do with that
> what I'm doing with php and mysql, etc.: rip out the rpms (rpm -e) and
> install from source with my own config files, then symlink openssl-whatever
> openssl. Just
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [Dec 22. 2001 02:59]:
> Hello.
Howdy.
>I am trying to
> ./configure
> and I have many options I want to add. I receive an error which is further
> below. It comes after I type this endless ./configure which you see below as
> shown via telnet:
[...]
At 12:24 PM 12/22/01 -0500, you wrote:
>* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 11:54]:
>
> > Well, that got me headed in the right direction. I ended up combining all
> > the commands on one line and removing the references to openssl (I'll mess
> > with that later) and it worked. I have no
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 11:54]:
> Well, that got me headed in the right direction. I ended up combining all
> the commands on one line and removing the references to openssl (I'll mess
> with that later) and it worked. I have no_idea why...
If you installed openssl from s
Well, that got me headed in the right direction. I ended up combining all
the commands on one line and removing the references to openssl (I'll mess
with that later) and it worked. I have no_idea why...
Thanks,
BenO
At 09:03 AM 12/22/01 -0500, you wrote:
>* Ben Ocean ([EMAIL PROTECTED]) [Dec 22
I don't think what you want to do is possible..
and it is a HTML problem :)..
Maybe JScript could do it by populating the dropdown once you click it, but
I don't know if thats possible...
Andrew
- Original Message -
From: "Sam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, D
Just a suggestion: use exec("ls -1 root/articles/??_head.xml",$article_files) to
find out the files -- then walk $article_files, parse the file and echo whatever
you please. :-)
Bogdan
Martin Hughes wrote:
> Heya,
>
> Can PHP count the number of a certain ftile in a directory and then print
> t
Heya,
Can PHP count the number of a certain ftile in a directory and then print
the result to the screen? I have articles on my site that are in XML/XSL
format like:
root/articles/00_head.xml
00_body.xml
01_head.xml
01_body.xml
When I call the following script, I get "Premature End of Script Header". Why?
TEST
";
};
@mysql_free_result($result_1);
@mysql_close($connection);
exit;
?>
Thanks!
Anthony F. Rodriguez
([EMAIL PROTECTED])
Hello Everybody,
we have a problem to implement a PGP-function into
a PHP-Script. PHP 4.0.6 as CGI, Apache 1.3.11, FeeBSD 4.2
a)
PGP from the command line works:
% pgps -ato test.sig test.txt -z passphrase
b)
Calling a little PHP Script
$kommando = "/usr/local/bin/pgps -ato test.sig test.txt -
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 03:22]:
> None of these suggestions worked. So...what's wrong with this config script
> that it throws these errors?
This may make no difference what so ever, but try removing config.cache,
then use my suggestions and see if you get a different resu
Hi all,
I've a problem which I don't know how to get over, think it could more be an
HTML problem, but anyway.
I've a select box with long options names, this makes the box appear huge on
screen.
I was wondering how I can change the size of the box, so that when the user
clicks on the drop down
Much obliged, that did the trick.
On Fri, 21 Dec 2001 05:48:31 -0500, Papp Gyozo wrote:
> array_walk($ar, array(&$object, 'methodname'));
>
> - Original Message -
> From: "Jeff Levy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 13, 2001 1:17 PM Subject: [PHP] a
use EXPLAIN to get more information about how postgres executes this query.
I'm not sure about this, but there are some issues with fields of type int8.
It may help to cast explicitly the fields involved in join like:
WHERE bible.book::int4 = books.id::int4
Ask it the postgres mai
php-general Digest 22 Dec 2001 12:52:57 - Issue 1067
Topics (messages 78533 through 78562):
spliti
78533 by: Yamin Prabudy
78534 by: Brian Clark
78550 by: George Nicolae
oscommerce / Exchange project
78535 by: Daniel Guerrier
78537 by: Kurt Lieber
C
Tested and works
Or try Popper, a nice standard webmail solution written in PHP.
It must be on freshmeat.net
Michael
"Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Check these out:
> http://www.horde.org/imp/
> http://twig.screwdriver.net/
>
> Also, make su
Can't test it now, but have you tried
function makeyogurt ($flavour, $type = list())
I assume you need it to be an array because you want to either walk it or, more
likely, perform an in_array() test on it and you found that passing non-array
variables to in_array issues an error. If initializin
Hi,
As you all may know, this is how you set an optional second argument, that
defaults to acidophilus
function makeyogurt ($flavour, $type = "acidophilus")
{ }
I'm now looking for a way to have the second (optional) argument be an array
of strings. I can't get it to work though...
In pseudo-c
Check these out:
http://www.horde.org/imp/
http://twig.screwdriver.net/
Also, make sure you search Google for security problems on them - I think IMP
used to have some, but they seem to have fixed them since.
"M.E. Suliman" wrote:
> Hi
>
> I need to create a way for users to a site to check exi
Hi
I need to create a way for users to a site to check existing POP3 mail
accounts, and fulfill all the regular webmail functions. Anyone know how if
there are anywhere I could look for a start. I would prefer if it is in
PHP.
Thanks in advance
Mohamed
look at http://phpmailer.sourceforge.net for a useful class.
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Dasmeet Singh Arora" <[EMAIL PROTECTED]> wrote in message
1009010971.1987.7.camel@linux">news:1009010971.1987.7
see:
http://www.php.net/manual/en/function.mail.php
a link to a tutorial/rfc exists there. also, check the various script
archives for mail packages, most allow for attatchments.
regards,
Philip Olson
On 22 Dec 2001, Dasmeet Singh Arora wrote:
> Is it possible to send attachments using mai
Things you can do:
a) rewrite SSI as PHP
b) rewrite SSI as PHP
c) try using virtual()
d) include them via http, like with file() or include() or fopen()
(a) and (b) are preferred, (c) will work as will (d) and most likely [e-z]
:) Also, search through the archives for other advice on the m
look at http://phpmailer.sourceforge.net for a useful class.
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Andrew V. Romero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I was won
Is it possible to send attachments using mail() command? If yes then how
is it done.
Thanks for any help.
--
http://www.pluginjokes.com
Add FREE Dynamic Jokes To Your Site!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
A post I found on a forum, maybe this thing is worth reading ... there are 2
parts from this same guy ... read below ...
This might be long but shows something I must have missed ... and I'm sure
the solution is simple
On a Plesk intel sys I am having this serious problem tha
$word=exlode(" ",$line);
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> hi guys,
> I need help here.
> I got this
> $line = "no more words
None of these suggestions worked. So...what's wrong with this config script
that it throws these errors?
configure: error: Cannot find OpenSSL's
/usr/local/bin/config_php: --with-kerberos=/usr/krb5-1.2.2: No such file or
directory
/usr/local/bin/config_php: --with-ldap=/usr/local/openldap-2.0.
61 matches
Mail list logo