 |
|
|
|
 |
nekholm
nekholm

Registered: Jan 2001
Location: .fi
|
|
|
| quote: | Originally posted by DJ RozzeR
I dont think it is possible to run a Javascript in a php script, i maybe wrong i know i had problems when i used js with php, i would look at php dev sites and on google too. |
Maybe not, I don't know. I've tried to search, but the problem is I don't really know what to search for..
| quote: | Originally posted by DJ RozzeR
wtf it posted it twice , wierd |
And instead of edit the second post, you post a third time 
| quote: | Originally posted by loconet
in whatever.php, assuming theres no ouput b4..
code:
$fname = basename($_SERVER['PHP_SELF']);
$view = substr($fname,0,strpos($fname,"."));
header("Location: mypage/nek.php?view=$view");
|
Inside I assume? What else, I tried it but it didn't work.. 
| quote: | Originally posted by Mr Game+Watch
Not sure of the PHP implementation (I'm a ColdFusion programmer myself)... but can you have a page that extracts the URL paramater (in this case "view"), and then $include(URL Paramater) dynamically... You shouldn't even need to worry about javascript. |
Did I mention I'm quite new to PHP, I only know some very simple stuff? In other words, I have no idea how that would work.. 
___________________
▲▲▲▲▲▲▲▲▲▲
|
|
Dec-03-2003 17:15
|
|
|
 |
All times are GMT. The time now is 04:08.
Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
|
HTML code is ON
vB code is ON
[IMG] code is ON
|
|
|
|
|
|
Contact Us - return to tranceaddict
Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
|