Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kdshah

    Problem retrieving mail from IMAP server using php-imap

    I want to retrieve mails from an IMAP server. I am running my script on a machine different from where the IMAP server is running. For doing this, I am making use of imap_open function that comes with php-imap package. Both php and php-imap packages have version 4.1.2 (release 7). Now, when...
  2. kdshah

    Terminating PHP Script

    Just FYI that I am looking for some method to end the script and not just a way of getting that example work.(coz in the example that I gave, an if else could have worked) -Kunal
  3. kdshah

    Terminating PHP Script

    How can I terminate a PHP script prematurely based on some condition? At the same time, I would like to send some message to the user informing him of the reason of this premature termination.. For example if (x>10) echo "value greater than 9 is invalid"; //END PHP SCRIPT ( HOW TO DO...
  4. kdshah

    mapping relative path to absoulte path

    Is there a way of converting a relative path (such as ../../mydir/ which lies under the document root) into an absolute path?
  5. kdshah

    manipulating date for insertion in MySql DB

    I want to have a date (could be of date type or some other type) field in mysql database which would store an expiry date. This date is entered by the user and is sent to the PHP script as a querystring of the form mm/dd/yyyy and this value is then to be stored in the mysql table. Now, I would...
  6. kdshah

    Inserting date in MySQL

    giffords, thanks for your reply. well, let me layout my problem in some other way. I want to have a date (could be of date type or some other type) field in mysql database which would store an expiry date. This date is entered by the user and is sent to the PHP script as a querystring of the...
  7. kdshah

    Inserting date in MySQL

    One more thing which I want to do in addition to what i mentioned in the previous post is: retrieve the current time using some PHP function and then inserting this value in a mysql table. If someone suggests using a timestamp, then I would like to know how could I update this stored value of...
  8. kdshah

    Inserting Date in MySQL after formatting it from HTML

    Hi all, I am getting date in string format (for eg. 12/11/2002) from HTML form. I want to add this date into MySQL database in a field of type Date. I may even want to format this date (say add 1 month to it so as to make it..1/11/2003 )..How to go about doing this in PHP ?

Part and Inventory Search

Back
Top