Forum: PHP Oct 22nd, 2009 |
| Replies: 6 Views: 1,049 If you only have basic FTP access I don't think its possible, some admin panels will let you do it (if you have one) but other than that no ideas so sorry =( |
Forum: PHP Oct 22nd, 2009 |
| Replies: 6 Views: 1,049 Several ways to run a PHP script outside browser:
CLI (Command Line Interface)
Call your script like #php /path/to/your/script.php from terminal/CMD
Telnet/SSH (Same as above)
Crond
On *NIX... |
Forum: PHP Sep 16th, 2009 |
| Replies: 3 Views: 344 There are a few options
1st would be JoomlaXplorer if you are running a Joomla system
This is a very good method of editing files and includes pritty syntax highlighting which makes it much easyer... |
Forum: PHP Aug 12th, 2009 |
| Replies: 4 Views: 237 See the contents of your variable with
print_r($row);
This prints out all the values in an array |
Forum: PHP Jul 31st, 2009 |
| Replies: 5 Views: 451 This is nothing to do with PHP, its all to do with the browsers trying to "URL Encode" the strings. |
Forum: PHP Jul 27th, 2009 |
| Replies: 4 Views: 798 Try this one out
http://pmsys.sourceforge.net/
Its open source :D |
Forum: PHP Jul 27th, 2009 |
| Replies: 4 Views: 798 You meen something like the PM system here at Daniweb?
I'm sure there will be loads of systems out there prebuilt for you |
Forum: PHP May 25th, 2009 |
| Replies: 4 Views: 918 Glad to see you figured it out |
Forum: PHP May 24th, 2009 |
| Replies: 4 Views: 918 Create a simple script such as
<?php
echo $_SERVER['HTTP_USER_AGENT'];
?>
And look at the response. Find something uneque to the IPhone E.G. Safari-Mobile etc. and add that to your script |
Forum: PHP Apr 10th, 2009 |
| Replies: 11 Views: 595 Tizag has some realy great beginer tutorials on PHP (They helped me learn in about 1 month)
Tizag PHP Tutorials (http://tizag.com/phpT/)
Enjoy |
Forum: PHP Apr 6th, 2009 |
| Replies: 2 Views: 416 There are many problems with that.
1 - Unless you spacificaly tell it, PHP will wait till the end of the script before sending ANY information to the browser so that script would not be sent till... |
Forum: PHP Apr 6th, 2009 |
| Replies: 5 Views: 361 Also you should insert some security as users could SQL inject into your database. |
Forum: PHP Mar 22nd, 2009 |
| Replies: 2 Views: 346 Mail (http://php.net/mail) PHP Function
(You would need to be running your own SMTP/Email server though) |
Forum: PHP Mar 16th, 2009 |
| Replies: 5 Views: 968 Yer soz, i wrote that during a Geography lesson and I wasn't thinking propperli :D |
Forum: PHP Mar 16th, 2009 |
| Replies: 5 Views: 968 Open Notepad/Wordpad and navigate to
<Your Windows Drive (C:/)>/windows/system32/drivers/etc/hosts
(You might need to change Text Document (*.txt) to all files to see it)
It should look something... |
Forum: PHP Jan 27th, 2009 |
| Replies: 18 Views: 1,292 OK then, i've looked at it and the URL rewriting rule is working fine (Its redirecting to the right page) and the server is clearly running as there is an error document being displayed. I think you... |
Forum: PHP Jan 27th, 2009 |
| Replies: 18 Views: 1,292 Hmm, it dont look like a missing module in apache as the error outputs the redirect URL
something/mysite/shopping/leftproducts.php?c_id=5
Try asking your webhost but other than that im stumped,... |
Forum: PHP Jan 27th, 2009 |
| Replies: 18 Views: 1,292 .htaccess files can go in any directory but if you are putting your rewrites in a .htaccess you should have it in the topmost directory. However you can put it anywhere you like as long as the links... |
Forum: PHP Jan 26th, 2009 |
| Replies: 18 Views: 1,292 OK then,
Try this:
RewriteEngine on
RewriteRule ^shopping/leftproducts/([A-Za-z0-9]).html$ /shopping/leftproducts.php?c_id=$1 [L, QSA]
I will explain the bits of this for you
1stly you need to... |
Forum: PHP Jun 11th, 2008 |
| Replies: 4 Views: 768 Right i see,
The problem is on the processor there is a command which says:
if (!isset($_POST['email']))
so if email post is not set it will send you back to the form i presume however on the form... |
Forum: PHP May 26th, 2008 |
| Replies: 5 Views: 1,664 When you post your form you need to tell it to post the form to the frame called _top, the frame _top is always the main browser window E.G. everything displayed in the browser.
You need to add a... |