Re: [PHP] warning message to hide

2007-04-17 Thread Tijnema !
On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote: >> try putting an @ sign before this line. something like this: >> @$conn = pg_connect($conn_string); > > According to the manual: > http://www.php.net/manual/en/language.operators.errorcontrol.

Re: [PHP] redirect with header still not working

2007-04-17 Thread Ross
Thanks all I manged to fix it. The headers were already sent by a validation class I was using and needed a bit of output buffering to get it working. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Different behaviour : command line / cron

2007-04-17 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-17 18:41:46 -0400: > Hi, > > I've developed a simple script that among other things sends a fax using > hylafax's sendfax program. If I test it calling directly from the command > line it works fine. > > If I let it run from cron it executes everything fine except

Re: [PHP] Array remove function?

2007-04-17 Thread Chris
Tijnema ! wrote: On 4/16/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: > On Wed, April 11, 2007 9:00 pm, Jochem Maas wrote: >> [PS - I've the pleasure of listening to a colleague do a manual >> install >> of Vista over an existing copy of XP and then get the really tricky >> st

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Paul Novitski
At 4/17/2007 07:54 PM, Robert Cummings wrote: You say "Using tables for layout *is* a hack". I believe what he meant was that using tables for layout of non-tabular data is a hack. tables were intended for laying out tabular data. This is an interesting assertion. Perhaps it would be a

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 22:20 -0500, Anna V wrote: > On 4/17/07, Paul Novitski <[EMAIL PROTECTED]> wrote: > > > > At 4/17/2007 07:53 PM, Robert Cummings wrote: > > >On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > > > > I've never never had used tables for layouts (I worked on pretty > > > > compl

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 22:04 -0500, Larry Garfield wrote: > On Tuesday 17 April 2007 9:54 pm, Robert Cummings wrote: > > > > You say "Using tables for layout *is* a hack". Unfortunately for you > > tables were intended for laying out tabular data. Thank you, thank you > > very much. > > Tabular dat

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Anna V
On 4/17/07, Paul Novitski <[EMAIL PROTECTED]> wrote: At 4/17/2007 07:53 PM, Robert Cummings wrote: >On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > > I've never never had used tables for layouts (I worked on pretty > > complicated projects)... Heck, http://espn.com is CSS based, and it looks

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Paul Novitski
At 4/17/2007 07:53 PM, Robert Cummings wrote: On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > I've never never had used tables for layouts (I worked on pretty > complicated projects)... Heck, http://espn.com is CSS based, and it looks > pretty darn amazing. Just my quick thought on this. :)

[PHP] RE: isset

2007-04-17 Thread Chetanji
Richard Lynch wrote: > > On Tue, April 17, 2007 6:59 am, Tim wrote: >> >>> > The count is maintained internally as items are >>> added/removed, and it >>> > is an O(1) operation for PHP to "count" the array, as it >>> already knows >>> > the answer and just returns it. >> >> >> Hi nothing to d

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 22:03 -0500, Anna V wrote: > > > On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > > On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > > On Tue, 2007-04-17 at 18:53 -0500

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Larry Garfield
On Tuesday 17 April 2007 9:54 pm, Robert Cummings wrote: > On Tue, 2007-04-17 at 21:21 -0500, Larry Garfield wrote: > > On Tuesday 17 April 2007 8:14 pm, Robert Cummings wrote: > > > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > > > > On Tuesday 17 April 2007 3:40 pm, Robert Cummings w

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Anna V
On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > > > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > >

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 21:21 -0500, Larry Garfield wrote: > On Tuesday 17 April 2007 8:14 pm, Robert Cummings wrote: > > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > > > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > > > BTW, any web developer worth his or her salt with

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: > On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > > > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > > > > > > BTW, any web developer worth his or her salt with

[PHP] Skipping items in a loop

2007-04-17 Thread jekillen
Hello again; I have a directory that I am opening and reading to produce an array of contents; files and subdirectories. There are a number of subdirectories that I do not want to open and read the contents of, and others that I do want to open and read the contents of. This code is supposed to pr

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Anna V
On 4/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > > BTW, any web developer worth his or her salt with a reasonable amount of > > > practice can make CSS layouts that res

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Larry Garfield
On Tuesday 17 April 2007 8:14 pm, Robert Cummings wrote: > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > > BTW, any web developer worth his or her salt with a reasonable amount > > > > of practice can make CSS layouts tha

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote: > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > > > BTW, any web developer worth his or her salt with a reasonable amount of > > > practice can make CSS layouts that resize as well as table based layouts > > > everyday of the

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Richard Lynch
It's PHP_INI_PERDIR, but php takes the MINIMUM(php.ini, .htaccess, FORM:MAX_FILE_UPLOAD_SIZE_THINGIE) So it's no less secure than the webhost/sysadmin chooses to make it. Or, at least, that's how I understood it to work when I tested it ages ago... No promise it hasn't changed. On Tue, April 17

Re: [PHP] CSS vs. Tables OT

2007-04-17 Thread Larry Garfield
On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote: > > BTW, any web developer worth his or her salt with a reasonable amount of > > practice can make CSS layouts that resize as well as table based layouts > > everyday of the week. I will refer you to http://www.csszengarden.com/ > > Only wit

Re: [PHP] isset

2007-04-17 Thread Richard Lynch
On Mon, April 16, 2007 8:06 pm, Robert Cummings wrote: > On Mon, 2007-04-16 at 19:05 -0500, Richard Lynch wrote: >> On Mon, April 16, 2007 6:10 pm, Jochem Maas wrote: >> > if I know it's an array I'll definitely use empty() over count() >> >> > count() needs to actually count the items where a

[PHP] Different behaviour : command line / cron

2007-04-17 Thread mbneto
Hi, I've developed a simple script that among other things sends a fax using hylafax's sendfax program. If I test it calling directly from the command line it works fine. If I let it run from cron it executes everything fine except the fax. I am using the system call and in order to debug I a

RE: [PHP] isset

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 6:59 am, Tim wrote: > >> > The count is maintained internally as items are >> added/removed, and it >> > is an O(1) operation for PHP to "count" the array, as it >> already knows >> > the answer and just returns it. > > > Hi nothing to do with the actual topic, i am just wo

Re: [PHP] Re: Problems when trying to use ibm_db2 extension

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 1:21 am, Leo Jokinen wrote: > Problem solved: > I restarted my computer and after that apache loaded ibm_db2 > extension. > > My conclusion: > 1. When you add some extensions to php.ini, you need to restart > windows > in order to get those extensions available through apache

Re: [PHP] echo or print ?

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 1:40 am, Christian Haensel wrote: > Whenever I see people put their code up for review, I realize they > mostly > use print instead of echo, while I am using echo 99% of the time. > Actually, > I can't even remember when I last used the regular print. There used to be a diff

Re: [PHP] Protecting individual files/dirs from access

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 9:12 am, tedd wrote: > I start building from inside httpdocs folder where I place an > index.php file and then branch out from there. Now, where is "OUTSIDE > the web-tree"? Not inside httpdocs folder is OUTSIDE. If you put a file there, nobody can surf to it. But PHP can

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 9:28 am, Tim wrote: >> > That was my assumption when I first read it... >> > >> > But maybe I've just hung out with too many stoner musicians... :-v >> > > > Just musicians? ;P In my personal experience, yes, just musicians... I know a LOT of musicians, though, so it's a sk

Re: [PHP] redirect with header still not working

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 10:02 am, Ross wrote: > Right, > > Have tried the full url for the header and it still doesn't work. I > may have > to resort to...javacript redirects unless someone can suggest a way > around > it. > > Here is the phpinfo(); > > http://s202801613.websitehome.co.uk/info.php >

Re: [PHP] posting variables to parent frame

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 1:31 pm, Hans wrote: > I'm trying to post variables to a parent frame, I'm working from a > page that > is in an iFrame. However, I don't know how to accomplish this. I tried > target='top' to include in the form tag ( > target="top">) but this didn't succeed. > > Can you

Re: [PHP] Re: CSS vs. Tables OT

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:41 pm, Colin Guthrie wrote: > Robert Cummings wrote: >>> BTW, any web developer worth his or her salt with a reasonable >>> amount of >>> practice can make CSS layouts that resize as well as table based >>> layouts >>> everyday of the week. I will refer you to >>> http://ww

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Chris
Richard Lynch wrote: On Tue, April 17, 2007 4:01 pm, Chris wrote: Tijnema ! wrote: On 4/17/07, Brian Dunning <[EMAIL PROTECTED]> wrote: Dang. There is no remote access to the server, no way to remotely edit php.ini - everything is blocked by the firewall. It's running IIS not Apache. I'm not

RE: [PHP] CSS vs. Tables OT

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 2:45 pm, Jay Blanchard wrote: > [snip] > From the CSS discussion of the WWE job posting thread. > > There is one question that shows that a table based layout in 99% of > cases is superior to a CSS layout. > > Try resizing most any CSS based page. > > Tables are 99% of the ti

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:01 pm, Chris wrote: > Tijnema ! wrote: >> On 4/17/07, Brian Dunning <[EMAIL PROTECTED]> wrote: >>> Dang. There is no remote access to the server, no way to remotely >>> edit php.ini - everything is blocked by the firewall. It's running >>> IIS not Apache. >> >> I'm not tota

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Richard Lynch
Talk to your webhost. Nobody here can do anything useful for you on this... Other than to recommend abandoning your current host for a better one. :-) On Tue, April 17, 2007 3:46 pm, Brian Dunning wrote: > Dang. There is no remote access to the server, no way to remotely > edit php.ini - everyth

Re: [PHP] Using PHP files from Ajax and from other PHP files

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:00 pm, Otto Wyss wrote: > I want move all database access into separate PHP files so I could use > these files either through an Ajax call from the client or in another > PHP files (require_once) on the server. Is this possible? What > interface > would be needed? Has any

Re: [PHP] Json.php

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:40 pm, Jochem Maas wrote: > Richard Lynch wrote: >> On Mon, April 16, 2007 10:20 am, Tijnema ! wrote: >>> And btw, I think it's better not to create a new link to the class >>> each time the function is called, but just use :: >>> if (!function_exists('json_encode')) { >>>

Re: [PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:43 pm, Brian Dunning wrote: > I got everything configured on my server and uploads working great, > max_input_time=3600, upload_max_filesize=30M, post_max_size=30M, and > anything I upload up to 30M works great on Safari. IE7 and Firefox > choke, returning broser-generated

Re: [PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Edward Vermillion
Could it be that IE7 and FF are timing the request out, and Safari isn't? That's what it sounds like to me. (connection reset on files larger that a couple megs) What to do about it server-side I have no idea (some kind of keep- alive setting or header or something?), but maybe it gives yo

[PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Brian Dunning
I got everything configured on my server and uploads working great, max_input_time=3600, upload_max_filesize=30M, post_max_size=30M, and anything I upload up to 30M works great on Safari. IE7 and Firefox choke, returning broser-generated "page not found, connection reset" if the file is big

[PHP] Re: CSS vs. Tables OT

2007-04-17 Thread Colin Guthrie
Robert Cummings wrote: >> BTW, any web developer worth his or her salt with a reasonable amount of >> practice can make CSS layouts that resize as well as table based layouts >> everyday of the week. I will refer you to http://www.csszengarden.com/ > > Only with hacks. The hacks fix buggy browser

Re: [PHP] Json.php

2007-04-17 Thread Jochem Maas
Richard Lynch wrote: > On Mon, April 16, 2007 10:20 am, Tijnema ! wrote: >> And btw, I think it's better not to create a new link to the class >> each time the function is called, but just use :: >> if (!function_exists('json_encode')) { >>function json_encode($data) { >>ret

Re: [PHP] How to detect charset encoding with PHP and command line?

2007-04-17 Thread Davi
Em Terça 17 Abril 2007 18:18, William Lovaton escreveu: > Any idea with this one? please?? > > El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió: > > Hi there, > > > > I'd like to know a way to detect the file encoding from PHP and Linux > > command line too. > > > > In PHP I tried mb

Re: [PHP] How to detect charset encoding with PHP and command line?

2007-04-17 Thread William Lovaton
Any idea with this one? please?? El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió: > Hi there, > > I'd like to know a way to detect the file encoding from PHP and Linux > command line too. > > In PHP I tried mb_detect_encoding() but it doesn't work reliable, first > I have to spe

Re: [PHP] Using PHP files from Ajax and from other PHP files

2007-04-17 Thread Edward Vermillion
On Apr 17, 2007, at 4:00 PM, Otto Wyss wrote: I want move all database access into separate PHP files so I could use these files either through an Ajax call from the client or in another PHP files (require_once) on the server. Is this possible? What interface would be needed? Has anybody

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Chris
Tijnema ! wrote: On 4/17/07, Brian Dunning <[EMAIL PROTECTED]> wrote: Dang. There is no remote access to the server, no way to remotely edit php.ini - everything is blocked by the firewall. It's running IIS not Apache. I'm not totaly sure about IIS, i never use it, but PHP_INI_PERDIR can also

[PHP] Using PHP files from Ajax and from other PHP files

2007-04-17 Thread Otto Wyss
I want move all database access into separate PHP files so I could use these files either through an Ajax call from the client or in another PHP files (require_once) on the server. Is this possible? What interface would be needed? Has anybody else tried something similar? Since I plan use Jso

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Tijnema !
On 4/17/07, Brian Dunning <[EMAIL PROTECTED]> wrote: Dang. There is no remote access to the server, no way to remotely edit php.ini - everything is blocked by the firewall. It's running IIS not Apache. I'm not totaly sure about IIS, i never use it, but PHP_INI_PERDIR can also be set in .htacces

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 3:43 pm, Sebe wrote: > Brian Dunning wrote: >> If I do this: >> >> ini_set('upload_max_filesize', 30720); >> echo ini_get('upload_max_filesize'); >> >> it returns 2M. Why is it not accepting the ini_set? The server is >> Windows, PHP 5.2. > > probably because upload_max_files

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Brian Dunning
Dang. There is no remote access to the server, no way to remotely edit php.ini - everything is blocked by the firewall. It's running IIS not Apache. On Apr 17, 2007, at 1:40 PM, Daniel Brown wrote: That particular variable is a PHP_INI_SYSTEM variable, which means it can only be set

Re: [PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Sebe
Brian Dunning wrote: If I do this: ini_set('upload_max_filesize', 30720); echo ini_get('upload_max_filesize'); it returns 2M. Why is it not accepting the ini_set? The server is Windows, PHP 5.2. probably because upload_max_filesize is PHP_INI_PERDIR not PHP_INI_ALL use: http://us.php.net/ma

RE: [PHP] CSS vs. Tables OT

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 14:45 -0500, Jay Blanchard wrote: > [snip] > >From the CSS discussion of the WWE job posting thread. > > There is one question that shows that a table based layout in 99% of > cases is superior to a CSS layout. > > Try resizing most any CSS based page. > > Tables are 99% of

[PHP] Why can't I ini_set('upload_max_filesize')?

2007-04-17 Thread Brian Dunning
If I do this: ini_set('upload_max_filesize', 30720); echo ini_get('upload_max_filesize'); it returns 2M. Why is it not accepting the ini_set? The server is Windows, PHP 5.2. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] posting variables to parent frame

2007-04-17 Thread Jay Blanchard
[snip] I'm trying to post variables to a parent frame, I'm working from a page that is in an iFrame. However, I don't know how to accomplish this. I tried target='top' to include in the form tag ( target="top">) but this didn't succeed. Can you please help me? [/snip] JavaScript -- PHP Gener

[PHP] posting variables to parent frame

2007-04-17 Thread Hans
Hi there, I'm trying to post variables to a parent frame, I'm working from a page that is in an iFrame. However, I don't know how to accomplish this. I tried target='top' to include in the form tag ( target="top">) but this didn't succeed. Can you please help me? Thanks in advance! Hans --

RE: [PHP] CSS vs. Tables OT

2007-04-17 Thread Jay Blanchard
[snip] >From the CSS discussion of the WWE job posting thread. There is one question that shows that a table based layout in 99% of cases is superior to a CSS layout. Try resizing most any CSS based page. Tables are 99% of the time superior as it will resize properly whereas 99% of most CSS base

[PHP] CSS vs. Tables

2007-04-17 Thread Leonard Burton
HI All, From the CSS discussion of the WWE job posting thread. There is one question that shows that a table based layout in 99% of cases is superior to a CSS layout. Try resizing most any CSS based page. Tables are 99% of the time superior as it will resize properly whereas 99% of most CSS

Re: [PHP] redirect with header still not working

2007-04-17 Thread Chris Shiflett
Ross wrote: > Have tried the full url for the header and it still doesn't work. I forget what your exact issue is, but a good first step to take when debugging a problem with header() is to replace it with echo. For example: echo "Location: $url"; Instead of: header("Location: $url"); Almost e

Re: [PHP] redirect with header still not working

2007-04-17 Thread Jim Lucas
Ross wrote: Right, Have tried the full url for the header and it still doesn't work. I may have to resort to...javacript redirects unless someone can suggest a way around it. Here is the phpinfo(); http://s202801613.websitehome.co.uk/info.php Is is 1and1 hosting if anyone had had any expe

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-17 Thread Philip Thompson
I'm not looking for a response... but this thread that opened up several days ago would now considered to be OT. Maybe take it offline? :) The ironic thing... when I put [OT] in the subject line, the list rejected it. This is the 2nd attempt. So, the moral is to talk about whatever the he

Re: [PHP] redirect with header still not working

2007-04-17 Thread Jim Lucas
Ross wrote: Right, Have tried the full url for the header and it still doesn't work. I may have to resort to...javacript redirects unless someone can suggest a way around it. Here is the phpinfo(); http://s202801613.websitehome.co.uk/info.php Is is 1and1 hosting if anyone had had any expe

[PHP] Re: redirect with header still not working

2007-04-17 Thread Al
Read about output buffering, it's your solution and well worth time learning about. Ross wrote: Right, Have tried the full url for the header and it still doesn't work. I may have to resort to...javacript redirects unless someone can suggest a way around it. Here is the phpinfo(); http:

RE: [PHP] redirect with header still not working

2007-04-17 Thread Jim Moseby
> > Have tried the full url for the header and it still doesn't > work. I may have > to resort to...javacript redirects unless someone can suggest > a way around > it. > > Here is the phpinfo(); > > http://s202801613.websitehome.co.uk/info.php > > > Is is 1and1 hosting if anyone had had an

Re: [PHP] redirect with header still not working

2007-04-17 Thread Dave Goodchild
That is, unless you use output buffering. It may not be the most elegant solution (using header() to redirect users increases server calls), but I built a template-driven php site that calls: ...depending on certain conditions which means I can then use header() even after I have started output

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-17 Thread Jochem Maas
Richard Lynch wrote: > On Fri, April 13, 2007 8:14 pm, Robert Cummings wrote: peacepipe in one hand, broadsword in the other - lets hack on :-) >>> ***BIG SMILE*** >> And WHAT are you smiling at??? Staves beat peacepipes and broadswords >> anyday! > > Maybe he's smiling because of what's IN h

[PHP] redirect with header still not working

2007-04-17 Thread Ross
Right, Have tried the full url for the header and it still doesn't work. I may have to resort to...javacript redirects unless someone can suggest a way around it. Here is the phpinfo(); http://s202801613.websitehome.co.uk/info.php Is is 1and1 hosting if anyone had had any experience of them.

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-17 Thread Tim
> -Message d'origine- > De : Jochem Maas [mailto:[EMAIL PROTECTED] > Envoyé : mardi 17 avril 2007 16:19 > À : [EMAIL PROTECTED] > Cc : Robert Cummings; Tim; 'Jarrel Cobb'; 'tedd'; > php-general@lists.php.net > Objet : Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! > > R

Re: [PHP] redirect with header still not working

2007-04-17 Thread Dave Goodchild
Can you re-iterate what is happening - I have a site with 1and1 and use header() with no issues.

Re: [PHP] Protecting individual files/dirs from access

2007-04-17 Thread tedd
At 6:24 PM -0500 4/16/07, Richard Lynch wrote: index.php is also accessible, if I can guess the login, which I did on my first try... Well, I did provide the log on and password on a subsequent post. BUT, I didn't try to make it hard to guess, that wasn't the point of the post. I was trying t

Re: [PHP] isset

2007-04-17 Thread Robert Cummings
On Tue, 2007-04-17 at 13:14 +0100, Stut wrote: > Tim wrote: > > > >>> The count is maintained internally as items are > >> added/removed, and it > >>> is an O(1) operation for PHP to "count" the array, as it > >> already knows > >>> the answer and just returns it. > > > > > > Hi nothing to d

Re: [PHP] isset

2007-04-17 Thread Stut
Tim wrote: The count is maintained internally as items are added/removed, and it is an O(1) operation for PHP to "count" the array, as it already knows the answer and just returns it. Hi nothing to do with the actual topic, i am just wondering how you get this "internals" information you

RE: [PHP] isset

2007-04-17 Thread Tim
> > The count is maintained internally as items are > added/removed, and it > > is an O(1) operation for PHP to "count" the array, as it > already knows > > the answer and just returns it. Hi nothing to do with the actual topic, i am just wondering how you get this "internals" information

Re: [PHP] echo or print ?

2007-04-17 Thread Christian Haensel
Thanks mate, that clarifies that. And now I know why I use echo all the time *g* Have a great day,... greetings from sunny germany :o) Chris - Original Message - From: "Dimiter Ivanov" <[EMAIL PROTECTED]> To: "Christian Haensel" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, April 17, 2007

Re: [PHP] echo or print ?

2007-04-17 Thread Dimiter Ivanov
On 4/17/07, Christian Haensel <[EMAIL PROTECTED]> wrote: Good morning fellow coders I've been working with PHP for a little over 5 years now, and it even got me a cute office and a good salary... but even though I can make a living off of it, I am still wondering about a few little things. When

Re: [PHP] echo or print ?

2007-04-17 Thread heavyccasey
Me too. I use echo. Print is a function. There's no significant difference between them. My advice: choose one, and stick with it. On 4/16/07, clive <[EMAIL PROTECTED]> wrote: > What do you guys use, and what is the advantage (if ther is any) of > print over echo? And I am not talking about pr

Re: [PHP] echo or print ?

2007-04-17 Thread clive
What do you guys use, and what is the advantage (if ther is any) of print over echo? And I am not talking about print_r or anything, just the regular print. :o) print returns a result, echo doesn't. This makes echo slightly faster than print, but I doubt theres any significant speed improvem