No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
My site is hosted by a hosting company which does not allow me to access the normal cron logs. I want to redirect the output and error messages to a log file in my user space. My cron commmand is /usr/bin/curl -s "http://my/path/to/updateWebsite.php" > dev/null I want to send the … |
|
I have a javascript function that works fine when it is included in a <script></script> statement in the header of my php file, but when I move it to a separate .js file, it throws two errors. The function is function calculate() { var i var optCount = <?php echo … |
|
I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = ' '; $option_text = <<<TABLE <tr> <td>$desc</td> <td … |