1,317 Posted Topics
Re: If you do a search, you'll easily find info on this. One link that may be useful is: [URL="http://www.faqts.com/knowledge_base/view.phtml/aid/9844/fid/51"]http://www.faqts.com/knowledge_base/view.phtml/aid/9844/fid/51[/URL] | |
Re: Why you want to do it is unclear but a little bit of research will probably provide you with the answer. There are previous posts on this topic such as: [URL="http://www.daniweb.com/forums/thread162002.html"]http://www.daniweb.com/forums/thread162002.html[/URL] | |
Re: If they need to connect to your PC to do it, then they need a remote access utility that will let them log on to your PC and run the job. If it is really just intended to get something run on the server, give them a copy of the … | |
Re: If you search the forum first you can often find previous posts with similar problems. Try this one as an example: [URL="http://www.daniweb.com/forums/thread101948.html"]http://www.daniweb.com/forums/thread101948.html[/URL] | |
Re: In terms of basic tools, ISP's usually have CRON where you can schedule jobs. There is also a scheduler that you can implement yourself (phpjobscheduler) at [URL="http://www.phpjobscheduler.co.uk/"]http://www.phpjobscheduler.co.uk/[/URL] They also have a database backup utility at: [URL="http://www.dwalker.co.uk/phpmysqlautobackup/"]http://www.dwalker.co.uk/phpmysqlautobackup/[/URL] For other automation tasks that can be scheduled using one of these tools, you … | |
Re: Any output at all (even a blank line) before the Header will cause this error. As you say, this often doesn't show up as an error until you run from the server. I didn't notice any obvious echo statements so it is more subtle than that. I seem to remember … | |
Re: Start by changing the line [icode]if(!$db_selsected)[/icode] -to- [icode]if(!$db_selected)[/icode] | |
Re: I'm going to assume that you know something about PHP otherwise you need to do a tutorial. You can add a PHP section at the very start of the module enclosing it in <?PHP and ?> statements. You could include your variables there initially and then move them out to … | |
Re: If what you want is the end result: [U]a working application[/U], then you probably don't want to build it yourself unless you have lots of time, your really want to learn PHP and you're not in any rush to actually have it working and available. One of the advantages of … | |
Re: It looks as if you have tried to embed a PHP statement within a section of PHP code. On the last Print statement you don't need: ...<?PHP echo ...?>... try ...php?id=".$event["id"]."\"> ... | |
Re: You need to save the module as xxx.php If you saved it as a .htm it probably won't deal with the PHP section correctly when you run it. Chris | |
Re: I didn't get an error with this code. It seems that you probably have a problem in the setup of your LAMP environment. Hard to know what that might be unless someone had a similar problem and managed to fix it. | |
Re: I think you answered your own question correctly. Use mysql_num_rows and if there 0 records found then you can take the appropriate action. Chris | |
Re: PHP_SELF is a pre-defined variable that you can define as: $self = $_SERVER['PHP_SELF']; To make it work strictly with PHP, define a form with the action being to $self (after defining it as above). You can define a form with just the drop-down for the first pass and if it … | |
Re: You probably need to set up a windows Association similar to the way in which the mailto: command causes your default mail reader to open. I can't give you an exact how-to. Have a look at mailto in your windows registry under HKEY_CLASSES_ROOT. Chris | |
Re: JKDefrag works very well. [URL="http://www.kessels.nl/JkDefrag/index.html"]http://www.kessels.nl/JkDefrag/index.html[/URL] Chris |
The End.