Jump to content
xisto Community

waterfoul

Members
  • Content Count

    34
  • Joined

  • Last visited

About waterfoul

  • Rank
    Member [ Level 1 ]
  1. its not supposed to be that pretty and the main thing is the file structure. And i dont like that name for it, that was just a bogus image i got for testing
  2. i have this code <?phpif($_POST['user']=="" or $_POST['pass']=="" or $_POST['host']=="" or $_POST['root']=="" or !isset($_POST['run'])){ print('<form method=post name=form>'); print('FTP username <input type=\'text\' name=user value=""><br>'); print('FTP password <input type=\'password\' name=pass value=""><br>'); print('FTP Host <input type=\'text\' name=host value=""><br>'); print('FTP Root Directory <input type=\'text\' name=root value=""><br>'); print('<input type=\'hidden\' name=run value="1">'); print('<input type=\'submit\'>');}else{$ftp_server = $_POST['host'];$ftp_user = $_POST['user'];$ftp_pass = $_POST['pass'];$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server please refresh and do not click retry");// try to loginif (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as $ftp_user@$ftp_server\n"; if(!isset($_POST['out'])){ ftp_chdir($conn_id,$_POST['root']); $title=""; $lib=implode(array(''),','); $topimage=''; $topcolor=''; $sideimage=''; $sidecolor=''; $midimage=''; $midcolor=''; $links=implode(array('')); $linkimage=implode(array('')); print('<form method=post name=form>'); print('<input type=\'hidden\' name=user value="' . $_POST['user'] . '"><br>'); print('<input type=\'hidden\' name=pass value="' . $_POST['pass'] . '"><br>'); print('<input type=\'hidden\' name=host value="' . $_POST['host'] . '"><br>'); print('<input type=\'hidden\' name=root value="' . $_POST['root'] . '"><br>'); print('<input type=\'hidden\' name=run value="1">'); print('<input type=\'hidden\' name=out value="1">'); print('Page Title <input type=\'text\' name=title value="' . $title . '">'); print('Any files in the library folder you would like to use in ANY page <textarea name="lib" cols=5 rows=8>' . $lib . '</textarea>'); print('The top background image, set to "" for none <input type=\'topimage\' name=title value="' . $topimage . '">'); print('The top background color <input type=\'topcolor\' name=title value="' . $topcolor . '">'); print('The side background image, set to "" for none <input type=\'sideimage\' name=title value="' . $sideimage . '">'); print('The side background color <input type=\'sidecolor\' name=title value="' . $sidecolor . '">'); print('The middle background image, set to "" for none <input type=\'midimage\' name=title value="' . $midimage . '">'); print('The middle background color <input type=\'midcolor\' name=title value="' . $midcolor . '">'); print('The links for your side bar<br>(note: if theres a link without an image below it will not show) <textarea name="links" cols=5 rows=8>' . $links . '</textarea>'); print('The images for the links for your side bar <textarea name="linkimage" cols=5 rows=8>' . $linkimage . '</textarea>'); print('<input type=\'submit\'>');}else{ echo "Couldn't connect as $ftp_user\n please refresh and do not click retry";}// close the connectionftp_close($conn_id);?> and i get this error does any 1 see the problem Notice from cmatcmextra: Added quote around the error message. You must use quotes, even when copying from your own site!
  3. only help it did was going to the root dir
  4. i want to have a user fill out a form and it edits a vars.php file in places in that file
  5. Currently i have <?phpif($_POST['user']=="" or $_POST['pass']=="" or $_POST['host']=="" or $_POST['root']=="" or !isset($_POST['run'])){ print('<form method=post name=form>'); print('FTP username <input type=\'text\' name=user value=""><br>'); print('FTP password <input type=\'password\' name=pass value=""><br>'); print('FTP Host <input type=\'text\' name=host value=""><br>'); print('FTP Root Directory <input type=\'text\' name=root value=""><br>'); print('<input type=\'hidden\' name=run value="1">'); print('<input type=\'submit\'>');}else{$ftp_server = $_POST['host'];$ftp_user = $_POST['user'];$ftp_pass = $_POST['pass'];$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server please refresh and do not click retry");// try to loginif (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as $ftp_user@$ftp_server\n";} else { echo "Couldn't connect as $ftp_user\n please refresh and do not click retry";}// close the connectionftp_close($conn_id); }?>currently it has a form and after you fill out the form it logs into the ftp with the user pass and server vars. now i need to know how to get a certian file and edit certian lines of it. any ideas?
  6. i want the table to fill the screen and no blue to show
  7. what browser are you using i checked in moth mise and firefox and neither filled the screen
  8. it didn't work look at http://forums.xisto.com/no_longer_exists/
  9. what does it mean days you can remain inactive, does it mean on the formus, or people visiting, or ftp uploading???
  10. who knows how to get a table to stretch to both edges??? i need help Notice from BuffaloHELP: You are warned! You said you read and agreed to our forum rules yet you decided to make "I need table help" as your topic title. The topic title must be descriptive and not contain "help" included. We all need help but be specific. This is your last caution note. Editing topic title. Filled in topic description.
  11. Cool i got accepted and have it up take a look (note there are bogus images and pages in it) http://forums.xisto.com/no_longer_exists/
  12. I just re-applied so i am hoping to go through this time. We can only hop and pray. By the way what i post will only be the beta. i still need to perfect somethings like the mod file. when its up it will be the setup i will use for the download site and i will offer it for free and maby i will get programmers makin libraries and modules for it and it will become popular . Every one wats to have the stuff all over the web
  13. I agree php is the esisest to use language. not only do the function names make sense but you can include php javascript and virtually any language. another thing is libraries. you can make a file with common code, put it in a function, and include it. I agree, php is the bast
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.