Got it...
Renamed the JS script to be .php but still kept it as a script include in the main php document.
Don't know why this works, but it does. Must run through the php compiler before including the .js files, but is called again when the JS script file is called .php
Thanks for the help ...
Search found 4 matches
- Tue May 18, 2004 12:45 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Is PHP within the menu_array.js file possible?
- Replies: 6
- Views: 5191
- Tue May 18, 2004 9:57 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Flickering problem
- Replies: 1
- Views: 2250
- Tue May 18, 2004 9:55 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Is PHP within the menu_array.js file possible?
- Replies: 6
- Views: 5191
- Fri May 14, 2004 1:45 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Is PHP within the menu_array.js file possible?
- Replies: 6
- Views: 5191
Is PHP within the menu_array.js file possible?
I wan to be able to create a menu that will direct users to different locations depending on who they are. The site is password protected so that I know who is using the page.
I want to do something like...
aI("text=Jobs;url=/cgi-bin/toplevel.cgi?page=jobs&user=<? echo($_SERVER['PHP_AUTH_USER ...
I want to do something like...
aI("text=Jobs;url=/cgi-bin/toplevel.cgi?page=jobs&user=<? echo($_SERVER['PHP_AUTH_USER ...