Jump to content

l3lade

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

l3lade's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. l3lade

    Iframe page

    Sorry about the title im not quite sure what to put. Well basicly im trying to replicate this sort of page http://www.zombiehorde.com/index2.html were when you click on a link it dosnt reload the whole page just the iframe, how do i do this? Thanks in advance  :)
  2. ok so basicly i cinda know how to make peapol log in but not very well [img src=\"style_emoticons/[#EMO_DIR#]/huh.gif\" style=\"vertical-align:middle\" emoid=\":huh:\" border=\"0\" alt=\"huh.gif\" /] but i want o go a step futher, ok so im running phpbb right.. how could i make it so on the main page you can log in but then the admins can edit say one or two pages is this possible?
  3. l3lade

    iframe, help

    well hears my website [a href=\"http://www.rmmsclan.com\" target=\"_blank\"]http://www.rmmsclan.com[/a] pretty rubbish eh? anyway i was wondering to make my site a little better when you click the links instead of reloading the whole page it just changes the middle bit. is it possible? also suggestions on how to make it better?
  4. ok so how would i make my website 1. so that if your logged in to the forum the main site knows aswell, 2.if thats possible when your logged in theres a shoutbox or somthing were you write, but if it goes over a certain amout it sends the old ones to page 2 3 ect 3.simaler to the shoutbox but not the same, this is more for a large section of writeing, so it creates its own page for it with a link on the origonal. a bit like a forum thanks and if im not explaing properly just tell me also. can i do this in dreamweaver?
  5. any one know or am i being retarded?
  6. ok so now it takes ages to load whitch at first i was happy about but once it had done i get this error [code] Warning: ftp_login() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 11 Warning: ftp_get() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 14 There was a problem Warning: ftp_close() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 21[/code] ... what im i doing now? also it overwrites the old file with an empty one
  7. please help me im only new :(
  8. ok i can feel that were clos now, but im getting this error [code]Warning: ftp_login(): Please tell me who you are in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 11 Warning: ftp_get(): Error opening mani_ranks.txt in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 14 There was a problem[/code] could this be to do with the conn_id thing?
  9. i took it away and still have the error. i found out that if i take away the decimals i get this error [code]Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 8 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 11 Warning: ftp_get() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 14 There was a problem Warning: ftp_close() expects parameter 1 to be resource, boolean given in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 21[/code] ps. this is a game server and the ip: 195.149.21.123 and this works in smart ftp and in the windows network thing but im not sure if its right for this :S
  10. ok now im getting problems with that. i get this error [code]Parse error: parse error, unexpected T_DNUMBER, expecting T_VARIABLE or '$' in /home/rmmsclan/public_html/main/mani_stats/ranks/index.php on line 8[/code] useing this code (but with pass login and server ip) [code]<?php // define some variables $local_file = 'local.zip'; $server_file = 'server.zip'; // set up basic connection $conn_id = ftp_connect($***.***.**.***); // login with username and password $login_result = ftp_login($conn_id, $******, $******); // try to download $server_file and save to $local_file if (ftp_get($conn_id, $local_file, $server_file, FTP_BINARY)) {    echo "Successfully written to $local_file\n"; } else {    echo "There was a problem\n"; } // close the connection ftp_close($conn_id); ?>[/code]
  11. sorry you obiouasy dont understand what i want is. 1. get a file from a REMOTE server 2. save it to my local WEBSERVER hope that helps you to help me :P
  12. please can someone tell me the code to get a remote file because i cant find it anywere then the code to save it somewere local
  13. how do i get a file from a remote server then save it localy. then i will cronjob it
  14. thank you at long last some one knows what i want
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.