Re: [PHP] Apache2

2002-08-16 Thread Bob Lockie
Upgraded to Apache2, and now most of my php scripts won't work. No error msg att all, just that nothing happens. Guess I missed some standard security setting, got any clues to this newbie? What does phpinfo() say? What does httpd -l say? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] MySQL vs Session?

2002-08-15 Thread Bob Irwin
on a server that is under load. Bob Which is generally faster/better, doing a SELECT or doing session_start()? Rephrased, are sessions significantly faster/lighter than using MySQL? I'd imagine they are, since they won't need to do a connection or anything, but I am not familiar with how sessions scale

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Bob Lockie
$_SERVER['PHP_SELF'] when globals are off. How about this: form method=post action='?php echo $PHP_SELF; ?' - Vic -Original Message- From: Manuel Ochoa [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 7:20 PM To: PHP General Subject: [PHP] Undefined variable: PHP_SELF I

Re: [PHP] HELP! php.ini file not read (was Php.ini on Solaris?)

2002-08-15 Thread Bob Lockie
Permissions. Php.ini is in correct location according to phpinfo() at /usr/local/lib, but it's not being read. Changed several options and saw no change with phpinfo(). Anybody got any ideas? TIA Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on setting it off

Re: [PHP] Some questions.

2002-08-12 Thread Bob Irwin
this (haven't got around to installing it). Best Regards Bob Irwin Server Admin Web Programmer Planet Netcom - Original Message - From: Justin French [EMAIL PROTECTED] To: mintbaggio [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 12:21 PM Subject: Re: [PHP] Some

Re: [PHP] Cookie array

2002-08-10 Thread Bob Lockie
How can I stoor array in to a cookie ? Do I just define an array and stoore it in a cookie ? Yes. How do I access the data in the array then ? $_COOKIE['array element']; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-INST] RH7.3 + PHP-4.2.2 : make install -- [install-sapi] Error 1

2002-08-08 Thread Bob Lockie
- Original Message - From: Bob Lockie [EMAIL PROTECTED] Sent: Thursday, August 08, 2002 2:20 PM Subject: Re: [PHP-INST] RH7.3 + PHP-4.2.2 : make install -- [install-sapi] Error 1 Run 'rm config.cache' and 'make clean' before each compile. What's the method of getting

Re: [PHP] Install

2002-08-03 Thread Bob Lockie
What is your configure command? I have followed the instructions to install php4 on both apache 1.3.x and 2.0.x, both fail. I am running RedHat 7.2, Apache 2.0.39. I am trying to install php4.2.2. When I type 'make install' at the command it goes through its little thing and then says:

[PHP] encoders

2002-08-03 Thread Bob Lockie
Can someone point me to some articles on PHP encoding? It would seem to me that making an interpreted language impossible to read an impossible task. Hard to read would be possible. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Bob Lockie
My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people

Re: [PHP] Re: starting Apache

2002-08-03 Thread Bob Lockie
Version 2 of Apache does not support PHP yet. Go back to version 1 and ask the list if you still have problems. I also received an error regarding libphp4.so when I tried to compile php 4.2.2 with apache 2.0.39 on Mandrake 8.1. Have not resolved it, even after asking several days ago on this

[PHP] difference

2002-08-02 Thread Bob Lockie
What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']? I think the documentation says either can be used to do the same thing. What is the performance difference from having register_globals turned off from having it turned on? I assume the default was changed

[PHP] mail problems

2002-08-02 Thread Bob Lockie
I can't get mail to work on my system. It always tries to send mail as the user 'nobody' which my Apache 1.3.26 runs as. phpinfo() reports I have the correct path to the php.ini file which specifies it is supposed to send as the user 'bob'. I have sendmail 8.12.5 and PHP 4.2.2 on the same

Re: [PHP] still need help with crash on make

2002-08-02 Thread Bob Lockie
Yes, there are many users they recommend to use apache 1.3.26 and php 4.2.2 ! What useful of CVS ? Apache2 is not supported yet. The latest version from CVS (Concurrent Version System) might work. If you don't have CVS then use Apache 1. :-) Bob Lockie wrote: Thanks, Tyler, I will if I have

Re: [PHP] Problems with HTML forms and PHP. Please Help !!

2002-08-02 Thread Bob Lockie
Is register_globals off in your php.ini? Try $var = $_REQUEST['var']; Hi! i have instaled PHP 4.2.2 in a slack 8.1 running apache 2.0.39. i have a proble with a very basic script (pass variables to a php script). Is seems not recieve variables, because print somthing like this: Your first name

Re: [PHP] ODBC

2002-08-02 Thread Bob Lockie
Can PHP be used on an Apache server (linux) to connect to a (remote) MS Access server (NT) through ODBC? Yes. If so, does anyone have examples of how this is done? Nope, never done it. It'll use the same PHP database commands probably. Read www.php.net -- PHP General Mailing List

[PHP] variables

2002-08-02 Thread Bob Lockie
What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']? I think the documentation says either can be used to do the same thing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP with forms

2002-08-02 Thread Bob Lockie
On Fri, 2 Aug 2002 12:14:51 -0500, Dave Leather wrote: Is there a way to read a FORM varaiable into PHP variable. The kicker here is the form variable is in a framed window. Example, I have my main page in a 2 part frame (90%/10%). The bottom 10% has a form on it called 'fileform' with one

Re: [PHP] variables

2002-08-02 Thread Bob Lockie
On Sat, 3 Aug 2002 12:19:15 +0800, Jason Wong wrote: On Saturday 03 August 2002 10:43, Bob Lockie wrote: What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']? I think the documentation says either can be used to do the same thing. $_REQUEST holds everything

Re: [PHP] web services and PHP

2002-08-01 Thread Bob Lockie
A'la ASP WebServices perhaps? Bob Lockie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'd like to know if it's possible to use PHP to develop and implement Web Services. If so, please point me to sites, articles, or tutorials that discuss th

Re: [PHP] A Fond Farewell

2002-08-01 Thread Bob Lockie
Howdy List, Well, apparently we are no longer permitted to receive personal emails where I am working, so I'm afraid I'll have to part ways with the lot of you. It's unfortunate, considering I think this one of the best places to find information about PHP (and more!) on the internet. It

Re: [PHP] still need help with crash on make

2002-08-01 Thread Bob Lockie
Thanks, Tyler, I will if I have to, but is there someone out there who has done this on Linux? There are a bunch of people (I use 1.3.26) because Apache 2 support is experimental. Grab the latest source of Apache from CVS and it should work. cheers Kirk Tyler Longren [EMAIL PROTECTED] wrote

Re: [PHP] Undefined function: dbmopen() in loaded Windows binaries of PHP 4.2.1

2002-08-01 Thread Bob Lockie
Hello. Say me pls, are there method to enable DBM support in loaded Windows binaries of PHP 4.2.1? I have Fatal error: Call to undefined function: dbmopen() in ... my .php file... :(( I thought DBM files were only available on Unix. Recompile from source. -- PHP General Mailing List

Re: [PHP] Mail Form

2002-07-30 Thread Bob Lockie
use a decent editor with syntax highlighting What is a free cross platform syntax highlighting editor? Are there any Open Source ones that you know of? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] web services and PHP

2002-07-30 Thread Bob Lockie
I'd like to know if it's possible to use PHP to develop and implement Web Services. If so, please point me to sites, articles, or tutorials that discuss this topic in more detail. Thanks. How do you define web services? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Session Problems

2002-07-30 Thread Bob Irwin
on other pages in the same directory, with exactly the same code Best Regards Bob Irwin Server Admin Web Programmer Planet Netcom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help reg. User Accounts

2002-07-28 Thread Bob Lockie
Hi Gurus, I am using PHP-4.1.1 on Linux, I wanted to know the difference between nobody user and normal user of operating system. This question just came to mind when, neither nobody's directory nor any entry was not found in /home or elsewhere. The web server can be run by any user. The

Re: [PHP] php 'mail()' security

2002-07-28 Thread Bob Lockie
There is no substitute for good data verification such as strip_tags() or some regular expressions to limit valid input. I also would recomend checking the referrer to be sure someone doesn't hijack you form and try to modify it and submit it from a remote location. Here is an example: if

Re: [PHP] File Browser like Win Explorer in php

2002-07-27 Thread Bob Lockie
On 27 Jul 2002 17:16:52 -0400, Reuben D. Budiardja wrote: Hi, I am wondering if anyone has created or know where I can get a code for browsing files and directory in using php in linux. The one I am looking for is file browsing capability that is similar to Window Explorer, meaning you can

Re: [PHP] php 'mail()' security

2002-07-27 Thread Bob Lockie
On Sat, 27 Jul 2002 17:31:16 -0700, Dennis Gearon wrote: How can I make my form which entered by a user, then sent to a company employee, secure, not vulnerable attack? -- - Joy is just a thing (to be).. raised on, Love is just the

Re: [PHP] How do I show the sourse code?

2002-07-27 Thread Bob Lockie
I have seen on some of the script-sites around some nice ways of presenting the source code. Often in nice colors. So, the natural question is: how is that done (cause I don't think anyone has the patience to put lt; and gt; around all the ) Probably some PHP wrapper that highlights the right

RE: [PHP] Netscape 4.7 with php gd, very slow

2002-07-26 Thread Bob Lockie
I have no problem with Netscape 4.7 when connecting to Windows 2000 running the same script. Also, I don't have any nested tables in the html. Any other ideas? Thanks, Harry --- Bob Lockie [EMAIL PROTECTED] wrote: [snip] I'm trying to generate dynamic buttons with text from mysql

Re: [PHP] Help: header function

2002-07-26 Thread Bob Lockie
From: Tech Support [EMAIL PROTECTED] To: k a m e s h [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 26, 2002 11:20 AM Subject: Re: [PHP] Help: header function Try just header(Location: $PHP_SELF); or header(Location: $SCRIPT_NAME) ...leave out http:// ...and your quotes are in the

Re: [PHP] Sorry for another newbie PHP and Apache 2.0.39 question..

2002-07-26 Thread Bob Lockie
On Fri, 26 Jul 2002 12:24:31 -0500, Frank S. Kicenko wrote: Ugg.. been compiling and configuring for too many days..everything is just a fog..:-) I appreciate all the help here.. but I'm afraid I need a little more.. :-) I can't seem to get Apache to recognize PHP... The logs state: [notice]

Re: [PHP] php redirect

2002-07-26 Thread Bob Lockie
Well the current web-dev environment here in Melbourne, Australia is VERY Microsoft oriented at the moment. I'm happily freelancing, but have been keeping my eye on the big job websites, just in case that perfect job comes up. I get emailed about a few jobs every day, and 90% of them are for a

RE: [PHP] Netscape 4.7 with php gd, very slow

2002-07-26 Thread Bob Lockie
[snip] I'm trying to generate dynamic buttons with text from mysql database. Everything is fine except that the images are displaying very slow in Netscape 4.7. Internet Explorer, Netscape 6 and Mozilla are very fast. I'm running Apache 1.3.26, PHP 4.2.2, GD 1.6.2 on Linux. Also, I have the

Re: [PHP] PHP 4.2.2 and Apache LoadModule issue

2002-07-26 Thread Bob Lockie
On Thu, 25 Jul 2002 22:23:21 -0500, Frank S. Kicenko wrote: Hi All. I am having a weird problem... my PHP is outputting a libphp4.a and libphp4.la modules and I can't get Apache to recognize this type of file. Is there a way to tell PHP to generate a .so module? Or how can I get Apache to use

Re: [PHP] calling user-defined php functions from a href tag

2002-07-26 Thread Bob Lockie
--Original Message Text--- From: Michael Date: Fri, 26 Jul 2002 21:09:13 -0500 (EST) Hi, everyone. There MUST be some creative way to call a user-defined PHP function from an a href tag. Does anyone have any suggestions? For example:

[PHP] Problem with HTTP_POST_VARS

2002-07-25 Thread bob
Hello, I'm trying to do a simple form for a local organization and I'm running into problems with the server. I am unable to get any of the variables in the html code to post across to the php file. So, I'm figuring register_globals is off. So I change my code to use HTTP_POST_VARS and

RE: [PHP] Problem with HTTP_POST_VARS

2002-07-25 Thread bob
Duh! Thanks guys that's what I was missing. -Original Message- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with HTTP_POST_VARS put a $ before HTTP_POST_VARS be:

[PHP] email

2002-07-21 Thread Bob Lockie
I need help with sending email. I can hear 127.0.0.1 doing something (I assume it sends email because there are no bounces). I have the following in my php.ini file: sendmail_from = [EMAIL PROTECTED] sendmail_path = /usr/sbin/sendmail -t -i The PHP is: mail( $to, $subj, $Message ); I am

RE: [PHP] email

2002-07-21 Thread Bob Lockie
is? -Original Message- From: Bob Lockie [mailto:[EMAIL PROTECTED]] Sent: Monday, 22 July 2002 1:56 PM To: [EMAIL PROTECTED] Subject: [PHP] email I need help with sending email. I can hear 127.0.0.1 doing something (I assume it sends email because there are no bounces). I have

[PHP] Command Line Execution

2002-06-24 Thread Bob Ahola
Within an executing script, what is the proper technique to determine the environment of execution... i.e., browser or command line? Bob Ahola, Atlanta

[PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
since discovered that netscape does NOT have this problem. Are there any session issues known to occur only with Internet Explorer? We are running PHP 4.2 on a unix box with apache. Any ideas? Best Regards Bob (Coffee + Laptop = KABOOM!) Irwin Server Admin Web Programmer Planet Netcom -- PHP

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
Thanks for the info Chris. Its causing me some serious headaches. IE just refuses to release the old information. Best Regards Bob (Coffee + Laptop = KABOOM!) Irwin Server Admin Web Programmer Planet Netcom - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Bob Irwin

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
function at all BTW. Best Regards Bob (Coffee + Laptop = KABOOM!) Irwin Server Admin Web Programmer Planet Netcom - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Bob Irwin [EMAIL PROTECTED] Cc: php-general [EMAIL PROTECTED] Sent: Wednesday, June 19, 2002 11:36 AM Subject: Re

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
(currenty running 4.1.2 on Apache/1.3.23). I might also try a different version of IE. Best Regards Bob (Coffee + Laptop = KABOOM!) Irwin Server Admin Web Programmer Planet Netcom - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: César Aracena [EMAIL PROTECTED] Cc: 'Bob

[PHP] continue execution after end of document?

2002-05-28 Thread Bob Kersten
(normally) so there's no need for the user to wait for them. Can this be done somehow? Cheers, Bob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $_FILES, file upoad and backslashes

2002-05-17 Thread BOb Pardoe
. The input field is read only as far a javascript is concerned, so I cannot do anything there. Does anyone have any ideas please. Thanks BOb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using PHP on Windows for the first time

2002-05-14 Thread Bob Strasser
Anyone know a simple explanation of how to use forms using the post method on PHP for Windows. I use PHP on Linux and I don't have any problems. I do the same thing on Windows and I get an unregistered variable message on Windows. I assume I've missed something. Global variables is on.

[PHP] ob_start(ob_gzhandler) and require_once

2002-05-04 Thread bob
can ob_start(ob_gzhandler) function be nested ? after echo 'test' , does it continue to includes and evaluates c.php? for example: a.php ?php require_once main.php; .. include b.php; ? b.php ?php require_once main.php; ... echo 'test'; include c.php; ? c.php ?php

[PHP] constructor in php4?

2002-04-21 Thread bob
the manual says:the function A will be called. in fact, the function B is called. why? my config : win98/pws2/php411(CGI) ?php class A { function A() { echo I am the constructor of A.br\n; } function B() { echo I am a regular function named B in class A.br\n;

[PHP] can you show an example?

2002-04-21 Thread bob
the manual says: reference which returned from a function can be passed by reference. i can not think it is useful . can you show an example? thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] subscripting an expression possible?

2002-04-17 Thread Bob Mroczka
]; Thanks, Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php and javascript problem

2002-04-08 Thread bob
i use php to produce a javascript code,which enable the password and level change as the username changes.it did. but now i cannot select level. what's wrong?how can i select level? thanks in advance. html head titlesuper/title meta http-equiv=Content-Type content=text/html; charset=gb2312

Re: [PHP] Sites for contracts?

2002-04-07 Thread Bob
www.scriptlance.com - Original Message - From: Steve [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 07, 2002 1:28 PM Subject: [PHP] Sites for contracts? Does anyone here know of any good sites where there are companies looking for contract employees listed on them?

Re: [PHP] Re: redirector

2002-04-06 Thread Bob
out some.. Later, Bob Weaver - Original Message - From: Joerg Hanke [ML-php] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 4:20 PM Subject: AW: [PHP] Re: redirector i do not own a server, i just own a virtual host, an ordinary webspace... i can't do anything

Re: [PHP] Re: redirector

2002-04-06 Thread Bob
and he tests for that then uses Javascript to redirect if they have it seems.. Anyway, hope this is useful to you.. Later, Bob Weaver - Original Message - From: Joerg Hanke [ML-php] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 4:20 PM Subject: AW: [PHP] Re: redirector

[PHP] Re: Reliability of sessions

2002-04-05 Thread Bob Klotz
with the standard implementation of PHP session management (based on files to persist variables) you are able to overwrite the functionality of the session management by your own implementations (e.g. based on a database to persist variables). Bob -- PHP General Mailing List (http://www.php.net

Re: [PHP] Getting my host to implement CURL

2002-04-05 Thread Bob
Depends on the OS of your host.. On Linux it took me about 48 seconds to setup.. Just be sure to compile it sith SSL.. Bob - Original Message - From: Georgie Casey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 6:33 PM Subject: [PHP] Getting my host to implement

Re: [PHP] newbie configuration question

2002-04-05 Thread Bob
Just install the source RPM, change the option and rebuild the RPM.. Then -Fvh it and it should be the way you want it. This is after all the reason they include the source files with Linux.. Later, Bob - Original Message - From: Eric Kilgore [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] MYSQL maximum query size?

2002-04-05 Thread Bob
I noticed today that UPDATE will behave like that if you are running it on an empty table.. I'm certain you would get an error if your query was too large. Bob - Original Message - From: Phil Schwarzmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 3:01 PM

[PHP] Re: [PHP-DB] Forms and mysql

2002-04-04 Thread Bob
thing the quantity - 1 part will work in a query like that will it? Suggest: $quantity -= '1'; ]=(UPDATE {$config[prefix]}_items set quantity =$quantity WHERE id = '$ItemID'); At the very simplest, it seems that the $ on =quantity would be necessary too.. Hope this jogs something.. Bob Weaver

[PHP] Active Desktop PHP.net search form..

2002-04-03 Thread Bob
and voila! Instant php.net search tool right on your desktop.. It's tiny too so it will fit nicely down in the bottom corner of your desktop so it's out of the way.. Oh, and it's open source so if any of you can make it better, have at it.. Thanks, Bob Weaver html headtitleBob's PHP.net search

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
Did you try passive mode FTP? Later, Bob - Original Message - From: Carl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 7:54 PM Subject: [PHP] Cannot upload JPEG only I'm able to successfully upload mp3s and text files to the server, but for some reason

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
Would it help to have the form tag look like this: form method=post action=\$PHP_SELF?command=writeProduct\ enctype=\multipart/form-data\ The enctype is the part I'm wondering about.. The action and method would be your own or course.. Later, Bob - Original Message - From: Carl

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
); return $name; } Let me know if any of this helps.. Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] suggestions on work-arounds to highlight_file() ?

2002-04-03 Thread Bob
for the file.. Later, Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session_start() and javascript problem

2002-03-26 Thread bob
I always get a error message:document.form1.user isn't an object. if i get rid of session_start(),everything becomes well. thanks in advane! ?php session_start(); ? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEADTITLElogin /TITLE META content=text/html; charset=gb2312

[PHP] Re: Session Variables

2002-03-25 Thread bob
On Mon, 25 Mar 2002 18:18:33 -, [EMAIL PROTECTED] (Chad Gilmer) wrote: Hi There, I am a beginner to PHP and I am tring to use session variables on my site. I am trying to use Session Variables in PHP on the iPLANIT.tv site When I use the following code: ?php $ses_counter++;

Re: [PHP] header and session?

2002-03-25 Thread bob
On Mon, 25 Mar 2002 08:54:27 -0700, [EMAIL PROTECTED] (Johny? ?rk) wrote: Do you have register_globals turned on or off in php.ini? What values are $a and $b being set to? Kirk -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 4:21 PM To: [EMAIL

[PHP] header and session?

2002-03-24 Thread bob
='2.php' go on /a it works well! Best regards and thanks in advance, bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session problem?

2002-03-22 Thread bob
='2.php' go on /a it works well! Best regards and thanks in advance, bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session problem?

2002-03-21 Thread bob
1.php?2.php session_start(); session_start(); .. .. $_SESSION['a'] =$a;echo $_SESSION['a']; $_SESSION['b'] =$b;

[PHP] what is the difference between function and language construct?

2002-03-21 Thread bob
why this get wrong? ?php if (empty($a=5)) { echo 'ok'; } else { echo 'bad'; } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Bob
You need to remove the second echo. On Tue, 19 Mar 2002, Dr. Shim wrote: Hmmm. How about this? echo form name=\frmMovies\ method=\post\ action=\ . echo $PHP_SELF . \; Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 19 Mar 2002,

[PHP] OBJECT£ºWHAT'S THE RALATION BETWEEN A,B AND C?

2002-03-16 Thread bob
?php class A { function A($i) { $this-value = $i; // try to figure out why we do not need a reference here $this-b = new B($this); } function createRef() { $this-c = new B($this); } function echoValue() { echo br,class

[PHP] setcookie problem: Cannot add header information - headers already sent by

2002-03-12 Thread bob
here is the example: ?php // Beginning php // Saving the page header in the variable $head. $head = ENDH !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head titleFeedback form/title /head body bgcolor=white h1 align=centerFeedback form/h1 ENDH; // End of page header // Saving

[PHP] newbie: the superglobal $_SESSION

2002-03-10 Thread bob
In mannual,it says: creating new entries in the $_SESSION array will automatically register them as session variables, as if you called session_register(). If you are using $HTTP_SESSION_VARS/$_SESSION, do not use session_register(), session_is_registered() and session_unregister() unless you

Re: [PHP] newbie: the superglobal $_SESSION

2002-03-10 Thread bob
it works. ?php session_start(); if (!isset($_SESSION['count'])) { $_SESSION['count'] = 1; } else { $_SESSION['count']++; } echo $count; ? but the first time,i also get the warning(Warning: Undefined variable: count in C:\WebShare\wwwroot\netk\5\test.php on line 9 ).then ,it outputs

[PHP] Enter the clueless newbie

2002-02-27 Thread Bob Rea
TIA for your help. :) -- Bob Rea ** On the side of the box, under 'System Requirements', it said 'Requires Windows 95 or better'. So I installed Linux. ** [EMAIL PROTECTED] http

Re: [PHP] Enter the clueless newbie

2002-02-27 Thread Bob Rea
Bob Rea wrote: Hi I am just starting to learn php. I'm using Larry Ullman's book in the Visual Quickstart guide series.I have copied out of the book the first example of a form in html and the corresponding php file to display the info. When I click submit in the html page

[PHP] how the ticks works?

2002-02-20 Thread bob
I don't understand how the 'ticks' works: please help me. pre ?php // A function that records the time when it is called function profile ($dump = FALSE) { static $profile; // Return the times stored in profile, then erase it if ($dump) { $temp = $profile;

[PHP] Content Management

2002-01-30 Thread bob
Does anyone know of an organization who has built and maintains a web content management application for a large site?

[PHP] Content Management

2002-01-30 Thread bob
Does anyone know of an organization who has built and is maintaining a web content management app for a large site using PHP? -- 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

Re: [PHP] Content Management

2002-01-30 Thread bob
By CMS, I am referring to an application similar to Vignette, that allows users to manage the content on a site through a browser interface. _ Bob Hillhouse

[PHP] Newbie question

2002-01-09 Thread Bob Eldred
, but but the field update in nfl_players is not actually done. I'm sure it's a syntax issue, but I don't know what's the actual problem. Any help? Thanks, Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] CRLF Problem writing ASCII Flat File

2001-12-20 Thread Bob Holden
Using Linux 7.2/PHP 4/Apache. I'm using the following code snippet to process the POST of a form that sends $UserID and $Password: ?php $CryptPassword = md5($Password); \\encrypt the password $TheFile = /path/.htpasswd; \\Set the file name/path $Data =

[PHP] php-4.1.0 distribution broke??

2001-12-10 Thread Bob Scott
Hello all! I've tried several times today to get the latest PHP (4.1.0) tarball from php.net (as well as a few mirror sites) and it looks like the tarball is broken...! Anyone having like problems?? Cheers! -bob . . . . . php-4.1.0/ext/sysvshm/setup.stub php-4.1.0/ext/sysvshm/sysvshm.c tar

RE: [PHP] php-4.1.0 distribution broke??

2001-12-10 Thread Bob Scott
Bizzare -- About 2 hours ago http://www.php.net/downloads.php listed 4.1.0 dated 10 Dec 2001 as being the latest release. Now it's back to 4.0.6 I guess I will wait :) Thanks -bob -- Bob Scott Web / DB Developer http://www.covalent.netCovalent Technologies

Re: [PHP] lock web page when editing

2001-09-30 Thread Bob
Hey thanks guys I think I've decided on locking it cuz I don't want multiple people to be editing and then having them click save and say sorry all the work you just did can't be used. I'm going to just put a 10 minute limit and have a status like please wait ... bob has been editing for 4:39

[PHP] session_set_save_handler question

2001-09-24 Thread Bob Bowker
Hi -- No luck finding an answer to this ... can class methods be registered as the user functions with session_set_save_handler() -- or do I have to create a wrapper outside the class to call the class functions? Using 4.0.3pl1 ... Thanks -- Bob. -- PHP General Mailing List (http

[PHP] Internal use of Mysql Connections

2001-09-20 Thread Bob Silva
id is history, the last query fails. It would make sense to me that php would restore the last known connection handle (if there is one) after I call mysql_close(); I know I could call mysql_connect again after the mysql_close call and that would restore it. Any ideas? Thanks, Bob mysql_connect

Re: [PHP] Verify email client can read html email?

2001-09-13 Thread Bob
Thanks! That's exactly what I wanted and it's easy to add the AltBody. I thought it would be harder. What sort of success have you had with it? I don't have access to a pine account. Here's the example from the site for anyone else who wanted to know $mail-Body = This is the message

[PHP] Verify email client can read html email?

2001-09-12 Thread Bob
When sending out email is it possible to know if their email client program will be able to read a html email? If it can't read a html email then it would show a text email. I know it's conventional wisdom that this isn't possible but has anyone even heard of someone figuring this out?

[PHP] Re: configuring curl with php

2001-09-07 Thread Bob
- Original Message - From: Bob [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 2:53 PM Subject: configuring curl with php hi everyone i am following this page to add curl to php http://curl.haxx.se/libcurl/php/install.html i

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Bob
/start.php It uses flash and java to record your voice and a song together and let's you play it back and send to a friend. Now that's cool. Maxim Derkachev wrote: Hello Bob, If someone's grandmother had balls, she would have been someone's grandfather (Russian idiom). Do you really think

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Bob
? Maxim Derkachev wrote: Hello Bob, Monday, September 03, 2001, 1:08:40 PM, you wrote: B If in 1995 you tell a project manager that I can program B hotmail.com in a couple weeks and that it would be a lot faster then cgi B then they would of been forced to use it and all the marketing would

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Bob
Do we have spies on the ASP list? What are they doing on their end? Now don't get me wrong, I've been coding with PHP and have read every tutorial and article I can get my hands on in regards to PHP so I don't want to see my time invested go to waste. Maybe I should be asking on the developers

Re: [PHP] Image manipulation

2001-08-31 Thread Bob Scott
Adam - If you're on a machine that has ImageMagick installed on it (most Linux boxes I've been on have it installed already) you can do something like this in PHP: $origfile = /home/bob/my_face.jpg; $img_dir = /usr/local/www/htdocs/images; $dest_file = $img_dir . /t_ . basename($userfile

<    1   2   3   4   5   6   7   >