Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PHP URL Code Help Neded

Posted on 2011-03-16
2
Medium Priority
?
253 Views
Last Modified: 2012-05-11
I'm not doing something correct....I have some PHP code that allows a user to edit information then click submit. After they click submit I want them to be directed to index.html which is located on the server at c:\wamp\www\flow\index.html

The code below is not working. How can I do this?


$url .='/flow/index.html';

Open in new window

0
Comment
Question by:wantabe2
2 Comments
 
LVL 61

Accepted Solution

by:
HainKurt earned 2000 total points
ID: 35150097
what about this

$url ='/flow/index.html';
0
 
LVL 8

Expert Comment

by:Rik-Legger
ID: 35150108
you mean like with a redirect?

header('Location: /flow/index.html');

Open in new window


The code you posted doesn't make it clear how you are using it...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question