Search results

  1. L

    Should latin salsa pants make me bulge in the front?

    I am a man buying latin style pants for salsa dance performances. My dance partner and the store clerk prefer how the pants with the tighter waste fit me but I have two concerns: - The waste feels pretty tight - something that would be uncomfortable to wear for more than just a performance. -...
  2. L

    Hanami Flower Viewing Hikes around Tokyo?

    I'd like to see Sakura somewhere outside Tokyo's streets in a more natural setting. If you know of any nice, more rural areas/hikes, I would love to hear them! Thank you!
  3. L

    Is the phrase "salsa dancing" capitalized?

    I see three options: - Salsa Dancing - Salsa dancing - salsa dancing Which is correct? Please explain your answer with the grammar rationale behind it. Thank you!
  4. L

    PHP GD Script: How can it work with photos that are approximately 1mb or larger?

    I am using a PHP script from hotscripts.com to resize batches of photos for placement on a web page. The script works, but only with photos that are not too large. The largest it has worked for is 104 KB. I try with a photo in the batch that is 840 KB and it resizes each photo up to the point...
  5. L

    How to see errors with PHP?

    To debug some PHP code I would like to see what errors are occurring. I went to the php.ini file and changed display_errors = Off to display_errors = On. and display_startup_errors = Off to display_startup_errors = On. I still am seeing just a blank page though. I am running...
  6. L

    PHP: Can't get a directory listing using FTP?

    I'm working through an example in a great PHP teaching book called "Spring Into PHP 5." The goal is to connect to an FTP server and get a listing of the directory code22 on that server. The code is as follows: $connect = ftp_connect("ftp.ispname.com"); $result = ftp_login($connect...
  7. L

    How do I set up my Mac as an FTP server to connect to with PHP?

    I am learning PHP and would like to use the following PHP code to connect to an FTP server: $connect = ftp_connect("ftp.ispname.com"); $result = ftp_login($connect, "username", "password"); I am running a Mac and using MAMP, so given the absence of web hosting, I would like to connect to my...
  8. L

    How do I create line breaks in a .txt file that PHP can read?

    I am learning PHP and have a file called myfile.txt that I would like to read with PHP. The contents of the file is as follows: "If you're reading this, then you successfully opened and read the file. Now, why isn't it apparent where one line ends and another one starts?" The code I use is...
  9. L

    How do I create line breaks in a .txt file that PHP can read?

    With PHP, I'm reading my .txt files using fopen() together with fgets(), but the resulting text on the web page does not show line breaks. It just starts the next line when it runs out of space at the edge of the window. In the text file I have tried creating line breaks using the return key...
Back
Top