Jump to content


Photo

Can create static page using php


  • Please log in to reply
5 replies to this topic

#1 candy2126

candy2126
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 16 September 2006 - 08:41 PM

I am having a site that supports osCommerce & the whole site is built in PHP, is it possible for me to create a static page like: www.example.com/products.com instead of the dynamic page?


#2 billthrill

billthrill
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 16 September 2006 - 08:45 PM

your link is not working

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 16 September 2006 - 08:48 PM

Perhaps you want to explain why you want a static html page. The whole point of using (a package like) osCommerce is that it generates pages automatically driven from a database. If you went with static html pages, you would be condemned to editing pages forever instead of ... whatever you want to do.
Legend has it that reading the manual never killed anyone.
My site

#4 candy2126

candy2126
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 17 September 2006 - 05:44 PM

I want to create a page example.com/products.php

It's that possible? my all pages are dynamic ".php?info_id=" & ".php?info_id="

I need a static page that links from all my webpages, is it a good thing that I copy sourcecode and save it as product.php page? If yes, how will I place a link to this new page from my sites other pages?

I also want to make every exisiting page (dynamic pages) title Unique ? is it possible?

Could you let me know if yes how I can edit them & how I can select the page as they are named ".php?info_id=" & ".php?info_id=" & I am  not able to locate them?

#5 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 17 September 2006 - 05:52 PM

make a page.php and then add alink to the header of the main site then when a user press the new button there goto your new page.php

you also want to add session on the top of the page if the script uses them know unless your building a page that is off intreast then you just dont need the session on top of the page ok.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#6 candy2126

candy2126
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 19 September 2006 - 06:10 PM

Ok, thanks I will try to this & see if it works

Candy




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users