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

  1. oohoohoohooh

    preg_match Help

    Hi, I was wondering how you strip the contents of a string uptil the first occurance of <a and also how to strip a string to the last occurance of </a> ie $string = '<body> <a href="test.htm">test</a> <a href="text2.htm">test2</a> </body>'; will return: $string = '<a href="test.htm">test</a>...
  2. oohoohoohooh

    PHP with IIS

    Hi, I have followed a tutorial for installing PHP with IIS and everything was fine until I changed the home directory under the iis manager. Everything else works fine except the PHP files. This is very important I change this and I can't keep it as the default. Please note that on the new...
  3. oohoohoohooh

    Loop through unlimited nested categories

    Hi, I have a table setup called categories with the following structure: - cat_id (primary key) - subcat_id - cat_name If a category is within another category it's subcat_id would be the cat_id of the category it is within. This allows me to have unlimited subcats within subcats. Hope all...
  4. oohoohoohooh

    Setting up MSSQL (with PHP)

    Hi, I followed the following tutorial to setup IIS with MS SQL Server DE here: http://www.geekpedia.com/prog_ttrls.php?id=57 I also installed the web data administrator fine. Finally I removed the ; before extension=php_mssql.dll in the PHP config file. Until now everything seems to be...
  5. oohoohoohooh

    PHP with MSSQL

    Hi, I followed the following tutorial to setup IIS with MS SQL Server DE. I also installed the web data administrator fine. Finally I removed the ; before extension=php_mssql.dll in the PHP config file. Until now everything seems to be working fine but my problem lies with connecting to the...
  6. oohoohoohooh

    Dealing with credit card payments as a developer

    Hi, say I wish to create a shopping cart company for a company. To checkout and purchase their goods I wish for them to use a credit card. I understand the best way is to use a third party organization (like paypay or 2checkout) but say my company has a merchant account and a server setup with...
  7. oohoohoohooh

    Box With Rounded Edges

    Hi, I'm trying to make a box with rounded edges. The top was easy enough because I could use one whole pic but the bottom is a little hard because I have text in between. I have attempted the following: http://www.punkcentre.com/test/test.htm http://www.punkcentre.com/test/test2.htm but...
  8. oohoohoohooh

    CSS Background Color Problem

    Hi, please visit the following site: http://www.punkcentre.com/test/test.htm You see where it says Left | Home | Search. I wish to have the entire row in a solid background color instead of the current way it is. I tried putting a div around the center_wrap, left and right divs and setting the...
  9. oohoohoohooh

    Session problems

    Hi, I'm trying to setup my own amazon web service shopping cart. To do this I need some way of storing some of the information related to the cart and the user so I figured I would use sessions. In my file I put: session_start(); $xml = simplexml_load_file('http://webservices.amazon' ...
  10. oohoohoohooh

    Navigation bar for a store

    Hi, I wish to create a navigation bar for users to follow as they browse a store I am creating. The following is the table structure for the categories table: - cat_id - subcat_id (if 0 then not a subcat) - cat_name This allows me to have unlimited subcats. An example of some values are 1 |...
  11. oohoohoohooh

    AWS - Locale/Cats SQL Query Problem

    Hi, I'm trying to set up my own amazon web service. My problem comes from different stores only available to certain countries. Please check http://www.amazon.com/gp/aws/sdk/main.html/002-9395438-1392821?s=AWSEcommerceService&v=2005-03-23&p=ApiReference/SearchIndexValues for information on...
  12. oohoohoohooh

    Vertical Allign Bottom in CSS

    hI, i'm working on a website and trying to make it without using tables (using CSS). If you visit the website below you will notice the navigation bar is positioned in the top right hand corner because the default vertical align is top. I managed to position it on the right but I also want to...
  13. oohoohoohooh

    Auto hyperlink urls

    Hi, I want to create a function that will scan through a variable and convert any urls to auto hyperlink. I would appreciate if someone could show me how I could do this. Also could the function truncate the initial link display such that it would say ... (after so many characters) to avoid...
  14. oohoohoohooh

    CSS Table Width 100% Issue in IE

    Hi, I am trying to set up a three column structure for my website using CSS. The trouble I'm having is using the footer since I can't absolutely position the divs since I need the footer directly after the content. I've just seen an example on a website about floating them but then when I have...
  15. oohoohoohooh

    PHP to ASP.NET

    Hi, I've recently started taking an interest in asp.net as many companies (web developers) look for experience in asp.net when employing people in php. I read a couple tutorials but was not quite sure how different it is. I found c# to be most similar to php but noticed that asp does some...
  16. oohoohoohooh

    Global Constants

    Hi, I was wondering how to get the global value of a defined constant from within a class. Say I have (within a function inside a class that is called): echo X_ADMIN ? '<br /><a href="admin.php">Admin Panel</a>' : ''; The constant is defined by: if($self['status'] == 'Administrator') {...
  17. oohoohoohooh

    Web Data Administrator Login

    Hi, I've setup mssql server 2000 desktop edition and as far as I can see all is working fine. I've then setup the web data administrator and when I go to http://localhost/webadmin/default.aspx I am given two authentication methods: 1. Windows Integrated 2. SQL Login It requires a username and...
  18. oohoohoohooh

    Sessions

    Hi, i've been using cookies to store my users login details but have been told it is more secure to use sessions. I've read a couple of tutorials on sessions but one thing I'm not understanding is that when you close the browser or visit another site the sessions are deleted (right?). So how...
  19. oohoohoohooh

    .htaccess files driving me mad

    Hi, I did a search on google to help password protect a directory. I tried the following files and placed them inside the folder I wish to password protect (c:/www/public_html/phpmyadmin/) and when I go to http://localhost/phpmyadmin it asks me for the password but when I put the details (I...
  20. oohoohoohooh

    .htaccess Files

    Hi, as far as I understand, .htaccess files only work on apache. Is there an addon to make them work on iis or is there an alternative. Thanks

Part and Inventory Search

Back
Top