Jump to content

jt327

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jt327's Achievements

Newbie

Newbie (1/5)

0

Reputation

  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. what im saying is that when im on my webserver i want to be able to browse to www.myurl.com and access my site. at the moment i keep getting a page not found error so i need to use localhost. jared.
  3. 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.
  4. 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.
  5. hey guys sorry im really new to this, so a bit slow.. would there be any way for me to access the variable through html without jumping into php with the <?php ?> tags?
  6. Hi Destramic, Thanks for your quick reply. If i then wanted to reference the variables inside the html file, but outsite of the php code block, how would i go about doing this? Jared.
  7. 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.