Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-15-2004, 08:13 AM   #1
XSAXS
Confirmed User
 
XSAXS's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 651
BRAIN FART! Stupid PHP question...

Trying to include a php script into a page *after* it's already been parsed. This doesn't work because it just inserts the raw php code:

PHP Code:
<?php  
include('script.php');  
?>
I need to run the script first and then have it inserted into the page. Who know the trick?
XSAXS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:17 AM   #2
retro
Registered User
 
Join Date: Dec 2004
Location: NYC
Posts: 62
Huh?

Try an iframe maybe?
__________________
Send your traffic to RetroDate.Com

ICQ 194-452-393
retro is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:20 AM   #3
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Que?
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:23 AM   #4
XSAXS
Confirmed User
 
XSAXS's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 651
yeah, I thought about an iframe, but I know I've seen this done before.
XSAXS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:30 AM   #5
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Can you use the "eval()" function to evaluate the raw PHP code ???
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:34 AM   #6
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally posted by psili
Can you use the "eval()" function to evaluate the raw PHP code ???
bingo
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 08:59 AM   #7
EscortDate_Enoj
Registered User
 
Join Date: Mar 2002
Location: Norway
Posts: 87
You could do a ..

PHP Code:
<?php

$parsed_file 
file_get_contents('http://myserver.com/script.php');

?>
Kind of nasty, but hey, eval() is nasty too.
EscortDate_Enoj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.