AW: [PHP] file height and width

2001-03-21 Thread Kazazic Almir
if it is about logos and stuff that may be changed put it simply in a include and include it from all over or make a function and call it -almir -Ursprüngliche Nachricht- Von: darion mapp [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 21. März 2001 23:05 An: almir Betreff: Re: [PHP] file

[PHP] big problem

2001-03-21 Thread Salim Meethoo
hello there, can somebody help me out with my scripts while running this: i get the following error message: Warning: fopen("compteur","w") - Permission denied in cmguestcount.inc.php3 on line 11 i'm using php3 and this scripts are for a counter of my page . thanks Salim -- PHP General Maili

[PHP] Errors caused by php or apache(or buggy explorer)?

2001-03-21 Thread Vidar Tyldum
I'm having some trouble with apache+php4. Sometimes when i access my very simple php-site, not everything gets parsed, some things just get printed.. For instance, my tables sometimes gets freaked an IE shows me the tags [http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[PHP] Passthru Question

2001-03-21 Thread Michael Bartlett
Hi all, Having a weird problem running the passthru() function on quite an old version of PHP3 (3.0.7). Pasted below is the php source code: === Tape Status Check if this page is blank - that is good! === When I run this in a shell (

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2001-03-21 Thread Uwe Steinmann
steinm Wed Mar 21 22:58:13 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: - fixed some bugs with xpath Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.32 php4/ext/domxml/php_domxml.c:1.33 --- php4/ext/domxml/php_do

Re: [PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-21 Thread Martin Jansen
On Thu, 22 Mar 2001 04:14:43 -, Adam Daniel wrote: >* @copyright Copyright 2001 Ethicon Endo-Surgery Isn't this a contradiction to the copyright notice of the license in the head of the file? -Martin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-CVS] cvs: php4 /pear/HTML Common.php Table.php

2001-03-21 Thread Martin Jansen
mj Wed Mar 21 22:23:38 2001 EDT Modified files: /php4/pear/HTML Common.php Table.php Log: - some cosmetic changes in pear/html/HTML_Common and pear/html/HTML_Table for better readability. Index: php4/pear/HTML/Common.php diff -u php4/pear/HTML/

[PHP] Web Directory

2001-03-21 Thread toto
Hi all, can some body tell me where can i find articles and technical support about develop web directory ? thanx. -toto- -- 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 admin

[PHP-CVS] cvs: php4 /pear/DB odbc.php

2001-03-21 Thread Chuck Hagenbuch
chagenbuWed Mar 21 21:55:54 2001 EDT Modified files: /php4/pear/DB odbc.php Log: we have a default for dbsyntax; don't cause an error if it's not specified. Index: php4/pear/DB/odbc.php diff -u php4/pear/DB/odbc.php:1.28 php4/pear/DB/odbc.php:1.29

[PHP-CVS] cvs: php4 /pear/DB mssql.php

2001-03-21 Thread Chuck Hagenbuch
chagenbuWed Mar 21 21:55:29 2001 EDT Modified files: /php4/pear/DB mssql.php Log: space Index: php4/pear/DB/mssql.php diff -u php4/pear/DB/mssql.php:1.19 php4/pear/DB/mssql.php:1.20 --- php4/pear/DB/mssql.php:1.19 Mon Feb 19 04:22:26 2001 +++ php4

Re: [PHP] IBill - Can you recommend a script?

2001-03-21 Thread Rick St Jean
We have dealt a lot with iBill. They are great. The best interface to them that I know of is the opayc solution from Inline. The advantage is you will be able to do charge backs and the solution can be ported to any platform. php, CF, vb. Also opayc will handle the updates to the api, if it c

RE: [PHP] How to delete a row from MySql

2001-03-21 Thread Peter Houchin
db connection here if ($delete){ $rs = "DELETE FROM users WHERE id=$id"; $result = mysql_query($rs); echo "Record Deleted "; } $id = $myrow["id"]; printf("(DELETE)", $PHP_SELF, $myrow["id"]); -Original Message- From: YoBro [mailto:[EMAIL PROTECTED]] Sent: Thursd

[PHP] How to delete a row from MySql

2001-03-21 Thread YoBro
Hello, Does anybody know how to make a text link delete items from a MySql Database. I have a PHP page that reads from the database and displays the results, but i want to include an option at then end of each row to delete that information. Alot like in phpMyAdmin. I have looked at that code, b

[PHP] Installing PEAR

2001-03-21 Thread RalphGzman
Ok, IM a bit confused as to how PEAR is installed. I read through the README file in the php source but found no explanation. I am tryin to use the PEARs DB abstracion. I have DB.php and DB/ in /usr/local/lib/php. I added: 'include_once(DB/mysql.php);' to the top of my script but it failed si

php-general Digest 22 Mar 2001 04:20:14 -0000 Issue 581

2001-03-21 Thread php-general-digest-help
php-general Digest 22 Mar 2001 04:20:14 - Issue 581 Topics (messages 44964 through 45070): Re: file height and width 44964 by: Chris Lee 44967 by: george 45003 by: almir Re: header redirection 44965 by: Chris Lee include virtual, file or exec cgi? 4

Re: [PHP] PHP & MYSQL BOOKS

2001-03-21 Thread YoBro
Thanks Luke, I have ordered your book. ""Luke Welling"" <[EMAIL PROTECTED]> wrote in message 9975hj$has$[EMAIL PROTECTED]">news:9975hj$has$[EMAIL PROTECTED]... : It is $39.95 at barnesandnobel.com and at fatbrain.com. : : That GST is a killer. It will probably have an RRP around $110 here in :

[PHP-CVS] cvs: php4 /pear/HTML Table.php

2001-03-21 Thread Adam Daniel
adaniel Wed Mar 21 20:15:43 2001 EDT Added files: /php4/pear/HTML Table.php Log: original commit. class to create html tables Index: php4/pear/HTML/Table.php +++ php4/pear/HTML/Table.php http://www.php.net/license/2_02.txt.

[PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-21 Thread Adam Daniel
adaniel Wed Mar 21 20:14:43 2001 EDT Added files: /php4/pear/HTML Common.php Log: orginal commit. class containing common html tools Index: php4/pear/HTML/Common.php +++ php4/pear/HTML/Common.php http://www.php.net/license/2_02.txt.

Re: [PHP] not working

2001-03-21 Thread Wade DeWerff
Well Im trying to use a template system for pages. php4 bible lists it as sort of a GET method of handling links rather than creating all of the pages, you just use template with includes >What are you wanting to do? Let's assume : > >a. You want soon-to-be-included file names to depend on val

Re: [PHP] not working

2001-03-21 Thread Philip Olson
What are you wanting to do? Let's assume : a. You want soon-to-be-included file names to depend on values passed through the url QUERY_STRING (links). (also, be careful) b. The file containing this code is called home.php Let's slightly modify your code : Test Is that what you're wanting

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Peter Houchin
R u 2 gonna knock it off and stop invloving the rest of us in your sledging of each other?? if you wanna continue pls keep it between your selves and not involve the rest of us cheers -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:09 PM T

[PHP] not working

2001-03-21 Thread Wade DeWerff
this is opening home.php instead of the test include file..whats wrong? Test -- 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]

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Kurth Bemis
At 01:12 AM 3/22/2001, Jason Lotito wrote: wysiwyg is generally a bad thing. using tools such as allaire homesite i can code a full site such as jrehomes.com in about 70 hours - start to finish. it took twice as long with dreamweaver 3 due to the wonderful ppl at MS going against the grain (

[PHP] IBill - Can you recommend a script?

2001-03-21 Thread Matt Friedman
I have a client who wants to set up iBill. Has anyone had any good experiences with any of the commercially avaliable or open source iBill administration scripts out there? Good Bad or Otherwise, please let me know. Many thanks for any light you can shed on this topic. Matt Friedman -- PHP G

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Jason Lotito
> Did you read what I wrote ? > First I do code, and I have coded projects with as many as 60,000 > lines (clipper). > > In this case I run an ISP, work about 85 hours a week ( if that's > lazy then I the > laziest ). I have read most of the wrox PHP book (600 pages+), as well as > havinging code

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Gfunk
Yeah i know how you feel man... I think what you're looking for is codecharge http://www.codecharge.com/ it generate add/edit/modify scripts eventually, but the interface sucks the bag. perhaps some people on the list could write a better version in php? or even one people can use online that can

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
Did you read what I wrote ? First I do code, and I have coded projects with as many as 60,000 lines (clipper). In this case I run an ISP, work about 85 hours a week ( if that's lazy then I the laziest ). I have read most of the wrox PHP book (600 pages+), as well as havinging coded a complete UAS

RE: [PHP] executables (.exe)

2001-03-21 Thread Jonathan Sharp
If you're on windows, (which i'm assuming you are) you can call the PHP binary with the path to your php script... so (assuming you have C:\php\bin\ as part of your PATH enviromental variables for windows) you could do PHP C:\path\to\php-script.php and it will run on the command line...or just gi

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Kurth Bemis
At 09:08 PM 3/21/2001, Jack Sasportas wrote: ah - true laziness.this is what gave birth to wysiwyg editors like frontpage :-) do your self a favor and get off your ass and write code like everybody else. I bet that you use frontpage too. Christ! if your going to develop then you can't b

[PHP] reading microsoft word document text in php?

2001-03-21 Thread Erick Papadakis
hello, i need to read a microsoft Word document on the server through my file system. is there a way i can read the text of a word document? thanks/erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
PhpMyAdmin is to manage MySQL, I want to take an existing table lets say phone_book and then have a script generate the add/edit/modify scripts so I don't have to code it, and look at how it is coded... Any Ideas ? Thanks! Keith Vance wrote: > That's sounds like a good task for you to take on,

Re: [PHP] Benchmark single page

2001-03-21 Thread Jason Granum
Thanks. This was exactly what I was needing. - Original Message - From: "Floyd Piedad" <[EMAIL PROTECTED]> To: "Jason Granum" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 5:53 PM Subject: Re: [PHP] Benchmark single page > Hi Jason, > > At the very start of

Re: [PHP] irix compile error (4.0.4pl1)

2001-03-21 Thread Paul Schreiber
Yasou wrote: >Do you have llibpq in your system? Is it under path /usr/lib or >/usr/local/lib? >If not, get PostgreSQL source, create lib, specify Pgsql install location for >configure. >If this does not help, I don't know okay, I removed --with-pgsql ... but I'm still getting this error:

Re: [PHP] executables (.exe)

2001-03-21 Thread Nuno Silva
Hi, just make the cgi version of php and feed some script to it ;) in unix you can start the script with: #!/path/to/php -q good luck, Nuno Christian Dechery wrote: > Correct me if I'm completely out of my mind here (often I am). > > But I think, I read somewhere that u can compile .php

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Rasmus Lerdorf
Doesn't make a whole lot of sense to do so, but include virtual should work just fine. -Rasmus On Wed, 21 Mar 2001, Christian Dechery wrote: > Can't I > > or > or > ??? > > I'm trying to, the script works fine if I load it normally, but as an include > in a shtml (server parsed) file it alwa

Re: [PHP] Benchmark single page

2001-03-21 Thread Floyd Piedad
Hi Jason, At the very start of the page to be outputted, even before the HTML tags, put this in. Then at the very bottom of the generated page, before the tag: This takes into account all of the php codes executed to generate all the contents inbetween these two sections, including databas

Re: [PHP] Apache +Php -----help

2001-03-21 Thread Yasuo Ohgaki
Your Apache is not handling PHP scripts as PHP script. That's why you get script on your browser. Read these sections in PHP Manual. http://jp.php.net/manual/en/install-windows.php http://jp.php.net/manual/en/install.apache.php Regards, -- Yasuo Ohgaki ""OBB"" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] Benchmark single page

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 17:09:17 -0800, Jason Granum ([EMAIL PROTECTED]) wrote: >I'm wanting to benchmark a single PHP page to the millisecond (if >possible) that basicly just will put a > >This page generated in X.XXX seconds > >at the bottom of every page. > >I've tried looking through the past mess

Re: [PHP] Help!

2001-03-21 Thread Yasuo Ohgaki
I think this should go to BugDB. http://bugs.php.net Try older versions if you in hurry. Regards, -- Yasuo Ohgaki ""Fred"" <[EMAIL PROTECTED]> wrote in message 99be8l$m4u$[EMAIL PROTECTED]">news:99be8l$m4u$[EMAIL PROTECTED]... > I got this error when i try to ran a script of mine: > "PHP caused

[PHP] Getting a header without ANY mime type

2001-03-21 Thread Spunk S. Spunk III
I've got a situation where I'm interested in returning a header without ANY mime type specified. It looks like the default Mime type is set by the server (plain text)? Or at least when I don't specify the type that's what my server is returning. I'd also like to ensure that there is no content len

Re: [PHP] Authenticated without Authenticating???

2001-03-21 Thread Yasuo Ohgaki
I think there is a article about passing variables site to site in www.phpbuilder.com. I think it will help want you want to do. Regards, -- Yasuo Ohgaki "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > Is there a way to have a scri

[PHP] Ack! Cookie Problems!

2001-03-21 Thread Michael Champagne
Ok, I'm going through a cookie nightmare. I'm trying to create a session and then cut the user off from the session by setting the expiration of the cookie that I send out using session_set_cookie_params(). Here's my code: /* Start session and unset any previous session variables */ session_sta

[PHP] executables (.exe)

2001-03-21 Thread Christian Dechery
Correct me if I'm completely out of my mind here (often I am). But I think, I read somewhere that u can compile .php files and make executables of them to run in the command line like programs... is this true? How can I get it to work? WHat do I need? . Christian De

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, Thanks for the info! Glad it's working for you. Chris Joe Rice wrote: > What ended up working for me is; > > LD_RUN_PATH=$INFORMIXDIR/lib > > then i recompiled php and when i started apache everything > seemed to work. I didn't go the LD_LIBRARY_PATH way > because of http://www.visi.com

[PHP] Benchmark single page

2001-03-21 Thread Jason Granum
I'm wanting to benchmark a single PHP page to the millisecond (if possible) that basicly just will put a This page generated in X.XXX seconds at the bottom of every page. I've tried looking through the past messages on the group but havn't found any threads relating to this. Anyone have any

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>this will work, however: > > > > > > that is the problem... THIS is not working... I have my html file like this: index.shtml ... stuff... and it's not working... there are 4 "include virtual"'s on this page... this would be the 5th... all of them work,why not this one? _

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Keith Vance
That's sounds like a good task for you to take on, you will learn a lot about writing PHP code. I don't really know what you are talking about, but you can look at phpMyAdmin or something. K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Jack Sasportas wrote: > Has

Re: [PHP] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Yasuo Ohgaki
Do you have llibpq in your system? Is it under path /usr/lib or /usr/local/lib? If not, get PostgreSQL source, create lib, specify Pgsql install location for configure. If this does not help, I don't know Regards, -- Yasuo Ohgaki "Paul Schreiber" <[EMAIL PROTECTED]> wrote in message [EMAIL

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
What ended up working for me is; LD_RUN_PATH=$INFORMIXDIR/lib then i recompiled php and when i started apache everything seemed to work. I didn't go the LD_LIBRARY_PATH way because of http://www.visi.com/~barr/ldpath.html titled "Why LD_LIBRARY_PATH is bad" Thanks for all the help, joe web

Re: [PHP] linking classes together

2001-03-21 Thread Yasuo Ohgaki
SNIP > // This does not work --> > class sessions { > function sessions { > $db = new mysql_connect; > } > > function testprint() { > $db-> connect() > } > } This does not work as it shouldn't. You create $db in another function => other function cannot use. Make it

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread ..s.c.o.t.t..
phpmyadmin http://www.phpwizard.net/projects/phpMyAdmin/ > -Original Message- > From: Jack Sasportas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 21, 2001 16:17 > To: php > Subject: [PHP] Pre-Written Script ? > > > Has anyone found a good prewritten (gpl) script that helps you

Re: [PHP] session destroy???

2001-03-21 Thread Yasuo Ohgaki
Use session_unset() http://www.php.net/manual/en/function.session-unset.php Regards, -- Yasuo Ohgaki ""Miguel Loureiro"" <[EMAIL PROTECTED]> wrote in message 015d01c0b237$61e86720$[EMAIL PROTECTED]">news:015d01c0b237$61e86720$[EMAIL PROTECTED]... Hello all, when using sessions, if use command

Re: [PHP] trim string

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 18:09:47 +0800, Wen Ni Leong ([EMAIL PROTECTED]) wrote: >I need help in this basic string function. >I query from the database by using while loop and the result in in >array. I separated them by using "," . > >I want at the end of the string to be trim off. Unfortunately I >

[PHP] Problems with PDF_open_gif

2001-03-21 Thread Steffen Wieschalla
Hi! I have PHP 4.0.4pl1, pdflib 3.0.3 (with bugfix), apache 1.3.19 under Redhat 7. The code is: *snip* $img = PDF_open_gif($pdf, "some.gif"); *snip* I got the following message every time: Warning: Could not open image in /home/apache/pdf_create.phtml on line 12 T tried it with realtiv and abs

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>You could just do a rename *.shtml *.php under >DOS or UNIX or cp *.shtml ./*.php then >use some sort of regex program/function to replace >the internal links. I'm not willing to change my entire site (which have over 3.000 html files) just because PHP can't do something... I'd rather work som

Re: [PHP] trim string

2001-03-21 Thread Gary Huntress
Perform the trim as part of the query: "Select rtrim(app_name) , rtrim( status) from approval_list where doc_no='6'" "Wen Ni Leong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need help in this basic string function. > I query from the database by using

[PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
Has anyone found a good prewritten (gpl) script that helps you to create the php code to add/edit/modify based on selecting a table that you want to put data into ? I want to use this both to get some data in the computer as well as to learn other coding techniques. Thanks ! ___

[PHP] Help!

2001-03-21 Thread Fred
I got this error when i try to ran a script of mine: "PHP caused a stack fault in module MSVCRT.DLL at 0177:7800f75d. Registers: EAX=005421f4 CS=0177 EIP=7800f75d EFLGS=00010202 EBX=00542254 SS=017f ESP=00541f94 EBP=005421dc ECX=00542244 DS=017f ESI=019dab14 FS=7f67 EDX=006a ES=017f EDI=00

RE: [PHP] mysql backup

2001-03-21 Thread Peter Houchin
-Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: [PHP] mysql backup hi how do i back up a mysql DB table? Can you please write me the code? Thanks. --__

[PHP] mysql backup

2001-03-21 Thread McShen
hi how do i back up a mysql DB table? Can you please write me the code? Thanks. -- 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]

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, The answer is you need to set the following in your profile:- LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:/usr/lib or: SHLIB_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:/usr/lib I have both set on mine - not sure which one works. Chris Joe Rice wrote: > i ended up downloadi

[PHP] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Paul Schreiber
okay, i'm trying to compile on an irix 5.3 box ... configure gives some sort of warning/error, and this is what's in debug.log: --- - CONFIGURE: './configure' '--with-mysql' '--with-apache=../apache_1.3.19/' '--w ith-open

[PHP] Authenticated without Authenticating???

2001-03-21 Thread Brandon Orther
Hello, Is there a way to have a script authenticate with out me haveing to fill out the pop-up windows ? This way my script can do things without me having to be there to type the password for each website that needs to be authenticated. I hope I made a bit of sense. Thank you, --

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, >From memory I had to create a symlink for libifsql.o - I'll boot up the SCO box and >see if I can find it and let you know. Chris Joe Rice wrote: > i ended up downloading the SDK for solaris 7 and it seems to have work...well, > kind of. It compiled, but i can't start apache. apache i

Re: [PHP] load DB from other server

2001-03-21 Thread almir
are you trying only to connect to database or to transport data from one db to another (LOAD) connect will do just fine to export and inport data between two databases use mysql programms mysqldump and mysqlimport or for smaller DB phpMyAdmin is ok -almir ""McShen"" <[EMAIL PROTECTED]> schrieb

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-21 Thread Jon Snell
Yes, I would recommend locking your tables before doing this just in case. Another solution would be to create a unique-key based on the bed field and date field. This way you are guaranteed never to double book, and can just check for errors after insert rather than do an additional select state

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
i ended up downloading the SDK for solaris 7 and it seems to have work...well, kind of. It compiled, but i can't start apache. apache is trying to find libifsql.so which isn't anywhere on my system. Do you have this file? is it part of the ESQL SDK or is part of php? any help would be great

RE: [PHP] trim string

2001-03-21 Thread James Moore
> -Original Message- > From: Wen Ni Leong [mailto:[EMAIL PROTECTED]] > Sent: 21 March 2001 10:10 > To: [EMAIL PROTECTED] > Subject: [PHP] trim string > > > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separa

Re: [PHP] trim string

2001-03-21 Thread Keith Vance
You might be able to use substr. http://www.php.net/substr K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Wen Ni Leong wrote: > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separated t

[PHP] trim string

2001-03-21 Thread Wen Ni Leong
I need help in this basic string function. I query from the database by using while loop and the result in in array. I separated them by using "," . I want at the end of the string to be trim off. Unfortunately I tried all the string function such as chop,trim and substr but they seem like can'

[PHP] trim string

2001-03-21 Thread Wen Ni Leong
I need help in this basic string function. I query from the database by using while loop and the result in in array. I separated them by using "," . I want at the end of the string to be trim off. Unfortunately I tried all the string function such as chop,trim and substr but they seem like can'

[PHP] linking classes together

2001-03-21 Thread Tobias Talltorp
I have two classes, one with mysql-connections and one with session-stuff. The session-class relies on the mysql to check if the user is registered and such. What is the proper way to connect/link these classes together? I got it working if I created a $db = new mysql_connect; in the function, b

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
For SCO I had to download the ESQL package separately - I think you have to do the same (if it's available). Chris Joe Rice wrote: > Hi, > I'm trying to get this combo to work "Informix + PHP + Apache + Solaris 8". > But, i'm having some trouble compiling php4.0.4p1. ./configure fails when >

Re: [PHP] Header Problem

2001-03-21 Thread Keith Vance
What happens when it doesn't work, any error messages? Try: header ("Location: http://www." . $URL . "/members/index.php"); or $loc = "Location: http://www." . $URL . "/members/index.php"; header ($loc); The first suggestion should work. K E I T H V A N C E Software Engineer n-Link Corporatio

Re: [PHP] Header Problem

2001-03-21 Thread almir
are you using cookies together with header , i had problems with that -almir <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I`m having whats probably a very basic problem but just can`t get my head > around it this late in the day, anyone have an

Re: [PHP] addslashes Question

2001-03-21 Thread Hardy Merrill
Jeff, here's what I do: 1. set magic_quotes_gpc On in php.ini * this will automatically quote all GET, POST, and COOKIE variables - read up on magic_quotes_gpc. 2. at the top of each script, stripslashes all the COOKIE, GET, and POST variables, since they will have been

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
After reading my last post, I realized that I am a dope :) You DO need to compile in Oracle support, but you don't do it with -with-oracle. That is in Linux :) Sorry about that! Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Sa

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
It sounds like PHP was not compiled with the -with-oracle directive when the configure script was run. This will compile in support for the PHP Oracle functions. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brooks, Ken [ma

Re: [PHP] addslashes Question

2001-03-21 Thread Tobias Talltorp
This seems to be more of a HTML problem. Form fields simply can´t print out ". You need to change the " to " in order for it to appear. This can be done using the function htmlspecialchars(): http://www.php.net/manual/en/function.htmlspecialchars.php In your case: "> You can test these two thing

Re: [PHP] Optional Parameter ?

2001-03-21 Thread almir
function print_this( $value1, $value2, $maybe3="somethin") { } -almir "Jack Sasportas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it possible to have a function that looks something like > > function print_this( $value1, $value2, $maybe3) { > >

Re: [PHP] Daemon with a PHP file

2001-03-21 Thread Douglas Winslow
On Wed, 21 Mar 2001, Renzi, Sebastian wrote: > > Hello my name is Sebastian ,i'm from Argentina ,this is my first > question in this list.I would like to know how to run a php file every > day at 8 AM , my intention was to create a cron with the crontab > command.Something like this ... > > 0 8 *

Re: [PHP] Attachment problem with web based mail - CODE SAMPLE

2001-03-21 Thread almir
if you want to change the behaviour of IE or NN with save, then you have to change header of the page you are sending with header comand -almir ""Grant Walters"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 001101c0b1f8$d7c52080$[EMAIL PROTECTED]">news:001101c0b1f8$d7c52080$[EMAIL PROTECTED]...

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 13:53:45 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: setting right params to zend_get_parameters_ex Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.4 php4/ext/fbsql/php_fbsql.c:1.5 --- php4/ext/fbsql/

[PHP] addslashes Question

2001-03-21 Thread Jeff Oien
I have a form to modify a record in a MySQL database. The record contains this: 3" Brush The code in question is like this: while ($row = mysql_fetch_array($result)) { $desc1 = $row['desc1']; -- "> I've tried using addslashes to the variable in various ways and it always returns: 3\

[PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Brooks, Ken
I have seen -many- messages and spent an entire day reading, and haven't found what I'm looking for so i hope this is the correct place to ask. When I try to make an ora_logon or ocilogon, I get the error: Fatal error: Call to undefined function: ora_logon() Is this an incorrect PHP setup or

Re: [PHP] file height and width

2001-03-21 Thread almir
1) why put it into db , i dont think it is good idea to do it, put it in file sytem , check it with image funrtions and than do what you want to or even easier use stiles to format it with html so that it doesn´t metter how big file actualy is -almir ""george"" <[EMAIL PROTECTED]> schrieb im Ne

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread almir
you can include through http ,I did it even remotly and it works fine but slow, see in manual how to read files through http -almir ""Christian Dechery"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can't I or or ??? I'm trying to, the script wor

Re: [PHP] Simple question about mail() limitations (if any :)

2001-03-21 Thread almir
on IIS it is much better solution for more than few mails is to put them simply in pickup directory of smtp server, I am also sure that there is a similar possibility on linux -almir ""SED"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Before I

Re: [PHP] MySQL "DISTINCT" query

2001-03-21 Thread almir
select distinct * from mytable is functioning just as it should what the answer is not group by try pleas to explain better what do you want almir "Jared Howard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need to retrive all column information from

Re: [PHP] PHP an WinNT-Filesystem

2001-03-21 Thread almir
try giving all rights to all users for short time just to check if it is going to work at least in this case, i never had problems localy (only in network) it works fine with me wich php are you using ""Dirk Ritters"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99arbh$ior$[EMAIL PROTECTED]">news:99

[PHP] Form variables

2001-03-21 Thread Sascha Andres
Hi, i want to build up a form dynamicly which posts always to one php script. how can i get all the variavbles - best with name ? sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
Hi, I'm trying to get this combo to work "Informix + PHP + Apache + Solaris 8". But, i'm having some trouble compiling php4.0.4p1. ./configure fails when trying to run esql to test for version and lib dir. I have the latest version of IDS 2000 which supports solaris 8. From the IDS 2000 CD

Re: [PHP] URIs as variables

2001-03-21 Thread almir
try with uri= ""Issac Goldstand"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99at42$5be$[EMAIL PROTECTED]">news:99at42$5be$[EMAIL PROTECTED]... > Newbie question here. I am trying to pass a varaible containing a URI > across a few scripts. Basically, the first script get's a query string > in

Re: [PHP] Form variables

2001-03-21 Thread Alexander Wagner
Michael George wrote: > I read this after I'd created a script which generates a form with a > 2D array on it. But as I test it, it seems to work. > > In short, it the 1D array a limitation of > HTML or PHP? I think it is a limitation of PHP 3. It should work with PHP 4. HTML is not responsible

[PHP-CVS] cvs: php4 /ext/pdf pdf.c php_pdf.h

2001-03-21 Thread Rainer Schaaf
rjs Wed Mar 21 12:55:35 2001 EDT Modified files: /php4/ext/pdf pdf.c php_pdf.h Log: Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page) and PDF_close_pdi_page will lose one parameter. These changes are done for the phpwrapper now

[PHP] Form variables

2001-03-21 Thread Michael George
According to the docs, when creating form variables which will be passed as globals to the next PHP script invocation, one can make single dimensional arrays, but not multi-dimensional arrays. I read this after I'd created a script which generates a form with a 2D array on it. But as I test it,

Re: [PHP] Simple PHP 4 and MySQL question about query

2001-03-21 Thread Chris Worth
To follow on, one thing this newbie learned is that it is usually best to build the query string and then pass it to the mysql_query funcion. i had some odd results when I had several ( ) in there for my where clause I made it a separate string and presto it works every time. chris On Tue,

[PHP-CVS] cvs: php4 /ext/pfpro pfpro.c php_pfpro.h

2001-03-21 Thread Andi Gutmans
andiWed Mar 21 12:07:18 2001 EDT Modified files: /php4/ext/pfpro pfpro.c php_pfpro.h Log: - Fix spelling error Index: php4/ext/pfpro/pfpro.c diff -u php4/ext/pfpro/pfpro.c:1.9 php4/ext/pfpro/pfpro.c:1.10 --- php4/ext/pfpro/pfpro.c:1.9 Sun Feb 25 22:

Re: [PHP] MySQL "DISTINCT" query

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 11:04:48 -0700, Jared Howard ([EMAIL PROTECTED]) wrote: >I need to retrive all column information from a DISTINCT query. But >so >far, I only can get one column to show by using this: > >SELECT DISTINCT my_column FROM my_table; > >which then gives me a list of my_column inform

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 11:56:34 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: changed arg types from pval* to zval** Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.3 php4/ext/fbsql/php_fbsql.c:1.4 --- php4/ext/fbsql/php_fbsq

  1   2   3   >