Let me answer my question myself
my os is installed redhat 9.0 and use imap rpm
after I start deamon imap and imaps
(I didn't start imaps deamon at startup)
everything goes well~!
but it still need to add /notls behind protocol
Frederick Kuo 6/3
Php Maillist wrote:
hello everybody, I need help for
BigMark wrote
$sql = INSERT INTO whosaid (name,quote) VALUES ('$name', '$quote');
//$sql = INSERT INTO whosaid (name,quote) VALUES ('','$name', '$quote');
//if you have auto_incrementing id
$result = mysql_qeury($sql);
Try this way!
Best regards
Raja shahed
-Ursprüngliche
Hi!
Since it's almost impossible to find a web server which has freetype
installed, I wonder which the alternatives are to put text on an
image?
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have a question about PHP in relation with software engineering, and in particular,
in order to apply COCOMO metod in a web-oriented software.
I want to do a cost estimation of a software write in PHP-MySQL (and Linux-Apache)
for a LAN.
I know the teory about the software enginnering
Caleb Walker wrote:
This is how I would do it and would require no additional changes to the
code - just set your auto prepend in a .htaccess file if you're using
Apache.
This sounds interesting. Could you elaborate a little more? I mean what
is the auto prepend and what is the syntax for the
Hi there, I am wanting to know if there is any good rss builder classes,
that is similar to what the PEAR XML_Tree class can do. Sadly there is no
pear rss builder out there, and the ones on PHP classes are dodgy. Please
let me know thanks.
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
does anybody have an idea how to implement HBCI-functionality to a PHP-Site?
greetings
Arndt Touby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 03 June 2004 03:57, Ligaya Turmelle wrote:
shouln't be
QUOTE: input type = textarea name=quote...
If that was a question, then: No, it shouldn't. Some versions of a certain
browser may have supported this, but it has never been part of any HTML
standard.
Cheers!
Mike
Hi!
I am about to write a comment system in PHP, but as i am not any good at PHP
i am seeking some advice.
This is what i want from the system:
* Flexibility! I want to be able to attach it where i want let the user give
comments easily. For example comments could be on a blog entry or on a
FROM:Mr DAVIES HARRIES
bills and exchange director
GUARANTY TRUST BANK PLC
Email:[EMAIL PROTECTED]
Fax No:14134519233
Dear Sir,
I am Mr.Davies Harries the bills and exchange director
at the GUARANTY TRUST BANK PLC, I am writing this
letter to solicit for support and assistance from you
to carry
Hi All
I am new to classes and are trying to work out whether
they will make my coding experience easier. I have
written the following test class which is trying to
take three variables from a mssql query and add them
as variables in a new class. This isnt working as i
keep getting an error that
bob pilly wrote:
Hi All
I am new to classes and are trying to work out whether
they will make my coding experience easier. I have
written the following test class which is trying to
take three variables from a mssql query and add them
as variables in a new class. This isnt working as i
keep
PHP Development Team is proud to announce the release of PHP 4.3.7.
This is a maintenance release that in addition to several non-critical bug
fixes, addresses an input validation vulnerability in escapeshellcmd() and
escapeshellarg() functions on the Windows platform. Users of PHP on Windows
I would also suggest adding the following headers to the message, as
they are supposed to help keep the spam filters from recognizing a
message as spam:
X-Priority: 3
X-MSMail-Priority: Normal
Of course, you can read up on the various priority levels and change
them if you want, but these
Did you fix this problem yet? The lines below are fine for your apache
httpd.conf file. The only thing that appears out of the ordinary is the
location of libphp4.so.
In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP,
it places libphp4.so in the modules directory
I'm not sure if this is a complex SQL query or a PHP array sorting
thing, but what's the best way to take this data:
Tom
Greg
Brian
Tom
Brian
Tom
And return the following results, sorted by number of records:
Tom - 3
Brian - 2
Greg - 1
Any thoughts?
--
PHP General Mailing List
Brian Dunning wrote:
I'm not sure if this is a complex SQL query or a PHP array sorting
thing, but what's the best way to take this data:
Tom
Greg
Brian
Tom
Brian
Tom
And return the following results, sorted by number of records:
Tom - 3
Brian - 2
Greg - 1
Any thoughts?
MySQL's
select thename, count(thename) from tablename order by thename asc group
by thename
Try this
-Original Message-
From: Brian Dunning [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 3:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Best way to sort?
I'm not sure if this is a complex
I removed the line AddType application/x-httpd-php .php
and add
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
/Files
restarted httpd and didn't work - what displayed on the browser was:
?php
phpinfo();
?
-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL
wonders if this is the exact same scam that cost millions of dollars in
Canada last year as I do not see a LEGIT bank URL or email address
besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam
list!!!
Davies Harries [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Please reply to the list so that everyone can benefit from the conversation.
I am running Apache 2.0.49 and PHP 4.3.7, but that shouldn't make too
much difference.
Did you check to make sure that libphp4.so is, in fact, in your modules
directory? Also, use the AddType statements instead of the
I also noticed that you're using .php and .phps in your AddType
statement. Take out the dot (.) so that it's just php and phps. That
may be the cause of the problem.
Ben Ramsey wrote:
Please reply to the list so that everyone can benefit from the
conversation.
I am running Apache 2.0.49 and
Hi guys,
I recently installed easy-php on my laptop so i could work on the
go without having to upload my scripts to the server to test them out. The
problem is that when i tried one of my scripts on it, i get some weird
errors, and the script works fine on the online server.
Angelo Zanetti [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
select thename, count(thename) from tablename order by thename asc group
by thename
or...
to sort by number of records
select name, count(name) as ncnt from table group by name order by ncnt desc
-- Rob
--
PHP
If I pass a $_FILES to an object by value. Does it
create a copy of the actual posted files as well?
In other words if I post a 2MB file to save.php and in
turn pass $_FILES to an object $file-fileis($_FILES);
Does that create 4MB of data in memory?
Thanks
Danny
Better if you use $_SERVER['REMOTE_ADDR'] and so on...
pagongski wrote:
Hi guys,
I recently installed easy-php on my laptop so i could work on
the go without having to upload my scripts to the server to test them
out. The problem is that when i tried one of my scripts on it, i
Pardon me for asking, but what is easy-php?
Pagongski wrote:
Hi guys,
I recently installed easy-php on my laptop so i could work on
the go without having to upload my scripts to the server to test them
out. The problem is that when i tried one of my scripts on it, i get
some
I think I know what I did wrong...
I should place the test.php file under the Document_Root directory and I should be
bringing up the test.php file on the browser address as: http://localhost/test.php
right???
What I was doing before was just going to the browser's File -- Open -- and
Pardon me for asking, but what is easy-php?
Easy-php is a simple solution to install
apache+php+mysql+phpmyadmin, all in a nice simple to admin package. Its
great to test locally your scripts and DB access. Sorry, i sound like a
salesman, i am in no ways affilliated to it, just a happy
Pagongski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
snipped /
Here are some example errors:
Notice: Use of undefined constant REMOTE_ADDR - assumed
'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35
These aren't exactly 'errors.' If this is
Yes, you should be accessing it through http://localhost/test.php
That's most definitely the cause of the problem.
Long P Nguyen wrote:
I think I know what I did wrong...
I should place the test.php file under the Document_Root directory and I should be bringing up
the test.php file on the
Daniel Guerrier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I pass a $_FILES to an object by value. Does it
create a copy of the actual posted files as well?
In other words if I post a 2MB file to save.php and in
turn pass $_FILES to an object $file-fileis($_FILES);
Does
OK - thanks for all the help everyone!!
-Original Message-
From: Ben Ramsey [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] php installation verification
Yes, you should be accessing it through http://localhost/test.php
That's
Is anyone else getting this email whenever you send an email to the [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] list?
I get this whenever I send a post.
-Original Message-
From: Information Desk [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 11:09 AM
To: Nguyen, Long P
From: Daniel Guerrier [EMAIL PROTECTED]
If I pass a $_FILES to an object by value. Does it
create a copy of the actual posted files as well?
In other words if I post a 2MB file to save.php and in
turn pass $_FILES to an object $file-fileis($_FILES);
Does that create 4MB of data in memory?
From: pagongski [EMAIL PROTECTED]
Notice: Use of undefined constant REMOTE_ADDR - assumed
'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35
Notice: Undefined variable: HTTP_REFERER in .
I have register globals on. (was off so i turned them on
Rob Adams wrote:
Daniel Guerrier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I pass a $_FILES to an object by value. Does it
create a copy of the actual posted files as well?
In other words if I post a 2MB file to save.php and in
turn pass $_FILES to an object
John W. Holmes wrote:
From: pagongski [EMAIL PROTECTED]
Notice: Use of undefined constant REMOTE_ADDR - assumed
'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35
Notice: Undefined variable: HTTP_REFERER in .
I have register globals on. (was off so i
Hi PHP gurus,
Asked this question on the PHP-DB list, no response there. Hoping
someone here may have the answer. :)
Mostly a research question. I recall (a long time ago - php3?) that
some php packages could be compromised by injecting a secondary query
though GET/POST variables when they were
On 03 June 2004 15:52, pagongski wrote:
Hi guys,
I recently installed easy-php on my laptop so i
could work on the
go without having to upload my scripts to the server to test them
out. The problem is that when i tried one of my scripts on it, i get
some weird errors,
SELECT DISTINCT person_name, count(*)
FROM table_name
GROUP BY person_name
ORDER BY 2 DESC
I'm not sure if this is a complex SQL query or a PHP array sorting
thing, but what's the best way to take this data:
Tom
Greg
Brian
Tom
Brian
Tom
And return the following
From: Marek Kilimajer [EMAIL PROTECTED]
The second error shows you did not turn on register globals. Look at a
phpinfo() page to confirm you edited the right php.ini. You must restart
your webserver after the change, also.
Or he typed the url into the location bar, or selected a bookmark,
I've had no luck on the smarty list. does anyone else know?
_
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: 03 June 2004 16:22
To: '[EMAIL PROTECTED]'
Subject: Variables within Variables
(Sorry for the naff subject - that's the only way I could describe it.!)
I'm trying to
From: James Harrell [EMAIL PROTECTED]
Mostly a research question. I recall (a long time ago - php3?) that
some php packages could be compromised by injecting a secondary query
though GET/POST variables when they were not properly sanitized.
ex:
$query=select a from $b;
mysql_query($query);
On Thu, Jun 03, 2004 at 11:14:29AM -0300, Stephen Lake wrote:
wonders if this is the exact same scam that cost millions of dollars in
Canada last year as I do not see a LEGIT bank URL or email address
besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam
list!!!
The best way is:
SELECT person_name, count(*)
FROM table_name
GROUP BY person_name
ORDER BY 2 DESC
- Original Message -
From: Daniel Clark [EMAIL PROTECTED]
To: Brian Dunning [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 10:30 AM
Subject: Re: [PHP] Best way to
James Harrell wrote:
Hi PHP gurus,
Asked this question on the PHP-DB list, no response there. Hoping
someone here may have the answer. :)
Mostly a research question. I recall (a long time ago - php3?) that
some php packages could be compromised by injecting a secondary query
though GET/POST
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Can someone verify that the solution to this problem is to change my php.ini
file's memory_limit = 8M; line to memory_limit = 16M;?
My script was working fine (file uploading) before. Then, last night I
upgraded to php 4.3.6 and installed Turck mmcache. Now I get the following
error:
Ryan Schefke wrote:
Can someone verify that the solution to this problem is to change my php.ini
file's memory_limit = 8M; line to memory_limit = 16M;?
What about verifying it yourself?
Yes, that should help. If not, try higher values. Don't forget to
restart the webserver.
--
PHP General
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
I will try it but I wanted to make sure that was the best way to solve the
issue. Why would the same script work before (with memory_limit = 8MB) and
now it has that error? That's where I'm confused.
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Ryan Schefke wrote:
I will try it but I wanted to make sure that was the best way to solve the
issue. Why would the same script work before (with memory_limit = 8MB) and
now it has that error? That's where I'm confused.
depends on the data you are working with.
What about verifying it
Hi,
google for 'php pear hbci'. You'll find some useful sites.
Regards, Torsten Roehr
Arndt Touby [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
does anybody have an idea how to implement HBCI-functionality to a
PHP-Site?
greetings
Arndt Touby
--
PHP General Mailing
Hello,
On 06/03/2004 06:28 AM, Electroteque wrote:
Hi there, I am wanting to know if there is any good rss builder classes,
that is similar to what the PEAR XML_Tree class can do. Sadly there is no
pear rss builder out there, and the ones on PHP classes are dodgy. Please
let me know thanks.
Did
Hi everyone,
I am trying to work within someone elses modular system so my
flexibility is rather limited.
I'm trying to do this:
header(Location: javascript:this.print());
Which of course does not work. Anyone know how I might do it?
Many thanks...
--
Nick W
--
PHP General Mailing List
Nick Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everyone,
I am trying to work within someone elses modular system so my
flexibility is rather limited.
I'm trying to do this:
header(Location: javascript:this.print());
Which of course does not work. Anyone know
Nick Wilson wrote:
Hi everyone,
I am trying to work within someone elses modular system so my
flexibility is rather limited.
I'm trying to do this:
header(Location: javascript:this.print());
Which of course does not work. Anyone know how I might do it?
Many thanks...
You can't call JS functions
* and then Torsten Roehr declared
header(Location: javascript:this.print());
Which of course does not work. Anyone know how I might do it?
try this:
echo script language=\JavaScript\
!--
this.print();
//--
/script;
Thanks Torsten, I have managed to do that, but it's in the
* and then Nick Wilson declared
!-- script type=text/javascript
this.print();
/script //--
Right in the middle of the body. It doesnt work LoL! - Seems to me that
it should do...?
Ah... XHTML Strict - Gotta remove the comment tags ;-)
Thanks mate..
--
Nick W
--
PHP General
Hi,
I want to implode a multi-dimensional array into 1 string.
I use the next code to put it into the array:
$spots = Array();
$rows = explode( @, $row['spots'] );
foreach( $rows as $rij )
{
$spots[] = explode( , $rij );
You should be able to use the comment tags, just put them inside the
script tags:
echo script language=\javascript\ type=\text/javascript\
!--
this.print()
//--
/script;
I don't believe you need a semi-colon after this.print within the
javascript script.
[Original Message]
From: Nick Wilson
* and then Dennis Seavers declared
You should be able to use the comment tags, just put them inside the
script tags:
echo script language=\javascript\ type=\text/javascript\
!--
this.print()
//--
/script;
I don't believe you need a semi-colon after this.print within the
From: Tom Wuyts [EMAIL PROTECTED]
I want to implode a multi-dimensional array into 1 string.
Any reason you need to implode() instead of serialize() the array?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Some time ago, I was working for a governement departament, and I asked
about this kind of messages. The answer was clear and explicit:
This kind of message are a FRAUD (I don't now how they do the fraud) and
are investigated and are INVESTIGATED and PERSECUTED by the Spanish
Police in
I have a problem regarding using my php scripts to write files to my
account.
We know that php runs as user apache. Now giving write permissions to
apache for uploading files to my account essentially means that I have to
give write permissions for apache (i.e. o+w). Now, does that not mean that
From: Nirnimesh [EMAIL PROTECTED]
I have a problem regarding using my php scripts to write files to my
account.
We know that php runs as user apache. Now giving write permissions to
apache for uploading files to my account essentially means that I have to
give write permissions for apache
John W. Holmes wrote:
From: Nirnimesh [EMAIL PROTECTED]
I have a problem regarding using my php scripts to write files to my
account.
We know that php runs as user apache. Now giving write permissions to
apache for uploading files to my account essentially means that I have to
give write
From: Travis Low [EMAIL PROTECTED]
John W. Holmes wrote:
From: Nirnimesh [EMAIL PROTECTED]
I have a problem regarding using my php scripts to write files to my
account.
We know that php runs as user apache. Now giving write permissions to
apache for uploading files to my account
I am using the below function which does seem to resize the image yet the
colors in the resized image look horrible. How can I resize the image yet
keep the colors in tact?
Thanks,
Eddie
Justin-I tried your code but it didn't seem to do anything...I will just use
this function if the color will
Hi everyone,
Can anyone recommend a good debugger for *nix?
Many thx!
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey guys. I was wondering if anyone knows how to go about creating a cron
job using vDeck (that's what is installed on the server) that just accesses
a PHP file and runs everything in the PHP file. Does anyone know how to go
about doing something like this?
Thanks,
Matt
http://sweetphp.com
--
Where and how do I set this? I'm to Unix and PHP.
Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when
the
users enters a path like this:
www.myserver.com/path/154
Where and how do I set this? I'm to Unix and PHP.
John Nichel [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when
the
users enters a path like this:
www.myserver.com/path/154--
I think it's in the Apache config file.
Where and how do I set this? I'm to Unix and PHP.
Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query
when
the
users enters a
I am trying to generate tiger tree hashes the same way as directconnect
does, but I am failing.
I checked the output from php with the reference vectors from
http://www.cs.technion.ac.il/~biham...ssie-format.dat
and they appear to be different!
echo bin2hex(mhash(MHASH_TIGER, 'abc')).br/\n;
Robert Winter mailto:[EMAIL PROTECTED]
on Thursday, June 03, 2004 4:31 PM said:
Where and how do I set this? I'm to Unix and PHP.
just look up mod_rewrite and you'll get some answers.
http://www.engelschall.com/pw/apache/rewriteguide/
chris.
p.s. please don't respond to two different
Robert Winter wrote:
Where and how do I set this? I'm to Unix and PHP.
in .htaccess file
RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am looking for a tutorial or a already created class or file that I can
use to learn how to create a form that is populated from a database table
that can be edited in every row and column and takes only 1 SAVE button to
upload all the changes.
Thanks,
Robert
--
PHP General Mailing List
Use a SELECT query to get the values (SELECT * FROM table) and a table that has form
input fields in the cells. The values for the form fields would be based on the array
you get from the SELECT query. The form could be something like form
action=?=$PHP_SELF ? method=post. In the script,
Robert Sossomon wrote:
I am looking for a tutorial or a already created class or file that I can
use to learn how to create a form that is populated from a database table
that can be edited in every row and column and takes only 1 SAVE button to
upload all the changes.
Look on phpclasses.org or in
I've wondered for quite some time, and search just as long it seems like,
for a way to get the current URL directory. For example, let's say you were
at www.example.com/files. The script is executing in this directory, and
it's calling an include script from the base (www.example.com or maybe even
On Thu, 2004-06-03 at 23:15, Stephen Craton wrote:
I've wondered for quite some time, and search just as long it seems like,
for a way to get the current URL directory. For example, let's say you were
at www.example.com/files. The script is executing in this directory, and
it's calling an
Hi,
I'm having problem with the Post method in my PHP + WML file.
Note that I have No problem with the Get method.
When I click Login,
The Error:
Malformed server response
I'm using Win2k + PHP436 for testing.
And I have set the MIME type in the IIS:
.wml
application/x-httpd-php
=
hey,
don't you need a page thats after that and will check the info, if you have
it will help use see what your problem with the $_POST[] is.
From: Shelby [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Problem with PHP + WML + Post method
Date: Fri, 4 Jun 2004 11:46:10 +0800
Hi,
I'm
Hi,
the href property is going back to index.php. It is going back to itself.
Tyler Replogle [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hey,
don't you need a page thats after that and will check the info, if you
have
it will help use see what your problem with the $_POST[] is.
Hi,
You could use $_SERVER['DOCUMENT_ROOT']
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 2004-06-03 at 23:15, Stephen Craton wrote:
I've wondered for quite some time, and search just as long it seems
like,
for a way to get the current URL directory. For
On Fri, 2004-06-04 at 01:38, Aidan Lister wrote:
Hi,
You could use $_SERVER['DOCUMENT_ROOT']
That doesn't work... as the OP mentioned, the URLs might need to refer
locally within a subsite built as a subdirectory within the document
root.
Cheers,
Rob.
Robert Cummings [EMAIL PROTECTED]
89 matches
Mail list logo