i am trying to get a file from a particular server i tried require('http://siteaddress/config.inc'); but got a file access error ca any1 help wif this
Linking File From Another Server
Started on the old forum in November 2007 · view the original in the archive · old links redirect here
i am trying to get a file from a particular server i tried require('http://siteaddress/config.inc'); but got a file access error ca any1 help wif this
why dont u just go to the server and save it from there. u cant access a config file from outside the server. it has the database details etc in it
make a file name php_codfig.php
<?php include("http:// URL SITE/setup.php"); ?>then
setup
<? blah blah ?>Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
it dnt work sub lol get this error
Warning: require() [function.require]: URL file-access is disabled in the server configuration in /home/aftadark/public_html/chat/core/main.inc on line 3
Warning: require(http://afta-dark.net/chat/core/config.inc) [function.require]: failed to open stream: no suitable wrapper could be found in /home/aftadark/public_html/chat/core/main.inc on line 3
Fatal error: require() [function.require]: Failed opening required 'http://afta-dark.net/chat/core/config.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aftadark/public_html/chat/core/main.inc on line 3
or
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/aftadark/public_html/chat/core/main.inc on line 3
Warning: include(http://afta-dark.net/chat/core/config.inc) [function.include]: failed to open stream: no suitable wrapper could be found in /home/aftadark/public_html/chat/core/main.inc on line 3
Warning: include() [function.include]: Failed opening 'http://afta-dark.net/chat/core/config.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aftadark/public_html/chat/core/main.inc on line 3
have you try placing keys so it ya going to let users have ya scrript just place a keygen in it so you have to enter it and domain only thing
like my billing software
http://billing.oz-au.net is ok http://oz-au.net/billing/ is not
you got what i meant?
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
if this would be as possible as you think, than the site hacking would be very easy because everyoune can read your config files External image (may be gone)
Advertise your mobile site for FREE with AdTwirl
try to use your config as txt file
and than
include ('[url]http://mysite.com/config.txt'[/url]);
Advertise your mobile site for FREE with AdTwirl
Create a .htaccess file and get it to redirect that script to your server. or a redirect in the config or hide it on the script and then they upload the script and get there members they will be redirected to your site so you get loads more members lol can't think of any other way