Page with php script on wount load first time

This is a discussion on Page with php script on wount load first time within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, I have various galleries with a comment script on that when called, Ie 7 says not available but when ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-08-2008
catchawave
 
Posts: n/a
Default Page with php script on wount load first time

Hi,

I have various galleries with a comment script on that when called, Ie 7
says not available but when refreshed with F5 it loads fine.

http://www.catchawave.co.uk/gallerie...2008/index.php

Sometimes it loads OK, and other times I have to refresh.


Can aynone help.

Andy


Reply With Quote
  #2 (permalink)  
Old 03-09-2008
Olaf Schinkel
 
Posts: n/a
Default Re: Page with php script on wount load first time

catchawave schrieb:
> Hi,
>
> I have various galleries with a comment script on that when called, Ie 7
> says not available but when refreshed with F5 it loads fine.
>
> http://www.catchawave.co.uk/gallerie...2008/index.php
>
> Sometimes it loads OK, and other times I have to refresh.
>
>
> Can aynone help.

Yes.
Try to program correctly.
See this:
http://validator.w3.org/check?uri=ht...Inline&group=0
Reply With Quote
  #3 (permalink)  
Old 03-10-2008
catchawave
 
Posts: n/a
Default Re: Page with php script on wount load first time

Many thanks for the link, but I am quite new and relied on Dreamweaver to
generate a lot of the code.

If the page is a HTML type page it loads OK, (even though the validator site
says there are errors).

But once the php code is added, (once again it was free from Gentlesource)
it doesnt load first time.

Will I need to clear all of the errors to solve my loading problem.

Regards,

Andy


"Olaf Schinkel" <blablabla@bluxxxxxxxx.de> wrote in message
news:47d3d8fb$0$11008$9b4e6d93@newsspool4.arcor-online.net...
> catchawave schrieb:
>> Hi,
>>
>> I have various galleries with a comment script on that when called, Ie 7
>> says not available but when refreshed with F5 it loads fine.
>>
>> http://www.catchawave.co.uk/gallerie...2008/index.php
>>
>> Sometimes it loads OK, and other times I have to refresh.
>>
>>
>> Can aynone help.

> Yes.
> Try to program correctly.
> See this:
> http://validator.w3.org/check?uri=ht...Inline&group=0



Reply With Quote
  #4 (permalink)  
Old 03-13-2008
Olaf Schinkel
 
Posts: n/a
Default Re: Page with php script on wount load first time

catchawave schrieb:
> Many thanks for the link, but I am quite new and relied on Dreamweaver to
> generate a lot of the code.

DO NOT USE Dreamweaver.
You want to programm, or do you want to be a IDE-Asshole?


Reply With Quote
  #5 (permalink)  
Old 03-13-2008
PaulB
 
Posts: n/a
Default Re: Page with php script on wount load first time

Olaf Schinkel wrote:
> catchawave schrieb:
>> Many thanks for the link, but I am quite new and relied on
>> Dreamweaver to generate a lot of the code.

> DO NOT USE Dreamweaver.
> You want to programm, or do you want to be a IDE-Asshole?


That seems a little harsh. To someone learning PHP DW has a good colour
coded editor and there's no obligation to use their automatic coding
although it's a good stepping stone. Perhaps you went direct from a
standing start to notepad PHP, others didn't.

Paul

--
Add an underscore after the p to reply


Reply With Quote
  #6 (permalink)  
Old 03-15-2008
Sir Robin
 
Posts: n/a
Default Re: Page with php script on wount load first time

On Thu, 13 Mar 2008 10:20:36 -0000, "PaulB" <pbird@ntlworld.com> wrote:

>Olaf Schinkel wrote:
>> catchawave schrieb:
>>> Many thanks for the link, but I am quite new and relied on
>>> Dreamweaver to generate a lot of the code.

>> DO NOT USE Dreamweaver.
>> You want to programm, or do you want to be a IDE-Asshole?

>
>That seems a little harsh. To someone learning PHP DW has a good colour
>coded editor and there's no obligation to use their automatic coding
>although it's a good stepping stone. Perhaps you went direct from a
>standing start to notepad PHP, others didn't.


Using DreamWeaver as code editor is a working solution and by using it only
for hand writing code avoids the horrible code it produces automatically in
"design mode" or whatever it is called, BUT...

While syntax hilighting makes things easyer it certainly is not at all
absolutely necessary but it is something very usefull - however just for use
as text editor with syntax hilighting don't you think that it's a "bit" huge
(humongous really) for just a text editor with hilighting for only html, css
and perhaps php and couple other server side programming languages when there
are simple, powerfull, fast and small *text/code editor* programs with syntax
hilighting for numerous different document and programming languages?

Only reason to choose DreamWeaver instead of simple text/code editors for that
is that you want also to use the wysiwyg mode to generate code for you - which
results in quite horrible code (although I've seen worse and dreamweaver at
least keeps it quite withing standards I believe).

Just my opinion - and I don't want to bash dreamweaver... for wysiwyg web page
creation it is the best program I have seen but unfortunately I have not yet
seen actually good quality wysiwyg web page editor when it comes to the code
they create. Dreamweaver is however the best I have seen and if one wants to
use wysiwyg editor for web pages - in that case I would definately use DW.

>Paul


--
***/--- Sir Robin (aka Jani Saksa) Bi-Sex and proud of it! ---\***
**/ email: robsku@fiveam.NO-SPAM.org, <*> Reg. Linux user #290577 \**
*| Me, Drugs, DooM, Photos, Writings... http://soul.fiveam.org/robsku |*
**\--- GSM/SMS: +358 44 927 3992 ---/**
"Kun nuorille opetetaan, että kannabis on yhtä vaarallista kuin heroiini,
niin tokihan he oppivat, että heroiini on yhtä vaaratonta kuin kannabis."
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:52 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0