Re: [PHP] reporting errors when $ sign is missing in front of a variable

2012-01-11 Thread ma...@behnke.biz
  Haluk Karamete hat am 12. Januar 2012 um 06:17 geschrieben: > Thanks... > Well I just changed the >  to   and that does it for me. > > Notice: Use of undefined constant my_age - assumed 'my_age' in > D:\Hosting\5291100\html\blueprint\bp_library.php on line 40 > my_age > > Now back in business

Re: [PHP] http_referer. what's wrong with that?

2012-01-11 Thread Ken Robinson
At 12:27 AM 1/12/2012, Haluk Karamete wrote: Because I got this echo $_SERVER['HTTP_REFERER']; I end up with this Notice: Undefined index: HTTP_REFERER in D:\Hosting\5291100\html\blueprint\bp_library.php on line 16 die; Now, this is of course after the change. One solution is to dodge it b

Re: [PHP] Re: http_referer. what's wrong with that?

2012-01-11 Thread Matt Neimeyer
While perhaps unlikely in "common users" it is also possible to prevent your browser from sending the referrer. IIRC, the referrer can also get mangled when passing through HTTPS (although I don't remember on which side, HTTP->HTTPS or HTTPS->HTTP or both) Matt On Thu, Jan 12, 2012 at 1:11 AM, Ro

[PHP] Re: http_referer. what's wrong with that?

2012-01-11 Thread Ross McKay
On Wed, 11 Jan 2012 21:27:58 -0800, Haluk Karamete wrote: >[...] >Notice: Undefined index: HTTP_REFERER in >D:\Hosting\5291100\html\blueprint\bp_library.php on line 16 >die; >[...] >But I'm still curious, what configuration am I missing so that >http_referer is treated like that? You only get an

[PHP] http_referer. what's wrong with that?

2012-01-11 Thread Haluk Karamete
Because I got this echo $_SERVER['HTTP_REFERER']; I end up with this Notice: Undefined index: HTTP_REFERER in D:\Hosting\5291100\html\blueprint\bp_library.php on line 16 die; Now, this is of course after the change. One solution is to dodge it by echo @$_SERVER['HTTP_REFERER']; But I'm sti

Re: [PHP] reporting errors when $ sign is missing in front of a variable

2012-01-11 Thread Haluk Karamete
Thanks... Well I just changed the to and that does it for me. Notice: Use of undefined constant my_age - assumed 'my_age' in D:\Hosting\5291100\html\blueprint\bp_library.php on line 40 my_age Now back in business :) Notice: Use of undefined constant my_age - assumed 'my_age' in D:\Hosting\5

Re: [PHP] reporting errors when $ sign is missing in front of a variable

2012-01-11 Thread Tommy Pham
On Wed, Jan 11, 2012 at 8:43 PM, Haluk Karamete wrote: > > Hi, I'm coming from ASP background. > There, there is a life saver option called "option explicit". It > forces you to declare your variables using the "dim" statement. The > good thing about that is that if you were to mis-spell one of yo

[PHP] reporting errors when $ sign is missing in front of a variable

2012-01-11 Thread Haluk Karamete
Hi, I'm coming from ASP background. There, there is a life saver option called "option explicit". It forces you to declare your variables using the "dim" statement. The good thing about that is that if you were to mis-spell one of your variables, asp.dll throws an error stating that on line so and

Re: [PHP] differences in between these env. variables

2012-01-11 Thread tamouse mailing lists
On Wed, Jan 11, 2012 at 5:49 PM, Matijn Woudt wrote: > On Thu, Jan 12, 2012 at 12:26 AM, Haluk Karamete > wrote: >> I've grouped these env variables, each group returns the same values >> is there a difference? which ones do you use? which ones should I not >> use for the purposes listed below >>

Re: [PHP] Curl problems

2012-01-11 Thread Matijn Woudt
On Thu, Jan 12, 2012 at 12:44 AM, Rick Dwyer wrote: > On Jan 11, 2012, at 6:29 PM, Matijn Woudt wrote: > >> On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer >> wrote: >>> >>> Hello all. >>> >>> I use curl to make a call to another page on my site... but it operates >>> erroneously sometimes worki

Re: [PHP] differences in between these env. variables

2012-01-11 Thread Matijn Woudt
On Thu, Jan 12, 2012 at 12:26 AM, Haluk Karamete wrote: > I've grouped these env variables, each group returns the same values > is there a difference? which ones do you use? which ones should I not > use for the purposes listed below > You can find the answers here: http://nl3.php.net/manual/en/r

Re: [PHP] Curl problems

2012-01-11 Thread Rick Dwyer
On Jan 11, 2012, at 6:29 PM, Matijn Woudt wrote: On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer wrote: Hello all. I use curl to make a call to another page on my site... but it operates erroneously sometimes working... sometimes not. The page it calls creates an email and I can see on

Re: [PHP] Curl problems

2012-01-11 Thread Matijn Woudt
On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer wrote: > Hello all. > > I use curl to make a call to another page on my site... but it operates > erroneously sometimes working... sometimes not.  The page it calls > creates an email and I can see on the server the email in the queue when > it's wo

[PHP] differences in between these env. variables

2012-01-11 Thread Haluk Karamete
I've grouped these env variables, each group returns the same values is there a difference? which ones do you use? which ones should I not use for the purposes listed below group1 SCRIPT_FILENAME vs PATH_TRANSLATED where both return D:\Hosting\5291100\html\directory\file.php purpose: get the full

[PHP] Curl problems

2012-01-11 Thread Rick Dwyer
Hello all. I use curl to make a call to another page on my site... but it operates erroneously sometimes working... sometimes not. The page it calls creates an email and I can see on the server the email in the queue when it's working. If I echo out the URL the curl command is suppo

Re: [PHP] PHP-GTK dead?

2012-01-11 Thread Cefull Lo
I don't think so. php-gtk is still very active here http://php-gtk.eu/ On Wed, Jan 11, 2012 at 3:19 AM, Yared Hufkens wrote: > It seems that PHP-GTK is completely dead. The latest version (2.0.1) was > released on May 2008, nobody answers on questions in the mailing list, > and the latest SV