zero-perfoliate
zero-perfoliate
Home
Help
Search
Calendar
Login
Register
HTML5 & Friends
»
Programming Help On Specific Projects
»
PHP Scripts and Tips
»
php script that opens new page in sub folder
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: php script that opens new page in sub folder (Read 447 times)
cagozoe
New PHP Members
Posts: 2
Karma: +0/-0
php script that opens new page in sub folder
«
on:
November 02, 2009, 09:23:11 AM »
I have date.php script that will open file in locatiom 0101.html as long as it is jus php file
i want to put php in an html page when date is selected it opens in a sub folder
<?php
if(isset($_POST['post'])) {
if (($_POST['color'] == 'January') AND ($_POST['size'] == '1')) {
this will not work
header("Location:
http://www.garyallendj.com/days/0101.html
"); }
this will not work
header("Location:
http://www.garyallendj.com/days/0101.html
"); }
this will work
header("Location: 0101.html"); }
location of php file
http://garyallendj.com/test2.php
please have a look
i would like this in an html file and be able to goto the file by date.
Logged
cagozoe
New PHP Members
Posts: 2
Karma: +0/-0
Re: php script that opens new page in sub folder
«
Reply #1 on:
November 02, 2009, 09:31:55 AM »
I got it fixed thanks frank!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
HTML5 & Friends
»
Programming Help On Specific Projects
»
PHP Scripts and Tips
»
php script that opens new page in sub folder
zero-perfoliate