Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 11th, 2008, 12:14 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default rewrite problem

I am using mode rewrite on the ecommerce site I am currently building.
The problem I am having is that all the links on the page start with the page name from the last link used. Let me try to explain it a little better.
E.g. Site domain= www.site.com, link just been used to go to page on site =
www.site.com/newpage.php this works as it should. But when using a link that is on the newpage.php, instead of the link just starting with the domain then the page which is being requested it is this www.site.com/newpage.php/pagerequested.php
This would not be a problem as a rule, because I could use a rewrite link on the rest of the hyperlinks. But it is doing this on a form submit.


Reply With Quote
  #2 (permalink)  
Old March 11th, 2008, 12:49 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have sorted it now, just needed a simple /

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Rewrite kumiko Classic ASP Basics 1 April 17th, 2008 01:05 AM
problem with URL rewrite mlcy ASP.NET 2.0 Professional 3 June 21st, 2007 06:05 PM
How can i rewrite the example bookClient.htm Keyne XML 0 August 23rd, 2006 07:11 AM
Correlated Subquery Rewrite Needed gstanden SQL Language 5 November 24th, 2004 01:39 PM
rewrite table by js gooly Javascript How-To 3 March 15th, 2004 03:34 AM



All times are GMT -4. The time now is 10:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.