Jump to content

saj0577

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

saj0577's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. so if ur using port 80 (the standard default port) then you will just simply go to the addres you get from whatismyip.org (or a DNS you have set up) and then he will do the same but he will have to add :8080 on the end you dont have to do this as internet browsers will automatically go to :80 asit is the default in most cases. Saj
  2. Hiya does anyone know how to get it so i can map my external ip address with my internal one. I have done this with my TeamSpeak server and it works fien but when i try the same principle with my apache server it does not work and the apache server can only be accessed thought computers on my network. Is this a firewall problem (most likely) or a apache setup problem? It would be great if someone could talk me through it as i am confused as it normally works and has worked for my VNC server TeamSpeak Server etc... so i dont see why apache should be different. Which leads me to believe it is an apache set up problem thank you. I told apache to use port 80 on the install but then went into the setup file and changed ti to use port 8080 as port 80 is used by my router as the router set up page. Regards Saj
  3. Any suggestions people? OR if you have a piece of coding similar to this that i can then addapt.That would be okay. Thanks Saj
  4. Hi i have some code that a form sends data to (this part works) i have it so if they order 2 or more the price is different to if they just order 1 ( a discount.)But if any of the boxes are left at zero(0) it still charges them a small fee. And when i try to change a variable in an if statement it does not work. Any help would be great thanks Saj <?php $large= "Large Sticker"; $quantitylarge= $_POST["quantitylarge"]; $pricelarge= $_POST["pricelarge"]; $discountlarge= $quantitylarge-1; $discountlargeprice= $discountlarge*3; $totallarge =$pricelarge+$discountlargeprice; $sizelarge= "300X50mm"; $small= "Small Sticker"; $quantitysmall= $_POST["quantitysmall"]; $pricesmall= $_POST["pricesmall"]; $discountsmall= $quantitysmall-1; $discountsmallprice= $discountsmall*2.5; $totalsmall =$pricesmall+$discountsmallprice; $sizesmall= "200X35mm"; $total = $totallarge+$totalsmall; $discountsumlarge= $quantitylarge*$pricelarge; If (($quantitylarge="0")) $total == $totalsmall; $username=$_POST["username"] ; echo $total; ?>
  5. ***SOLVED*** ***SOLVED*** ***SOLVED*** HI i have a similar problem heres my coding of my different pages. <html> <body> <form name="form" id="form" action="set.php" method="post"> Title: <select name="ts" id="ts" multiple> <option> </option> <option value="ABC">ABC</option> <option value="DEF">DEF</option> </select> <INPUT type="submit" value="Submit"> </form> </body> </html> Code for set.php <?PHP $abc= $_POST["ts"]; // will p$post input boxes but not drop down menus echo $abc; ?> any help would be great. Thanks in advance Saj ***SOLVED*** ***SOLVED*** ***SOLVED***
×
×
  • 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.