View Full Version : php 101

11-27-2007, 09:23 AM
I have been working to get away from DW code for php and have pretty much got it locally. I uploaded th site to a spare domain name i have just to try it and it is not working. the problem is connection to the database.
Actually it works sometimes so I guess it is a problem with cache somehow but it does work locally.
I have reached the stage of changing stuff without much logic behind it, so time for a break

I know this is vague, but is there something I should be looking at/for?
the url is www.bali-exotic-villas.com if that helps

11-27-2007, 09:58 AM
I just aw this works http://www.bali-exotic-villas.com/urlaub/villa.php?villaID=luxury%20paradise

this is a page (villa.php) I am still using DW code on as I haven't got to it yet, there has to be a clue there.

11-27-2007, 12:53 PM
The server code is already parsed, so viewing source in the browser displays none of the server side code. Is this a question about the server side code?

11-27-2007, 11:05 PM
not sure what the question is , kinda frustrated!! no the set up works locally om my local apache server when i uploaded it , not so much. I was just looking for where to look.
i will delete and upload again today,as i have obviously done something wrong somewhere. I am happy I tested it live like this though

11-28-2007, 07:41 AM
is this an intermittent problem

11-28-2007, 07:55 AM
yes. I refreshing either makes it work or stop working.
I am trying to clean up my coding which is messy I admit but as I said it works locally.

11-28-2007, 02:30 PM
need to see your code

however badly written syntax would just fall over. It wouldnt be an intermittant problem.

post your code please

11-29-2007, 02:12 AM
I have bad connection link . i will reload and see what happens, crap I hope thats it, even if i do feel stupid