Jump to content

jt327

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Posts posted by jt327

  1. yeh, ive got a domain registered and i have setup zoneedit to point it to my ip. This all works fine, the site is perfectly accessable from outside my network. However, when inside the network i can only access the page through localhost. If i try to go through the proper url it gives me a 'page not found' error.
  2. hey guys,

    this probably isnt the right area to be posting this question but anyways..

    i currently have xampp set up on my xp box and have my website up and running, ie it can be viewed externally.

    From the server itself i have always been accessing the page by 127.0.0.1, and i am curious as to how i can set my server up so that i can view the website with its full url (ie www.whatever.com) internally.

    not sure if its relevant but i am using a dlink dsl-g604t router.

    Thanks in advance,

    jared.
  3. well basically ive got a html page which im trying to adapt to php to work with my content management system. in the html file ive got a javascript function call which passes one of the variables passed to the page. somehting like..

    myFunction(var);

    what im trying to do is read in the var from the

    <?php
    $var= $_GET['var'];

    ?>

    and then pass it to myFunction(). Im not the best coder so im not sure about the best way to go about this.

    Jared.
  4. Hey Guys,

    I know this is a common problem for people new to php, and ive done a lot of research before posting but so far cannot get it working. My problem is:

    i am trying to pass variables to a html page through the url : http://url.com/index.php?id=123&var=0 but am having trouble getting the variable from the other page.

    should i be doing something like..

    <?php

    $var= $_GET['var'];
    echo "the variable is: $var";

    ?>

    If so is there a problem with this code? Will that php code work fine imbedded in a plain html file? or will i have to add somethin else? any help would be massively appreciated

    Thanks in advance,

    Jared
×
×
  • 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.