Jump to content

bono_head

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by bono_head

  1. I don't think this code is working the way I want it to. How can I get ONLY the last number of the website-address? It consists of text and numbers. AND the prev / next will be in another frame. It will have to make the main menu page to prev next. Sorry for my bad explaining
  2. Hi there! I have this wrapper thingy going on my website. They all have end with a number. From what I can see, the numbering is consistent. My question is this: How can I get the last number for my previus next button? if Itemid=38 then previous = server//index.php?option=com_wrapper&Itemid=37 and next = server//index.php?option=com_wrapper&Itemid=39 ? I used to program in PHP in the old days (few years ago), but I am rusty as h*ll... Can someone help me with this? And also tell me; When does it come back to me?
  3. Hello! I am new here. My first post, but not my last. Haven't been working with PHP in a long while, so I am rusty... But back to the business. I have a webpage: www.site/page245.php. I also have a "frame" on the right side where I have this PDF-button. That button uses html2pdf to create a pdf. The problem is: I need to get a hold of the address it is supposed to create a pdf of. when I use this code: $htmlFile = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; I only get the current page, and I want the previous... If I haven't made myself clear, don't hesitate to ask! I have also drawn a very nice picture in the best program of them all; ms paint! Can someone help me with this? Thanks in advance. Bhead [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.