Re: [PHP] Crontabs

2002-06-18 Thread Matthew Ward
What do you mean by "appropriate #! at the top"? "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Matthew: > > On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote: > > >

Re: [PHP] Perl inside PHP

2002-06-18 Thread Matthew Ward
See here: http://www.php.net/manual/en/function.virtual.php "Chris Knipe" <[EMAIL PROTECTED]> wrote in message news:064401c21654$310e4d40$[EMAIL PROTECTED]... > Yeah, urgh, not exactly what I was hoping on, but I'll give executing perl a > try... I want to stay as far away as possible from mod_pe

[PHP] Crontabs

2002-06-18 Thread Matthew Ward
I want to set up a crontab using my hosts control panel, and when i go to set one up there are boxes for how frequently you want the task to run, and one labelled "Command". Basically, I want to get a PHP script to run every set amount of time, so what do I have to type in the "Command" box to ge

[PHP] How YaBB logs in

2002-05-15 Thread Matthew Ward
I'm currently integrating my site with YaBB so that when you log into my YaBB forums it also logs you into the whole site. I'm also developing a script that I'm integrating into my main page that checks the password in the cookie with the one in the database as a security check. The problem is, t

[PHP] Re: PHP file Opening Problem

2002-05-13 Thread Matthew Ward
It sounds like your just trying to open the file straight from your hard drive using IE. Unfortunately, PHP doesn't work like HTML files or JavaScript in that its not IE or any other web browser that "makes PHP work". It is actually a server that works out all the PHP bits, puts it all in the righ

[PHP] Re: PHP and mySQL

2002-05-13 Thread Matthew Ward
I presume that "quantity" is the number of books that the person has ordered, and therefore it needs to be a variable (ie with a $ infront of it) and its also best to do the calculation outside of the SQL statement just to be sure it works, eg: if ($submit){ if(isset($booktitle) && isset($quan

Re: [PHP] Search Engine With Boolean Support <--Please help

2002-05-12 Thread Matthew Ward
This is a bit of a tricky one, as a search engine isn't just some 10 line code you can quickly type and expect to work. It'd be quite complex, because you have to run several queries for each of the boolean types, and you also have to account somehow for case-sensitivity. I'm currently working on

[PHP] Re: PHP Hosting ...

2002-05-12 Thread Matthew Ward
Instead of switching hosting companies, why don't you just install phpMyAdmin on your webspace, that way you can control your mySQL databases in a far more user-friendly way than SSH will let you do "Tim Thorburn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP] Re: mail function

2002-05-06 Thread Matthew Ward
You can add further variables to the end of your current mail() function to specify the name of who its from, and the email address that they will send the message to when they use the reply function on their email program, like this: mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine