[PHP] Re: sessions

2002-04-02 Thread R. Lindeman
okay i'll explain a bit i want my sessions to store some values but instead of storing them their doing nothing at all here's some code // beginning of registering of values session_start(); session_register("fu"); session_register("bar"); $fu="fu"; $bar ="bar"; // end of regist

RE: [PHP] Counting months between two dates

2002-04-02 Thread Rick Emery
if done in mysql: SELECT PERIOD_DIFF(DATE_FORMAT("2002-06-05","%Y%m"),(DATE_FORMAT("2001-08-27","%Y%m ") ); -Original Message- From: John Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting months between two dates I wa

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
I assume that instead of johndoe, you used the real user name that you have in your script -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:06 PM To: Rick Emery Subject: Rick... Rick, After typing in: mysql> SHOW GRANTS FOR johndoe@loc

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
The error indicates that johndoe doesn't have permissions to any database. If he did, it should look like: mysql> show grants for root@localhost; +-+ | Grants for root@localhost | +--

Re: [PHP] help please - strange session behaviour on IIS with php4.1.2

2002-04-02 Thread Hiroshi Ayukawa
I have the same problem, while I'm using Apache for web server / Win2k. It seems that it depends on "register_globals=On or Off". When the register_globals=On, it works well. But when the register_globals=Off I've got the same situation; session doesn't work. I guess this is a bug of PHP4.1.2/Wi

Re: [PHP] odbc_pconnect

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, Maris Kalnins wrote: > I have a situation where I need to keep connection still active after php > script is done and page displayed! > I tried to use > > $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); > > But unfortunately connection closes automatically when script i

Re: [PHP] odbc_pconnect

2002-04-02 Thread Maris Kalnins
Yes I am using CGI... So that means under Windows using Apache Server it is impossible to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] help please - strange session behaviour on IIS with

2002-04-02 Thread Adam Voigt
I run this setup on Win2k Advanced Server talking to a Microsoft SQL 2000 Server, with sessions of both cookie type and URL-SessionID server side based, with absolutely no problems. Adam Voigt [EMAIL PROTECTED] On Wed, 03 Apr 2002 04:37:07 +0900, Hiroshi Ayukawa <[EMAIL PROTECTED]> wrote: > I ha

Re: [PHP] odbc_pconnect

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, Maris Kalnins wrote: > Yes I am using CGI... > So that means under Windows using Apache Server it is impossible to do that? Can't PHP be run as a module under Apache for Windows? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] global vars within 2-level functions

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, Erik Price wrote: > On Tuesday, April 2, 2002, at 01:24 PM, Jason Wong wrote: >>> (b) Pass a variable as an argument to a function but make that argument >>> optional so that it does not have to exist to make the function >>> legitimate. >> >> function function2 ($variable_A="

[PHP] Remembering choices

2002-04-02 Thread Morten Nielsen
Hi, I have a menu, where I would like to be able to store which link the user last pressed. What is the best way of doing this? I thought about sessions, but is it possible to define some sort of global variable that I can access from all my pages? Regards, Morten -- PHP General Mailing List

RE: [PHP] Remembering choices

2002-04-02 Thread Rick Emery
no such thing as a global variable accessible from all pages. use cookies or sessions -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Remembering choices Hi, I have a menu, where I would like

[PHP] Cookies

2002-04-02 Thread Steffan Harris
hi, is there a way of setting an infinite cookie using PHP? Is there a special command for it? If not, I suggest adding that function in to PHP. Thanks, Steffan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cookies

2002-04-02 Thread Rick Emery
what is an infinite cookie? do you mean one that lasts after the browser is closed and can be re-examined at a later date? Already there... -Original Message- From: Steffan Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Cooki

Re: [PHP] Re: sessions

2002-04-02 Thread Jason Wong
On Thursday 04 April 2002 01:04, R. Lindeman wrote: > okay i'll explain a bit > > i want my sessions to store some values but instead of storing them their > doing nothing at all here's some code > > // beginning of registering of values > > session_start(); > > session_register("fu"); > session_r

RE: [PHP] Cookies

2002-04-02 Thread Rick Emery
First: cookies are a function of the HTTP protocol and each browser's implementation thereof. This is not a PHP issue. Second: I would recommend simply setting cookie to 10 years in the future. It is inconceivable that the application and/or data would not have changed in that time. To believe

[PHP] pH and MS Access

2002-04-02 Thread Rance Hall
Downloaded and installed the adodb sripts to my web dir, the server is a win2k box so I had to manually edit all the path statements in the adodb sripts to make the path statements work I keep getting the following error, whether I used the PHP odbc access codes, or adodb for acess codes Warn

RE: [PHP] Cookies

2002-04-02 Thread Nathan Cassano
There is no such thing as an "infinite cookie". About the closest thing to infinity in PHP is year 2038. setcookie("test", "val", 2147483647); -Original Message- From: Steffan Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:57 AM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] Warning: Undefined variable

2002-04-02 Thread Philip Olson
> > Good little programmers define variables before > > using them, or at least before evaluating them. > > Really? I'm not arguing with you, I'm curious: I thought that it was a > valued feature of newer scripting languages that they do not require > declaration of variables. At least that's

Re: [PHP] Re: sessions

2002-04-02 Thread Jason Wong
On Wednesday 03 April 2002 04:19, Jason Wong wrote: > On Thursday 04 April 2002 01:04, R. Lindeman wrote: > > okay i'll explain a bit > > > > i want my sessions to store some values but instead of storing them their > > doing nothing at all here's some code > > > > // beginning of registering of v

[PHP] !! New version of the TEMPLATE class of mine.

2002-04-02 Thread Hiroshi Ayukawa
I released new version of HTML template class. http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top You can separate HTML & PHP completely, and make it easy to build large complicated web site rapidly. Moreover, it makes clear to separate the job between a web designer & a programmer.

[PHP] session

2002-04-02 Thread R. Lindeman
okay i've posted something before here are my scripts either you tell me what i do wrong or i'll go beserk you can check the outcome of the code on the following adress http://www.filenexus.com/piet.php here's the code for piet.php : here's the code for retief.php : the problem is that t

Re: [PHP] pH and MS Access

2002-04-02 Thread ahill
I would guess you are using a user DSN. Try a System DSN. And you shouldn't need the adodb stuff, just straight odbc. Best regards, Andrew Hill OpenLink Softeware > Downloaded and installed the adodb sripts to my web dir, the server is > a win2k box so I had to manually edit all the path stat

Re: [PHP] odbc_pconnect

2002-04-02 Thread Maris Kalnins
thanks, I configured php under apache as a module now connection doesn't disappear after script is done it stays alive.. now another problem: first time I open connection this way.. if (empty($cx)){ $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); } if next time i will use the same constr

Re: [PHP] Warning: Undefined variable

2002-04-02 Thread Erik Price
On Tuesday, April 2, 2002, at 03:27 PM, Philip Olson wrote: > If you're distributing code in cyberspace it's a good > idea to make it error free too, E_NOTICE or otherwise. I got back quite a few responses on this list on the subject of having variables that are not defined before they are us

Re: [PHP] session

2002-04-02 Thread Steve Cayford
Try putting session_start() in your retief.php script as well as piet.php. -Steve On Wednesday, April 3, 2002, at 01:06 PM, R. Lindeman wrote: > okay i've posted something before here are my scripts either you tell me > what i do wrong or i'll go beserk > > you can check the outcome of the co

Re: [PHP] session

2002-04-02 Thread Erik Price
On Wednesday, April 3, 2002, at 02:06 PM, R. Lindeman wrote: > // open session and begin registering values > > session_start(); > > session_register("fubar1"); > session_register("fubar2"); > session_register("fubar3"); > > $fubar1="Remko"; > > $fubar2="Lindeman

[PHP] Really slow include

2002-04-02 Thread anti-blank
I have a header section for my website and I'd like to include it into each page. Since this is where I'm housing all of my navagation. Here is my problem though. I have the header tables sitting in a page header.htm. I'm calling it as so: This works fine as long as I stay in the main fold

RE: [PHP] Really slow include

2002-04-02 Thread Rance Hall
try replacing your include with the full data path to the header file rather than a URL, php has to establish a http connect and download your header file before proceeding. require ("/path/to/file/header.htm") sometimes depending on what web server software you are using, you may need to do i

RE: [PHP] Really slow include

2002-04-02 Thread Darren Gamble
Good day, The include/require path is relative to the filesystem as seen by the web system user, not the web root. It's designed this way so that you can put your include files someplace where users can't fetch them, which is a recommended practice. So, if your web root is /usr/local/www on you

Re: [PHP] Warning: Undefined variable

2002-04-02 Thread Philip Olson
We are confusing one another :) I'm not talking about declaring variables per se, but rather making sure the variable exists before evaluating it. So: $var = 'foobar'; if ($var == 'foobar') That's fine, no need to do declare $var before this in PHP. My words here simply mean to make sure i

[PHP] PHP and MS Access

2002-04-02 Thread Rance Hall
I guess I am gonna have to plead stupid here. I've never used access, I don't like it, and I think there are much better tools out there to do what access does. Having said that, I work in an environment that is almost completely VBA in either access or excel. I need to find a way to query an

[PHP] images not displaying

2002-04-02 Thread Carl
the images folder is in /website/testingArea/images the php page is located in /website/testingArea/administration/image.php I have confirmed that the file I want to display does exist in the images folder, and that the path is correct. If I include a tag in images.php like so: Where SI

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
examine the generated HTML with View Source in your browser. Does it contain what you expect? -Original Message- From: Carl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:45 PM To: [EMAIL PROTECTED] Subject: [PHP] images not displaying the images folder is in /website/

RE: [PHP] images not displaying

2002-04-02 Thread Schmidt, Carl
yes. the SRC=/home/website/testingArea/images/ Should I just make it http://website.com/testingArea/images/ instead? __ Carl Schmidt | Developer | Latitude360.com a division of RWD Technologies,Inc. | [EMAIL PROTECTED] | 877.9LAT360 | 410.869.7025

RE: [PHP] images not displaying

2002-04-02 Thread Schmidt, Carl
Nevermind, dumb mistake on my part. I need some HTML 101 __ Carl Schmidt | Developer | Latitude360.com a division of RWD Technologies,Inc. | [EMAIL PROTECTED] | 877.9LAT360 | 410.869.7025 | -Original Message- From: Rick Emery [mailto:[EMA

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
You're saying the generated URL contains 4 periods after the word "home"? That would be a problem. It needs to be the URL of the image source, as you suggest in your second sentence. -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:56 PM T

RE: [PHP] images not displaying

2002-04-02 Thread Miguel Cruz
I think he was doing that silly thing where people asking for help obfuscate IP addresses and pathnames, thinking somehow it improves their security, when in fact it only makes it difficult to figure out what on earth they're talking about - because they INVARIABLY hide relevant information or

RE: [PHP] PHP and MS Access

2002-04-02 Thread Maxim Maletsky
> I guess I am gonna have to plead stupid here. > > I've never used access, I don't like it, and I think there are much better tools out > there to do what access does. We agree... > Having said that, I work in an environment that is almost completely VBA in either > access or excel. May god h

Re: [PHP] PHP and MS Access

2002-04-02 Thread eric.coleman
If you want, I can give you an ODBC Db abstraction layer.. there are only a few things not complete on it, it's at abuot 90% - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'Rance Hall'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 6:31 PM

RE: [PHP] April fools day - did anyone notice Thies's fangs on rc1???

2002-04-02 Thread Maxim Maletsky
Exactly what I always though in here, Rasmus:-) Maxim Maletsky -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:12 PM To: Brian Drexler Cc: Erik Price; Frank Joerdens; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] April foo

[PHP] Can not get session value???

2002-04-02 Thread N.D. Andini
I use php4.0.5, OS : WIN2000, Webserver : Apache I want to use session to make global variable in file php.ini. I have set item below become enabled - register_globals - auto_start - use_trans_sid (to compiled with --enable-trans-sid) in my first file myfirst.php, I register session like bel

[PHP] Re: Remembering choices

2002-04-02 Thread Jamie Watt
That's exactly what sessions are for, check out http://www.php.net/manual/en/ref.session.php for more info about using sesions. > Hi, > I have a menu, where I would like to be able to store which link the user > last pressed. What is the best way of doing this? I thought about sessions, > but is

[PHP] Re: Really slow include

2002-04-02 Thread Jamie Watt
What you need to do is include the path to the file in relation to the file that is including it, this can be an absolute path or a relative path. Eg. Assuming the file is located in /www/foo/htdocs/foo/index_test.php and the include file is in /www/foo/htdocs/ Absolute path: require("/www/foo/h

[PHP] reading excel file

2002-04-02 Thread Tyler Longren
Hello List, Has anyone ever converted an excel file over to a MySQL database via PHP? I'm currently doing it with perl, and this isn't a very good option for me. The client needs to login to a server via ssh every time they want to put data from their excel file to mysql. I'd like to find some w

RE: [PHP] reading excel file

2002-04-02 Thread Jason Murray
> Has anyone ever converted an excel file over to a MySQL database > via PHP? I'm currently doing it with perl, and this isn't a very > good option for me. The client needs to login to a server via ssh > every time they want to put data from their excel file to mysql. > I'd like to find some w

Re: [PHP] reading excel file

2002-04-02 Thread Tyler Longren
Thanks Jason, that is a pretty good idea. Any idea how well PHP handles large ammounts of data like that? There'll be about 25,000 lines in every excel file, and they come in groups of 5 or 6. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Messag

RE: [PHP] reading excel file

2002-04-02 Thread Martin Towell
If it's possible, it probably better to deal with each line by itself, rather than try to load to whole file into memory. Martin -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:37 AM To: Jason Murray; php-general Subject: Re: [PHP] re

RE: [PHP] reading excel file

2002-04-02 Thread Jason Murray
> Thanks Jason, that is a pretty good idea. Any idea how well > PHP handles large ammounts of data like that? There'll be about > 25,000 lines in every excel file, and they come in groups of 5 or 6. I've rigged up an import script for similar functions before, it seems to run ok... it really

RE: [PHP] reading excel file

2002-04-02 Thread Jason Murray
> If it's possible, it probably better to deal with each line > by itself, rather than try to load to whole file into memory. Good point. Shared server admins probably hate me. ;) J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: session

2002-04-02 Thread Nate
Try establishing the variables first then register them as session variables. I guess you can't access the session variable directly so that may also mean you cannot set the session variable if you have nothing to actually put in it... : ) "R. Lindeman" <[EMAIL PROTECTED]> wrote in message [EMAI

Re: [PHP] Random number Question

2002-04-02 Thread Hiroshi Ayukawa
$guess = = $number is wrong. You should write: $guess == $number Regards, Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: preventing "back" button usage?

2002-04-02 Thread Justin French
Eric, Forgive me for coming in late on this... I haven't read the whole thread, but I'd start be saying that obviously JavaScript is not an option, and quite possible "asking them not to click the back button" is not an option either. I use the following theory on a single page form, but can't s

[PHP] php and cgi

2002-04-02 Thread Boris Wong
hi, i was wondering if anyone knows how i can execute a cgi script (with -rwxrwxrwx mode) written in perl from within php? i tried but the content of the cgi file is displayed instead of executing it. didn't help as well. i also tried calling the url where this cgi is located (which is in

[PHP] Mail - max_execution_time problem

2002-04-02 Thread Chris
I'm trying to use the mail() function to send mail to a mailing list and because of the junk mail problem of hotmail, I'm trying to send mail one by one. The problem of using this method is that it always exceed the max execution time of 30s before the script reaches end of parsing. I'm using a

RE: [PHP] php and cgi

2002-04-02 Thread Martin Towell
try exec() or back-ticks `` see how that goes Martin -Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: [PHP] php and cgi hi, i was wondering if anyone knows how i can execute a cgi script (with -rwxr

[PHP] Re: session

2002-04-02 Thread Nate
Opps ... sorry I jumped too soon at answering that.. But from what I can tell the header function is screwing you up probly because it is like a redirect. If you register session data I would think it would have to be sent in the header to the client.. Maybe a workaround would be to echo vb or jav

[PHP] HTML to PHP Links

2002-04-02 Thread G-no / |{iller
How would I make an "" link in php?? I'm using php nuke. -- -Alias: |{iller -Website: http://www.ai-syndicate.com -AIM:Prn2000Str -Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] i need mail lists

2002-04-02 Thread lixiaolong3456
¡°Öйú×ãÇò³öÕ÷2002ÄêÊÀ½ç±­Öйú×ãÇòЭ»áÖ¸¶¨ÍøÕ¾¡±ÕýʽÉÏÏß http://worldcup.sohu.com/ ËѺü½¹µãÐÂÎÅÌìÌìËÍ http://sms.sohu.com/ ËѺü»ÆÒ³µÇ½ÉϺ£Êг¡ http://114.sohu.com/

[PHP] php+java on freebsd

2002-04-02 Thread Ivan Voras
Can anyone tell me how to get java support for php working? I compiled apache with -pthread option, I properly configured php.ini (phpinfo() agrees), but I cannot overcome this: (the message appears as a PHP error when trying to create any java objects) Fatal error: Unable to load Java Library /

[PHP] Error Handling

2002-04-02 Thread Adam Voigt
At our web hosting facillity we have several developers (each who recieve a seperate email when an error occurs on the site there working on) and we would like to have extra data included in the log files which are written (such as the $_POST, $_GET, $_ENV, and $_SERVER arrays), this would help u

[PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
I got an email someone submitted through my web form. I've been using this form for a while, and it had always worked. It still works, but something new has popped up. If someone writes, "I'm available to meet with you anytime. We'll talk about our project." It appears as: I\'m available to meet

[PHP] Re: Problem reading in and displaying an image...

2002-04-02 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I'm trying to read in a 1x1 pixel file and display it, basically to assist > in setting 3rd party cookies (our other affiliated sites that don't follow > under the same domain.. it's really sloppily set up, but thats another > story)..

RE: [PHP] Mail function acting a bit differently

2002-04-02 Thread Martin Towell
stripslashes() should work - or set the magic quote thingy to off -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail function acting a bit differently I got an email someone submitted through my we

[PHP] simple question

2002-04-02 Thread Denis L. Menezes
Hello friends. I am able to add and query my database using php. I now wish to build webpages with textboxes and search the database with criteria from the textboxes. Can someone tell me the resources for building these pages? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
Hosted web, so option to turn on or off is up to the hosting company, not me. stripslashes what? $form = stripslashes($form); mail(...); or $form[message] = stripslashes($form[message]); mail(...); "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

RE: [PHP] Mail function acting a bit differently

2002-04-02 Thread Martin Towell
the latter - you can't stripslashes() an array - okay, you can, but you're going to get back the literal "Array" no, you'll have to do each one seperately. so: $form[message] = stripslashes($form[message]); mail(...); (personally, I put quotes around non-numerical indexes, but any

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, lmlweb wrote: > Hosted web, so option to turn on or off is up to the hosting company, not > me. Perhaps you can control it from a .htaccess file? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
I've answered myself, thanks all! It's definitely > $form[message] = stripslashes($form[message]); mail(...); "Lmlweb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hosted web, so option to turn on or off is up to the hosting company, not > me. > > stripsla

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
How can I do that - controlling via .htaccess? Pointing me to references would be good. TIA LML "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 2 Apr 2002, lmlweb wrote: > > Hosted web, so option to turn on or off is up to the hosting co

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread eric.coleman
Why not just do foreach($form as $key => $value) { $form[$key] = stripslashes($form[$key]); } Eric - Original Message - From: "lmlweb" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, April 02, 2002 11:04 PM Subject: Re: [PHP] Mail function acting a bit differently > I've answered myself

[PHP] KISGB Version 4.0.4 Released - PHP Guestbook

2002-04-02 Thread Gaylen Fraley
Version 4.0.4 of my Keep It Simple Guest Book (KISGB) has been released. Please refer to the history docs for changes. -- Gaylen PHP KISGB v4.0.4 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread Jason Wong
On Wednesday 03 April 2002 12:06, lmlweb wrote: > How can I do that - controlling via .htaccess? Pointing me to references > would be good. The manual is a good reference. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Remember: Silly is a state of Mind, Stupid is a way of Lif

[PHP] PHP that will help me color code, code; like C++ on a HTML page?

2002-04-02 Thread Michael Zornek
As you may see from the footer I run a dev site. I'm interested in finding some PHP that will help me show color syntax-ed code in html. like you could imagine a tutorial about Obj-C .. and code snippets. I'd like to have those snippets color coded for Obj-C syntax. anyone know if this is possib

RE: [PHP] PHP that will help me color code, code; like C++ on a HTML page?

2002-04-02 Thread Jason Murray
I think this might be what you're looking for: http://www.php.net/manual/en/function.highlight-string.php J -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Michael Zornek [mailto:[EMAIL PROTECTED]] > Sent: Wednesday,

RE: [PHP] reading excel file

2002-04-02 Thread Vail, Warren
If you are running your server on windows, you may also have the option of using COM to access Excel to open the file and read the information contained in each cell, See http://www.php.net/manual/en/ref.com.php Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891

[PHP] unlink failed - no such file or directory

2002-04-02 Thread Mi Misica
Hy , I’m trying to delete a file after I wrote in, and read it. I’m connected as $user in his home directory. The create and read are working. But for the delete is giving me as if the file not exist. What is wrong ? ( php3, apache) //create ok $mesg = « text « ; $file="ftp://$user:$pass@$serv

Re: [PHP] session

2002-04-02 Thread Tom Rogers
Hi You need session_start() on the retief.php page Tom At 05:06 AM 4/04/2002, R. Lindeman wrote: >okay i've posted something before here are my scripts either you tell me >what i do wrong or i'll go beserk > >you can check the outcome of the code on the following adress > >http://www.filenexus.co

Re: [PHP] php and cgi

2002-04-02 Thread Terry Carney
On Tue, 2 Apr 2002, Boris Wong wrote: > i was wondering if anyone knows how i can execute a cgi script > (with -rwxrwxrwx mode) written in perl from within php? > > i tried > > include ('mycgi.cgi'); > ?> This worked for me: ALthough I did use absolute paths in the cgi script. Regards, Te

[PHP] Evaluating php code.

2002-04-02 Thread Scott Houseman
Dear all. We are currently busy developing an online press application, which makes use of templates & renderers. The system works as follows template->renderer->renderer parameters. The renderer does business logic, making variables available for the template, which simply renderers the variable

[PHP] snmpget errors

2002-04-02 Thread Simon Stiefel
Hi there, First of all, the "snmpset"-function works without any problems. But I've got that problem with the "snmpget"-function. The return value is s.th. like that: Ôÿ¿EÔÿ¿. Cool, huh? The command-line "snmpget" works also very fine. Any hints? Thanks in advance. Greets, Simon -- PHP Gen

[PHP] odbc_pconnect doesnt reuse connection

2002-04-02 Thread Maris Kalnins
Hi! Configuration: WinXP, the latest Apache, PHP4 The problem is that every time the script runs and the following command is executed $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); it happens very often that a new connection is created instead of reusing the old one! Is there any idea w

[PHP] not about php... about server for php .. its apache question if anybody feelin like answering , thanks

2002-04-02 Thread Mantas Kriauciunas
Hey [EMAIL PROTECTED], Im new at this so i got some problems that i would like to solve. First i have Linux Debian 2.2.19 version running on my poor server :) and i installed apache web server...everything goes well... i can access peoples websites like this Http://localhost/~user/ but

[PHP] odbc_pconnect doesnt reuse connection

2002-04-02 Thread Maris Kalnins
Hi! Configuration: WinXP, the latest Apache, PHP4 The problem is that every time the script runs and the following command is executed $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); it happens very often that a new connection is created instead of reusing the old one! Is there any idea w

<    1   2