[PHP] Sensitive Information (like CC)

2001-04-23 Thread Ashley M. Kirchner
What's the best (secure?) way of transmitting sensitive information over email? I'm helping some friends build an online order form. They have a Thawte certificate and are already using it for the order form, but they would like the information to be emailed to them when an order is placed.

[PHP] file_exists with remote file???

2001-04-23 Thread Paulo - Bruc Internet
Can anyone help me? The sintax of function file_exists is: if(file_exists("t.txt")) { print... } Does anybody knows how can work with remote files? This is not working: if(file_exists("http://www.ttt.com/t.txt";)) { print... } Thanks for any help, Paulo Roberto Ens - Brazil Bruc S

[PHP] BASIC function question

2001-04-23 Thread Martin Skjöldebrand
I have a function on an include page that says function update_stuff($database) { include("includes/connect.inc.php"); include("config/db.conf.php"); $query="SELECT * FROM $database"; $query_res=mysql_query($query, $mysql_link); $isequip=mysql_num_rows($query_res); } If I call it from a script a

Re: [PHP] file_exists with remote file???

2001-04-23 Thread J. Jones
On Tue, Apr 24, 2001 at 12:20:01AM -0300, Paulo - Bruc Internet wrote: > Can anyone help me? > > The sintax of function file_exists is: > > if(file_exists("t.txt")) > { > print... > } > > Does anybody knows how can work with remote files? > This is not working: > if(file_exists("http://www.

Re: [PHP] is_link() behavior

2001-04-23 Thread Martin Skjöldebrand
J. Jones wrote: > Forgive me for my ignorance, but I've noticed some unwanted behavior (IMO, > at least) with the is_link() function. Given the simple code.. > > if ( is_link ("/tmp/this_is_a_symlink") ) > print ("Success\n"); > > and the file.. > lrwxrwxrwx 1 root root 5 Apr 23 21:19 /tmp/thi

RE: [PHP] Sensitive Information (like CC)

2001-04-23 Thread Jason Murray
> What's the best (secure?) way of transmitting sensitive > information over email? I'm helping some friends build an online > order form. They have a Thawte certificate and are already using > it for the order form, but they would like the information to be > emailed to them when an order i

Re: [PHP] is_link() behavior

2001-04-23 Thread J. Jones
On Tue, Apr 24, 2001 at 05:31:04AM +0200, Martin Skjöldebrand wrote: > > Warning: stat failed for /tmp/this_is_a_symlink (errno=2 - No such file or > > directory) in ./test.php on line 3. > > Do you have permission to read the /tmp catalog? Otherwise you may get that > error I suppose. > > M.

Re: [PHP] Sensitive Information (like CC)

2001-04-23 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have the email be a "you've got an order" email that has a URL in it which the then can view the order via SSL. That way you don't have to put all the information in the email. PGP is another option, but I find it beyond the abilities of many winbl

Re: [PHP] BASIC function question

2001-04-23 Thread David Robley
On Tue, 24 Apr 2001 12:57, Martin Skjöldebrand wrote: > I have a function on an include page that says > > function update_stuff($database) > { > include("includes/connect.inc.php"); > include("config/db.conf.php"); > $query="SELECT * FROM $database"; > $query_res=mysql_query($query, $mysql_link);

Re: [PHP] PHP and useradd

2001-04-23 Thread Steve Werby
"Nashirak Bosk" <[EMAIL PROTECTED]> wrote: > Ok. I have looked at all my options for creating account dynamically > from a webpage, and have not come up with much. I want to create an > user account that only creates a mail account. I think I can do this > with the useradd command (I am running

Re: [PHP] Why is it dangerous to have register_globals on?

2001-04-23 Thread Rasmus Lerdorf
> Actually it's not "dangerous" per se. > > However if can be very dangerous if you aren't being careful in your code, > for instance, consider this. > > Let's say I've conditionally set $sql somewhere else in the code based upon > certain conditions, which works fine. But let's say those conditio

Re: [PHP] Using

2001-04-23 Thread Martin Cameron
Hi Rene I think that I first used a submit button about html ver 2.0. I want to use a button type - not submit. regards Martin Rene Maldonado wrote: > Hi I think it woulf be better this way: > > print " name = 'hello'>"; > print ""; > print ""; > > > and, the var name i

Re: [PHP] Using

2001-04-23 Thread David Robley
On Tue, 24 Apr 2001 14:12, Martin Cameron wrote: > Hi Rene > > I think that I first used a submit button about html ver 2.0. I want to > use a button type - not submit. > > regards > Martin > > Rene Maldonado wrote: > > Hi I think it woulf be better this way: > > > > print " > name = 'hell

Re: [PHP] Looping through variables

2001-04-23 Thread Dan Lowe
Previously, Ashley M. Kirchner said: > > I have a bunch of variables (through a POST form) that I need to > loop through and check for content. Right now, each one is being > evaluated separately: > > if ($var1 == '') { > $url .= "&var1="; > $error = 1; > } else { > $url .=

Re: [PHP] BASIC function question

2001-04-23 Thread Philip Olson
Looks like you have a scope issue : $a = 'foo'; function bar() { $a = 'bar'; } bar(); print $a; // prints foo outside of the function, $a has not been affected. want it to be? then try something like : $a = 'foo'; function bar() { global $a; $a = 'bar'; } bar();

Re: [PHP] how do I do this

2001-04-23 Thread Adrian D'Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Apr 2001, Andreas Landmark wrote: > > country the corresponding cities should only be listed in the second > > dropdown box. Can some one guide me. Right below is my table > > structure. > > If you want to do this with pure php you'll

[PHP] Want to send email in html format

2001-04-23 Thread George Alexander
Hi, I am working on a newsletter module. What I want to know is that how can we send a newsletter via email to all the subscribers in html format with images in the htm too??? Well I am able to send an html file as attachment using the php mail() function. But I still can't see the images in th

Re: [PHP] how do I do this

2001-04-23 Thread Philip Olson
I missed this thread but check out : http://zend.com/zend/tut/drop-down.php regards, philip On Tue, 24 Apr 2001, Adrian D'Costa wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 23 Apr 2001, Andreas Landmark wrote: > > > > country the corresponding cities should only be

RE: [PHP] Want to send email in html format

2001-04-23 Thread Peter Houchin
have something like mail("$address", "$subject", "$body", "$headers \nContent-Type: text/HTML; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" )in your mail mail( -Original Message- From: George Alexander [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 4:37 P

Re: [PHP] SSL SSL SSL SSL -- READ THIS!!!!!!

2001-04-23 Thread Scott Fletcher
Well there is one method to do this! OpenSSL ./config --prefix=/usr/local/openssl-0.9.6 --openssl=/usr/local/openssl-0.9. 6 make make test make install Mod_SSL ./configure --prefix=/usr/local/mod_ssl-2.8.0-1.3.17 --with-apache=../apache _1.3.17 --with-ssl=../openssl-0.9.6 Apache ./c

[PHP] PHP ---- sort()

2001-04-23 Thread Scott Fletcher
I have used the PHP sort function --> sort(). When I use sort($data, NUMERIC), it sort the data by Numeric order. But it goes in ascending order. Is there a way to make it go in Descending order? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

Re: [PHP] PHP ---- sort()

2001-04-23 Thread Scott Fletcher
I mean, sort($data, SORT_NUMBERIC), not sort($data, NUMERIC). ""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message 9c191q$crh$[EMAIL PROTECTED]">news:9c191q$crh$[EMAIL PROTECTED]... > I have used the PHP sort function --> sort(). When I use sort($data, > NUMERIC), it sort the data by Numeric

[PHP] Calculating the difference between two dates

2001-04-23 Thread Stuart Rees
Please can someone tell me there is a nice function that can calculate the difference between two dates. If there isn't such a function I'm sure someone could tell me how I can do a different way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

<    1   2   3