Search results

  1. descalzo

    PHP timing out

    Very hard to know what is causing the problem without seeing the code.
  2. descalzo

    error pages

    You should have a file named .htaccess in public_html Add a line like ErrorDocument 404 /404.shtml for each error document you have written and placed in public_html.
  3. descalzo

    php and quotation marks

    Free hosting here has what is call ' magic quotes ' enabled. Many places have it disabled. So input from forms have slashes added. As mentioned, if $input contains your input, $input = stripslashes( $input ) ; should get it back to what the user put in.
  4. descalzo

    how to install phurl

    Where is config.php? It should have come with phurl. You should place it in the /shorty/ directory.
  5. descalzo

    HTML Table from SQL Data

    If you want the result to count in a different direction, you have to make it count in a different direction. If there are 43 results, you are currently counting from 33 to 42 ( since computers start at 0, the 43rd result is numbered 42). To reverse it, you have to start at 42 ( $num - 1 in...
  6. descalzo

    View sql data in html tables

    I answered your other post.
  7. descalzo

    mysql_real_escape_string() ... Password NO Error

    Well, the error message seems to be saying that your mysql_connect.php did not make a connection. You can try adding the second arguement for mysql_real_escape_string(), the resource that mysql_connect returns and see what happens.
  8. descalzo

    HTML Table from SQL Data

    You want to start ten rows from the end, so you have to adjust the starting value for $i. You have to take into account that you might have less than 10 results... Method that minimally changes your code: if( $num < 10 ){ # in case you have fewer than 10 results, start at 0...
  9. descalzo

    Connecting Perl and Mysql

    So you are saying that you are getting an error here? What is the error message? I copied your code and added my own information, and it did not have an errror trying to connect, so it is not the code.
  10. descalzo

    Help

    The best place to find instructions to install software is from the creators of the software. http://wiki.mybboard.net/index.php/Installing Another alternative is to use Softaculous. Go to cPanel, Software/Services near the bottom of the page, Softaculous. Click on it. List of...
  11. descalzo

    File upload

    Please define "they cannot be opened from the website" You get a 404 File Not Found? You get another type of error? Pardon my ignorance, but what is an 'ahtml' file? Do you have urls we can try, especially for the word docs ?
  12. descalzo

    Positioning/Aligning Banner with Background Image

    Did you try my fix? It seemed to work on IE7.
  13. descalzo

    Error

    1. Try http://gamer.exofire.net/? 2. Try clearing your browser cache.
  14. descalzo

    URL Question

    But then if he adds 15 new pages, he has to add 15 new cases to the switch, with the possibility of misspelling a case, etc.
  15. descalzo

    Javascript Scollbar Movement

    Again, if you are going from images 100x100, to 150x150, your zoom percentage is 50. If you are going the other way, from 150x150 to 100x100, your zoom percentage is 33. zoom_out_percent = 33 ; function shrink(){ percent = zoom_out_percent / 100; var w = document.images; var...
  16. descalzo

    Error

    It shows the default x10 index.html now. Your site is live. Replace it with your own in /public_html using either FTP or cPanel-->FileManager
  17. descalzo

    Help

    Post or PM me the link where you get the error. I can't do anything with out seeing the problem.
  18. descalzo

    URL Question

    For a fully general solution, 1. Put your files in a subdirectory like site_pages, so it will be harder for users to go directly to the page. 2. I assume they will all have .php extensions 3a. URL of "index.php?show=portfolio" (substitute 'page', 'request' , 'q' etc for 'show' )...
  19. descalzo

    Positioning/Aligning Banner with Background Image

    Add to style: body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #888888; background-color: #E1E1E1; background-repeat:repeat-y; background-position:50% 0%; background-image:url('http://www.fox1photography.co.cc/graphics/bodybg1.png')...
  20. descalzo

    Javascript Scollbar Movement

    Your zoom factor zooming out is +50 percent. Your zoom factor zooming in is -33 percent, not 50 percent. You should use that percent on the width/height of the images. (assuming you want zoom in + zoom out ==> original ) ................... Top of content This height is scrollTopOld...
Top