Hi
I've created a form and a bit of code that processes the form and directs to
a confirmation page asking the user to confirm if the details they entered
are correct. Once they hit the confirm button how would I send that
confirmation page as an html file attached to their email. I know its
You should download php4.3.0 dev. The mail enhancements have not been merged
into the 4.2 branch. Sorry for not having been exact in my last posting.
Christoph
Lance wrote:
i downloaded php4.2.2dev and tried my codes on it. still giving me the
same problem.
Try a recent dev-snapshot from
Worked fine for me, what it your sendmail setting.
I'm on win2k php 4.2.1 and i send via my isp's smtp server.
If I'm offline i get an error
Warning: Failed to Connect in c:\my documents\\temp\php\hs~temp.php on line 9
Now, hopefully your message has been sent.The return value of mail() is 0.
Is there any mailing list prorgam for Linux server? I want to have text
import possibility of addresses.
Thanks
Makis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to replace any part of a string that has a certain
soundex with something else? It would also be helpful if I could
reference the original in replacing. Thanks for any tips.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Anyone know how I can check if an image is in cmyk or rgb?
Best regards
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Everyone,
Just came back from a short holiday and see that I have over 2200 messages in my box!
Yes, you read right, thats over 2k of messages.
The problem is that the admin has blocked my old address ([EMAIL PROTECTED]) from posting
but I am still getting mail there!
I am asking anybody
cool! 4.3.0dev work like a charm! but is it safe for deployment server?
--lance
Christoph Grottolo wrote:
You should download php4.3.0 dev. The mail enhancements have not been merged
into the 4.2 branch. Sorry for not having been exact in my last posting.
Christoph
Lance wrote:
i
Hi Makis
Is there any mailing list prorgam for Linux server? I want to have text
import possibility of addresses.
Try this
http://www.triangle-solutions.com/triangle.html?page=newsletter
Mohamed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Georgie Casey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Does anyone know how to upload a file through PHP through the HTT
interface.
I use fopen() to open remote php scripts using the GET method for non-file
uploads but it doesnt work with HTTP POST or
On Saturday 22 June 2002 07:42, Chris Shiflett wrote:
PHP is probably escaping the single quotes for you:
it's - it\'s
When addslashes() is applied to this, both the backslash character and
the single quote are escaped:
\ - \\
' - \'
The result is what you see:
it\'s - it\\\'s
If
php-general Digest 22 Jun 2002 11:19:39 - Issue 1420
Topics (messages 103345 through 103390):
Very slow pg access
103345 by: Uros Gruber
addslashes
103346 by: OMAR IGNACIO CAMPOS GALAN
103350 by: Nick Wilson
103354 by: Chris Shiflett
103390 by:
When I am in page A (or one of it's children) I
wish to show it's one level of children like so:
Page A
Child 1
Child 2
etc...
Page B
When I am in page B (or one of it's children) I
wish to show it's one level of children like so:
Page A
Page B
Child 1
Child 2
etc...
Do you
Lance wrote:
cool! 4.3.0dev work like a charm! but is it safe for deployment
server?
No. It's a dev version which has not been going through qa. (We're using it
on an intranet and didn't have any probs until now.)
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi there, I've read that explorer has a bug when a form post data to
another page that calls header() function. Any idea to avoid this?
Tnx in advance jonny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok. thanks for the info. guess i have to wait till it hit stable version
before deploying it on live server. for now, it's byebye to
CC/BCC/Attachments.
thanks again.
lance
Christoph Grottolo wrote:
Lance wrote:
cool! 4.3.0dev work like a charm! but is it safe for deployment
server?
I use fopen() to open remote php scripts using the GET method for non-file
uploads but it doesnt work with HTTP POST or file uploads.
Does anyone have any ideas?
http://www.php.net/manual/en/ref.curl.php
php consits of a ftpfunction to put files on a webserver without
any cgi-like
Try majordomo or ezmlm, neither are PHP dependent.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Message-
From: savaidis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 3:08 AM
To: PHP list
Subject: [PHP] mailing
Hi,
I suggest you to use ecartis, which is really powerful and easy to
install.
www.ecartis.org
Best regards,
Devrim.
-Original Message-
From: savaidis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 3:08 AM
To: PHP list
Subject: [PHP] mailing list program?
Is
Hello folks,
Iam trying to make a script that you give it the login and password for
a determined password protected site, and it logs you in. It will be
like a proxy.
So, what I have is something like this:
?
$fp = fopen (http://
$login:$[EMAIL PROTECTED]/protected_area/index.html, r);
I found a way of doing this in order to show the home button when
browsing the site, but not when seeing the home page. What I do, is to
set two menus like this:
If ($browse == yes)
{
a href=index.phphome/a
}
a href=page1.php?browse=yespage 1/a
a href=page2.php?browse=yes
Hi,
I've been wondering the behavior of browsers and POST submissions..
basically I'd like to know the behavior of:
is_null(), empty(), and isset().
I've found that sometimes when an item is not filled out, the variable
is still set on the subsequent page, like $_POST['var'] = ;
What does
I want to produce the current date time in a MySQL datetime format
that I can then put into a MySQL database.
How do I do this? I've tried mktime() and getdate() but it's not
working.
Thanks!!
Use the date() function.
On Sat, 22 Jun 2002, Phil Schwarzmann wrote:
I want to produce the current date time in a MySQL datetime format
that I can then put into a MySQL database.
How do I do this? I've tried mktime() and getdate() but it's not
working.
Thanks!!
--
PHP General
I have problem with array_reverse.
I just want to call info from my MySQL / db / table / and display the
info in reverse.
here is a sample of the code:
HTML
?php
$db = mysql_connect(localhost, root, );
mysql_select_db(learndb,$db);
$result = mysql_ query(SELECT * FROM personnel,$ db);
AMI This would echo info by the order of the id.
I would recommend doing that in your SQL, unless you're doing other
special processing.
// for ascending order
SELECT * FROM personnel ORDER BY id ASC
// for descending order, aka reverse
SELECT * FROM personnel ORDER BY id DESC
- Julie
--
The only problem I know of with IE and using the header() function is
when you use the header function like this:
header(Location: http://www.php.net/;);
IE will correctly realize that it needs to make a second request (GET,
no matter what type of request the original was), but it fails to
Al,
This depends entirely on your browser actually, as it is the one sending
form variables back to the server in a POST request. Luckily, browsers
are very consistent with how they handle this. :)
Off the top of my head (I might be forgetting some form field types):
text fields - always set
Hi
I know this might be a bit easy for all you experts out there. I have
multiple checkboxes and text areas in a form. In the confirmation email
sent to the user I manage to get the text areas to display in the email.
How would I get the results of the checkboxes to to display as well?
M.E. Suliman wrote:
Hi
I know this might be a bit easy for all you experts out there. I have
multiple checkboxes and text areas in a form. In the confirmation email
sent to the user I manage to get the text areas to display in the email.
How would I get the results of the checkboxes to
Use NOW() in your query...
INSERT INTO table VALUES (NOW()),'John');
---John Holmes...
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Current date time in MySQL datetime format
I
Phil Schwarzmann wrote:
I want to produce the current date time in a MySQL datetime format
that I can then put into a MySQL database.
How do I do this? I've tried mktime() and getdate() but it's not
working.
Thanks!!
If you want to do it with mysql (i.e. insert the current time) use
Does anyone have a presentation that I could use for an introduction to
PHP programming class? I've got an application that I want to bring some
more developers in on, but I'll need to teach them PHP and MySQL. I want
to give some classes to teach them the basics, and then we can learn
through
I can't get UPDATE to work properly when querying MySQL.
$query = UPDATE $table SET field1='$var1' WHERE id='$id';
I want to update one field of one row in a table. Is this syntax
correct?
Phil Schwarzmann wrote:
I can't get UPDATE to work properly when querying MySQL.
$query = UPDATE $table SET field1='$var1' WHERE id='$id';
I want to update one field of one row in a table. Is this syntax
correct?
yes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Here's a bunch of slide shows
http://conf.php.net/
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: June 22, 2002 2:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Anyone have slides for an Intro to PHP Class?
Does anyone have a presentation that I could use for an
Hi PPL,
Learning PHP was fun thanks to all of you, you were a big help, I could not have come
so far without all your comments,suggestions and flames:-) thanks.
Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is getting flooded
and I would like to stop recieveing
Sorry, I should've mentioned I had looked over those. I may take bits and
pieces from those. Was just wondering if anyone had anything else. something
that follows the manual, for example? This is a variable, this is an IF
loop, this is how you do a file upload, etc...
---John Holmes...
-
Hi PPL,
Learning PHP was fun thanks to all of you, you were a big help, I could not have come
so far without all your comments,suggestions and flames:-) thanks.
Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is getting flooded
and I would like to stop recieveing
It's correct for PHP, but there's no telling what MySQL is actually
recieving. Are you sure all of those variables have values?? Yeah? Are you
really sure??
Use mysql_error() with your query.
$result = mysql_query(UPDATE ...) or die(Error in update: .
mysql_error());
---John Holmes...
-
Hi PPL,
Learning PHP was fun thanks to all of you, you were a big help, I could not have come
so far without all your comments,suggestions and flames:-) thanks.
Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is getting flooded
and I would like to stop recieveing
Those presentations are great.
Also, the source code to power them is available if your browse through
the PHP CVS tree; I believe it's just called pres or something like
that. That way you can tailor your slide shows to your audience as well
as present it without having to have a network
Take those presentations and modify them to fit your needs. I believe
there is even a presentation on how to implement the presentation system.
Chris
1LT John W. Holmes wrote:
Sorry, I should've mentioned I had looked over those. I may take bits and
pieces from those. Was just wondering if
Actually, it looks to me like you're missing a semicolon terminating
your SQL statement. Try this:
$query=update $table set field1='$var1' where id='$id';;
1LT John W. Holmes wrote:
It's correct for PHP, but there's no telling what MySQL is actually
recieving.
- Original Message -
Hi PPL,
Learning PHP was fun thanks to all of you, you were a big help, I could not have come
so far without all your comments,suggestions and flames:-) thanks.
Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is getting flooded
and I would like to stop recieveing
CS Actually, it looks to me like you're missing a semicolon terminating
CS your SQL statement. Try this:
CS $query=update $table set field1='$var1' where id='$id';;
Actually, that semicolon is not required (and I think it might even break it).
The user should echo the query as suggested
Go here and do it yourself:
http://www.php.net/mailing-lists.php
[EMAIL PROTECTED] wrote:
If any of you have an idea on who the admin is kindly tell him to remove me, he/she
can send me a confirmation email if needed to prove that [EMAIL PROTECTED] is my address
too, but please ask him/her
On Sunday 23 June 2002 03:39, [EMAIL PROTECTED] wrote:
Now I have a differient kind of problem, My mailbox ([EMAIL PROTECTED]) is
getting flooded and I would like to stop recieveing mail from the list, I
have tried unsubscribing a number of times without any success as the
admin/moderator
Hey there dude,
Flooding the list with requests to unsubscribe _annoys_ people.
Didnt mean to flood the list, my mail program is giving me a bit of a problem and I
didnt know if the mail had gone or not.
Go and ask yourself! If you had kept/read the welcome message that you should
I know this might be a bit easy for all you experts out
there. I have multiple checkboxes and text areas in a form. In the
confirmation email sent to the user I manage to get the text areas to
display
in the email. How would I get the results of the checkboxes to to
display as
How would I get the difference between strings?
Example:
ViewCVS can browse directories, change logs, and revisions of files. It can
display diffs between versions and show selections of files based on tags or
branches...
This was word for word from sourceforge project ViewCVS, however ViewCVS
If a browser has cookies blocked , anyone have code if unable to set cookie
then goto another page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
I wonder that is there a PHP function like window.open() into Javascript?
thankyouverymuch.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 22 Jun 2002 23:21:07 - Issue 1421
Topics (messages 103391 through 103431):
Nested Menu Help
103391 by: webmaster.tececo.com
103399 by: César Aracena
Re: Cc / Bcc don't work on win2k but on linux???
103392 by: Christoph Grottolo
103394 by:
I find it impossible that PHP should be slow. PHP's Pg functions are -
and shouldn't be - nothing more or else than a frontend to the Pg API.
The problem is most likely that you are not comparing the same values. I
think the analyze values are calculated internal values that has little
to do
This is sometimes a confusing issue for people, but remember that
cookies work like this:
1) client requests a resource from a Web server
2) Web server returns a response to the client including a request to
set cookies (Set-Cookie header)
3) client requests another page from the Web server
isset worked for me thanks.
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 4:37 PM
To: Paul O'Neil
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] cookies
This is sometimes a confusing issue for people, but remember that
cookies work like
Hi All,
I am trying to build a client interface for each of my web-hosting
customers, and would like to have them log into the system using the same
username/password combinations that are used for FTP, email etc.
ie: those stored in the Unix system's passwd and shadow passwd files.
I have
Hi!
Sunday, June 23, 2002, 1:21:07 AM, you wrote:
F I find it impossible that PHP should be slow. PHP's Pg functions are -
F and shouldn't be - nothing more or else than a frontend to the Pg API.
F The problem is most likely that you are not comparing the same values. I
F think the analyze
Both the below are in the same dir.
The meta.array_create.php file works fine
elsewhere
when I try and view stat.phpI get this
error:
Parse error: parse error, expecting `T_STRING' or
`T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To PHP)\includes\stat.php
on line 7
What does
$query = INSERT INTO `stats` (`vid`, `id`, `vn`, `time`, `host`, `referrer`,
`browser`) VALUES ('', '$id', '$_COOKIE
['tececo_stats']', '$time', '$_SERVER['REMOTE_HOST']', '$_SERVER['HTTP_REFERER']',
'$_SERVER
['HTTP_USER_AGENT']'); ;
Try using $_COOKIE[tececo_stats] instead...without the
Sorry, i sent this to the list a few days ago, but i dont think it got
there. heres my problem:
Hi, i have this script that simply reads lines from a txt files
and displays them on my site, itlists the first 4 entries of a txt file
with the files that exist on a download
So what's on /usr/home/pagon/www/index.php on line 497 at a few lines
before it?
---John Holmes...
- Original Message -
From: Pag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 22, 2002 9:50 PM
Subject: [PHP] getaddrinfo failed
Sorry, i sent this to the list a few days
$query = INSERT INTO `stats` (`vid`, `id`, `vn`, `time`, `host`, `referrer`,
`browser`) VALUES ('', '$id', '$_COOKIE
['tececo_stats']', '$time', '$_SERVER['REMOTE_HOST']', '$_SERVER['HTTP_REFERER']',
'$_SERVER
['HTTP_USER_AGENT']'); ;
I hope you are using addslashes on your $_COOKIE and
$query = UPDATE $table SET field1='$var1' WHERE id='$id';
I really hope you don't have register_globals on, or you are validating the
value of $table before you run this kind of query, otherwise your query is
open up to an attack to update any table in the database...
$table = admin SET
Do NOT do it that way! That may work now, but it may not in the future!
The correct way is to append. Like .$_COOKIE['tececo_stats'].
(include the quotes). Do it the same way for the others.
1LT John W. Holmes wrote
Try using $_COOKIE[tececo_stats] instead...without the single quotes
On Sunday 23 June 2002 07:05, David Duong wrote:
How would I get the difference between strings?
Example:
ViewCVS can browse directories, change logs, and revisions of files. It can
display diffs between versions and show selections of files based on tags
or branches...
This was word for
On Sunday 23 June 2002 05:40, [EMAIL PROTECTED] wrote:
I still do have to welcome email, the problem like I mentioned in my first
email is that I have been blocked by the admin/s and cannot send the owner
a letter or send the unsubscribe email, it just bounces back :-(
Have you tried using
On Friday 21 June 2002 17:12, [EMAIL PROTECTED] wrote:
When I am in page A (or one of it's children) I wish to show it's one level
of children like so:
Page A
Child 1
Child 2
etc...
Page B
When I am in page B (or one of it's children) I wish to show it's one level
of children
On Sunday 23 June 2002 07:21, Burak Delice wrote:
hi,
I wonder that is there a PHP function like window.open() into Javascript?
No.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
70 matches
Mail list logo