zero-perfoliate
zero-perfoliate

Author Topic: php script that opens new page in sub folder  (Read 447 times)

Offline 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.


Offline 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!

 

zero-perfoliate