Re: [PHP] programming the onclick() event in an anchor

2003-12-25 Thread Evan Nemerson
On Wednesday 24 December 2003 08:06 pm, Peter Walter wrote: I have written a session-enabled php page which displays a table of search results. The first column in the table contains anchor links to www.mydomain.com/mypage?seqno= where seqno is a variable I would like to pass when the

Re: [PHP] Re: basic set and read a cookie probs

2003-12-25 Thread Evan Nemerson
On Wednesday 24 December 2003 10:15 pm, Jack E. Wasserstein, DDS, Inc. wrote: Sorry, No such thing as $_POST_VARS next time you're having problems, try doing an error_reporting(E_ALL); It really helps a lot, though I'll admit it can be a bit finicky :) Oh and don't forget to turn it off when

[PHP] problem sending variables with forms

2003-12-25 Thread Abdullah Teke
I have a problem that i cant send variable over a form. Because of that when i watn to echo the variable next page an error occured...i use redhat 9.0, apache 2 and php 4.3.4. Please help me Abdullah Teke _ Telephone : +90 555 337 21 89 Messenger

php-general Digest 25 Dec 2003 15:16:12 -0000 Issue 2493

2003-12-25 Thread php-general-digest-help
php-general Digest 25 Dec 2003 15:16:12 - Issue 2493 Topics (messages 173314 through 173319): Re: basic set and read a cookie probs 173314 by: Jack E. Wasserstein, DDS, Inc. 173318 by: Evan Nemerson Re: JavaScript question 173315 by: -{ Rene Brehmer }- Problem with

RE: [PHP] problem sending variables with forms

2003-12-25 Thread Mike Brum
Some code samples would be really helpful. You also said an error occurred but failed to mention any details about that error. That aside, I'll make a guess at some possible problems: 1) You're trying at access the wrong super global (e.g. GET when you should be looking for POST). 2) You're

[PHP] How New Is HERE?

2003-12-25 Thread [EMAIL PROTECTED]
I'm running PHP version 4.3.0 on a Macintosh PowerBook with OS 10.2.1, doing some PHP tutorial exercises. And I've run across something I haven't seen before in the sample code I'm seeing: print HERE [multiple lines of code] HERE; Now, from what I've read, it seems that the point of

Re: [PHP] Problem with session variables on Mac

2003-12-25 Thread Mike Migurski
$session_time = $current_time - $_SESSION('timestamp'); echo session time = $session_time seconds.br; The output to the browser (Safari) is as follows: inside check IF Time = 1072308706. Fatal error: Call to undefined function: array() in

Re: [PHP] How New Is HERE?

2003-12-25 Thread Jeremy Johnstone
AFAIK, it has been in PHP since the beginning of PHP4. I could be wrong, but I think it was one of the new features added when 4.0 came out. Here is a little reference material for you on it. http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Without

RE: [PHP] programming the onclick() event in an anchor

2003-12-25 Thread Larry Brown
You can place form tags around the anchors and use hidden tags and send via post so the variable is not obvious. A user reading the source would see this though... echo form name=\form1\ action=\https://this.site.com/somePage.php\; method=\post\\n; echo a

Re: [PHP] programming the onclick() event in an anchor [FIXED]

2003-12-25 Thread Peter Walter
Evan, Thank you for responding - as a newbie to PHP, HTML, and JavaScript, the cookie approach is a little too complex for me. However, after googling some more, I came across the following approach which seems to be simple and works well: (a) enclose the result table within a form, specifying

[PHP] Re: How New Is HERE?

2003-12-25 Thread Jasper Bryant-Greene
It doesn't execute the code between the HERE ... HERE. It's called heredoc syntax for delimiting strings. Say you had a really long string, with lots of variables in it that needed parsing, and lots of and ' signs. Instead of using print you can use the heredoc syntax. You start with and an

[PHP] Apache 2 and PHP

2003-12-25 Thread Radek Zajkowski
A few months back the official PHP website still warned againts PHP and Apache 2. I am wondering about the current status of these two technologies when used together. I am about to configure a web server and was going to use Apache 1.3 with PHP4+ as opposed to Apache 2 with PHP4+. What are your

php-general Digest 26 Dec 2003 03:59:07 -0000 Issue 2494

2003-12-25 Thread php-general-digest-help
php-general Digest 26 Dec 2003 03:59:07 - Issue 2494 Topics (messages 173320 through 173327): Re: problem sending variables with forms 173320 by: Mike Brum How New Is HERE? 173321 by: stiano.optonline.net 173323 by: Jeremy Johnstone 173326 by: Jasper

[PHP] magic_quotes_gpc setting question.

2003-12-25 Thread Rajesh Kumar
Hello, Here I've got a few related questions, which are not stated explicitly in the manual. 1. The manual says that the magic_quotes_gpc setting cannot be set at runtime. Is it not possible to set this setting in an ini file, and parse it with the parse_ini_file() function? Also, if this