[PHP] Re: Variable Variables and Super Global Arrays

2008-10-11 Thread ANR Daemon
Greetings, "daniel danon". In reply to Your message dated Saturday, October 11, 2008, 2:50:34, > By php.net manual, "Please note that variable variables cannot be used with > PHP's Superglobal arrays within functions or class methods". Is there any > way to override this problem? Just the not nic

[PHP] trouble uploading more than 500 bytes...

2008-10-11 Thread Karl St-Jacques
Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so. Here's a quick print_r of the $_FILES [_FILES] => Array( [avatar] => Array ([name] => index.html[type] => text/html[tmp_name] => /tmp/phpRbmXK5[error] => 0[size] =>

Re: [PHP] SESSION variables

2008-10-11 Thread Ron Piggott
Oops Logins are from http://www.rons-home.net/page/login-greeting/ Blog postings are from http://www.rons-home.net/blog/28/ with the word 'page' gone the session variable doesn't acknowledge the login. Ron On Sat, 2008-10-11 at 21:12 -0400, Ron Piggott wrote: > I did some more testing. The

Re: [PHP] SESSION variables

2008-10-11 Thread Ron Piggott
I did some more testing. The URL is the problem. Logins are from On Sat, 2008-10-11 at 19:59 -0400, Daniel Brown wrote: > On Sat, Oct 11, 2008 at 7:49 PM, Ron Piggott <[EMAIL PROTECTED]> wrote: > > I am programming a blog. > > > > index.php sets up the layout for the web page. This includes

Re: [PHP] SESSION variables

2008-10-11 Thread Ron Piggott
This is one of the first commands given. I am using modrewrites to call the blog entries. blog.php is responsible for displaying both the table of contents and the blog entries. When the table of contents is called (http://www.rons-home.net/page/blog/ ) the session variables are present. W

Re: [PHP] SESSION variables

2008-10-11 Thread Daniel Brown
On Sat, Oct 11, 2008 at 7:49 PM, Ron Piggott <[EMAIL PROTECTED]> wrote: > I am programming a blog. > > index.php sets up the layout for the web page. This includes the > heading, left hand and bottom menus. > > The content is loaded by the command: > > include($filename); > > the $_SESSION variab

Re: [PHP] Re: Re: Re: Remove index.php from url

2008-10-11 Thread jason php
I think what you're looking at is one of a myriad of available ISAPI plug-ins; essentially, an IIS add-on that mimics the functionality of mod_rewrite to some degree. I found one that claims to work on IIS 5.0-7.0 *and* appears to be FREE. Problem is, you won't be able to simply copy over any exi

[PHP] SESSION variables

2008-10-11 Thread Ron Piggott
I am programming a blog. index.php sets up the layout for the web page. This includes the heading, left hand and bottom menus. The content is loaded by the command: include($filename); the $_SESSION variables aren't available to files like blog.php . The session variables only work in the

Re: [PHP] security and database

2008-10-11 Thread Stut
On 11 Oct 2008, at 20:18, Alain Roger wrote: to have access to my web application, user needs to log in. Before to send login/password over the net, user is directly redirected to HTTPS version of my web application in case he did not write HTTPS:// at the address bar. once he types login/pa

[PHP] security and database

2008-10-11 Thread Alain Roger
Hi, to have access to my web application, user needs to log in. Before to send login/password over the net, user is directly redirected to HTTPS version of my web application in case he did not write HTTPS:// at the address bar. once he types login/password, everything is checked with DB data and

Re: [PHP] Alternative to HTTP_REFERER?

2008-10-11 Thread Per Jessen
Ben Stones wrote: > are there any alternatives to HTTP_REFERER as that only works for > "clicking" but it won't work for referrals from redirects? > It does work in FF, but not in MSIE - as usual. I had a design that relied on HTTP_REFERER, but I had to change for exactly that reason. I'd be ve

Re: [PHP] Re: Problem with memory management

2008-10-11 Thread Alan Boudreault
Eric Butera wrote: On Sat, Oct 11, 2008 at 1:58 PM, Alan Boudreault <[EMAIL PROTECTED]> wrote: Richard Heyes wrote: Problem with memory management I sure know that feeling... :-/ So, there is no other choice that waiting a new PHP release ? -- Alan Boudreault Mapge

[PHP] Alternative to HTTP_REFERER?

2008-10-11 Thread Ben Stones
are there any alternatives to HTTP_REFERER as that only works for "clicking" but it won't work for referrals from redirects? Cheers

Re: [PHP] Re: Problem with memory management

2008-10-11 Thread Eric Butera
On Sat, Oct 11, 2008 at 1:58 PM, Alan Boudreault <[EMAIL PROTECTED]> wrote: > Richard Heyes wrote: >>> >>> Problem with memory management >>> >> >> I sure know that feeling... :-/ >> >> > > So, there is no other choice that waiting a new PHP release ? > > -- > Alan Boudreault > Mapgears > http://ww

[PHP] Re: Re: Re: Remove index.php from url

2008-10-11 Thread "Crash" Dummy
> That wasn't what I was asking. I meant is there an equivalent to > mod-rewrite for IIS? No. At least nothing simple and free. Run a Google search for "mod_rewrite iis" and you will see what I mean. -- Crash Committed to the search for intraterrestrial intelligence. -- PHP General Mailing L

Re: [PHP] Re: Problem with memory management

2008-10-11 Thread Alan Boudreault
Richard Heyes wrote: Problem with memory management I sure know that feeling... :-/ So, there is no other choice that waiting a new PHP release ? -- Alan Boudreault Mapgears http://www.mapgears.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Re: Remove index.php from url

2008-10-11 Thread Richard Heyes
> mod_rewite if you use Apache. Or, if you don't have it (not very likely), directories. Eg For the URL you gave, make a dir called company and put a default document in there (usually index.html). You will end up with a trailing slash on the URL, and it does incur a redirect, but it works. This m

Re: [PHP] Re: Re: Remove index.php from url

2008-10-11 Thread Ashley Sheridan
On Sat, 2008-10-11 at 13:00 -0400, "Crash" Dummy wrote: > > Incidentally, does anyone know how this would be achieved on IIS? > > We've got a site at work that's running off a CMS I knocked up, but > > they'd prefer the URLs to look proper, without the query string. > > On IIS, the default docume

[PHP] Re: Re: Remove index.php from url

2008-10-11 Thread "Crash" Dummy
> Incidentally, does anyone know how this would be achieved on IIS? > We've got a site at work that's running off a CMS I knocked up, but > they'd prefer the URLs to look proper, without the query string. On IIS, the default document(s) are set on the server. If index.php is not in the default doc

Re: [PHP] Re: Remove index.php from url

2008-10-11 Thread Ashley Sheridan
On Sat, 2008-10-11 at 11:02 -0500, Shawn McKenzie wrote: > Shawn McKenzie wrote: > > OOzy Pal wrote: > >> Hello, > >> > >> I expect that this question been beaten to death. I googled for many hours > >> and all what I found is related to one CMS or another. I want to do is to > >> make a very very

Re: [PHP] Setcookie()

2008-10-11 Thread Per Jessen
Ben Stones wrote: > What I mean is I cannot use setcookie, I need to check if user > credentials are correct first (which is BEFORE setcookie) and if so, > set a cookie. I can't do that unless setcookie is first, but I need to > check if the user credentials is correct. Furthermore I cannot use >

Re: [PHP] Setcookie()

2008-10-11 Thread Ben Stones
What I mean is I cannot use setcookie, I need to check if user credentials are correct first (which is BEFORE setcookie) and if so, set a cookie. I can't do that unless setcookie is first, but I need to check if the user credentials is correct. Furthermore I cannot use setcookie in the header as I

Re: [PHP] Setcookie()

2008-10-11 Thread Per Jessen
Ben Stones wrote: > I'm using cookies for my website script and upon users logging in a > cookie is set. Problem for me is that the cookie doesn't work due to > headers already sent. Is there anyway of fixing this because, there is > no possible way of adding setcookie() to the top of the PHP file

[PHP] Re: Remove index.php from url

2008-10-11 Thread Shawn McKenzie
Shawn McKenzie wrote: > OOzy Pal wrote: >> Hello, >> >> I expect that this question been beaten to death. I googled for many hours >> and all what I found is related to one CMS or another. I want to do is to >> make a very very very simple index.php that when is it called it >> automatically detect

[PHP] Re: Remove index.php from url

2008-10-11 Thread Shawn McKenzie
OOzy Pal wrote: > Hello, > > I expect that this question been beaten to death. I googled for many hours > and all what I found is related to one CMS or another. I want to do is to > make a very very very simple index.php that when is it called it > automatically detect the page and load it. For ex

[PHP] Setcookie()

2008-10-11 Thread Ben Stones
Hi, I'm using cookies for my website script and upon users logging in a cookie is set. Problem for me is that the cookie doesn't work due to headers already sent. Is there anyway of fixing this because, there is no possible way of adding setcookie() to the top of the PHP file when the cookie is ho

[PHP] Remove index.php from url

2008-10-11 Thread OOzy Pal
Hello, I expect that this question been beaten to death. I googled for many hours and all what I found is related to one CMS or another. I want to do is to make a very very very simple index.php that when is it called it automatically detect the page and load it. For example, when I call www.xyz.

Re: [PHP] Library GD dont work

2008-10-11 Thread Ashley Sheridan
On Fri, 2008-10-10 at 16:29 -0500, [EMAIL PROTECTED] wrote: > > > Hi forum > > I install library GD in Centos with > > yum install php-gd > > I follow your instructions and install, > but when i execute phpinfo( ), i see the next > > './configure' '--build=i686-redhat-linux-gnu' '. withou

Re: [PHP] Re: Problem with memory management

2008-10-11 Thread Richard Heyes
> Problem with memory management I sure know that feeling... :-/ -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php