Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Marek Kilimajer
Jacob Friis Larsen wrote: Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/my

[PHP] RE: php vs. cgi app

2004-07-14 Thread Jason Barnett
Bruce, you need to start new threads when you ask a new question... a lot of people don't bother to check out a thread that's already got responses, and it really makes more logical sense to start a new one anyway (original post is below my response)... When you say cgi vs. php, I'm going to as

Re: [PHP] Dynamic to Static

2004-07-14 Thread raditha dissanayake
Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? The best example of this that I have seen is in the mediawiki software

[PHP] Re: Site Planning

2004-07-14 Thread Jason Barnett
Ee wrote: Can anyone point me to a good article about site planning before coding. I searched the net but couldn't find a good one? This question is too broad - as usual it depends on your needs. Ask a more specific question, or hire someone to plan out your site for you. -- PHP General Mailing

Re: [PHP] upload an image and store it in mysql

2004-07-14 Thread raditha dissanayake
I have php code that takes text input from a webpage and and stores it in a mysql data base. I tried uploading small images (jpg) using basically the same syntax but they don't make it into the data base. Does anyone know of a simple tutorial that shows how to do this? although I'm against

[PHP] Re: [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Ciprian Constantinescu
I think it would be better to use Apache facility of authentication through Mysq l "Michael T. Peterson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To protect certain web pages on my site, I am using the following code > inserted at the very beginning (top) of the page: > >

[PHP] Re: New object model

2004-07-14 Thread Jason Barnett
Troy S wrote: Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported? Thanks, Troy Although you can turn on zend engine 1 compatibility, if you intend to distribute your code you cannot expect this on most servers. Another wa

[PHP] Re: [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Jason Barnett
Hey Michael, I think you really only need to check the $_SESSION array, not necessarily each index. if (!isset($_SESSION)) { // login header('Location: ' . MEMBER_LOGIN_PAGE); } else { // session exists } However, if you want to have non-empty values for your session variables you should u

[PHP] Re: Dynamic to Static

2004-07-14 Thread Jason Barnett
Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed Hey Ed, there are a couple of ways that you can do it de

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2) 2.

RE: [PHP] Dynamic to Static

2004-07-14 Thread Edwards Jim
Hello Ed, We have used a combination of the following scripts on our site: /jim if ((filemtime("cache/$sidid") + 60) > time()) { $cachefile = fopen("cache/$sidid","r"); fpassthru($cachefile); exit(); } // start buffering the output ob_start(); // output format - either "www" or "file"

[PHP] Re: PHP5 Windows not built with Soap Enabled?

2004-07-14 Thread Sean Malloy
> checking the output of phpinfo() for the 5.0.0 binary from www.php.net, it > would seem there is no soap support built in at all. > > Or have I just not woken up today? I win the "You're a Dumb Ass" award for the day. "The SOAP extension isn't activated by default (PHP5 RC1). Just add "extensio

RE: [PHP] upload an image and store it in mysql

2004-07-14 Thread Ed Lazor
You're seeing raw data and need to specify the mime type with headers. Search the mailing list archive, there's a few example scripts in there. Just keep in mine that you need to create a separate script that handles the display of images. > Thanks, that seems to work. Although trying to ret

[PHP] [Newbie Guide] For the benefit of new members

2004-07-14 Thread Ma Siva Kumar
=== Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try htt

Re: [PHP] upload an image and store it in mysql

2004-07-14 Thread Five
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Five wrote: > > I have php code that takes text input from a webpage and and stores it in a mysql > > data base. > > I tried uploading small images (jpg) using basically the same syntax but they > > don't make it into

[PHP] Dynamic to Static

2004-07-14 Thread Ed Lazor
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed

[PHP] PHP5 Windows not built with Soap Enabled?

2004-07-14 Thread Sean Malloy
Am I the only one experiencing this: Fatal error: Class 'SoapClient' not found checking the output of phpinfo() for the 5.0.0 binary from www.php.net, it would seem there is no soap support built in at all. Or have I just not woken up today? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Google question

2004-07-14 Thread raditha dissanayake
Brian Dunning wrote: That's the documentation I was referring to. Are you sure? Like I said, I didn't see anything like that in there. using programs that do not use the google API to query google is against their terms of service. The Google API allows this sort of query. http://www.google.com

Re: [PHP] Re: using Cc: with mail()

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 10:02 PM, Curt Zirzow wrote: Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [EMAIL

Re: [PHP] Re: using Cc: with mail()

2004-07-14 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 07/14/2004 12:55 PM, Amanda Hemmerich wrote: > >Ok, I am trying to fix a bug on a site I didn't write, and I looked for > >examples on www.php.net and couldn't find what I needed. > > > >Here is the line of code in question: > > > >mail($email, "XXX - Con

RE: [PHP] Companies using PHP

2004-07-14 Thread Theisen, Gary
Just what I was looking for...thanks Chris! -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 5:28 PM To: Theisen, Gary; '[EMAIL PROTECTED]' Subject: Re: [PHP] Companies using PHP --- "Theisen, Gary" <[EMAIL PROTECTED]> wrote: > I'm trying

Re: [PHP] Companies using PHP

2004-07-14 Thread Chris Shiflett
--- "Theisen, Gary" <[EMAIL PROTECTED]> wrote: > I'm trying to locate an up to date list (at least sometime in 2004), > that lists major companies (i.e. like Yahoo) that utilize PHP for their > website (or at least part of their website). I've google'd and searched > php.net to no success. I'm not

[PHP] Re: using Cc: with mail()

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 12:55 PM, Amanda Hemmerich wrote: Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
I also try by php cli is just work fine and tht by terminal but when I try from net its not work please give me a hand this command work fine from terminal php -f /home/hrrajco/public_html/test/test.php but from php file named test2.php is not work fine Please give me a hand - Original Messag

[PHP] Companies using PHP

2004-07-14 Thread Theisen, Gary
Hi all, I'm trying to locate an up to date list (at least sometime in 2004), that lists major companies (i.e. like Yahoo) that utilize PHP for their website (or at least part of their website). I've google'd and searched php.net to no success. Thanks, Gary

[PHP] Re: Simple POP3 mailbox checker script

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 07:24 AM, I.A. Gray wrote: Is there are a simple way of checking quickly using PHP: 1) How many email messages on a POP3 mailbox 2) How many new email messages on a POP3 mailbox 3) The amount of memory in Kb or Mb used up on the POP3 mail box I want to be able to

[PHP] Re: Google question

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 03:27 PM, Brian Dunning wrote: Does anyone know a way to programmatically determine if a given URL is already in Google's index? I don't see anything like this in their documentation. Thanks, You can search for info:http://www.somedomain.com/somepage.html . To do it programat

Re: [PHP] [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Justin Patrin
Just a quick comment. It's recommended to use $_SESSION instead of $HTTP_SESSION_VARS, $_POST instead of $HTTP_POST_VARS, etc. Look at the docs about superglobals for more. On Wed, 14 Jul 2004 16:18:14 -0700, Michael T. Peterson <[EMAIL PROTECTED]> wrote: > To protect certain web pages on my site,

[PHP] [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Michael T. Peterson
To protect certain web pages on my site, I am using the following code inserted at the very beginning (top) of the page: ... Dreamweaver template code here... Is this a recommended way of doing this? Next, to initialize the session, a login page posts the username - password information to

Re: [PHP] upload an image and store it in mysql

2004-07-14 Thread John W. Holmes
Five wrote: I have php code that takes text input from a webpage and and stores it in a mysql data base. I tried uploading small images (jpg) using basically the same syntax but they don't make it into the data base. Does anyone know of a simple tutorial that shows how to do this? although I'm ag

[PHP] upload an image and store it in mysql

2004-07-14 Thread Five
I have php code that takes text input from a webpage and and stores it in a mysql data base. I tried uploading small images (jpg) using basically the same syntax but they don't make it into the data base. Does anyone know of a simple tutorial that shows how to do this? -- PHP General Mailing Li

[PHP] Re: New object model

2004-07-14 Thread Ben Ramsey
Troy S wrote: Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported? I believe this is possible with the following setting in php.ini: zend.ze1_compatibility_mode = On This should turn on PHP5's backwards compatibility with PHP

[PHP] New object model

2004-07-14 Thread Troy S
Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported? Thanks, Troy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] shuffle

2004-07-14 Thread Curt Zirzow
* Thus wrote Edward Peloke: > it is strange... > > if I do this: > > function nextRecord(){ > $this->[EMAIL PROTECTED]($this->queryID); Don't use the @ sign, it is bad practice. > $test=$this->record; > echo $test; I'm not sure what this is for. > > $status=is_array($this->record); > return

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-14 Thread Chirag Shukla
// here is the date. We wont worry about the time. $processdate = "07/04/2004 14:45"; What about different formats like 07-04-2004 14:45:00 ...You have a good point, Curt. We could modify the code just a little bit for the same then. Instead of exploding with "/", we may opt for

RE: [PHP] shuffle

2004-07-14 Thread Edward Peloke
I didn't try that but it works great...thanks! -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 3:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] shuffle "Edward Peloke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > it is stra

Re: [PHP] Google question

2004-07-14 Thread Greg Donald
On Wed, 14 Jul 2004 12:30:30 -0700, Brian Dunning <[EMAIL PROTECTED]> wrote: > That's the documentation I was referring to. Are you sure? Like I said, > I didn't see anything like that in there. I found the docs in the API download iirc. It says "After you download the kit, simply unzip it and o

[PHP] Site Planning

2004-07-14 Thread EE
Can anyone point me to a good article about site planning before coding. I searched the net but couldn't find a good one? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] shuffle

2004-07-14 Thread Torsten Roehr
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > it is strange... > > if I do this: > > function nextRecord(){ > $this->[EMAIL PROTECTED]($this->queryID); > $test=$this->record; > echo $test; > > $status=is_array($this->record); > return ($status); > } > > "Array" is ec

RE: [PHP] shuffle

2004-07-14 Thread Edward Peloke
it is strange... if I do this: function nextRecord(){ $this->[EMAIL PROTECTED]($this->queryID); $test=$this->record; echo $test; $status=is_array($this->record); return ($status); } "Array" is echoed for $test so I know it is an array but if I add this: shuffle($test); I get the warning that

RE: [PHP] Re: shuffle

2004-07-14 Thread Edward Peloke
yep, that causes nothing to be returned. -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: shuffle "Edward Peloke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using a db

Re: [PHP] Google question

2004-07-14 Thread Brian Dunning
That's the documentation I was referring to. Are you sure? Like I said, I didn't see anything like that in there. On Jul 14, 2004, at 12:13 PM, Greg Donald wrote: On Wed, 14 Jul 2004 11:27:09 -0700, Brian Dunning <[EMAIL PROTECTED]> wrote: Does anyone know a way to programmatically determine if a

RE: [PHP] Re: using the mssql functions on a linux server

2004-07-14 Thread Michael Sims
Skippy wrote: >> Is this the only way around it? Can I get to mssql without using >> the mssql extension? > > I don't think so. Plus, the entire setup is a bit complicated and you > need FreeTDS as well as UnixODBC installed, plus some /etc > configuration "magic". Why is UnixODBC necessary? I'v

Re: [PHP] Google question

2004-07-14 Thread Greg Donald
On Wed, 14 Jul 2004 11:27:09 -0700, Brian Dunning <[EMAIL PROTECTED]> wrote: > Does anyone know a way to programmatically determine if a given URL is > already in Google's index? I don't see anything like this in their > documentation. Thanks, The Google API allows this sort of query. http://www

Re: [PHP] Re: using the mssql functions on a linux server

2004-07-14 Thread Skippy
On Mon, 12 Jul 2004 14:54:15 -0400 [EMAIL PROTECTED] (Edward Peloke) wrote: > Is this the only way around it? Can I get to mssql without using the mssql > extension? I don't think so. Plus, the entire setup is a bit complicated and you need FreeTDS as well as UnixODBC installed, plus some /etc co

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
I've been trying to do that all afternoon Torsten. Had the browser page sat there for a few hours now, only just got time to read it. -- - Michael Mason Arras People www.arraspeople.co.uk - "Torsten Roehr" <[EMAIL PROTECTED]> wrote in

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
I just edit php.ini and increase it to 200 its not work any suggestion does apache effect ? cuz its Usage memory limitid to 98M - Original Message - From: "Alawi albaity" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 14, 2004 8:55 PM Subject: Re: [PHP] PHP JAVA Error on

[PHP] Re: [mysql]Problem with PHP5

2004-07-14 Thread Ben Ramsey
Ciprian Constantinescu wrote: I have installed PHP5 and i get the following error from a script that was working on PHP4 "Fatal error: Call to undefined function mysql_pconnect() in D:\htdocs\cdalex\Connections\listacon.php on line 9 " MySQL is no longer embedded in PHP, as of PHP 5. Depending on

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
[snip] > ... > $block=new Block($header,$content,$link,$andsuch); > $block->display(); > ... [/snip] That's very cool... Thank you... alex hogan * The contents of this e-mail and any files transmitted with it a

Re: [PHP] php .vs cgi app..

2004-07-14 Thread Ciprian Constantinescu
As I know, if you run PHP as a module for Apache is faster than running as CGI. Also Python scripts can be run as a module(faster) or as CGI. The main disadvantage for Python as a module is that you don't get all the facilities of CGI. -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] Google question

2004-07-14 Thread bruce
brian... there are a number of ways you can do this... you can easily write a script/app in perl (i'm assuming that php provides something similar...) that allows you to contact the google url, and submit your "target url" as a query in the google submit. you can then easily parse the results to s

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-14 Thread Jamie
> The problem is that this HTTPS variable is not a standard variable > that has been defined. > > Apache's SSL module will only set *a* value to HTTPS if in https is > being used. The value it sets just so happens to be 'on' > > Windows servers (versions unkown) will set 'on' or 'off. > > Other se

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
Hi Alex, In that case, make your include file local; don't use the URL, use a relative path to the file. Make the include file have a function you can call or be an object you can instantiate. ex: block.php ... direct html output here ... and a variable output such as and some more html, blah b

[PHP] [mysql]Problem with PHP5

2004-07-14 Thread Ciprian Constantinescu
I have installed PHP5 and i get the following error from a script that was working on PHP4 "Fatal error: Call to undefined function mysql_pconnect() in D:\htdocs\cdalex\Connections\listacon.php on line 9 " -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

[PHP] Re: shuffle

2004-07-14 Thread Torsten Roehr
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using a db class which has the following method for cycling through the > records > > function nextRecord(){ > $this->[EMAIL PROTECTED]($this->queryID); > $status=is_array($this->Record); Hi Edward, first you are u

[PHP] Google question

2004-07-14 Thread Brian Dunning
Does anyone know a way to programmatically determine if a given URL is already in Google's index? I don't see anything like this in their documentation. Thanks, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
Thanks James, > I'm going on the assumption that since you're using a URL > parameter in the include, you have fopen_wrappers enabled, Yes > and the URL is external to your current site. Otherwise you'd > just be doing a file system based include. No, the url is on my site... I have a file

RE: [PHP] php .vs cgi app..

2004-07-14 Thread Vail, Warren
This is one of those questions that will get lot's of different answers depending on your responders perspective. This is my view; PHP can be executed as a CGI or as a MOD by Apache (or most web servers). This means that Apache can load a fresh copy of PHP with each browser request to the server

[PHP] Re: problem with forms

2004-07-14 Thread Torsten Roehr
>"Luká¹ moravec - ptv servis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >Hi to all, >I have problem with forms in IIS on WIN2K and PHP 5.0 (locally). >When I´m trying to send some data from HTML form to a PHP script I >received an error, that variables are not defined. >thank You

[PHP] shuffle

2004-07-14 Thread Edward Peloke
I am using a db class which has the following method for cycling through the records function nextRecord(){ $this->[EMAIL PROTECTED]($this->queryID); $status=is_array($this->Record); return ($status); } where queryID is set by running the query. It works fine and I can run it as follows $sql->q

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
Hi Alex, I'm going on the assumption that since you're using a URL parameter in the include, you have fopen_wrappers enabled, and the URL is external to your current site. Otherwise you'd just be doing a file system based include. I'm not certain if PHP is clipping the parameters. Though I would

[PHP] problem with forms

2004-07-14 Thread Lukáš Moravec - PTV Servis
Hi to all, I have problem with forms in IIS on WIN2K and PHP 5.0 (locally). When I´m trying to send some data from HTML form to a PHP script I received an error, that variables are not defined. thank You

Re: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Torsten Roehr
> > -Original Message- > > have you tried storing your session data in a database? Storing session > > data > > in a database has some advances over the standard file based solution, > > mainly data security und comfort. For example, if you want to get the > > number > > of the active sessi

[PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
Hi All, Is there a limit to the number of url parameters(other than the 256 limit) that you can have on a file that you are including? I have a file that I'm calling.., include('http://mydomain.com/block_display.php?id=1&ttl=1011&cnt=268&lnk =129&prv=202'); where the parameter values are record s

RE: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Ed Lazor
> -Original Message- > have you tried storing your session data in a database? Storing session > data > in a database has some advances over the standard file based solution, > mainly data security und comfort. For example, if you want to get the > number > of the active sessions just do

[PHP] php .vs cgi app..

2004-07-14 Thread bruce
hi.. a really general/basic question... what is the difference between a "cgi" app and a php app.. does it really come down to where the app is being run from.. i mean within apache, if i specify that php/perl/etc... app resides at a given location, and that files with a certain extension are to

[PHP] example to give privs on packages instead of give privs directly on table to user to be better DB Security

2004-07-14 Thread Raúl Castro
In Oracle, a stored procedure executes under the owners identity, not under the identity of the caller. Therefore I have knowed that many applications use packages to execute insert, update, select, delete statements instead of give user privileges directly on table. I'm creating a web applicati

[PHP] PHP5 for Fedora Core 2

2004-07-14 Thread C.F. Scheidecker Antunes
Hello all, Are there any pre compiled rpm packages from Fedora Core 2 yet? If not, I will most likely built it myself. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Anyone knows when PHP5 is released?

2004-07-14 Thread abrea
Congratulations and good luck to the PHP 5.0.0 team!! Alberto Brea -Original Message- From: "John W. Holmes" <[EMAIL PROTECTED]> To: Ben Ramsey <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Date: Tue, 13 Jul 2004 18:44:06 -0400 Subject: Re: [PHP] Re: Anyone knows when PHP5 is released? > Ben

[PHP] Re: MCAL Function

2004-07-14 Thread Torsten Roehr
"Harlequin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'll have a look at that Torsten, thanks. > > Can a "user" create their own entries then...? I guess you'll have to create the admin frontend/backend yourself. The package is mostly for presenting/displaying calender data.

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
I'll have a look at that Torsten, thanks. Can a "user" create their own entries then...? -- - Michael Mason Arras People www.arraspeople.co.uk - "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Harlequin" <[

Re: [PHP] using Cc: with mail()

2004-07-14 Thread Eric Schwartz
On Wed, 14 Jul 2004 10:55:18 -0500 (EST), Amanda Hemmerich <[EMAIL PROTECTED]> wrote: > Ok, I am trying to fix a bug on a site I didn't write, and I looked for > examples on www.php.net and couldn't find what I needed. > > Here is the line of code in question: > > mail($email, "XXX - Conference R

[PHP] Re: using Cc: with mail()

2004-07-14 Thread Richard Davey
Amanda Hemmerich wrote: Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [EMAIL PROTECTED]" . "Cc:[EMAIL

Re: [PHP] using Cc: with mail()

2004-07-14 Thread Curt Zirzow
* Thus wrote Amanda Hemmerich: > Ok, I am trying to fix a bug on a site I didn't write, and I looked for > examples on www.php.net and couldn't find what I needed. > > Here is the line of code in question: > > mail($email, "XXX - Conference Registration Confirmation", $message, > "From: [EMAIL PR

Re: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Justin Patrin
..sessions are easier IMHO On Wed, 14 Jul 2004 16:40:33 +0100, Harlequin <[EMAIL PROTECTED]> wrote: > I am using PHP sessions for my site. Have done the numbers and have to agree > that although cookies make life easier for the developer the whole reason > for cookies is to make life easie

[PHP] Re: MCAL Function

2004-07-14 Thread Torsten Roehr
"Harlequin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OK, OK "on-line"...! > > -- > - > Michael Mason > Arras People > www.arraspeople.co.uk > - > "Harlequin" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

Re: [PHP] PHP on MAC

2004-07-14 Thread Geethanandh Kandasamy
You should not comment, if you do so you cant start apache at all I wonder why the tutorial say that -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
OK, OK "on-line"...! -- - Michael Mason Arras People www.arraspeople.co.uk - "Harlequin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It appears that PHP can create on-pine calendars...? > > I'm looking for tutorials but

[PHP] using Cc: with mail()

2004-07-14 Thread Amanda Hemmerich
Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [EMAIL PROTECTED]" . "Cc:[EMAIL PROTECTED]; [EMAIL PRO

Re: [PHP] PHP on MAC

2004-07-14 Thread Jeff Williams
> PHP is already installed. If you want the latest 4.x series, use the > entropy installer. If you want PHP 5 you will have to build it > yourself from source. I have recently done that, I found this article > useful in doing so: > > http://www.phpmac.com/articles.php?view=177 Any idea why the HF

RE: [PHP] get_browser and $_SERVER info from an IFRAME[Scanned]

2004-07-14 Thread Michael Egan
I can understand why somebody would want to capture the information in this way. There are a lot of hosting companies which offer packages that don't necessarily include such stats. I might be wrong - I frequently am :-( - but is it also not the case that by tying this information into session

Re: [PHP] Session Variables ~ Best Practices

2004-07-14 Thread Harlequin
thanks Jay. -- - Michael Mason Arras People www.arraspeople.co.uk - "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I am also wondering if I need to declare all my variables one after the other or can I

Re: [PHP] Cannot build ext/mysql together with ext/mysqli and apache2

2004-07-14 Thread Curt Zirzow
I'm not sure why you started a whole new thread on this.. * Thus wrote Jacob Friis Larsen: > I can only make it work, when not compiling php as > a module. > > This works: > ./configure --disable-all --with-mysqli=/usr/bin/mysql_config > --with-mysql=/usr/include/mysql It works because nothing w

RE: [PHP] get_browser and $_SERVER info from an IFRAME[Scanned]

2004-07-14 Thread Michael Egan
As Richard Davey has pointed out - there is no reason why your approach in itself would cause the error message you are getting. I did a similar thing with a site I created and was plagued with similar error messages but the problem wasn't due to sessions but due to the way in which I tried to

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Harlequin
I am using PHP sessions for my site. Have done the numbers and have to agree that although cookies make life easier for the developer the whole reason for cookies is to make life easier for the browser. We have to accept that not all users can interrogate a cookie download and verify if the site i

[PHP] MCAL Function

2004-07-14 Thread Harlequin
It appears that PHP can create on-pine calendars...? I'm looking for tutorials but no joy. Can anyone point me in the right direction...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP General Mailing List (http://www.p

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Curt Zirzow
* Thus wrote Jacob Friis Larsen: > How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. 2. Follow instructions at http://php.net/mysql, using the path to your mysql4.1 library 3. Tweak your my.cnf so the mysqlclient look at the right

Re: [PHP] get_browser and $_SERVER info from an IFRAME

2004-07-14 Thread raditha dissanayake
I.A. Gray wrote: Hi, I have a php webstats script that puts info into a MYSQL database. I include it at the top of each page that I have. But is it really needed? surely a web log analyser is more efficient . If your hosting company does not provide you access to raw log files you are being ri

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread raditha dissanayake
Alawi albaity wrote: Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php & give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap What exactly are you

Re: [PHP] how to enable utf-8 in php?

2004-07-14 Thread Michal Migurski
> PHP seems to handle all strings as ISO-8859-1 by default. How can I tell > PHP to work with strings in UTF-8 format? This is important for sorting > and e.g. htmlentities(). Needs to be compiled in: http://php.net/manual/en/ref.mbstring.php Also available: http://php.net/manual/

[PHP] messag length error

2004-07-14 Thread André Cupini
Hi folk's, (sorry my poor English)   I'm working with a stored procedure. The procedure works fine. But when i execute the procedure in the php script, despiste also works, i get this warning: Warning: ibase_query(): message length error (encountered 0, expected 8) Anybody know why this w

[PHP] Re: $_POST v4.3 to v5.0

2004-07-14 Thread Richard Davey
Michael Purdy wrote: echo '
'; echo '

Input a Test Variable

'; echo '

'; echo '
'; Is there a particular re

[PHP] Re: get_browser and $_SERVER info from an IFRAME

2004-07-14 Thread Richard Davey
I.A. Gray wrote: I have a php webstats script that puts info into a MYSQL database. I include it at the top of each page that I have. I recently put a php built forum (PHPBB) on our website and wanted to include the php script at the top of that. Unfortunately as it already uses sessions, I kept

Re: [PHP] $_POST v4.3 to v5.0

2004-07-14 Thread Justin Patrin
What are the php.ini settings for error_reporting for both of these? A difference in the error reporting could be causing those notices. On Wed, 14 Jul 2004 23:17:01 +1000, Michael Purdy <[EMAIL PROTECTED]> wrote: > Folks > > I appreciate the answers received previously in relation to my 4,3 to 5

[PHP] get_browser and $_SERVER info from an IFRAME

2004-07-14 Thread I.A. Gray
Hi, I have a php webstats script that puts info into a MYSQL database. I include it at the top of each page that I have. I recently put a php built forum (PHPBB) on our website and wanted to include the php script at the top of that. Unfortunately as it already uses sessions, I kept on getting

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Justin Patrin
Except that sessions rely on data being passed to and from the client, usually in a cookie. You can do it yourself by passinf the SID manually or using trans sid, but cookies are the normal way to keep the session working. On Wed, 14 Jul 2004 00:10:17 -0700, Dennis Seavers <[EMAIL PROTECTED]> wrot

Re: [PHP] Re: Simple POP3 mailbox checker script

2004-07-14 Thread Torsten Roehr
"I.A. Gray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks- I will take a look. But (sigh) my hosting company doesn't have > PEAR. Sob, sob... You can use your own copy of PEAR. Either install it locally and then upload it to your web space or just unzip the archives (packa

[PHP] how to enable utf-8 in php?

2004-07-14 Thread Marten Lehmann
Hello, PHP seems to handle all strings as ISO-8859-1 by default. How can I tell PHP to work with strings in UTF-8 format? This is important for sorting and e.g. htmlentities(). Regards Marten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST v4.3 to v5.0

2004-07-14 Thread Geethanandh Kandasamy
I wonder why do you need try without that On Wed, 14 Jul 2004 23:17:01 +1000, Michael Purdy <[EMAIL PROTECTED]> wrote: > Folks > > I appreciate the answers received previously in relation to my 4,3 to 5.0 question > regarding $_REQUEST $_POST etc.. > > Unfortunately I am still no further ad

Re: [PHP] Simple POP3 mailbox checker script

2004-07-14 Thread Aaron Wormus
http://phpmag.net/itr/kolumnen/psecom,id,5,nodeid,207.html There are some examples of how to use PEAR::Net_POP3 to do what you want in the above article. Aaron I.A. Gray wrote: Jason Wong said [With your posting style you successfully torpedoed this useful feature; your posting shows up within an

  1   2   >