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

  1. oohoohoohooh

    preg_match Help

    It still strips all the html out in between though so it isn't gonna work. Any other idea?
  2. oohoohoohooh

    preg_match Help

    Hehe i'm a doofus. Cheers
  3. oohoohoohooh

    preg_match Help

    Hi, when I ran it I got testtest2 but I want: $string = '<body> <a href="test.htm">test</a> <a href="text2.htm">test2</a> </body>'; to return: $string = '<a href="test.htm">test</a> <a href="text2.htm">test2</a>';
  4. oohoohoohooh

    preg_match Help

    Hi, I need to include the content in between the <a> tags that's why regular expressions is the way to go. Cheers anywayz
  5. 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>...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. oohoohoohooh

    Dealing with credit card payments as a developer

    Ah cheers, I've used curl before making an amazon web service. One question where does the SSL come into it to keep the credit card details secure during the transaction.
  11. 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...
  12. 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...
  13. oohoohoohooh

    CSS Background Color Problem

    Hi, yeah I've solved it now but the link still should be working. I think it may have been because I just put a firewall on my server and only realized it was allowing me to access that page until this morning.
  14. 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...
  15. oohoohoohooh

    Session problems

    Ah genius all seems to be working fine now. Cheers
  16. oohoohoohooh

    Session problems

    Hi sorry thought you'd given up on me. When i tried what you said it returned: Array ( )
  17. oohoohoohooh

    Session problems

    anyone?
  18. oohoohoohooh

    Session problems

    Hi, cheers for your help so far much appreciated. When I try what you said it gives object.
  19. oohoohoohooh

    Session problems

    Hi I tried as you said but it returned: PHP Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING or T_VARIABLE or '{' or '$' in C:\Inetpub\wwwroot\star buyer\shopping_cart.php on line 40 I then tried print_r($xml) (so you can see what we're dealing with) and I got...
  20. oohoohoohooh

    Session problems

    Hmm it outputs: SimpleXMLElement Object ( [0] => 104-9375040-9923111 ) I tried: print_r ( $xml->Cart[0]->CartId); but it did the same. I'd assume this is the problem. I tried echo $xml->Cart->CartId and that returned the value as I would expect. Cheers

Part and Inventory Search

Back
Top