Forum: PHP 10 Days Ago |
| Replies: 2 Views: 256 Your problem is the session_destroy() function.
Do this:
x()
{
<?php
//session_destroy();
?>
} |
Forum: PHP 14 Days Ago |
| Replies: 3 Views: 254 Re hosts:
If you've got a budget package, very often you don't get the full control. For htaccess, you may need to upgrade. Some hosts request that you send them the htaccess file and they will... |
Forum: PHP 15 Days Ago |
| Replies: 5 Views: 292 show_large_image(this)';return false;
You need a ';' before the 'return false'. |
Forum: PHP 18 Days Ago |
| Replies: 8 Views: 394 Have you googled?
Have you thought of learning some basics before tackling this?
You'll need to know about:
sessions and $_SESSION variables
mysql connections
html forms with file upload... |
Forum: PHP 18 Days Ago |
| Replies: 3 Views: 268 Use mod rewrite in .htaccess. Google it. |
Forum: PHP 19 Days Ago |
| Replies: 5 Views: 279 Try this:
$client = utf8_encode(stripslashes(urldecode($_GET['clientData'])));
Worked for me. Here's how I tested it:
<?php
$x =... |
Forum: PHP 20 Days Ago |
| Replies: 5 Views: 279 Do ya think ya could post yer code mista? |
Forum: PHP 21 Days Ago |
| Replies: 2 Views: 223 Mark it solved next time, so people won't waste their time checking the first post. |
Forum: PHP Nov 17th, 2009 |
| Replies: 13 Views: 535 Sorry M, this was the problem:
$day = $no(date('w'));
should've been:
$day = $no[date('w')];
Guess I'm not square enough! |
Forum: PHP Nov 13th, 2009 |
| Replies: 11 Views: 552 I'd just have an include file (like config.php) containing all the relevant info in a switch statement. E.g.
//$current_time = integer from 0 to 23 (for hour), which is taken from date() functions... |
Forum: PHP Oct 12th, 2009 |
| Replies: 9 Views: 289 Just remember to protect it with a session id, so that you can't change anybody else's profile. View but not edit. |
Forum: PHP Oct 11th, 2009 |
| Replies: 7 Views: 363 That's a bad stuttering lisp you've got there V.D. |
Forum: PHP Jul 22nd, 2009 |
| Replies: 1 Views: 263 Here's a revolutionary idea: see the site and download. It should save you starting a million threads a day.
revolutionary idea! (http://www.php.net/download-docs.php) |
Forum: PHP Jul 15th, 2009 |
| Replies: 12 Views: 685 What you're saying is that the counter should continue regardless of to where you navigate (e.g. you've been on this site a total of x minutes, y seconds)?
You can't carry over js scripts from one... |
Forum: PHP Jul 15th, 2009 |
| Replies: 8 Views: 716 There are definitely differences in SQL language between MySQL and MS SQL (just as there are between other dbs). You must check all statements thoroughly. If you've used one of the PEAR/PECL database... |
Forum: PHP Jul 6th, 2009 |
| Replies: 21 Views: 1,355 What's the problem? Seems to work. Do you want an autosuggest text box once the table has been selected? If so, there are hundreds of free scripts out there. If you want to do this you'll need to use... |
Forum: PHP Jun 29th, 2009 |
| Replies: 3 Views: 906 firstly, i'd recommend a js framework for the heavy lifting (I usually use prototype). There should be loads of autosuggest scripts out there. Anyway, here's one:
... |
Forum: PHP Jun 10th, 2009 |
| Replies: 6 Views: 488 I came across this a little while ago. I tried some of the functions and they were fine, although one or two didn't work (probably my fault):
http://phpjs.org/
It's basically a set of js... |
Forum: PHP May 23rd, 2009 |
| Replies: 3 Views: 415 I thought that you could only run one query at a time in php. Have you checked the php manual for mysql functions? |
Forum: PHP May 14th, 2009 |
| Replies: 2 Views: 1,057 Why don't you use ajax to do it all in the same page? Opening new windows/tabs (or creating popups) is pretty much detested by most people. You could create a faux popup with a Lightbox... |
Forum: PHP May 14th, 2009 |
| Replies: 3 Views: 336 Duplicate the login form of the forum on your website and have it send details to the forum form handler. If the form handler doesn't send you back to the website page automatically, write in some... |
Forum: PHP Apr 29th, 2009 |
| Replies: 5 Views: 441 I think this image is quite nice and self-explanatory: |
Forum: PHP Mar 29th, 2009 |
| Replies: 12 Views: 1,266 No problem. Check out the rendering in a few browsers if you decide to use it. This was just a quick implementation off the top of my head (it's pretty bare bones). |
Forum: PHP Feb 2nd, 2009 |
| Replies: 17 Views: 9,417 Nice tutorial, however, shouldn't we be using XHTML (lowercase tags) now? |
Forum: PHP Jan 28th, 2009 |
| Replies: 3 Views: 477 I use the extensible Spaw2 from Solmetra. Have used FCKEditor and didn't like it. Spaw2 is very useful because you can add tabs to the processor so you can write for multiple translations with a... |
Forum: PHP Jan 26th, 2009 |
| Replies: 4 Views: 367 Ahem uncle, did you read my post? |