Re: [PHP] Re: Site bloated by images/method question added

2006-02-16 Thread Jochem Maas
Lists wrote: I've already pushed up memory_limit in php.ini, but no good :( Any help would be apreciated. Warm Regards, MARG The site itself takes ages to appear. lol. Source code please! How is the site genereated? where are the images stored? Browser Activity on that page (quoted were

[PHP] Re: Site bloated by images

2006-02-16 Thread Manuel Lemos
Hello, on 02/16/2006 12:36 PM MARG said the following: > Hi, > > I have this site on > http://www.dte.ua.pt/portulano/ > > The problem with it is that it tak ages for the images to appear. > I have several other sites in the same server and this one is the only > which has this kind of trouble.

Re: [PHP] Re: Site bloated by images/method question added

2006-02-16 Thread Lists
>> I've already pushed up memory_limit in php.ini, but no good :( >> >> Any help would be apreciated. >> >> Warm Regards, >> MARG >The site itself takes ages to appear. lol. > >Source code please! > >How is the site genereated? >where are the images stored? Browser Activity on that page (quoted

[PHP] Re: Site bloated by images

2006-02-16 Thread Barry
MARG wrote: Hi, I have this site on http://www.dte.ua.pt/portulano/ The problem with it is that it tak ages for the images to appear. I have several other sites in the same server and this one is the only which has this kind of trouble. I've already pushed up memory_limit in php.ini, but no

[PHP] Re: Site Planning

2004-07-14 Thread Jason Barnett
Ee wrote: Can anyone point me to a good article about site planning before coding. I searched the net but couldn't find a good one? This question is too broad - as usual it depends on your needs. Ask a more specific question, or hire someone to plan out your site for you. -- PHP General Mailing

Re: [PHP] Re: site path

2002-10-11 Thread @ Edwin
Hmm, I was expecting that. ;) Looking back, when you said that this code >echo("Go home"); > ?> would obviously create a trailing slash problem, I should have just said that it's true IF you code it that way. I should have just said that there's an ALTERNATIVE way of coding that wouldn't cr

Re: [PHP] Re: site path

2002-10-10 Thread Bogdan Stancescu
If you really need to get picky, then I shall... well, point out the obvious: echo "Go to some folder"; And since we got into this, there are some servers where you don't have control over http config, so you shouldn't want to link to directories at all - you'd want to specify the exact f

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
Well, I agree about what you said > IMHO, the second comes more natural to write, is easier to understand at > a glance, is less prone to errors and, well, it's shorter! but remember the topic is about whether the trailing slash would create a problem or not. I think you're aware that there are

Re: [PHP] Re: site path

2002-10-10 Thread Bogdan Stancescu
Ok, then I honestly don't understand why anyone would rather write this echo "Go home"; instead of this echo "Go home"; IMHO, the second comes more natural to write, is easier to understand at a glance, is less prone to errors and, well, it's shorter! Bogdan @ Edwin wrote: > Not exactly. Si

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
Not exactly. Single quotes are fine. I missed the fact that the single quotes here >> echo("Go home"); will be included in the source--sorry about that. Well, then, to rewrite the code earlier, > echo 'Go home'; this way: echo "Go home"; that would still not give you the "trailing slash"

Re: [PHP] Re: site path

2002-10-10 Thread Bogdan Stancescu
I'm not sure exactly what you're trying to point out - does XHTML require double quotes? Bogdan @ Edwin wrote: > Just a thought... > > If you're going to write an XHTML compatible code, you wouldn't really have > this problem --> > >> echo("Go home"); > > > since you'll probably write som

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
Just a thought... If you're going to write an XHTML compatible code, you wouldn't really have this problem --> >echo("Go home"); since you'll probably write something like this: echo 'Go home'; Of course, I didn't mean that you can't do that with HTML... Anyway, for the original questi

[PHP] Re: site path

2002-10-10 Thread Bogdan Stancescu
I generally use both - the first for includes and the second for HTML links. Do NOT include the trailing slash. The reason is simple: Go home"); ?> is much simpler to write and follow than Go home"); ?> because you obviously can't write Go home"); ?> Please remember that since the trailing slash

[PHP] Re: Site Search

2002-07-29 Thread Richard Lynch
> >I'm wondering what is a good general approach to enabling site-wide >searches on any topic on a 100% PHP-powered portal-type site for a >tertiary institution (yet to be built). Most if not all content will be >contained in a database, spread across potentially many different >tables. > >How ca

[PHP] Re: Site Search

2001-09-22 Thread Richard Lynch
Search for "htdig" on the 'net. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Vishal Khia

Re: [PHP] RE: Site Sesions: Online/off...

2001-04-21 Thread Richard
Hehehe.. Yeah. Thanks alot, this will do perfectly good. - Richard ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bqhpe$f3d$[EMAIL PROTECTED]">news:9bqhpe$f3d$[EMAIL PROTECTED]... > If you want to make it easy on yourself, convert it into a timestamp (unix > preferably). Then all you have

Re: [PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Plutarck
If you want to make it easy on yourself, convert it into a timestamp (unix preferably). Then all you have to do is: $dif = time() - $last_access_time; if ($dif > 3600) { echo "The user has been inactive for more than an hour."; } That's if you want to make it easy on yourself. If you're a m

[PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Richard
Greetings. (the thread was too far down to be read by anyone) I am having some problems with the code itself! I have done like so, that whenever peopel wishes to see the "onliners", I start a function called DelOld(). This will not decrease server speed, nor create conflicts when writing to t

[PHP] re: Site

2001-03-13 Thread Darrell Harder
ARRRHHH!!!... talk about crap.. what happened to all the content? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]