Haven't registered yet? Do it here now!
|
|
|
|
db2000
Joined: 13 Sep 2006 Posts: 5
|
|
|
|
|
|
|
Posted: Fri Dec 08, 2006 7:04 am Post subject: Strange php problem |
|
|
|
|
|
|
|
|
|
|
Hello there, I have been trying to install SO for a while now....I had to have a break because I just couldnt figure it out.
I have found what the problem is.
When I add the code:
<?php @require_once "http://freeporn.luvflesh.com/so/sohtml/one.php"?>
to my index.php using dreamweaver the code disappears when uploaded.
Not only does the code disappear but all code following it. So when I upload it using "cute ftp pro 7".
So if I have a full page of code and that line in the file, when I upload it...if I view the source of the file some of the code is wiped.
this is what im loading into: http://freeporn.luvflesh.com/index.php
when I look in dreamweaver it looks like this:
Quote: | <p align="center"> </p>
<p align="center">Welcome to LuvFlesh Free porn.</p>
<p align="center">where has all my code gone? Below is where I have inserted the code...and it has disappeared! </p>
<?php @require_once "http://freeporn.luvflesh.com/so/sohtml/one.php"?>
<span class="style1"></span>
</body>
</html>
|
Notice how the code just drops off in the uploaded version
Quote: | <p align="center"> </p>
<p align="center">Welcome to LuvFlesh Free porn.</p>
<p align="center">where has all my code gone? Below is where I have inserted the code...and it has disappeared! </p>
|
would this be affected by the way I am uploading the file? |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Fri Dec 08, 2006 10:03 am Post subject: |
|
|
|
|
|
|
|
|
|
|
hi there,
well, yes the code disappears, because its php, and you can't see the php code via web.
Try making the php line to:
<?php require_once "http://freeporn.luvflesh.com/so/sohtml/one.php"?>
by removing the @ symbol, which will show if any errors are ocurring...
You might need to use alternate linking if your hosting does not allow remote file inclusions..
Let me know if the thing above doesn't display you what the error could be..
Thanks! _________________
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|