Re: [PHP] Question about HTTP_ENV_VARS, PHP, and Apache

2002-01-15 Thread Rasmus Lerdorf
This has been discussed a number of times here. Apache will always inherit the environment of the user that starts it. You should start it with a clean environment. ie. add "env -i" to whatever script starts your httpd server. -Rasmus On Tue, 15 Jan 2002, Michael Sims wrote: > This may be more

[PHP] dynamic module or static?

2002-01-15 Thread Cary Mathews
I am attempting to build a dynaminc module loadable by apache 1.3.x. But once the (./configure, make, make install, cp php.ini-dist, configure httpd.conf) process is complete, I restart apache, and try to access a php page () and I am asked if I would like to download the page, which is not the ex

Re: [PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
Anas Mughal wrote: > I presume you have created dynamically loadable > modules in PHP4. > If so, how do you create your module file? > Do you run a specific make command or do you build it > manually? > > Thanks for your help... > Again, read Zend API manual... You are also interested in README

[PHP] php 4.1 and DOMXML question.

2002-01-15 Thread Aaron
How the hell do I get the content of a node before all I had to do was go $node->content now it doesnt seem to work. I know they changed $node->name to $node->tagname. I tried, content, tagcontent, value, mmm some other things. I give up, couldnt find any info anywhere either... theres a

[PHP] php 4.1 and DOMXML question.

2002-01-15 Thread Aaron
How the hell do I get the content of a node before all I had to do was go $node->content now it doesnt seem to work. I know they changed $node->name to $node->tagname. I tried, content, tagcontent, value, mmm some other things. I give up, couldnt find any info anywhere either... theres a

[PHP] KISGB Version 3.1 Released - PHP Guest Book

2002-01-15 Thread Gaylen Fraley
Version 3.1 of my Keep It Simple Guest Book (KISGB) has just been released. Many major and minor enhancements. Please visit my web site for details! -- Gaylen [EMAIL PROTECTED] PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Question about HTTP_ENV_VARS, PHP, and Apache

2002-01-15 Thread Michael Sims
At 09:32 PM 1/15/2002 -0600, Michael Sims wrote: >On both the Redhat 7.1 servers, phpinfo() reports the following >environment variables: > >user: michaels >logname: michaels [...] >I'm confused as to why these variables exist. I know for a fact that >Apache is running as "nobody". That's what

Re: [PHP] Re: Extending PHP

2002-01-15 Thread Anas Mughal
I presume you have created dynamically loadable modules in PHP4. If so, how do you create your module file? Do you run a specific make command or do you build it manually? Thanks for your help... --- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > Anas Mughal wrote: > > I am looking into building a

[PHP] Question about HTTP_ENV_VARS, PHP, and Apache

2002-01-15 Thread Michael Sims
This may be more of an Apache question, but I was hoping that someone here would have an idea about this. I tracked down a bug in one of my scripts that was caused by environment variable that was being registered as global without my knowledge (due to the register_globals setting). My script

Re: [PHP] NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-15 Thread Floyd Baker
I'm stuck here too. Don't know that much in the first place except that I did get it together once. Apache/php4/mysql on win32... Now to upgrade it's all new again. I'm sure php config files are ok to the point where apache picks it up. There is no 4.1.1 file as called for in the apache

[PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
Anas Mughal wrote: > I am looking into building a dynamically loadable > module under PHP4. The documentation on extending PHP4 > is unclear or is missing instructions on how to > generate dynamic loadable module file. I have followed > the instructions but I can't seem to be able to create > the

RE: [PHP] Search Engine

2002-01-15 Thread J Smith
PHP isn't totally bad for a search engine. Here's my story. I was in a bit of a predicament when I first started work, because I had to develop a search engine for online video objects. My company is essentially a video re-purposing venture, where we take reams of analog, tape-based videos, e

[PHP] base64_encode problem while using IMAP

2002-01-15 Thread Kathy
I've been trying to decode an attached image in an email using imap. Parse error: parse error, expecting `T_VARIABLE' or `'$'' in "imapTest.php" on line 80 $image = trim(@imap_fetchbody($mbox, "2", "2")); $64image = base64_encode($image); I've also tried: $image = trim(@imap_fetchbody($mbox,

[PHP] Re: php modify my javascipt code before output????

2002-01-15 Thread Tino Didriksen
When you echo or print to the HTML stream, strings are delimited by " or '. Your case, return "http://www.php.net/manual/en/language.types.string.php Another function you might want to look at is stripslashes(): http://www.php.net/manual/en/function.stripslashes.php --|-- Tino Didriksen http://P

Re: [PHP] php modify my javascipt code before output????

2002-01-15 Thread Bogdan Stancescu
Posting the actual PHP doing the job would help... Bogdan -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] session problems not finding my variables..

2002-01-15 Thread Peter Lavender
Hi everyone, I'm not sure what I have done wrong here. I haven't been sucessful in finding anything that points to what the cuase could be. What I find interesting is that I have used session in another area of the web site with out problems. The only difference between it and the way I have d

[PHP] php modify my javascipt code before output????

2002-01-15 Thread Vincent Ma
Hi everyone : I got a amagzing problem about javascipt after integrate to php. PHP will modify the ouput of javascipt, produce the error when first load that page. However, reload this page, no error. Orginal javascipt: function f31(v31,v23,ocjs,hrck,cn) { return "http://www.php.net/) To u

[PHP] compiling and *translating* template class

2002-01-15 Thread Wolfram Kriesing
a stable version of the template class and other stuff PEAR-like-made are available at http://wolfram.kriesing.de/programming especially the _template_class_ which can also *translate* your templates without the need of wrapping every string in a function call or something the translation c

RE: [PHP] Search Engine

2002-01-15 Thread Greg Schnippel
> * On 15-01-02 at 12:09 > * Yogesh Mahadnac said > >> Hi all! I want to develop a search engine in PHP for a >> portal that I'm working on at the moment, and I'd be glad if >> someone could please show me how to do it, or if anyone knows >> of a link where i can find a tutorial for

Re: [PHP] mysql_insert_id?

2002-01-15 Thread DL Neil
Hi Wee, > Is it possible that I would get the wrong ID (Not the ID I just inserted in > Auto_Increment field) by using mysql_insert_id function if someone is also > inserting record at the same time? How does mysql_insert_id work accurately? =A couple of things here: 1 if the field is defined

Re: [PHP] mysql_insert_id?

2002-01-15 Thread DL Neil
Hi Wee, > Is it possible that I would get the wrong ID (Not the ID I just inserted in > Auto_Increment field) by using mysql_insert_id function if someone is also > inserting record at the same time? How does mysql_insert_id work accurately? =A couple of things here: 1 if the field is defined

Re: [PHP] 404 Redirection

2002-01-15 Thread FiShcAkE
Thanks Mike, I think that is what I want to do, i'll give it a go Thanks Lee :-) "Mike Cullerton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 1/13/02 6:07 AM, FiShcAkE at [EMAIL PROTECTED] wrote: > > > Try that again, without pressing ctrl-enter this

[PHP] PHP, LDAP and OS X

2002-01-15 Thread Quinn Perkins
The frustrating part is, I had this working on OS X 10.0.4. I am now running 10.1.2 Server. I successfully build OpenLDAP and it is working fine. I successfully built a version of PHP 4.0.6 for OS 10.1 with the instructions found at http://developer.apple.com/internet/macosx/php.html. It comp

RE: [PHP] sql question

2002-01-15 Thread Darren Gamble
Good day, This isn't a PHP question, but hey... This is dependant on the database platform that you're using. The suggested statement would work on MySQL. On Informix, for example, you would say 'where lit_source matches "c*" '. You should consult your database manual for more information. =

RE: [PHP] splitting up an array into lines ...

2002-01-15 Thread Martin Towell
The problem is that this line: $rpm_list = `rpm -qa`; gives back a string, so use this: $rpm_list = `rpm -qa`; $rpm_list = explode("\n", $rpm_list); and see how that goes Martin -Original Message- From: Neil Mooney [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002

Re: [PHP] sql question

2002-01-15 Thread Janet Valade
select * from tbl_lit where lit_source like "c%" Janet - Original Message - From: "Wolf-Dietrich von Loeffelholz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 12:09 PM Subject: [PHP] sql question i want that a select query display me all words beginning

Re: [PHP] Another question - not exactly what i was looking for

2002-01-15 Thread Christopher William Wesley
$where_conditions = array(); if( !empty( $lastname ) ){ $where_conditions[] = "lastname like '%${lastname}%'"; } if( !empty( $firstname ) ){ $where_conditions[] = "firstname like '%${firstname}%'"; } if( !empty( $age ) ){ $where_conditions[] = "age = ${age}"; } if( !empty(

[PHP] mysql_insert_id?

2002-01-15 Thread Wee Chua
Hi, Is it possible that I would get the wrong ID (Not the ID I just inserted in Auto_Increment field) by using mysql_insert_id function if someone is also inserting record at the same time? How does mysql_insert_id work accurately? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Another question - not exactly what i was looking for

2002-01-15 Thread R'twick Niceorgaw
construct your query like $query = "select * from table where "; lastname='$lastname' and > firstname='$firstname' and age='$age' and weight='$weight'"; if (isset($lastname) and $lastname !="") then $query.=" lastname=$lastname "; if (isset($firstname) and $firstname !="") then $query.=" and firs

Re: [PHP] Another question - not exactly what i was looking for

2002-01-15 Thread mike cullerton
how 'bout something like $query = 'select * from table_name where '; $and = ''; if ($lastname != '') { $query .= "lastname = $lastname"; $and = ' and '; } if ($firstname != '') { $query .= $comma."firstname = $firstname; $and = ' and '; } and so on on 1/15/02 1:53 PM, Phil Schwarzmann at [E

[PHP] Extending PHP

2002-01-15 Thread Anas Mughal
I am looking into building a dynamically loadable module under PHP4. The documentation on extending PHP4 is unclear or is missing instructions on how to generate dynamic loadable module file. I have followed the instructions but I can't seem to be able to create the module. (I even looked at Ster

Re: [PHP] 4.1.1 Causes Signal 11 On FreeBSD 4.5 / Apache 1.3.22

2002-01-15 Thread Tim Gustafson
> > I am experiencing a lot of Signal 11's when I compile PHP 4.1.1 into my > > Apache server on my FreeBSD 4.5-RC machine. If I compile the -exact- same > > Apache configuration with PHP 4.0.6, it works fine. As soon as I switch to > > 4.1.1, it causes Signal 11's (and sometimes 10's) when I lo

[PHP] Re: Another question - not exactly what i was looking for

2002-01-15 Thread Erik Price
I'm not sure if I understand... first of all, I could be wrong, but I thought that you had to use the LIKE operator rather than "=" (equals sign) when trying to match text strings. But like I said, I could be wrong. if you did $query = "SELECT * FROM tabe WHERE lastname LIKE '$lastname' OR

RE: [PHP] sql question

2002-01-15 Thread Mehmet Kamil ERISEN
Hi do you care about case sensitivity? Nathan Cassano <[EMAIL PROTECTED]> wrote: select * from tbl_lit where lit_source like 'c%'; Check out http://www.sqlcourse.com/ -Original Message- From: Wolf-Dietrich von Loeffelholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 1

[PHP] Another question - not exactly what i was looking for

2002-01-15 Thread Phil Schwarzmann
Yo, thanks for all your help. But it isn't exactly what im looking for. Let's say you had a database with the following four columns... -LastName -FirstName -Age -Weight ...and you wanted a page that would allow a user to search for one or more of these fields within the database. It would be

RE: [PHP] security benefits of predefined variables

2002-01-15 Thread Johnson, Kirk
Give this a read first, then come back if you still have questions ;) http://www.securereality.com.au/studyinscarlet.txt Kirk > -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 1:50 PM > To: PHP > Subject: [PHP] security benefits of pred

[PHP] security benefits of predefined variables

2002-01-15 Thread Erik Price
Hi, I was hoping that someone could point me to a page or resource where I can find more information about using the predefined variables introduced in PHP 4.1.0. I read the "release announcement" (http://www.php.net/release_4_1_0.php), which is what called my attention to the potential secu

RE: [PHP] sql question

2002-01-15 Thread Nathan Cassano
select * from tbl_lit where lit_source like 'c%'; Check out http://www.sqlcourse.com/ -Original Message- From: Wolf-Dietrich von Loeffelholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:09 PM To: [EMAIL PROTECTED] Subject: [PHP] sql question i want that a select quer

[PHP] problems with snmp and php

2002-01-15 Thread Giovanny Miguel Orozco Theran
Hello, we are a proyect that we need to link php4.0.6 with ucd-snmp4.2.1 for start apache1.3.2 server, we compiling each module but to start the apache server it display the follow error. # ./apachectl start Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/lo

Re: [PHP] PHP 4.1.1 and Mac OS X 10.1.2

2002-01-15 Thread Richard Baskett
Here's the page you want: http://www.entropy.ch/software/macosx/php/ Rick "The only way to have a friend is to be one." - Ralph Waldo Emerson > From: Rodrigo Peres <[EMAIL PROTECTED]> > Date: Tue, 15 Jan 2002 18:14:12 -0200 > To: PHP <[EMAIL PROTECTED]> > Subject: [PHP] PHP 4.1.1 and Mac OS X

[PHP] PHP 4.1.1 and Mac OS X 10.1.2

2002-01-15 Thread Rodrigo Peres
Hi all, Does anyone have success in compiling PHP 4.1.1 in MacOS X 10.1.2? If yes, could please give some directions? After many tries I surrended miself and start using the pre compiled package that came with X. Thanks Rodrigo -- -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] sql question

2002-01-15 Thread Wolf-Dietrich von Loeffelholz
i want that a select query display me all words beginning with an a .. like select * from tbl_lit where lit_source = ‘c*’ .. thnx bSue

Re: [PHP] querying results already queryed once before

2002-01-15 Thread Erik Price
On Tuesday, January 15, 2002, at 02:18 PM, Phil Schwarzmann wrote: > Dumb question: How do I query results from a MySQL that I've already > queried once before in the same page? Look, buddy, *I* ask the dumb questions around here! > Here is my code: > > // querying the database for the first

Re: [PHP] Reading File into Array and Searching

2002-01-15 Thread Jason Wong
On Wednesday 16 January 2002 03:21, Devin Atencio wrote: > Dear Users, > > I basically want to do the following. I have file that contains everyone > that logs into > our mail server a day and then I want to basically load that file into an > array and then > search the array to find out how many

[PHP] Re: querying results already queryed once before

2002-01-15 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Phil Schwarzmann) wrote: > Dumb question: How do I query results from a MySQL that I've already > queried once before in the same page? > > Here is my code: > > // querying the database for the first time. > $query = "select * from table wher

[PHP] querying results already queryed once before

2002-01-15 Thread Phil Schwarzmann
Dumb question: How do I query results from a MySQL that I've already queried once before in the same page? Here is my code: // querying the database for the first time. $query = "select * from table where thingA = $searchA"; $result = mysql_query ($query); // now I want to query my results I j

[PHP] Reading File into Array and Searching

2002-01-15 Thread Devin Atencio
Dear Users, I basically want to do the following. I have file that contains everyone that logs into our mail server a day and then I want to basically load that file into an array and then search the array to find out how many times that person logged in and then take the last login and capture

Re: [PHP] PHP Errors?

2002-01-15 Thread CC Zona
In article <01a601c19de8$adc1b050$5e01a8c0@ben>, [EMAIL PROTECTED] (Ben Sinclair) wrote: > It is possible to disable error reporting, but you would probably remember > doing it. A call to phpinfo() to check the global and local settings for error_reporting and display_errors would be the firs

RE: [PHP] quit me off the php list

2002-01-15 Thread Chris Lott
The bottom of EVERY MESSAGE has instructions for removing yourself from the list. Please follow them. c -- Chris Lott -- http://www.chrislott.org/ -Original Message- From: Thyago Consort [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 10:01 AM To: Adam Baratz; PHP List Subj

[PHP] Re: Compiling PHP with imap & recode support

2002-01-15 Thread Mike Eheler
Of course by --with-record I meant --with-recode Mike Mike Eheler wrote: > I get this error when compiling php with ./configure > --with-imap=../imap-2001a --with-record > > Any ideas on a workaround for this? > > /web/src/imap-2001a/c-client/libc-client.a(misc.o): In function > `hash_looku

Re: [PHP] PHP & image rollovers question...

2002-01-15 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 15-01-02 at 19:21 * Jason Wong said > There's an error on line 24 of your code. Don't ask me how I know, I'm > clairvoyant :) > > > If you post your code then people who are not clairvoyant can also have a > stab at helping you. > He

Re: [PHP] quit me off the php list

2002-01-15 Thread Ben Turner
/Quit Thyago Consort :D Hey I tried! - Original Message - From: "Thyago Consort" <[EMAIL PROTECTED]> To: "Adam Baratz" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 12:00 PM Subject: [PHP] quit me off the php list > > > -Original Message-

[PHP] Re: PHP & image rollovers question...

2002-01-15 Thread Julio Nobrega Trabalhando
Check out when you can use " and ' Any number of ' inside " gets printed and $vars are parsed (i.e, 'interpreted by php') Any number of " inside of ' gets printed and $vars are NOT parsed. echo "

[PHP] User authentacation

2002-01-15 Thread sean
Hello, I need to allow a client, named: "A", to give their clients access to a remote page on A's server. This is the problem: 1. I need to record who has accessed this page on A's server 2. password protect this page 3. and copy the pages contents to A's clients server. Any suggestions? Tha

Re: [PHP] PHP & image rollovers question...

2002-01-15 Thread Jason Wong
On Wednesday 16 January 2002 02:02, Phil Schwarzmann wrote: > Hello, im brand new to the mailing list and fairly new to PHP. > > I apologize if this topic has come up before but...I'm having trouble > embedding javascript (in particular - image rollovers) into my PHP > script. When the page loads

[PHP] Re: Sound File Available???

2002-01-15 Thread Julio Nobrega Trabalhando
file_exists(); if (file_exists('1234.rm')) { // show one image } else { // show another image } Just correct the path of file_exists argument to the one you need/use. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho?

[PHP] PHP & image rollovers question...

2002-01-15 Thread Phil Schwarzmann
Hello, im brand new to the mailing list and fairly new to PHP. I apologize if this topic has come up before but...I'm having trouble embedding javascript (in particular - image rollovers) into my PHP script. When the page loads, I get errors for each of the javascript calls within my script. I'

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php listt

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] quit me off the php list

2002-01-15 Thread Thyago Consort
-Original Message- From: Adam Baratz [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 11 de janeiro de 2002 01:40 To: PHP List Subject: Re: [PHP] PHP Parsing Database Text > Is it possible to have PHP parse text queried from > a database (security issues notwithstanding)? > If so, how? Y

[PHP] Sound File Available???

2002-01-15 Thread Randum Ian
Hi there, is there a way of checking a directory for a sound file showing one image if its available, another if it isnt? The sound files are in directory http://www.foo.com/media and they are called 1234.rm. Can anybody help me pls? Cheers in advance, Ian. DJ / Producer / Webdesigner [EMAIL

[PHP] Compiling PHP with imap & recode support

2002-01-15 Thread Mike Eheler
I get this error when compiling php with ./configure --with-imap=../imap-2001a --with-record Any ideas on a workaround for this? /web/src/imap-2001a/c-client/libc-client.a(misc.o): In function `hash_lookup': /web/src/imap-2001a/c-client/misc.c:311: multiple definition of `hash_lookup' /usr/li

[PHP] Re: Search Engine

2002-01-15 Thread Philip Hallstrom
Take a look at htdig and mngosearch (which has a PHP interface). Also take a look at www.devshed.com and search for "search php" and you'll find some how-to articles. On Tue, 15 Jan 2002, Yogesh Mahadnac wrote: > Hi all! I want to develop a search engine in PHP for a portal that I'm working

Re: [PHP] Padding with mcrypt_generic

2002-01-15 Thread Joe Conway (wwc)
Ben Sinclair wrote: > That would work for me, but I have to deal with many files that I have already > encrypted and no longer know the correct sizes of. My search and replace for > the padding characters doesn't work because the files sometimes contain those > padding characters. > > -- > Ben S

Re: [PHP] Including a REMOTE FILE using include (php function)

2002-01-15 Thread Jimmy
Hi louie, > Im trying this little example of mine, Im trying to include > a file from a remote webserver but could not possibly get > it to work.. could be because the url fopen wrapper is disabled. check the value of this setting in your php.ini file: allow_url_fopen -- Jimmy ~

Re: [PHP] PHP Errors?

2002-01-15 Thread Ben Sinclair
It is possible to disable error reporting, but you would probably remember doing it. Another possiblity is your page having tables that are not closed because the script has stopped on an error, and your browser doesn't know how to render the page. View the source to the page, the error might be i

Re: [PHP] Login script, session problem (I think)

2002-01-15 Thread Hawk
php 4.* 4.03 I think, or something like that first I have a form that directs to login.php, in that file I have session_start(); session_register(admin_allow); session_register(username); session_register(password); then I assign a word to admin_allow and the username and password to th

[PHP] PHP Errors?

2002-01-15 Thread Devin Atencio
Dear PHP Group, I noticed that recently when one of my PHP scripts has a problem that it doesn't display to the browser screen any more the 'parse error near line 5' or whatever to the screen it just comes up with a blank page. I am using PHP 4.1.1 and I didn't know if something changed that I w

Re: [PHP] Re: Redirection and Passing Data (arrays)

2002-01-15 Thread Bogdan Stancescu
...or echo some hidden inputs in the login form? Julio Nobrega Trabalhando wrote: > session_register('array_of_selected_checkboxes'); > > Just use sessions! ;-) > > -- > > Julio Nobrega. > > Um dia eu chego lá: > http://sourceforge.net/projects/toca > > Ajudei? Salvei? Que tal um presentinho?

[PHP] PHP Creating GUID's in PHP 4.1.0

2002-01-15 Thread charlesk
Does anyone know how to create GUID's in PHP? Charles Killmer PHP 4.1.0 IIS 5 Windows 2000 Server -- 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 administrators, e-mail: [EMAIL PRO

[PHP] relative Drop Down Menus

2002-01-15 Thread Simos Varelakis
Hello to everyone In a submit form two relative drop down menus (dCountry and dCity) with data from two diferrent mysql tables. The form contains also some other fields ex name,surname etc. I want each time a user changes dCountry value to reload the same form without lose data from other fie

Re: [PHP] How to run sockets in Win32

2002-01-15 Thread Logan
I didnt try it, but i found this, in the compiled version of "php4win" 4.1.1 -> php_sockets.dll, does it work??? Logan "Andrew Brampton" <[EMAIL PROTECTED]> escribió en el mensaje 03cc01c19de2$f1a90440$2528260a@STUDENT5830">news:03cc01c19de2$f1a90440$2528260a@STUDENT5830... > I tried with PHP4

[PHP] Problems with PHP and SNMP

2002-01-15 Thread Giovanny Miguel Orozco Theran
> Helo, we are a proyect that we need to link phap4.0.01 with ucd-snmp4.2.1 > for start apache1.3.2 server, we compiling each module but to start the > apache server it display the follow error. > * > # ./apachectl start > Syntax error on line 205 of /usr/local/apache/conf/httpd.co

Re: [PHP] Login script, session problem (I think)

2002-01-15 Thread Dennis Moore
More information is needed... what version of PHP are your running? I bit of sample code on how you set up your sessions would also be helpful... /dkm - Original Message - From: "Hawk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 11:19 AM Subject: [PHP] L

Re: [PHP] How to run sockets in Win32

2002-01-15 Thread Andrew Brampton
I tried with PHP4 a while ago to use Sockets on Win32, unfortually I found written in the documenation saying that sockets were not implemented on Win32 yet. Andrew - Original Message - From: "Logan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 2:22 PM Subje

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column "adress adress VARCHAR(25)" to "adres

RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Rasmus Lerdorf
Redhat's apxs was broken years ago in RH 6.0 or some version like that. But since then the apxs from the apache-devel package has been fine. -Rasmus On Tue, 15 Jan 2002, Simon Ritchie wrote: > > I'm trying to compile php 4.1.1 and when it gets to the > > --with-apxs option it errors out with th

[PHP] Login script, session problem (I think)

2002-01-15 Thread Hawk
I made a simple login script which uses MySQL for username and password retrieval and that stores the username in a session, the problem is that this script only works locally, e.g. I can only login from this computer but not from any other, I have session.use_cookies = 1 and I also have another s

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column "adress VARCHAR(25)" to "adress VARCH

Re: [PHP] Content

2002-01-15 Thread Rasmus Lerdorf
Grab the latest version of PHP. There is a new php.ini directive called always_populate_raw_post_data which when turned on forces all post data to be available through the $HTTP_RAW_POST_DATA variable. -Rasmus On Tue, 15 Jan 2002, Daniel C. Sobral wrote: > I have a little problem I have been t

[PHP] Re: Redirection and Passing Data (arrays)

2002-01-15 Thread Julio Nobrega Trabalhando
session_register('array_of_selected_checkboxes'); Just use sessions! ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "M. Ali" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Setting cookie very broken! Please help!

2002-01-15 Thread Casey Allen Shobe
The server is not the client. I've tried the same code on two different servers, browing with various versions of IE, Netscape, Mozilla, and Konqueror. However, I can live with this, because I put the beta version (a rewrite) of the code on the new webserver, and it works. I find it very odd

Re: [PHP] Padding with mcrypt_generic

2002-01-15 Thread Ben Sinclair
That would work for me, but I have to deal with many files that I have already encrypted and no longer know the correct sizes of. My search and replace for the padding characters doesn't work because the files sometimes contain those padding characters. -- Ben Sinclair [EMAIL PROTECTED] - O

Re: [PHP] Content

2002-01-15 Thread Daniel C. Sobral
Jimmy wrote: > Hi Daniel, > > >>variables, but as part of the Content of the HTTP request. Here is a sample: >> > >>POST >>/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23

Re: [PHP] Re: SMS

2002-01-15 Thread Manuel Lemos
Hello, Jon Farmer wrote: > > > You may want to look into this. > > > > http://phpclasses.upperdesign.com/browse.html/package/396 > > > > Except web -> SMS gateways are increasing becoming a unreliabe way to send > SMS. I know in the UK some of the mobile networks are blocking certain > gateways

[PHP] shopping cart reviews?

2002-01-15 Thread Jaxon
hi, can anyone point me at a set of reviews for various php-based shopping carts? cheers, jaxon -- 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 administrators, e-mail: [EMAIL PR

Re: [PHP] Setting cookie very broken! Please help!

2002-01-15 Thread Richard Crawford
On the new machine, does your code work in Netscape or Mozilla or Opera? Does it work in IE on other machines? If yes, then double-check the security settings in the new installation of IE on the new computer. Casey Allen Shobe wrote: > I've set up a new machine in a production environment t

Re: [PHP] Content

2002-01-15 Thread Jimmy
Hi Martin, > I dunno how to do that from the top of my head, but imo Daniels server > is broken since POST variables are sent in the body, but that is > clearly no POST request at all. In this case PHP has no way of parsing > the broken request. Or am I wrong here? nope. in POST request, all t

[PHP] Redirection and Passing Data (arrays)

2002-01-15 Thread m. ali
hi may can some body help me I'm writing a shopping cart system where the user can search for a product. the search result is a page with number of items where the user can select some them using checkboxes and enter the quantity that he needs, then add them to his shopping cart this works fine

[PHP] Setting cookie very broken! Please help!

2002-01-15 Thread Casey Allen Shobe
I've set up a new machine in a production environment to roll over an existing PHP script onto. Unfortunately, I'm running into a strange error: I have a login form, using fields named 'username' and 'password'. These are also used as variables. Using IE, the cookie never shows up as I would

Re: [PHP] Content

2002-01-15 Thread Martin Wickman
Jimmy wrote: > Hi Daniel, > > >>variables, but as part of the Content of the HTTP request. Here is a sample: >> > >>POST >>/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23

Re: [PHP] Persistent Database Resources?

2002-01-15 Thread John Lim
Hi, Both PEAR DB/Cache and ADOdb database libraries support cacahed recordsets. See the PEAR sources and http://php.weblogs.com/adodb Rgds, John Nick Wilson <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: [PHP] Content

2002-01-15 Thread Jimmy
Hi Daniel, > variables, but as part of the Content of the HTTP request. Here is a sample: > POST > >/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23&ServerType=email&[EMAIL

[PHP] NNTP Indexing

2002-01-15 Thread Jonathan Chum
I'm in dire need of suggestions for reconstruction of a database that contains USENET posts from a few groups on the server. This is the structure: CREATE TABLE /*!32300 IF NOT EXISTS*/ nntp ( pid mediumint(10) NOT NULL auto_increment, aid mediumint(10) NOT NULL DEFAULT '0' , from_name var

[PHP] How to run sockets in Win32

2002-01-15 Thread Logan
I tried to use the socket function under PHP 4.0.6 in IIS 5 on a server with windows XP. It give me the error -> Socket function not found in line 3 It's the socket implementation a package that i have to install??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

  1   2   >