User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,496 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,742 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1866 | Replies: 22
Reply
Join Date: Jan 2006
Posts: 28
Reputation: Syakoban is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
Syakoban Syakoban is offline Offline
Light Poster

Re: Using include in a URL???

  #21  
Sep 26th, 2007
You're right, I don't have permission to modify the httpd.conf file but can request mods through the host. I think that's not a good idea because they can change their policy in the future or I may need to change hosts.

I don't have to use Perl - I'm sure PHP (my new miracle language...) can do it well too. It's just something someone wrote for me a while ago that uses a Perl CGI to check server time and load a graphic based on a schedule that changes each day of the week. It's running at http://ehydrant.com/open_new.shtml. For an hour a day the graphic changes.
Last edited by Syakoban : Sep 26th, 2007 at 11:19 am.
I get by with a little help from my friends...
Reply With Quote  
Join Date: Sep 2007
Location: Budapest
Posts: 252
Reputation: fatihpiristine has a little shameless behaviour in the past 
Rep Power: 0
Solved Threads: 14
fatihpiristine's Avatar
fatihpiristine fatihpiristine is offline Offline
Posting Whiz in Training

Re: Using include in a URL???

  #22  
Sep 26th, 2007
it is better if you try with div and java.
Reply With Quote  
Join Date: Oct 2008
Posts: 2
Reputation: aformoftruth is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aformoftruth aformoftruth is offline Offline
Newbie Poster

Re: Using include in a URL???

  #23  
Oct 10th, 2008
I have a similar problem...

I'm a newbie and am currently teaching myself php and html...currently using dreamweaver and have been able to be pretty lazy with regards to learing code but now am using php...and got to type it in myslef....its good for me.

But i have a menu system with rollovers and want to assign a onclick variable to them, then have the main content change and navigate to a php page.....

Have tried href=<?PHP $page= "home.php";?> and this doesn't work should i be using onclick? How? Do i need to reset $pager variable each time....how?

And in my main content i have written <?PHP include("$page");?> and when it does it puts a lot of space in the content page.

This is a basic page i'm writing for this page you can view the source there isn't any php in it yet.

www.thesilvergem.vndv.com

Thanks everyone.

aformoftruth
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 3:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC