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 wOOdy-Soft 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: *

  • Users: manicleek
  • Content: Threads
  • Order by date
  1. manicleek

    converting dates

    how can I change a date in the format 25-12-2005 into a timestamp and vice versa?
  2. manicleek

    help with eval()

    I have a page that is taking values, seperated by a new line, in a database. The values are id numbers for other articles in the db. I have written code to take all the values in the db field and place them in an array. The page has a list menu populated with every single article in the db...
  3. manicleek

    Lists from DB

    I have a page to edit an article in a db. When the article is initially added there is a multiple selection list box with records listed. The user can select a number of records which is then submitted to the db with each record selected on a new line in a mediumtext field. On the edit page I...
  4. manicleek

    putting multiple functions together

    how can I put multiple functions into one parent function, for example, if on my out put I normaly have: <?= nl2br(ucfirst(striptags($sometext))) ?> how can I define all those at the beginning of the page so I would only have to put something like: <? textformat($sometext) ?>
  5. manicleek

    Shopping

    Can anyone give me some links to good tutorials for making shopping carts using PHP. Including such things as linking it to credit card payments and/or third party credit card processing companies etc..
  6. manicleek

    css footer

    I have a site that uses css for layout I have the following css for a footer #footer { position: absolute; width:650px; bottom:0; margin-bottom:0px; height:35px; text-align:center; background-color:#FFFFFF; vertical-align:bottom; } it works fine in ie and always stays at the bottom of...
  7. manicleek

    content expiration

    Is there any PHP code that will make internet explorer (and any other browser) always reload the page rather than use a cached version?
  8. manicleek

    change date

    can anyone tell me how I can take a date entered into a form as dd/mm/yyyy (in 1 text field with the slashes) and change it into yyyymmdd for mysql and also how to change back again thanks
  9. manicleek

    css clearer trouble

    I have a site with a 2 column site, 1 column called #left-column where the nav goes and one larger called #content which is supposed to sit next to it. However when I place a .clearer layer after the left column, the content column moves below it instead of sitting next to it. anyone know how...
  10. manicleek

    file manipulation

    Can anyone tell me how I can display a list of files in a folder on my server and when clicked have them deleted?
  11. manicleek

    dates

    Can anyone tell me how I can change a date entered as day, month, year into a unix datestamp and vice versa? and also how can I view the unix datestamp for the current date?
  12. manicleek

    permissions

    I have a problem with images that are uploaded through a content management system. When the images are uploaded to the server they are set with a CHMOD 600 so I can't download them or change them, is this something to do with the server they are being uploaded to?
  13. manicleek

    Uploading

    I have a scrip for uploading images that works fine locally, but seems to be having problems on my hosts server. I get the error: Warning: move_uploaded_file(/home/.sites/74/site318/web/uploaded_images/travel/20040311_fde51765.jpg): failed to open stream: Permission denied in...
  14. manicleek

    mysql error

    I have an edit script $ID = $_POST["id"]; $title = $_POST["title"]; $restaurant = $_POST["name"]; $desc = $_POST["desc"]; $author = $_POST["author"]; $pic1 = $_POST["pic1"]; $pic2 = $_POST["pic2"]; $editSQL = "UPDATE review SET "; $editSQL .= "ReviewTitle = '" . addslashes($title) . "', "...
  15. manicleek

    strip tags

    I am using the strip tags function with a few allowed tags, but some are causing problems when the data is out-putted. in particular when I allow <table> <tr> <td> <ul> and <li> my code is strip_tags($OnFeature["contmain"], '<a><strong><table><td><tr><li><ul>')
  16. manicleek

    ignoring tags

    Me again I'm just wondering how I can get PHP to ignore html tags on output from a db. E.G. say I'm outputting a news story from a db that has image source in tags embedded in the text but I don't want to show the images on the output page
  17. manicleek

    text fields

    Is there any way I can make PHP/MySQL recognise the fact that there are paragraphs in a text field without having the user put in <p></p> or <br> tags in to format it?
  18. manicleek

    CSS probs

    I have a site using a css for the layout It is a centre aligned site using the following code: #grey-column { width:760px; min-height: 100%;/* for moz and others*/ margin-left: auto; margin-right: auto; background-color: #cccccc; background-image:url(/site_images/bodyback3.jpg); } This...
  19. manicleek

    timeouts

    Is there an equivalent for the asp code Server.ScriptTimeout = 1000 in php?
  20. manicleek

    Virtual Hosts

    I've tried to set up 2 virtual hosts <VirtualHost *> ServerName site1 ServerAdmin info@site1.co.uk DocumentRoot C:\sites\site1\ ErrorLog C:\sites\site1\logs\error.log CustomLog C:\sites\site1\logs\access.log combined </VirtualHost> <VirtualHost *> ServerName site2 ServerAdmin...

Part and Inventory Search

Back
Top