Forum: PHP 2 Days Ago |
| Replies: 3 Views: 141 That should work fine. I have done this sort of thing to prevent a double definition of a function as in:
if (!function_exists('abc')) {
function abc() {
...
}
} |
Forum: PHP 4 Days Ago |
| Replies: 2 Views: 217 What you may want is one or more Accordion sections that open when you click on the header. Have a look at this page. (http://docs.jquery.com/UI/Accordion)It has an example so you can see if that's... |
Forum: Troubleshooting Dead Machines 6 Days Ago |
| Replies: 6 Views: 676 Start-up problems where the system won't get through the POST process are usually caused by some sort of hardware issue. Hibernation and maybe being in the middle of the update restart process may... |
Forum: PHP 7 Days Ago |
| Replies: 1 Views: 196 There are lots of resources out there so you just have to do a bit of searching. The link below leads to a lot of programs in this general category. You may find one that does exactly what you want... |
Forum: PHP 10 Days Ago |
| Replies: 2 Views: 195 Using PHPMyAdmin is the easiest way to do it. If you need to have customized processing then you can try the Google Excel reader at:
excel_reader2... |
Forum: PHP 13 Days Ago |
| Replies: 11 Views: 433 Assuming that the new image would show when the next person gets to the specific page (or pages), then you probably need Cron or something like that to trigger a (PHP) program that would set an... |
Forum: PHP 14 Days Ago |
| Replies: 12 Views: 457 Making variables available across different modules like this is best done using session variables. |
Forum: PHP 17 Days Ago |
| Replies: 14 Views: 426 I suggest that you 'explode' the string and then check that the parms exist in the array that is created. |
Forum: PHP 19 Days Ago |
| Replies: 3 Views: 252 It will be quicker for you to use the paypal class than to figure out what is wrong with your code.
If you had provided all of the code set up to use the PayPal sandbox then it would be easy to... |
Forum: Geeks' Lounge 20 Days Ago |
| Replies: 8 Views: 413 Unfortunately, this isn't an urban legend. If you look at Big Pharma as a business looking to maximize their profits and dominate the market, it makes sense that they would try to control the natural... |
Forum: PHP 23 Days Ago |
| Replies: 5 Views: 221 Define "not working". If you do it right it works. |
Forum: PHP 23 Days Ago |
| Replies: 5 Views: 221 Try this:
desktop_write (http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php) |
Forum: PHP 25 Days Ago |
| Replies: 4 Views: 338 You may find that this helps to make it easy:
php-paypal-ipn-integration-class (http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html) |
Forum: Geeks' Lounge Oct 19th, 2009 |
| Replies: 68 Views: 9,255 Even most lawyers like lawyer jokes so don't take any of these too personally.
Here's a couple more:
A man walked into a bar with his alligator and asked the bartender, "Do you serve lawyers... |
Forum: PHP Oct 18th, 2009 |
| Replies: 4 Views: 255 Are you using a secured page (Https)? If so, then apparently is isn't passed. |
Forum: PHP Oct 18th, 2009 |
| Replies: 2 Views: 266 I think that you may have a better chance if getting help on the Argo Forum. You can try the link below to see if the advice helps with your situation. The message is the same even though the error... |
Forum: PHP Oct 16th, 2009 |
| Replies: 5 Views: 399 What permission is defined for the directory that you are trying to upload to? |
Forum: PHP Oct 15th, 2009 |
| Replies: 5 Views: 399 You haven't provided too much detail. You have to look at the obvious first. You haven't indicated what investigation you have already done. If you are trying to upload into this directory, you need... |
Forum: PHP Oct 13th, 2009 |
| Replies: 2 Views: 226 I have used re-directs without any problem that I'm aware of in any of the browsers. I use them on a couple of sites that re-direct in the initial index module to a sub-domain so it gets used a lot.... |
Forum: PHP Oct 9th, 2009 |
| Replies: 3 Views: 224 500 errors can be difficult to debug. You may want to contact your web host and see if they can give you any more info from their logs. |
Forum: PHP Oct 5th, 2009 |
| Replies: 9 Views: 342 You have a choice:
1. Your query can use just the query name as in:
mysql_query ($query1) ...
2. In your Connect use a variable to keep the resource handle:
$handle =... |
Forum: PHP Oct 5th, 2009 |
| Replies: 9 Views: 342 Change your mysql_db_query to a mysql_query with the query string as the only parm. It will use the DB that you selected. |
Forum: Windows Vista and Windows 7 Oct 3rd, 2009 |
| Replies: 18 Views: 880 It may take multiple tries. If you did that and you couldn't get it to start then you'll need another solution. Good luck. |
Forum: Windows Vista and Windows 7 Oct 3rd, 2009 |
| Replies: 18 Views: 880 If you aren't even getting to the initial (HP) screen then it is probably a hardware problem. It never gets past the initial hardware status tests and it aborts the boot and then tries to restart.... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 11 Views: 610 I tried a number of them and ended up with Sun Netbeans (which now does PHP and other languages not just Java). |
Forum: Troubleshooting Dead Machines Oct 3rd, 2009 |
| Replies: 12 Views: 1,070 See my latest post (http://www.daniweb.com/forums/thread205806-2.html). Your symptoms are a bit different but you can try what I've been doing to see if it works. |
Forum: Troubleshooting Dead Machines Oct 3rd, 2009 |
| Replies: 13 Views: 2,234 New posts are added regularly for HP Boot Problems because it seems to be a pretty widespread problem. I am using a bypass to get around the problem and this may work for others as well.
In the... |
Forum: Windows Vista and Windows 7 Oct 3rd, 2009 |
| Replies: 25 Views: 2,750 And a Final Comment:
In the end I think that this is the same problem that many other people have with HP Laptops not booting. It is claimed that it is caused by a problem with the NVIDIA chip and... |
Forum: PHP Sep 29th, 2009 |
| Replies: 2 Views: 229 If your problem is how to select the appropriate record from a (MySQL) database, then you could use:
Select * from table1 where date like '%-$mm-%'
To select a specific month. |
Forum: PHP Sep 29th, 2009 |
| Replies: 3 Views: 304 How about:
<?PHP
while($row=(mysql_fetch_array(result)) {
echo "
<td>$row['photo']</td><td>$row['info']</td>
";
if ($row=(mysql_fetch_array(result)) { |
Forum: PHP Sep 29th, 2009 |
| Replies: 5 Views: 452 I ran your code through my interpreter and I didn't get an error. Is it possible that you are running on PHP 4? I believe that try and catch are PHP 5 only. |
Forum: PHP Sep 29th, 2009 |
| Replies: 21 Views: 561 I have used this little routine to create a unique (ascending) sequence number for registrations. These aren't random, they are very predictable. If you are using the number as a unique reference... |
Forum: PHP Sep 29th, 2009 |
| Replies: 6 Views: 283 Since PHP is interpreted at run time, you don't need to go through any sort of compilation process before putting it on a server or zipping it to make it available for download. Generally, what is... |
Forum: PHP Sep 29th, 2009 |
| Replies: 3 Views: 195 The simplest way (but would probably require some rework on your part) would be to use session variables that you can access anywhere. If you don't do that, then you will probably need Global... |
Forum: PHP Sep 29th, 2009 |
| Replies: 3 Views: 195 To verify what is working at each step, you can use get_defined_vars(); to dump the variables to see what is defined and what isn't. You can experiment until it works. |
Forum: PHP Sep 27th, 2009 |
| Replies: 1 Views: 292 Read this article and see if it helps:
article (http://www.devshed.com/c/a/PHP/Generate-PDF-Documents-with-PHP-on-the-Windows-Platform/) |
Forum: PHP Sep 26th, 2009 |
| Replies: 4 Views: 386 With the ob_start statement, the echo statements shouldn't be a problem however, they are redundant.
Try putting an ob_end_clean() before the header statements to clear the buffer and turn off... |
Forum: PHP Sep 25th, 2009 |
| Replies: 2 Views: 191 If you are trying the process the code as data then you will probably want to use file_get_contents and file_put_contents to read and write the php file as if it were data.
You will then probably... |
Forum: PHP Sep 25th, 2009 |
| Replies: 1 Views: 211 If you want help I think that you will need to be more specific. If you don't know how to design it, then you may want to download a shopping cart module or two and see what they have done. If you... |
Forum: PHP Sep 23rd, 2009 |
| Replies: 5 Views: 233 Generally a report in the online php world is displayed to the screen. This is usually driven from a database, most often MySQL. If you want a hard copy, you can print from the screen or possibly... |