This is seen in blogs alot, where the URL looks like:
site.com/blog/year/month/day
i.e.: site.com/blog/2005/3/10
Yet, there aren't real directories like this, are there? Is there a way to do this that's done through PHP?
Search found 21 matches
- Thu Mar 10, 2005 11:51 pm
- Forum: PHP - Code
- Topic: Using variables that act like directories.
- Replies: 1
- Views: 645
- Mon Feb 28, 2005 10:11 pm
- Forum: PHP - Code
- Topic: Highlighting for our PHP in BB code here! [Available now]
- Replies: 33
- Views: 3559
- Sun Feb 27, 2005 4:33 pm
- Forum: PHP - Code
- Topic: Having PHP code run when no one's looking at your site
- Replies: 3
- Views: 732
Having PHP code run when no one's looking at your site
Is it possible to have a php script run every day, or like set it to run at a certain time, or even have it always running?
- Fri Feb 25, 2005 10:58 pm
- Forum: PHPDN Suggestions
- Topic: blue you
- Replies: 18
- Views: 14760
- Fri Feb 25, 2005 10:53 pm
- Forum: PHP - Code
- Topic: Selecting specific things from a variable.
- Replies: 2
- Views: 487
Selecting specific things from a variable.
So, let's say I have a variable, $var, and:
I want to select the value between [ and ] and put it in another variable. Is there any way to do this?
Code: Select all
$var = 'useless text and їtestyeah]';- Thu Feb 24, 2005 7:21 pm
- Forum: PHP - Code
- Topic: Issue connecting to a database.
- Replies: 3
- Views: 486
Issue connecting to a database.
I keep getting the error "Access denied to x, Using password: NO"... Does anyone know what's wrong with this? o_O A password was input.
Edit: misspelled a variable. I had checked for this, too.
Edit: misspelled a variable. I had checked for this, too.
- Tue Feb 22, 2005 11:27 pm
- Forum: PHPDN Suggestions
- Topic: PHP syntax highlighting?
- Replies: 5
- Views: 5483
- Tue Feb 22, 2005 1:25 pm
- Forum: PHPDN Suggestions
- Topic: PHP syntax highlighting?
- Replies: 5
- Views: 5483
PHP syntax highlighting?
It's built into the language. Perhaps there could be a tag [phpcode] that highlights php.
This is the PHP DN, after all. ;D
This is the PHP DN, after all. ;D
- Tue Feb 22, 2005 1:18 pm
- Forum: UI Design/Usability
- Topic: Please critique my portfolio (Updated - Please look again!)
- Replies: 13
- Views: 14208
- Sat Feb 19, 2005 11:39 pm
- Forum: PHP - Code
- Topic: Variable question...
- Replies: 2
- Views: 636
- Sat Feb 19, 2005 11:17 pm
- Forum: PHP - Code
- Topic: Variable question...
- Replies: 2
- Views: 636
Variable question...
What's the difference between $var and &$var? What does an ampersand do in that situation?
Also, what's the difference between @mysql_fetch_array() and mysql_fetch_array(), and other places where @ is used?
Also, what's the difference between @mysql_fetch_array() and mysql_fetch_array(), and other places where @ is used?
- Tue Feb 15, 2005 11:03 pm
- Forum: PHP - Code
- Topic: As much as you've probably heard this question...
- Replies: 11
- Views: 2015
- Tue Feb 15, 2005 10:20 am
- Forum: PHP - Code
- Topic: As much as you've probably heard this question...
- Replies: 11
- Views: 2015
- Mon Feb 14, 2005 9:02 pm
- Forum: PHP - Code
- Topic: As much as you've probably heard this question...
- Replies: 11
- Views: 2015
- Mon Feb 14, 2005 6:20 pm
- Forum: PHP - Code
- Topic: As much as you've probably heard this question...
- Replies: 11
- Views: 2015