FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » pathinfo problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
pathinfo problem [message #18120] Mon, 10 May 2004 06:42 Go to previous message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma:
Senior Member
i have a php page that uses pathinfo() so I can use urls like http://www.my_site.com/lc/browse.php/cat_id/1.html.

I do a str_replace to remove the ".html" and I end up with cat_id=1. My header page has <BASE HREF="http://www.my_site.com/lc/">

The pathinfo works fine on one host using php 4.3.4 but not on one using 4.2.3. Both run on unix. When I mouseover the link, it shows http://www.my_site.com/lc/browse.php/cat_id/1.html but I still get an 404 error .

pathinfo() came in with php 4.0.

Any ideas?


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: running both versions - php 4.3.0 and php 5 on one Apache-Server on Windows
Next Topic: Shopping Carts
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 00:34:53 GMT 2024

Total time taken to generate the page: 0.05189 seconds