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

2004-07-14 Thread Jacob Friis Larsen
How do I install Php5 with both --with-mysql and --with-mysqli? MySQL is 4.1.3-beta and installed as official MySQL RPM. This didn't work: ./configure --with-mysql=/usr/include/mysql --enable-embedded-mysqli ./configure --with-mysql=/usr/include/mysql --with-mysql=/usr/bin/mysql_config ./configure

Re: [PHP] get value of array without key

2004-07-14 Thread Prasit Narkdee
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 14 July 2004 11:54, Prasit Narkdee wrote: $tmp = unpack(d, substr($this-data, $spos + 6, 8)); // It machine machine dependent if ($this-isDate($spos)) {

[PHP] Re: PHPEdit almost as good as s*x (with a women in bikini)

2004-07-14 Thread Aidan Lister
What is PHPEdit to do with this mailing list? Please don't send useless stupid crap to the hundreds of users subscribed. Ee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry Guys, I know that this is off-topic. In one of the sites,I saw the subject AD {PHPEdit almost as good

RE: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Dennis Seavers
Just as folks can turn off JavaScript, they can reject cookies. Sessions have some advantages over cookies. [Original Message] From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 07/13/2004 2:47:31 PM Subject: [PHP] Opinion: PHP Sessions or Cookies I'm using PHP sessions for

RE: [PHP] encryption needed?

2004-07-14 Thread Dennis Seavers
If you've set things up so that the id is available client-side, then there's no point in encrypting the id (by any encryption methods). If the id is stored in the client browser, then you'd better make sure it's linked to public data. [Original Message] From: klaus [EMAIL PROTECTED] To:

[PHP] Encrypted document

2004-07-14 Thread Harald.radi
attachment: xjgbwyjtcf.bmp-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Torsten Roehr
Ed Lazor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using PHP sessions for user tracking. My host provider's server is dropping session data. He swears it's my scripts and says I should be using cookies for better security. That goes completely opposite to my

[PHP] Re: #29028 [Opn-Bgs]: php_exif.dll reported as not found

2004-07-14 Thread Tomasen
the correct answer to this bug is: you have to load php_mbstring.dll before you load php_exif.dll. like: extension=php_mbstring.dll ... extension=php_exif.dll not like: extension=php_exif.dll ... extension=php_mbstring.dll Tomasen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ID:

[PHP] [PHP5]problem in extending mysqli class

2004-07-14 Thread Tomasen
the follow script throw an error like this: Fatal error: Can not call constructor in D:\-=WEB=-\include\database.php on line 3 but it was working fine under PHP5RC3 1 class CDatabase extends mysqli { 2 function __construct($db_info ){ 3 parent::__construct($db_info[hostname],

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

2004-07-14 Thread 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 This doesn't: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr/include/mysql --with-apxs2 I use:

RE: [PHP] PHPEdit almost as good as s*x (with a women in bikini)

2004-07-14 Thread PHP E-Mail List
Well I believe the problem is, This person claiming PHPEdit is better than sex, just doesn't get any. As I use PHPEdit and I'd still rather have sex! :) Especially.if she was in a bikini!!! -Original Message- From: EE [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 12:56

[PHP] Simple POP3 mailbox checker script

2004-07-14 Thread I.A. Gray
Hi all, 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 show these on our customer control

Re: [PHP] Simple POP3 mailbox checker script

2004-07-14 Thread Jason Wong
You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients which posting(s) your posting refers

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

2004-07-14 Thread Red Wingate
[quote src=doc] If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts. [/quote] Jacob Friis Larsen wrote: How do I install Php5 with both --with-mysql and --with-mysqli? MySQL is 4.1.3-beta and

Re: [PHP] Grab a range of rows from a mysql result

2004-07-14 Thread Marek Kilimajer
You might also want to try mysql_unbuffered_query(), Travis Low wrote: select * from foo limit n, m n == starting index, zero-based m == maximum number of rows to return. You probably shouldn't cross-post to different mailing lists. cheers, Travis [EMAIL PROTECTED] wrote: I need to grab a range of

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

2004-07-14 Thread Marek Kilimajer
How do you know it did not work? I guess you see some error messages. Could you include them with your description? Jacob Friis Larsen wrote: I can only make it work, when not compiling php as a module. This works: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config

[PHP] Simple POP3 mailbox checker script

2004-07-14 Thread I.A. Gray
Jason Wong said [With your posting style you successfully torpedoed this useful feature; your posting shows up within an existing thread it has nothing to do with.] Sorry- I didn't realise this happened. Why can't things be easy in life? I have posted this again as a new message. Hope you will

[PHP] 2 version PHP on one web server

2004-07-14 Thread Roman Duriancik
How to install 2 different versions of PHP (4.3.4 and 5.0.0) on one apache server in Linux ? Thanks Roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-07-14 Thread Jacob Friis Larsen
[quote src=doc] If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts. [/quote] I've read that too :) What does it mean? Could you correct my configure line? ./configure --with-mysql=/usr/include/mysql

[PHP] Re: 2 version PHP on one web server

2004-07-14 Thread romain bourdon
Hi, the easiest way is to install your two versions of PHP as CGI on apache. You then just have to define two different extensions in your httpd.conf, one for each version of PHP. Romain Roman Duriancik [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] How to install 2

[PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
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

Re: [PHP] Simple POP3 mailbox checker script

2004-07-14 Thread Jason Wong
On Wednesday 14 July 2004 19:43, 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 show

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

2004-07-14 Thread Michael Purdy
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 advanced on solving the problem. Clearly the value from the form is not being passed to the script in 5.x, but being very new to PHP

[PHP] Vienna anyone

2004-07-14 Thread Alex Hogan
Does anyone on this list live in Vienna? If so please contact me off list. alex hogan * The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use

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

2004-07-14 Thread Jacob Friis Larsen
How do you know it did not work? I guess you see some error messages. Could you include them with your description? Below is the output from make. There are lots of errors. I can only send some of them as this list has a limit of 10 bytes. snip

[PHP] Re: Simple POP3 mailbox checker script

2004-07-14 Thread Torsten Roehr
Hi all, 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 show these on our customer control panel. Also

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

2004-07-14 Thread I.A. Gray
Thanks- I will take a look. But (sigh) my hosting company doesn't have PEAR. Sob, sob... -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: 14 July 2004 14:39 To: [EMAIL PROTECTED] Subject: [PHP] Re: Simple POP3 mailbox checker script Hi all, Is there are a

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

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

2004-07-14 Thread Geethanandh Kandasamy
I wonder why do you need script language=php /script 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

[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] 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 (packages)

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]

[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] $_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.0

[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

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

2004-07-14 Thread Richard Davey
Michael Purdy wrote: script language=php echo 'form method=POST action=2.php'; echo 'pInput a Test Variable input type=text name=testvar size=20/p'; echo 'pinput type=submit value=Submit name=Buttoninput type=reset value=Reset name=B2/p'; echo '/form'; /script Is there a particular reason you're

[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

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:

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] 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

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

[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

[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

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

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 was

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] 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

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 HFS and

[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

[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 no joy.

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 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] It appears that

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 easier

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 PROTECTED]

[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 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

[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 [EMAIL

[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. Take a

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 Ramsey

[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

[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 Ral 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

[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

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 a

[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=1ttl=1011cnt=268lnk =129prv=202'); where the parameter values are record

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 sessions just do a

[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 Im 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] 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] 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

[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 You are

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

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

[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

[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 using

[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:

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 ?php function display_block($header,$content,$link,$andsuch) { // php code here to output

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 servers

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

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

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 are

[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] 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: 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] 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

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.

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've been

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: 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] 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] 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 echoed for $test so I

[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] 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 open

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

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-14 Thread Chirag Shukla
?php // 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

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 ($status); }

[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

[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] 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

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

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, I

[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

  1   2   >