[PHP] Php & Directory structures

2001-12-22 Thread Martin Hughes
Heya, Can PHP count the number of a certain ftile in a directory and then print the result to the screen? I have articles on my site that are in XML/XSL format like: root/articles/00_head.xml 00_body.xml 01_head.xml 01_body.xml

Re: [PHP] PHP & XML

2001-12-19 Thread Martin Hughes
put (like .xml files) > you can edit your php.ini to force long open tags > find this line: > short_open_tag = On > > change On to Off > > > bvr. > > On Thu, 20 Dec 2001 01:34:58 -, Martin Hughes wrote: > > >Heya, > > > >Is it possible to inte

[PHP] Re: PHP & XML

2001-12-19 Thread Martin Hughes
Sorry - I should perhaps say that I'm only intending to code this site for IE(5/6) - there are too many issues with NetS - I **KNOW** that that's bad and lazy, but that's the way it's gonna be :o) M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] PHP & XML

2001-12-19 Thread Martin Hughes
Heya, Is it possible to integrate XML with PHP - ie get data out of an XML file and format it in html using php? Or alternatively, use php within an XSL file...? Cheers Mart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] RE: How should I do this site...?

2001-12-19 Thread Martin Hughes
Thank you! What is the point of using "unset" here (sorry - newbie question I know but I'm learning all the time :o)) Is it possible therefore to create more than 2 levels this way? If my heirachy goes 3 or 4 levels deep in some places? And could I also get a navbar to be generated dynamically f

[PHP] How should I do this site...?

2001-12-19 Thread Martin Hughes
Heya, OK - I have a site I've been working on on and off for a while. It started as a static page, then I changed it so it uses php. This was great - until I started putting content in the design. I now have about 300 *.inc files for the site, and updating them is a joke! The site is designed in

Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-19 Thread Martin Hughes
Many Thanks everyone!! Mart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Martin Hughes
How could I write the function windowPopup(XX) where XX is a variable that can change from link to link, for a popup info window to load a php file with the variable XX in the url? So the link would look like: Link Text and I want that link to open the page info.php?patch=XX in a new popup windo

[PHP] Crashing in Win2K with IIS and latest PHP installed when loading an open page...

2001-12-18 Thread Martin Hughes
Help!!! If I'm editing a php file & have it open (or have recently done so) in notepad sometimes when i do "reload" or open the file in IE6 my computer pauses for a second, then shuts itself off with a resounding click of the hard disks and promptly restarts. I don't think it's a disk problem - i

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-24 Thread Martin Hughes
Sorry Hugh - didn't mean to send it just to you!! Hi! Thanks for the help! It works great, but I've now made the array 2 dimensional: Les Misérables" => array ("About Les Misérables"), "Introduction" => array ("About Les Misérables"), "Changes & Cuts" => array ("About Les Misérables"),

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
Thanks everyone for the help!!! Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
OK here's the code in the page: Welcome Home Introduction Changes & Cuts Scores Orchestra Synthesizers Sound System Articles 21st Century Les Misérables Information Discussion Forums I am using this 1 page as the php 'template' with content added depending on the url. For example, to

[PHP] Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
Hi can anyone help me please!? I have a page that has a navigation table on the left with various links: Information Software Cars Dishwashers Paper Contact etc... (not the real links ;)) and I want the cell of the section I am in to be highlighted (ie if I am in "Cars" I want the "Cars" link

[PHP] Including file...

2001-03-10 Thread Martin Hughes
I seem to be making a mistake somewhere... # Define the navigation bar array $navbar = array("navmain", "info", "music", "orch", "synth", "syntype", "audio", "recordings"); # Define the pages in arrays by section $main = array("home"); $info = array("infomain", "about", "contact", "guestbook");

[PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Martin Hughes
My God!! You're all stars!!! (This is the **fastest** mailing list I've ever joined) If I have *loads* of links (not just audio & visual) is there a way to create a file to include them all? Basically - what I've got is a frameset with side & main frames (side is for nav, main is for... well,

[PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Martin Hughes
Hi, Could someone please help me? If I have links on my page: Link 1 Here Link 2 Here And then side.php is the following: Blah Where the files to be included are: audio.txt and visual.txt respectively, what php code should I put in my side.php? (the extention of the