On Wed, 11 Jun 2003, Adrian Teasdale wrote:
>-Hi there
>-
>-We are wanting to create a little help/crm tool for internal use. Rather
>-than reading (and parsing) in an email from a pop account, is it now
>-possible to pipe email in directly to a database via PHP? If so, any
>-pointers on how to
On Wed, 11 Jun 2003, Nick Wilson wrote:
>-Hello everyone,
>-
>-Has anyone written a function that does what nl2br() does but wraps text
>-in a 's instead? I'm a bit of a clean html type and nl2br() just
>-leaves me wishing there was a better way...
Several examples appear in the user comments se
You can add extra info into the appropriate fields like so.
mail("[EMAIL PROTECTED]", "the subject", $message,
"From: [EMAIL PROTECTED]","[EMAIL PROTECTED]");
However, your local sendmail might restrict this behavoir of changing the
sender identity. Mine simply complaines about it in the
On Tue, 3 Jun 2003, Ryan A wrote:
>-Hi,
>-I have decided to check out "Oasis" banner software but cant figure out how
>-to install it in my shared hosting planbecause it says something about
>-compiling it into apache or php etc which has gotten me totally confused.
>-Anybody here worked with
On Wed, 28 May 2003, Jordan Elver wrote:
>-Hi,
>-I've been creating some graphs using jpgraph and they work really well when I
>-view them directly i.e. directly through the script. My problem comes as soon
>-as I try to display them using the tag within another page. When I do:
>-
>-
>-
>-I ca
On Fri, 25 Oct 2002, Tyler Durdin wrote:
>-Is there anyway to have php convert a database from mySQL to Access via a
>-webpage? I have a couple of people here who use Access to do mail merging
>-things with word and it would make my life a ton easier if I did not have to
>-convert the db's ever
On Thu, 17 Oct 2002, Cameron Cooke wrote:
>-I have looked at these, and they make no sense to me. I tried the substr
>-function, but it all went a bit pear shaped.
Try something like this, you can deal with the linewraps ;)
Reference:
http://au.php.net/manual/en/function.strpos.php
http://au.ph
On Fri, 11 Oct 2002, Sharat Hegde wrote:
>-Hello,
>-
>-I am having a problem at my ISP relating to execution of PHP commands from
>-the crontab command. My ISP told me to have a look at the following URL, but
>-despite following these instructions, the crontab job is not being executed.
>-http:
On Fri, 11 Oct 2002, electroteque wrote:
>-when is this being implemented ?
Perhaps in version 4.1 of the MySQL server.
Have a look near the bottom of this page...
MySQL 4.1, the following development release
http://www.mysql.com/products/mysql-4.0/index.html
>-
>-
>-
>---
>-PHP Genera
On Tue, 24 Sep 2002, The New Source wrote:
>-I have a field on a MySql database that is started with a 0, and I want
>-to add 1 to this field every time a button is pressed on a form. So it
>-should add one every time, like if there is 5 and you press it one time
>-it would have 6.
>-
UPDATE tab
I was doing this too with good old AWK CGI scripts and text data files.
Once I imported the data into MySQL I said, "Well this is not much
benefit." Then I started sorting. Then I accessed the information from a
different application. Then I wrote a maintenance application so my
customer could
On Wed, 14 Aug 2002, Robert Parker wrote:
>-On Tuesday 13 August 2002 12:20 pm, you wrote:
>-> Makes sense, except if you use upper and lowercase characters,
>-> numbers, and symbols (as you should for secure passwords). I
>-> would think that with these kind of passwords, storing the sheer
>-> n
On Wed, 14 Aug 2002, Robert Parker wrote:
>-On Tuesday 13 August 2002 12:20 pm, you wrote:
>-> Makes sense, except if you use upper and lowercase characters,
>-> numbers, and symbols (as you should for secure passwords). I
>-> would think that with these kind of passwords, storing the sheer
>-> n
On Wed, 14 Aug 2002, Robert Parker wrote:
>-On Tuesday 13 August 2002 10:57 am, you wrote:
>-> MD5 encryption of passwords is secure since you do not need to decrypt the
>-> password ever (in fact you can't). You just encrypt the password that the
>-> user entered and check if the MD5 of each pa
Say it is not so.
I hear the PHP 4.2.2 will only set the last cookie delivered by a browser
to a variable in the PHP environment.
Is this true?
**
John Huggins
VANet
[EMAIL PROTECTED]
http://www.va.net/
**
--
PHP Gen
They seem to be working on it. It comes up every few minutes so keep
trying. I managed to sneak it just long enough to snag 4.2.2.
On Mon, 22 Jul 2002, R'twick Niceorgaw wrote:
>-Hi guys,
>-any one else able to get into www.php.net ?
>-
>-I'm getting this
>-
>-Warning: main("geoip.inc") - No
On Thu, 18 Jul 2002, Harpreet Kaur wrote:
>-
>-Can we reboot a linux server using a php page?
Yes.
>-And is it recommended?
No.
>-
>-Regards,
>-Harpreet Kaur
>-
>-
>-_
>-Join the worlds largest e-mail service with MSN Hotmail.
Dreamweaver has come along nicely. I have only dabbled at the MX version.
Ultraedit, http://www.ultraedit.com/, has proven to be very nice at
handling editing tasks of PHP, HTML, SQL, and hundreds of other languages.
It can edit files via FTP which was useful to me years ago and continues
to b
Table fubar
ID, SomeNumber
1 456
2 123
3 3
4 4589
$query = "UPDATE fubar SET SomeNumber = SomeNumber+1 WHERE ID = 2;
Result
Table fubar
ID, SomeNumber
1 456
2 124
3 3
4 4589
On Fri, 28 Jun 2002, JJ Harrison wrote:
>-what is the best way to increment a mySQL
On Sun, 16 Jun 2002, Danny Kruitbosch wrote:
>-Hi,
>-
>-I'm trying to rewrite a perl finction to php. The function uses Digest::MD5.
>-
>-PHP md5() returns a 32 char hex number. The perl Digest::MD5 function
>-returns a 16 char (ascii??) string. Can I also get this from PHP? If so
>-how do I do
Thanks for your input.
John
>-Actually, it'd be better and faster to just use str_replace() instead of a
>-regular expression...
>-
>John Holmes...
>-
>-- Original Message -
>-From: "John S. Huggins" <[EMAIL PROTECTED]>
>-To: <[EMAIL PROTECT
Can it be true that PHP does not implement the beginning and end of word
syntax of regular expressions?
In builing a bad word filter, I find this...
$outstring = eregi_replace("badword$","goodword",$stringtocheck);
will find an occurance of the 'badword' at the end of the string and
replace
Somewhere in the apache configuration file you will find something like
this...
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
To include the old .php3 extension make it look like this...
Add
On Mon, 27 May 2002, Ragnar wrote:
>-Is it possible to display images in a browser that are stored as a blob
>-column in a mysql table? Or is it better to store images in a direcotory and
>-display them "from" there?
IMHO it is better to let a file system store the image files and let MySQL
refe
If they reveal themselves in the AGENT info of each web request, you could
act on that accordingly in your PHP code by looking at the REQUEST_AGENT
variable. I use this tactic to prevent web sucking programs from access
my site all at once.
On Mon, 13 May 2002, David McInnis wrote:
>-I have bee
On Tue, 7 May 2002, Scott St. John wrote:
>-Morning
>-
>-I am working on a password aging system that will force a user to change
>-their password every 60 days. Can anyone recommend the best method for
>-taking the current date and adding 60 days to that number? Should I do a
>-unix tim
ImageMagic works pretty well. You invoke their command line programs
using the shell capabilities of PHP. "convert" is the particular command
you want.
On Fri, 3 May 2002, simos wrote:
>-Hi
>-
>-My Hosting Provider has'nt the GD lib in PHP enabled. Are threre any alternative to
>create jpg
Long ago I saw this same thing and never did resolve it since the easier
solution is to let MySQL format the date for you using DATE_FORMAT.
Formatting the date using PHP tools from data derived from a query will
just drive you nuts.
There is some kind of "thing" that MySQL and PHP don't agree o
Recursion is the way I manage this in my forum script. The database
table for a particular forum topic does not have any concept of "threads"
in the field data. Each message only knows who its parent is. If the
parent ID = 0, then I know this is the first message of a virtual thread.
Have a l
erical value of "Name" is zero. Try using === to compare type as well
>-as value.
>-
>-miguel
>-
>-On Tue, 23 Apr 2002, John S. Huggins wrote:
>-> I forgot to show you some output from this thing...
>->
>-> ---{0,BLOW, JOE}---Name is BLOW, JOE, Key = 0 |
"Name".
On Tue, 23 Apr 2002, John S. Huggins wrote:
>-
>-I have a problem.
>-
>-I am fetching rows from a MySQL table called "temp." Each row has four
>-fields: "Name", "1", "2" and "3"
>-
>-Then I do this function wh
I have a problem.
I am fetching rows from a MySQL table called "temp." Each row has four
fields: "Name", "1", "2" and "3"
Then I do this function which will eventually generate records for a
lookup table for any skills in the 1, 2 or 3 fields that equal the string
"YES" associated with the Nam
print("$Revision: $");
The next time you commit a file with this in it, the $Revision:$ will be
replaced by $Revision: 1.38$ if you version is in fact 1.38.
On Thu, 4 Apr 2002, Jeff D. Hamann wrote:
>-I'm trying to find a way to insert the cvs version into a footer of my php
>-files so I can si
On Thu, 21 Mar 2002, Georgie Casey wrote:
>-Hi,
>-
>-membership with the username and timestamp in the URL. The users clicks it,
>-and I run a SQL command that copies the row from "tempmembers" into the
>-"members" table.
I assume you are building up all your fields as you move through the site.
Look for CHORA on the net. It is a PHP thing that somehow accesses a CVS
respository. I discovered it as part of phpGroupWare. It works well and
should serve as a decent guide.
On Wed, 20 Mar 2002, Erik Price wrote:
>-I was wondering if there is a way to access CVS from a PHP script.
>-Obv
I have seen this problem before and, yes, an index field with
autoincrement is always a good thing to have.
Perhaps, this is not necessary, but usually works.
John
On Mon, 18 Mar 2002, Jennifer Downey wrote:
>-Hi all,
>-
>-Just wondering, does a table have to have an index? If so what should I
On Mon, 11 Mar 2002, Chuck "PUP" Payne wrote:
>-I have a client that has install phpMyAdmin but can't get into he gets this
>-error;
>-
>-Error
>-MySQL said:
>-
>-
>-Access denied for user: 'root@localhost' (Using password: NO)
>-
>-
>-Is there a way to get into if he knows the password?
Well, y
Create a user activity table which stores the time when the user does
anything. Then query it with a GROUP BY user syntax and constrain the
records to only those after, say, an hour ago if you think that users
doing something during the last hour means they are in there doing
something.
This is
On Wed, 6 Feb 2002, Thomas Franz wrote:
>-Hi,
>-
>-i hope this is the right group for my question.
>-
>-i've written a php-program with a ftp-connection to a mysql database.
>-
>-now there is one problem. the local network has a firewall. Now, if i try to
>-connect to the database via ftp there i
Look at the strings section of the PHP online manual. The function of
choice is probably something like str_replace(). Not sure if this is the
correct thing, but I know you can do what you want with a PHP string
function.
Good luck and make sure to keep those damn CC numbers nowhere on your
ma
I have these issues too and the only thing I knew to do was develop my own
user management system with a simple interface to other programs. My
other programs are custom too. I used Tim Perdue's user system as a code
base so I am duty bound to distribute my changes to the open source crowd
soo
On Wed, 5 Dec 2001, Dan McCullough wrote:
>-Is there away to take a md5 encrypted password and decrypt it and give that to the
>client, if they
>-fogot their password.
No.
>-
>-=
>-dan mccullough
>-
>-"Theres no such thing as a proble
On Fri, 30 Nov 2001, David Tod Sigafoos wrote:
>-I have a script which generates html and writes out for users to
>-download. The script works and the html file works.
>-
>-I build strings of html then writeout with fwrite.
>-
>-My question is how can i add linefeeds to the strings?
\n
or ma
On Thu, 29 Nov 2001, Ken Savage wrote:
>-Super new to PHP but I'm putting in the effort to learn quickly.
>-How would I output the user's IP address in a php file.
>-
>-I want the webpage to say...
>-
>-Your IP address is xx.xx.xx.xx
Try finding it in these variables:
$HTTP_SERVER_VARS["REMOT
On Thu, 29 Nov 2001, Mike wrote:
>-I am being hosted by South West Bell, and my php files are not even
>-recognized. They are stored in the correct folder, but SWB ONLY allows
>-read/write permissions, and NO chmod access. The tech support guy told me
>-that I have to code the Execute permissio
The forum PHP program package Phorum has something like this available. I
believe it is a file called phorummail.php.
I remember using it as a basis for another program and it really does a
good job of indentifying and splitting headers and body of emails into
assorted variables.
On Sun, 25 Nov
On 19 Nov 2001, Jeff Bearer wrote:
>-Is anybody doing something like this with their PHP development? Any
>-direction from a working implementation would be great. And what do you
>-think about the VNC idea that I just came up with?
>-
VNC in a fine tool, but I think not needed for this. Here i
Hello folks.
I am yet another person having difficulty with 4.0.6 and GD graphic
support. It has been a while since I have been on this list so I want to
search the archives of this group.
Where are the archives? I remember some archive last year with a black
background.
Thanks.
***
48 matches
Mail list logo