Re: [PHP] Can php do this?

2001-11-24 Thread Joelmon2001
Thanks guys I just want to confirm one last thing, as it's been a while since I needed cron After I create this file (cron.file) for ex and use crontab cronfile (I do this as root, if it matters) do permissions need to be set? I really can't recall I would think that would do it as I am not up

Re: [PHP] Can php do this?

2001-11-24 Thread Casey Allen Shobe
On 24 November 2001 23:45, Michael Sims spaketh unto ye recipient: > It sure can. There's a couple of ways to accomplish this. I personally > think the easiest way is to code your page like normal, then call it in a > cron job via lynx. Let's say you have a page called "page.php" that > connect

[PHP] Creating $key, $value pairs

2001-11-24 Thread Ashley M. Kirchner
I need to "convert" the following: --- Todays Date: 20-Nov-2001 10:58:24AM Order ID: W25 Customer Email: [EMAIL PROTECTED] Email Promotions: Ok BILL TO: Business Name: Contact Name: Ashley M. Kirchner Day Num

Re: [PHP] Can php do this?

2001-11-24 Thread Michael A. Peters
If you have built the php standalone binary then its easy- #!/usr/local/bin/php What I do when I build php is build it twice. First I build it with all my options EXCEPT for with-apxs=/blah That builds the standalone binary, and I install that in /usr/local/bin Then, I build the apache module

Re: [PHP] Can php do this?

2001-11-24 Thread Michael Sims
At 10:04 PM 11/24/2001 -0500, [EMAIL PROTECTED] wrote: [snip] >Sort of like cron doing what you would do if you visited >page.php and once it's hit, it emails specified users in a database >Would I need path to php in the cron script to do this? >Or am I just living a dream? It sure can. There's

Re: [PHP] what the best version PHP + APACHE on Solaris8

2001-11-24 Thread Justin England
Just grap the lastest stable version. As of now: Apache ver 1.3.22 PHPver 4.0.6 Most all of my Sparc Solaris8 machines are running Apache 1.3.19/PHP 4.0.6 Hope this helps. Justin England [EMAIL PROTECTED] Network Administrator E-Net Information

[PHP] Hour Calculation

2001-11-24 Thread neeraj
Hi List, !! Please help !! My problem, 1) My Start time for a xyz file is 11.15 am 14-11-2001 2) My End Time for xyz file is 01.20 pm 14-11-2001 3) Total number of hours on the file is 02.05 Hours. 1) Question is how do i calculate the difference in Hours as the result is in point number 3 ?

php-general Digest 25 Nov 2001 03:53:28 -0000 Issue 1014

2001-11-24 Thread php-general-digest-help
php-general Digest 25 Nov 2001 03:53:28 - Issue 1014 Topics (messages 75613 through 75631): Re: Hour Calculation 75613 by: Philip Olson [php] telnet describe command for mysql 75614 by: cosmin laslau 75619 by: Andrew Brampton Using zip files 75615 by: Emili

[PHP] Free Software--EasyType 1.2 Basic makes you type as fast you think

2001-11-24 Thread Slimsoft
EasyType 1.2 Basic EasyType increases your typing speed in ANY Windows editor. It takes you from the age of inputting words letter by letter to the age of inputting word-by-word and phrase-by-phrase. EasyType has three major functions: (1) Auto-learning words and phrases 2) aut

Re: [PHP] Hour Calculation

2001-11-24 Thread Philip Olson
Calm down grasshopper, everything will be okay :) Is there a way you can modify 'start' and 'end' times as more 'standard' time strings? In otherwords, how exactly are they created? I ask because it would be nice to get strtotime() to work here. Or optimally, steps #1-2 would already involve u

[PHP] pipe email to php?

2001-11-24 Thread Kunal Jhunjhunwala
Hey, Ive looked.. and tried... nothing seems to work.. any ideas on how to pipe email to a php script? Ive already setup the valias.. the big question is, how to process the info when the email comes in.. kunal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

[PHP] Can php do this?

2001-11-24 Thread Joelmon2001
Thanks for your time . *This* = create follow up autoresponders Or at least have php run with cron, so I can daily hit a mysql db and use php to email those people at a specified time, like every 3 days. Just so when I have users to the site who register and their name/email is in a table "users"

Re: [PHP] Can PHP take input from the command prompt interactively?

2001-11-24 Thread Evan Nemerson
Yes. you can fopen php://stdin On Saturday 24 November 2001 06:29 pm, you wrote: > Can I write a command line PHP script like the following: > > php -q test.php > > Output: > > == > 1)choice A > 2)choice B > 3)choice C > > Please enter an option: 1 > == > > Than

[PHP] Using zip files

2001-11-24 Thread Emiliano Marmonti
Hi people,       I´m looking for alternatives in using zip files. Our users should upload into our server zipped files and we need to unzip this files and process it. I have read there is a library that could be used like an extension, but I´ve tried to use it from NT and don´t seems like th

Re: [PHP] php->html

2001-11-24 Thread Jim Lucas
checkout the output control function at php.net http://www.php.net/manual/en/ref.outcontrol.php they allow you to capture the test that would have normally been sent to the browser. take the value of the variable and write it to a file.. :) Jim Lucas - Original Message - From: "Christ

php-general Digest 24 Nov 2001 15:53:00 -0000 Issue 1013

2001-11-24 Thread php-general-digest-help
php-general Digest 24 Nov 2001 15:53:00 - Issue 1013 Topics (messages 75604 through 75612): Hour Calculation 75604 by: neeraj Is Freetype needed for Gd? Or just truetype fonts? 75605 by: Joelmon2001.aol.com 75609 by: Michael A. Peters Variable matching... 7

Re: [PHP] PHP SECURITY

2001-11-24 Thread Kurt Lieber
On Saturday 24 November 2001 04:24 am, [EMAIL PROTECTED] wrote: > But when any of our user use readdir and other commands for manipulating > with directories - this user can read scripts of others. > > Do you know what to do ? 1) Read the PHP manual chapter on security: http://www.php.net/manua

[PHP] Can PHP take input from the command prompt interactively?

2001-11-24 Thread David Yee
Can I write a command line PHP script like the following: php -q test.php Output: == 1)choice A 2)choice B 3)choice C Please enter an option: 1 == Thanks. David

Re: [PHP] pipe email to php?

2001-11-24 Thread John S. Huggins
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

[PHP] Stripping Unwanted Characters

2001-11-24 Thread Robert Miller
I'm posting this (see below) for two reasons: 1. so that others may benefit, and 2. to invite feedback on my code (PHP is the first language I have learned... and I've only been doing this for a week or so). Cheers, Rob P.S. Has anyone found a good way to parse variables to validate specific f

Re: [PHP] pipe email to php?

2001-11-24 Thread Michael Geier
The real question is why? What is the purpose of piping the email to a PHP script? Are you trying to insert emails into a database? Are you trying to deal with emails automatically based on subject? Are you trying to deal with emails from a specific source? The answers to these questions will c

[PHP] MySQL function in a Table's Column

2001-11-24 Thread Jared Howard
I'm not really sure what I should be looking for in the MySQL manual. I basically want to make a column that will do math to other columns, like in a spreadsheet program. Is it possible? And if so, what do I look for? And if you can give me an example that would be great. -- PHP General Mail

RE: [PHP] MySQL function in a Table's Column

2001-11-24 Thread Webmaster M&B Trading Co., SA de CV
Look Pared, basically, if you want to do that, is done in the program portion of it through variables, that way every time it reads the data, it calculates the output. If you do the math, and then save it to the record, it might not be accurate at all times. I'm of course not an expert, so I will

Re: [PHP] Is Freetype needed for Gd? Or just truetype fonts?

2001-11-24 Thread Michael A. Peters
Hi. If you are going to be doing text stuff with gd- you definately want FreeType. You want t1lib as well. I'm not positive, but I think your gd library needs to be compiled against FreeType. Here is the part of my configure script for gd- --with-gd=/usr/local \ -

[PHP] UDP Sockets (networking)

2001-11-24 Thread Blaster
Hi, I have a problem with UDP sockets in PHP. What I want to do is the following, i send a UDP message to a server, and a reply should come instantly back. Now, the length of the message returned to me is unknown. It can be anywhere from 1 to 8192 (or more) bytes. However, some strange problem

[PHP] Help needed developing Logic!

2001-11-24 Thread Thomas Edison Jr.
Hi, I've made a PHP Chatroom and i need help developing the logic behind the "Private Chat" feature. I'll first explain briefly how my chat works. It's a very very simple Chat using just DB and nothing else. User enters.. his name,date goes into Chat. QueryString passes his name to main area f

[PHP] cooperation

2001-11-24 Thread Boris_Lipner
Dear Sirs, For some technical reasons we have partially lost our Data Bank of art galleries. Please, write the address of your website, so that we could continue our cooperation. Our site is http://www.gallery-a.ru/ -- Best regards, Boris_Lipner mailto:[EMAIL PROTE