Forum: PHP
Jun 30th, 2007, 8:37 PM
|
|
Replies: 9
Views: 249
|
Forum: PHP
Jun 25th, 2007, 8:32 AM
|
|
Replies: 3
Views: 118
|
Forum: PHP
Jun 25th, 2007, 6:43 AM
|
|
Replies: 3
Views: 118
With this, you get time(), format it in the...
With this, you get time(), format it in the second line, then reconvert it to time with strtotime, which wont be stored correctly in the database. In fact, your conversion in the second line is...
|
Forum: PHP
Jun 23rd, 2007, 9:03 AM
|
|
Replies: 4
Views: 164
|
Forum: PHP
Jun 2nd, 2007, 1:09 AM
|
|
Replies: 31
Views: 550
There are always bandwidth and server space...
There are always bandwidth and server space restrictions, even if they say there aren't any :rolleyes:
I can see it as a personal challenge, but not as something that's very practical in the real...
|
Forum: PHP
Jun 1st, 2007, 9:03 PM
|
|
Replies: 8
Views: 370
Kingdom of Loathing...
Kingdom of Loathing (http://www.kingdomofloathing.com) is a PHP-based game. It works on click-based actions.
Kings of Chaos (http://www.kingsofchaos.com) is another one.
Just go to google and look...
|
Forum: PHP
Jun 1st, 2007, 8:41 PM
|
|
Replies: 31
Views: 550
In almost every implementation of PHP, there's...
In almost every implementation of PHP, there's going to be some form of SQL database available, unless it's a really basic free web host.
And if it is, there are much better solutions for free web...
|
Forum: PHP
May 31st, 2007, 4:26 AM
|
|
Replies: 31
Views: 550
|
Forum: PHP
May 31st, 2007, 12:07 AM
|
|
Replies: 31
Views: 550
|
Forum: PHP
May 30th, 2007, 6:22 PM
|
|
Replies: 3
Views: 131
|
Forum: PHP
May 29th, 2007, 8:21 PM
|
|
Replies: 31
Views: 550
|
Forum: PHP
May 11th, 2007, 9:44 PM
|
|
Replies: 9
Views: 280
|
Forum: PHP
May 10th, 2007, 5:50 PM
|
|
Replies: 9
Views: 280
|
Forum: PHP
Apr 26th, 2007, 3:10 AM
|
|
Replies: 18
Views: 354
|
Forum: PHP
Apr 25th, 2007, 10:33 PM
|
|
Replies: 18
Views: 354
|
Forum: PHP
Apr 25th, 2007, 3:00 PM
|
|
Replies: 18
Views: 354
|
Forum: PHP
Apr 25th, 2007, 12:06 PM
|
|
Replies: 18
Views: 354
|
Forum: PHP
Apr 25th, 2007, 1:57 AM
|
|
Replies: 18
Views: 354
That won't work. The hidden variable will be...
That won't work. The hidden variable will be available for the next page, not the page they submitted. Or if you're talking about it being there from the start, that wont work either, as the hidden...
|
Forum: PHP
Apr 23rd, 2007, 10:08 AM
|
|
Replies: 5
Views: 196
|
Forum: PHP
Apr 17th, 2007, 11:36 PM
|
|
Replies: 5
Views: 196
|
Forum: Coder's Corner Lounge
Apr 6th, 2007, 10:29 PM
|
|
Replies: 19
Views: 478
|
Forum: PHP
Mar 29th, 2007, 11:47 PM
|
|
Replies: 6
Views: 144
|
Forum: PHP
Mar 29th, 2007, 8:05 PM
|
|
Replies: 6
Views: 144
hm, you can try something like this:
SELECT...
hm, you can try something like this:
SELECT g.GameName FROM members m, games g
WHERE m.Username = '$Username'
AND m.Password = '$Password'
AND m.Game1 = g.GameID
AND m.Game2 = g.GameID
AND...
|
Forum: Other Web Development Languages
Mar 23rd, 2007, 6:20 PM
|
|
Replies: 13
Views: 710
|
Forum: PHP
Mar 21st, 2007, 1:02 AM
|
|
Replies: 22
Views: 411
|
Forum: Other Web Development Languages
Mar 20th, 2007, 8:30 PM
|
|
Replies: 21
Views: 615
yeah, tested here...
yeah, tested here (http://twilightus.net/other/scripts/scripts/file_num_highlight.php) something with your css x_x
|
Forum: Other Web Development Languages
Mar 20th, 2007, 7:33 PM
|
|
Replies: 21
Views: 615
|
Forum: PHP
Mar 20th, 2007, 6:49 PM
|
|
Replies: 22
Views: 411
|
Forum: PHP
Mar 20th, 2007, 6:41 AM
|
|
Replies: 22
Views: 411
|
Forum: PHP
Mar 19th, 2007, 2:33 PM
|
|
Replies: 22
Views: 411
|
Forum: PHP
Mar 19th, 2007, 3:16 AM
|
|
Replies: 22
Views: 411
1
<pr>
2 <?php
3 $filename =...
1
<pr>
2 <?php
3 $filename = 'highlighting.php';
4 ob_start();
5 highlight_file($filename);
6 $source = ob_get_contents();
7 ob_end_clean();
8 $source = explode(chr(13), $source);
9 $temp =...
|
Forum: PHP
Mar 18th, 2007, 9:44 PM
|
|
Replies: 12
Views: 241
|
Forum: PHP
Mar 17th, 2007, 4:49 AM
|
|
Replies: 22
Views: 411
|
Forum: PHP
Mar 17th, 2007, 12:56 AM
|
|
Replies: 12
Views: 241
I perfectly understand what you are trying to...
I perfectly understand what you are trying to do.
What I mean is, the if/else block acts as two completely different pages. You cannot mix the two by putting browser output (HTML, etc) outside of...
|
Forum: PHP
Mar 16th, 2007, 3:07 AM
|
|
Replies: 12
Views: 241
In reference to my example, why don't you put...
In reference to my example, why don't you put your page within the else {} block? In the script, they are acting as two, completely different pages, not like one page within another. That's why both...
|
Forum: PHP
Mar 15th, 2007, 11:38 PM
|
|
Replies: 12
Views: 241
The $image variable within the condition was an...
The $image variable within the condition was an example used for testing. You would replace that with however you get your image content (temporary file while uploading or from database).
If the GET...
|
Forum: PHP
Mar 15th, 2007, 8:47 PM
|
|
Replies: 12
Views: 241
Are you wanting to do this with two files then,...
Are you wanting to do this with two files then, or just one?
If you want to keep within the same file, you can do something like this:
<?php
$file = 'image.jpg';
$types = array('jpg', 'jpeg', 'gif',...
|
Forum: PHP
Mar 14th, 2007, 11:56 PM
|
|
Replies: 7
Views: 151
|
Forum: Other Web Development Languages
Mar 6th, 2007, 9:42 AM
|
|
Replies: 9
Views: 258
As Dameon mentions, using flash is like using...
As Dameon mentions, using flash is like using javascript: they're both client-side. What you're doing is creating a random client-side string, encrypting it, then checking the hash with the input...
|
Forum: PHP
Mar 4th, 2007, 6:24 AM
|
|
Replies: 4
Views: 200
|