Jump to content
xisto Community

waterfoul

Members
  • Content Count

    34
  • Joined

  • Last visited

Everything posted by waterfoul

  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
  14. I got the idea of it from my father but his was way to complicated. He named his his "PHP application framework" but mine is slimmer. here his code is had to sort out and long, mine is easier and shorter. where he has builtin features i have extensions. so mine is in other words sleeker
  15. I don't have a host right now so i can't givwe a url but maby i could alaborate. The look is a table set up like this. <table><tr><td colspan=2>Banner</td></tr><tr><td>Navigation</td><td>Page</td></tr></table>and the dir structure is a main folder that contains the index.php and a mod file to change it with. under that is an images folder and a module folder. under the module folder there is all the different peices of your site. also the url is me.com?m="folder"&p="page.php" note the page.php can be any extension for univeribility.
  16. moved to http://forums.xisto.com/topic/29192-name-the-customized-template-for-my-look-and-feel/
  17. ok it was the double o's, i mean comeon
  18. i have a easy to use and easy to expand php look and feel but dont know what to name it. It allready has a great folder structure and some ok tools. Also you can make your own extensions and change allmost EVERYTHING. I have bg images, bg colors, nice look but it uses tables. i have it currently working in firefox and IE, the only good ad free browsers. Notice from BuffaloHELP: Original title "I Need A Name." What you need is better topic title. This is the only caution note.
  19. Cool but make the text ess visible, i mean yea it does make a point but I like it without text across it. I personally think text screws with images unless its a logo
  20. use echo '<br><table width="871" border="0" align="center" cellpadding="0" cellspacing="0"><tr><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>'; echo 'Artists beginning with '.$alphaletter.'<th><table border="1" width="250" align="left"><br><tr align="left"><th>Artist</th></font></strong></tr>';instead of this echo '<br><table width="871" border="0" align="center" cellpadding="0" cellspacing="0"><tr><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>'; echo 'Artists beginning with '.$alphaletter. '<th><table border="1" width="250" align="left"><br><tr align="left"><th>Artist</th></font></strong></tr>'; maby thatll work, white space can be bothersome Notice from cmatcmextra: Fixed code tags
  21. I LOVE PSPAD its great not only does it do multi highlighter but it does ftp edits for ease of use eith the web server
  22. I am currently making a look and feel in phop that would be easy to implement and add extra stuff it is set up by tables and has the basic design below can i get name suggestions and any1 interested to post? |_______||``|````||__|____|
×
×
  • 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.