![]() |
![]() |
![]() |
||||
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 |
So Fucking Banned
Join Date: Nov 2003
Location: Czech Republic
Posts: 96
|
[PHP] - function "include"
When I try to include something that is in the main folder to some file that is in the subfolder, I get this:
Warning: main(): stream does not support seeking in /home/phrona/public_html/galleries/01/index.php on line 1 It works fine, but this warning appears at the top of the page. so I need: a) How to do it without getting warnings OR b) command that hides warnings Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2003
Location: East Village
Posts: 238
|
@include('file.php');
to supress all errors for include or error_reporting(0); to supress all errors on a page not sure why you're getting that error, i'll have a think ryan |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
So Fucking Banned
Join Date: Nov 2003
Location: Czech Republic
Posts: 96
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Maybe it would be a good idea to actually post the code you are using here?
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: In the Net
Posts: 1,114
|
__________________
Just a sig ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Solution: if it's a local file, don't use http:// but the server path. If it's a remote file... well, then using include() is in most cases rather dangerous, and quite likely the wrong way to go about things.
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |