|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHP Code:
Okay, when I do that, I get an error. What I want to do, is use this one file, 'v5' to run the entire site, rather than have multiple files like 'v5'. I would like it to check the variable and use that vcariables select statement. Also, with the 'blog' section, I want the pages to be pulled up like this: http://localhost/mike/v5/blog/01/30/03 but the data from the blog field 'timestamp' is saved with the datetime feature of mysql. Please help me. Thanks! Last edited by mph : August 23rd, 2003 at 05:20 PM. |
|
#2
|
||||
|
||||
|
For forcetype, have you read the article written by Joe O'Donnell?
Using ForceType For Nicer Page URLs http://www.devarticles.com/art/1/143 i found that article helped me a lot. regarding the date, i guess you'll have to combine the three page parameters accordingly and name it "$BlogName" |
|
#3
|
|||
|
|||
|
I have read the article on this site.
I still need help. |
|
#4
|
|||
|
|||
|
Ok, goto the mike directory and create .htaccess with the following content
Code:
<Files v5> ForceType application/x-httpd-php </Files> This should actually make the v5 to be able to run the whole site ... HTH! |
|
#5
|
|||
|
|||
|
Wow...
I have done EVERYTHING the article tells me to. I need help with the PHP end of it all. I get an error with the PHP code. Could someone look that over and tell me what I am doing wrong? |
|
#6
|
||||
|
||||
|
well, what's the error you're getting?
|
|
#7
|
|||
|
|||
|
Parse error: parse error in /www/mike/v5 on line 51
|
|
#8
|
||||
|
||||
|
Looks like you're not closing
PHP Code:
before your else if in the GetPage() function. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > ForceType + Multiple Queries |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|