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 strongm 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: lagc
  • Order by date
  1. lagc

    Highlighted selected link from list

    Oh fair play, that works a treat... Thank you Perfect
  2. lagc

    Highlighted selected link from list

    I have a script that pulls all countries out of the database and displays them as a list. The customer can select any of the countries, which will then display all the regions within that country, again for the customer to select before they move onto the next stage. What I would like to do...
  3. lagc

    Capture end of URL

    Thanks jpadie, Could you help me some more please, as I'm not sure sure how to use that code properly. I have created a button on each page in the form of a german flag, and when clicked it needs to use that code to direct the customer to the German page equivelant. Could you show me please...
  4. lagc

    Capture end of URL

    Hi jpadie, yes they are. Basically it would be easier if I could grab everything after the last '\' into a variable, and I could use that. I'm sure I have used it before, but it must have been so long ago, that I'm either wrong or forgotten it.
  5. lagc

    Capture end of URL

    Hello all, I have just translated a complete English site into a German site, its identical, appart from the translations, but they are using 2 different URL's. What I'm tying to do, is capture everything after .com into a variable, so I can add it to the German flag which will then take that...
  6. lagc

    Dumping SQL database using php My Admin then importing back in

    Yes I just went through it and found exactly that. My new doubt is what format to export the database into as there are so many there, which is then doubly strange as in the Import bit, the message before you search for the file to import is: "Location of the text file" Now do I therefore...
  7. lagc

    Dumping SQL database using php My Admin then importing back in

    Basically I have 2 databases viewable in php My Admin. One is an English database and the other is a German database. There has been a lot of work on the content of the english and what we want to do is take an exact copy of that, and then import that into the german database. Then I can...
  8. lagc

    Dumping SQL database using php My Admin then importing

    Basically I have 2 databases viewable in php My Admin. One is an English database and the other is a German database. There has been a lot of work on the content of the english and what we want to do is take an exact copy of that, and then import that into the german database. Then I can...
  9. lagc

    fill text field not working in Mozilla, ok in Opera

    Thanks again Feherke, it worked a treat that. Cheers
  10. lagc

    fill text field not working in Mozilla, ok in Opera

    I have an admin page that has a country selection field that is populated dynamically, and then on choice of country a region field is made available, and the regions for that country only are displayed, to be selected. In Mozilla when i choose the country, the region drop down doesnt extend...
  11. lagc

    COPY function not working

    A little ahile ago we where hacked and as a result the hosting company made us lock down the folders, which in honesty was fair enough as they werent secure. Anyway, we have an admin system that uploads hotels to the server, and since we have secured the image folders, we cant upload images...
  12. lagc

    Delete unused images from root folder

    Wow that was quick, thank you very much. I will get cracking with this now, and let you know. Cheers
  13. lagc

    Delete unused images from root folder

    Hi, Yes sure, we are using a MySQL database, and each image table is named as follows. Foto1_Hot Foto2_Hot Foto3_Hot Foto4_Hot Type is VARCHAR Each image in those tabels is displayed as follows: /imgdata/hotel/8349otel_16_by.jpg What else are you looking for feherke? I have cpanel...
  14. lagc

    Delete unused images from root folder

    Hi feherke, I will be honest and say that I've hit a snag already as I'm not a solid php programmer, I can change and read through scripts, but creating something liek this from scratch, is a bit above me I'm affraid. If you know of any examples that I can read that would be great, if not at...
  15. lagc

    Delete unused images from root folder

    Hi all again, hope everybody is well. I have just had an email from our host letting me know that we are getting very close to our capacity, and we need to trim things down a bit. My biggest problem folder is our image folder, as it contains about 10 years worth of hotel images, and probably...
  16. lagc

    Only allowing images to be uploaded in image upload script

    On second thoughts, maybe its not that important. The good thing is that they cannot upload any file other than a jpg, gif or png, which is good. But I have a slightly different problem now, when the file is one of those image files. The script uploads the file, but i get an error for the...
  17. lagc

    Only allowing images to be uploaded in image upload script

    Ok Ive managed to connect to my computer in work now. I just added your code, and it works as in it didnt recognise a .doc file and the alert message appeared which is great. I clicked OK and the rest of the script didnt run, which again is great. But is there then anyway to refresh the page...
  18. lagc

    Only allowing images to be uploaded in image upload script

    Hi, confirm($msg); is calling some java script to allow an alert to appear which contains the alert message $msg. So changing that to exit($msg); will cancel the java script alert pop up, and so will that exit script still work. I'm cant do anything until I get back into work to try it, thats...
  19. lagc

    Only allowing images to be uploaded in image upload script

    Hi Vacunita, Would you be able to show me what you mean with code, using my code. Thanks for getting back to me though, what you said does make sense and I would be grateful for some help. I did inherit this code, and using google etc I have worked at it a bit. I was trying to find an exit...

Part and Inventory Search

Back
Top