|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
|
PHP problem!
I wonder why this doesn't work. Anybody have any ideas?
<? $fp = fopen("source.php", "r"); $out = fread($fp, filesize("output.php")); ?> <? echo $out; ?> |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
|
But But But... php is cool!
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Feb 2002
Location: California
Posts: 7,444
|
send me $1000 immediatly!
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Jan 2002
Posts: 162
|
Quote:
you should use the filesize of source.php. remember to close $fp
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here We host the scripts for you so you trade on our bandwidth. |
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto
Posts: 8,475
|
Did that fix your problem?
|
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Jun 2002
Location: Lightspeed Sorority
Posts: 103
|
Quote:
__________________
<a href="http://www.lightspeedcash.com"> Make money at the speed of light!</a><br> - Wouldn't it be cool to own a retarded monkey? |
|
|
|
|
|
|
#7 | |
|
Registered User
Join Date: Jun 2002
Posts: 9
|
Quote:
You can get your include_path by calling ini_get('include_path'); and you can change it by calling ini_set('include_path', '/path/one:/path/two:/etc'); |
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Quote:
Also when posting in the future copy and paste php errors if there are any as well |
|
|
|
|