Forum: PHP Nov 15th, 2007 |
| Replies: 2 Views: 1,008 |
Forum: PHP Nov 14th, 2007 |
| Replies: 1 Views: 1,033 Just install something like phpbb just like you would on a website with a domain name. |
Forum: PHP Nov 13th, 2007 |
| Replies: 3 Views: 1,762 You need to use strtotime() (http://us2.php.net/strtotime). |
Forum: PHP Nov 12th, 2007 |
| Replies: 4 Views: 869 Also check out http://www.goodphptutorials.com |
Forum: PHP Nov 12th, 2007 |
| Replies: 3 Views: 990 Do they offer database support? Most free hosts don't. You should contact them to see if they do and ask them how to connect. |
Forum: PHP Nov 12th, 2007 |
| Replies: 3 Views: 7,636 MySQL doesn't recognize arrays much less PHP arrays. You need to put one piece of information in each field. If you want the entire contents of an array to go into one field either serialize it or... |
Forum: PHP Nov 12th, 2007 |
| Replies: 4 Views: 869 There are no tutorials for that. It's called learning and experience. If you don't know any PHP then start off with the basics of which there are countless tutorials out there for as well as good... |
Forum: PHP Nov 11th, 2007 |
| Replies: 4 Views: 906 Specifically for this forum most PHP users here are new to PHP development and thus will be unable to do advanced techniques like OOP. |
Forum: PHP Nov 8th, 2007 |
| Replies: 3 Views: 6,969 You can do this very easily with Apache. |
Forum: PHP Oct 30th, 2007 |
| Replies: 2 Views: 1,335 Well, PHP is as dependent on HTML as any language that generates web pages. If you don't know HTML PHP won't do you much good as you will have difficulty displaying the results of your PHP processing... |
Forum: PHP Oct 30th, 2007 |
| Replies: 2 Views: 627 Try clarifying your ternary statements with parenthesis and see if that helps:
$info = ($info2['dirname'] == '\') ? "" : $info2['dirname'];
$basedir = ($basedir == '\') ? '' : $basedir; |
Forum: PHP Oct 29th, 2007 |
| Replies: 1 Views: 1,097 You would handle this better with CSS which has a format specifically for WAP devices. You code your site the same and then make a special stylesheet for WAP devices. |
Forum: PHP Oct 16th, 2007 |
| Replies: 18 Views: 4,929 It can be changed to work with PHP 4. You just need to change the PHP 5 features to 4:
<?php
class Encryption
{
var $cypher = 'blowfish';
var $mode = 'cfb';
var $key =... |
Forum: PHP Oct 15th, 2007 |
| Replies: 18 Views: 4,929 Here is a good PHP5 class that uses the mcrypt library for two way encryption.
<?php
class Encryption
{
static $cypher = 'blowfish';
static $mode = 'cfb';
static $key =... |
Forum: PHP Oct 11th, 2007 |
| Replies: 1 Views: 586 Google is your friend (http://www.google.com/search?q=difference+php4+and+php5&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a) |
Forum: PHP Oct 9th, 2007 |
| Replies: 6 Views: 968 Do what everyone else does which is the smart thing to do: use an existing forum script. The best is vBulletin. A good free one is phpBB. |
Forum: PHP Oct 1st, 2007 |
| Replies: 3 Views: 741 There is mod for that on the phpbb website. |
Forum: PHP Sep 27th, 2007 |
| Replies: 1 Views: 641 PHP MySQL tutorials (http://www.google.com/search?hl=en&c2coff=1&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=xMu&q=php+mysql+tutorial&btnG=Search) |
Forum: PHP Sep 25th, 2007 |
| Replies: 1 Views: 1,214 There are lots of tutorials available for this online. |
Forum: PHP Sep 21st, 2007 |
| Replies: 1 Views: 990 Since PHP runs on the server it can't play anything. |
Forum: PHP Sep 11th, 2007 |
| Replies: 2 Views: 1,182 Since JavaScript runs in the browser the only way it can talk to PHP is through Ajax. |
Forum: PHP Sep 4th, 2007 |
| Replies: 1 Views: 1,317 Do a Google search for "PHP formmail script". You'll find plenty of existing scripts to use. |
Forum: PHP Aug 29th, 2007 |
| Replies: 3 Views: 1,010 Are you trying to write one? Or are you looking for an existing script? |
Forum: PHP Aug 29th, 2007 |
| Replies: 2 Views: 924 http://www.sitepoint.com/article/toughen-forms-security-image |
Forum: PHP Aug 25th, 2007 |
| Replies: 1 Views: 512 http://www.goodphptutorials.com |
Forum: PHP Aug 19th, 2007 |
| Replies: 8 Views: 1,322 What do you mean by read only? You don't want people to copy the text? Or save the page? |
Forum: PHP Aug 17th, 2007 |
| Replies: 2 Views: 1,460 You'd need to use ActiveX. And that would only work in IE. Basically you can't stop it. |
Forum: PHP Aug 16th, 2007 |
| Replies: 1 Views: 832 Have you written any code for this yourself? How about pseudo code? |
Forum: PHP Aug 15th, 2007 |
| Replies: 1 Views: 880 That most likely means your query failed. Use mysql_error() to get the error message from mysql. |
Forum: PHP Aug 7th, 2007 |
| Replies: 3 Views: 871 Yes it is. Using the date() function you can find which day of the week it is and base your content on that. |
Forum: PHP Aug 3rd, 2007 |
| Replies: 4 Views: 746 It might have to do with your server having register globals off. Instead of $PHP_SELF you should be using $_SERVER['PHP_SELF'], etc. |
Forum: PHP Jul 31st, 2007 |
| Replies: 7 Views: 3,519 You need to learn more about Ajax as you don't include ajax into PHP. In fact PHP really doesn't even care or know about Ajax. All you need to know with your PHP code is whether or not to send out... |
Forum: PHP Jul 30th, 2007 |
| Replies: 2 Views: 3,189 You will need to use regular expressions and preg_match() to do this. |
Forum: PHP Jul 27th, 2007 |
| Replies: 2 Views: 566 In the time it took you to make this post you could have done a Google search... |
Forum: PHP Jul 27th, 2007 |
| Replies: 2 Views: 1,114 Google is your friend. (http://www.google.com/search?q=php+login+form&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a) :) |
Forum: PHP Jul 27th, 2007 |
| Replies: 5 Views: 1,086 I understand why you want to do it. I just wanted to let you know the odds of anyone finding those files is very remote. |
Forum: PHP Jul 26th, 2007 |
| Replies: 5 Views: 1,086 This will block everyone. It goes in a file called .htaccess and it needs to be in your root directory.
Keep in mind that no one can find these files unless you someone have their location in... |
Forum: PHP Jul 26th, 2007 |
| Replies: 5 Views: 1,086 You'll need to use .htaccess to block that file. If your XML files all have a .xml file extension this oughta do it:
# Block all .xml files from being viewed through a web browser
<Files ~... |
Forum: PHP Jul 25th, 2007 |
| Replies: 1 Views: 590 How about you use PHP's FTP functions (http://us.php.net/ftp) to write some code and if you have any problems post your code and ask specific questions? We're happy to help you but we're not here to... |
Forum: PHP Jul 24th, 2007 |
| Replies: 1 Views: 530 Well, that's a syntax error so we can't help you fix it without seeing the code. |