ripts that e-mail info, and ones that just enter info into a
database, but have not attempted combining them.
Anyone have any ideas, or is anyone doing this? If so, could you give me a quick
how-to or point me in the direction of some online documentation?
Thanks,
Scott Miller
Is it feasible to have a php form update two different MySQL DB's at the
same time, with all info going to one DB, and just certain info going to the
second?
Just dreaming of ways to make my life easier.
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
g would be greatly
appriciated.
Thanks,
Scott Miller
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I"m attempting to create a simple selection box in PHP, but to no avail. It
keeps giving me an error:
You have an error in your SQL syntax near '; City='Eureka/'' at line 6
Here's a snip from my code:
Add New User
New user added');
} else {
echo('Error adding new user: ' .
AAHH - stupid mistake - thanks!
Guess I better re-read PHP-101
Thanks,
Scott
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Scott Miller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 1:54 PM
S
Hi,
Does fopen() work similar to open in CGI ? If the file doesn't exist will
it create it? What is the best way to test if the file was created?
TIA
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have checked the recent list archives and looked up various PHP functions.
I know what I want should be simple but, apparently not simple enought for
me.
I have a mysql database that has a date field and a time field.
I want users to be able to enter a date and a time in text boxes on an
went wrong?
Thanks,
Scott Miller
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.251 / Virus Database: 263.3.2 - Release Date: 6/15/2004
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> * Thus wrote Scott Miller ([EMAIL PROTECTED]):
> > I have a text file (log file) that I want to be able to read the last 30
or
> > 40 lines of. I've created the code below, but since this file is so
large
> > (currently 8 MB) it won't work. The code works on
- Original Message -
From: "Oliver Hankeln" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 9:13 AM
Subject: Re: [PHP] Read Last Lines of a Text File
> Scott Miller wrote:
>
> >>* Thus wrote Scott Miller ([EMAIL PROTECTED
- Original Message -
From: "Oliver Hankeln" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 9:29 AM
Subject: Re: [PHP] Read Last Lines of a Text File
> Scott Miller wrote:
>
> >>>I've changed my script to the fol
- Original Message -
From: "Oliver Hankeln" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 10:01 AM
Subject: Re: [PHP] Read Last Lines of a Text File
> Scott Miller wrote:
>
> > - Original Message -
> >
> [snip]
>
> $file ="/var/log/radius.log";
>
>
> $fp = popen("/usr/bin/tail -$limit $file", 'r');
> if (! $fp ) {
> echo 'unable to pipe command';
> }
> while (!feof($fp) ) {
>$line = fgets($fp, 4096);
> print $line."";
>
>
> }
> ?>
>
> I've tried bumping up the 4096 to a higher numb
13 matches
Mail list logo