Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Rasmus Lerdorf
Robert Cummings wrote: > On Tue, 2005-07-19 at 22:10, Jason Wong wrote: > >>On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: >> >> >>>Which is? If its: >> >>Yep. >> >> >>>; at function call time. This method is deprecated and is likely to be >>>; unsupported in future versions of PHP/Zen

[PHP] Re: still some problems with contact form

2005-07-19 Thread Bruce Gilbert
thanks, makes some sense. so now where I have echo, I should have print? or just leave as echo and add the else and ||? Could you provide some sample code based on the code I posted previously by chance?? being new to PHP I am sure I will run into errors for a few days, as is... that would help

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Robert Cummings
On Tue, 2005-07-19 at 22:10, Jason Wong wrote: > On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: > > > Which is? If its: > > Yep. > > > ; at function call time. This method is deprecated and is likely to be > > ; unsupported in future versions of PHP/Zend. The encouraged method of >

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Marc G. Fournier
On Wed, 20 Jul 2005, Jason Wong wrote: On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: Which is? If its: Yep. ; at function call time. This method is deprecated and is likely to be ; unsupported in future versions of PHP/Zend. The encouraged method of ; specifying which argumen

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: > Which is? If its: Yep. > ; at function call time. This method is deprecated and is likely to be > ; unsupported in future versions of PHP/Zend. The encouraged method of > ; specifying which arguments should be passed by reference is i

Re: [PHP] My Project

2005-07-19 Thread Robert Cummings
On Tue, 2005-07-19 at 21:46, Jochem Maas wrote: > Matt Darby wrote: > > George B wrote: > > > >> Jay Blanchard wrote: > >> > >>> [snip] > >>> $money -= 10; > >>> > >>> saves some chars ;) > >>> [/snip] > >>> > >>> This actually requires two trips to the database, once to get $money and > >>> once

Re: [PHP] still some problems with contact form

2005-07-19 Thread James
This is what you have done if(something happens) { print error; } print thanks for sending the form! So basically you are printing the error and then thanking them. You need to include an ELSE bracket. Like so.. if(this error || that error || some other error) { print error; } else { /

Re: [PHP] My Project

2005-07-19 Thread Jochem Maas
Matt Darby wrote: George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `my

Re: [PHP] My Project

2005-07-19 Thread Matt Darby
George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`

Re: [PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chris
You didn't send the questionto the list... I have no idea. Chris Chuck Carson wrote: Using ocilogon, I get this error: Warning: ocilogon() [function.ocilogon]: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /usr/local/apache2/htdocs/oratest.php on line 2 Can anyo

[PHP] Mail Function

2005-07-19 Thread Cabbar Duzayak
Hi, I have a web site that is going to have around total of 10-20 thousand unique users, about 1000 unique hits per day on shared hosting. I have been using PHP's internal mail mechanism with the local smtp server on my hosting company, but it is more like a hit-and-miss kind of thing. And, there

Re: [PHP] My Project

2005-07-19 Thread Mikey
George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Marc G. Fournier
yOn Wed, 20 Jul 2005, Jason Wong wrote: On Tuesday 19 July 2005 23:17, Marc G. Fournier wrote: Just upgraded to 4.4.0 ... several "legacy applications" that we have installed now break with the above error message ... specifically, older installs of Horde, but I've seen reports of other apps ..

Re: [PHP] My Project

2005-07-19 Thread George B
Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10) WHERE `myChara

[PHP] PHP is occasionally seg faulting

2005-07-19 Thread Chuck Carson
Im running php 5.0.4 with oracle 10g on Solaris 9 and apache 2.0.54. (I built with --with-oci8 so I am using the OCI stuff) I have a simple test page that does "select username from dba_users" and merely prints each username to the browser. It will work 1 time or sometimes 2 but then subsequent ca

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread eoghan
On 20 Jul 2005, at 02:22, Linda H wrote: fahreheit is here: The error was on the line: $fahr = $_GET['fahrenheit']; try: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Mikey
Linda H wrote: Where is fahrenheit? change the input name... fahreheit is here: The error was on the line: $fahr = $_GET['fahrenheit']; Linda Have you checked that the name is spelt correctly in your HTML form? I (and this is jus a preference) do: $var = (isset ($_GET['var'])) ? $_G

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Where is fahrenheit? change the input name... fahreheit is here: The error was on the line: $fahr = $_GET['fahrenheit']; Linda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Where is fahrenheit? change the input name... fahreheit is here: The error was on the line: $fahr = $_GET['fahrenheit']; Linda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread eoghan
On 20 Jul 2005, at 02:01, Linda H wrote: But when execute the code above I get an error: Notice: Undefined index: fahrenheit in C:\Program Files\Apache Group\Apache2\htdocs \. Where is fahrenheit? change the input name... Eoghan -- PHP General Mailing List (http://www.php.net/) To

[PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Hi, I'm trying to code a form that will call itself. The first time it is called (by a link), it should display the empty form. If it was called by a submit to itself, it will validate and then process or re-display the form if it didn't pass validation. In Programing PHP I found a technique

[PHP] still some problems with contact form

2005-07-19 Thread Bruce Gilbert
Hello, on my web site contact form: http://www.inspired-evolution.com/Contact.php I am still having a few problems with the return results after filling out the form. Basically I am wanted to return an error msg. when all of the required fields are not filled out (those with a red *), and an inv

Re: [PHP] My Project

2005-07-19 Thread Marek Kilimajer
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you'v

[PHP] Re: What is this?

2005-07-19 Thread George B
George B wrote: How is this possibly not working? $money = $_GET ['money']; $money = $money -3 echo $money; oops nvm i forgot the ; on like 2 :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is this?

2005-07-19 Thread George B
How is this possibly not working? $money = $_GET ['money']; $money = $money -3 echo $money; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL password file

2005-07-19 Thread Jason Wong
On Monday 18 July 2005 18:53, Lawrence Kennon wrote: > In my current hosting situation I don't have the ability to store my > file that contains MySQL userids/passwords in a subdirectory that is > not under the server root. In order to protect it from being included > from a foreign host I thought

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
On Tuesday 19 July 2005 23:17, Marc G. Fournier wrote: > Just upgraded to 4.4.0 ... several "legacy applications" that we have > installed now break with the above error message ... specifically, > older installs of Horde, but I've seen reports of other apps ... > > Without reverting back to 4.3.11

Re: [PHP] Ok, why is this happening...

2005-07-19 Thread Andy Pieters
Hi I admit not gone trough all of your code, but mostly this happens when mixing the string concatenation operator (.) with the addition (+) or substraction (-) operator. HTH With kind regards Andy On Tuesday 19 July 2005 19:26, John Nichel wrote: > Chris Boget wrote: > >>Chris Boget wrote:

[PHP] submission PHP code : MYSQL command lines translation

2005-07-19 Thread Alessandro Rosa
Dear All subscribers, my intention, through this e-mail, is to submit to your attentions one PHP class devoted to translate input native language commands for database into MYSQL commands lines. The goal of this class is to provide a comfortable code interface to let programmers implement forms

[PHP] Translating english into amglish

2005-07-19 Thread Murray @ PlanetThoughtful
Hi All, I'm based in Australia but my blog is predominantly read by Americans. I'm wondering if anyone knows of a class that will translate Australian / UK / Canadian / Whathaveyou English spellings into their American English equivalents? In other words, a class that will take a string wit

Re: [PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chris
I've never used the Oracle functions before, but the ora_* functions are different than the oci_* functions. The ./configure added the oci_* not the ora_*. Just looking in from the outside it seems that you need the oci_* , so try it wiith those? Chris Chuck Carson wrote: Okay, just bui

Re: [PHP] getting file size before upload

2005-07-19 Thread Matthew Weier O'Phinney
* "Jay Blanchard" <[EMAIL PROTECTED]>: > [snip] > I know it is a often asked question, but after googling for about > 2hours and trying out some wired examples I am still not any closer to > a solution. So I was hoping to find expert advice here. > > I want to save the user the hastle of uploading

[PHP] submission PHP code : MYSQL command lines translation

2005-07-19 Thread Alessandro Rosa
Dear All subscribers, my intention, through this e-mail, is to submit to your attentions one PHP class devoted to translate input native language commands for database into MYSQL commands lines. Download the code from: http://freeweb.supereva.com/malilla/Mirror/Download/Code/Php/php_mysql_transl

[PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chuck Carson
Okay, just built php 5.0.4 on solaris 9 and added mysql and oracle support (using Oracle 10.2.0.1). phpinfo() shows that oracle support is enabled, however, a simple call to ora_logon doesnt work: Fatal error: Call to undefined function ora_logon() in /usr/local/apache2/htdocs/oratest.php on line

Re: [PHP] My Project

2005-07-19 Thread Greg Donald
On 7/19/05, Mikey <[EMAIL PROTECTED]> wrote: > $money = $money - 10; Make sure you protect it against multiple browser sessions. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you'v

RE: [PHP] My Project

2005-07-19 Thread Jay Blanchard
[snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10) WHERE `myCharacter` = `characterName`

Re: [PHP] Ok, why is this happening...

2005-07-19 Thread John Nichel
Chris Boget wrote: Chris Boget wrote: echo "if( $originalNet != $calculatedNet ) = " . ( (int)$originalNet !== (int)$calculatedNet ) . "\n"; Change this to echo out what you're comparing... echo "if( ". (int)$originalNet ." != ". (int)$calculatedNet ." ) = " . ( (int)$originalNet !== (int)$

RE: [PHP] getting file size before upload

2005-07-19 Thread Jay Blanchard
[snip] I know it is a often asked question, but after googling for about 2hours and trying out some wired examples I am still not any closer to a solution. So I was hoping to find expert advice here. I want to save the user the hastle of uploading a 2MB file and waiting for a long time for an e

[PHP] getting file size before upload

2005-07-19 Thread Merlin
Hi there, I know it is a often asked question, but after googling for about 2hours and trying out some wired examples I am still not any closer to a solution. So I was hoping to find expert advice here. I want to save the user the hastle of uploading a 2MB file and waiting for a long time fo

Re: [PHP] My Project

2005-07-19 Thread André Medeiros
On Tue, 2005-07-19 at 17:57 +0100, Mikey wrote: > George B wrote: > > > Paul Waring wrote: > > > >> On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: > >> > >>> And I have 100 points. How would I make it so when I click BUY!! My > >>> money automaticaly subtracts from 100 to 90. How do I

Re: [PHP] My Project

2005-07-19 Thread Paul Waring
On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: > My money is being stored in a database. And I want everythign to be in > PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you've checked to see whe

RE: [PHP] My Project

2005-07-19 Thread André Medeiros
On Tue, 2005-07-19 at 17:46 +0100, Shaw, Chris - Accenture wrote: > Taxi for one.. > > -Original Message- > From: George B [mailto:[EMAIL PROTECTED] > Sent: 19 July 2005 17:39 > To: php-general@lists.php.net > Subject: [PHP] My Project > > > Hey guys! This is gona be one of my last quest

Re: [PHP] My Project

2005-07-19 Thread Mikey
George B wrote: Paul Waring wrote: On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A cookie? Do you want

RE: [PHP] String with front slashes.....O T

2005-07-19 Thread Jay Blanchard
[snip] > BTW, my daughter got her learner's permit today! Damn, you're old. ;) [/snip] You sure you want to say that today? I started late too, most of my high school friends had their children starting in their 20's ...I was into my 30's. She is my only child though. [snip] I only have a 5yo..

Re: [PHP] Ok, why is this happening...

2005-07-19 Thread Chris Boget
> Chris Boget wrote: > > > echo "if( $originalNet != $calculatedNet ) = " . ( (int)$originalNet !== > > (int)$calculatedNet ) . "\n"; > > Change this to echo out what you're comparing... > echo "if( ". (int)$originalNet ." != ". (int)$calculatedNet ." ) = " . ( > (int)$originalNet !== (int)$calcu

Re: [PHP] My Project

2005-07-19 Thread George B
Shaw, Chris - Accenture wrote: Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the inf

Re: [PHP] My Project

2005-07-19 Thread Paul Waring
On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: > And I have 100 points. How would I make it so when I click BUY!! > My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A cookie? Do you want the "buy" link to wo

RE: [PHP] My Project

2005-07-19 Thread Jay Blanchard
[snip] Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is going to be like a RPG Game written in PHP. There is going to be a store where you could buy weapons etc... The thing I want to ask you guys is this. Lets say Th

RE: [PHP] My Project

2005-07-19 Thread Shaw, Chris - Accenture
Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is goi

Re: [PHP] String with front slashes.....

2005-07-19 Thread John Nichel
Jay Blanchard wrote: BTW, my daughter got her learner's permit today! Damn, you're old. ;) I only have a 5yoso that must mean I'm still in my 20's, right? Right? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] My Project

2005-07-19 Thread George B
Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is going to be like a RPG Game written in PHP. There is going to be a store where you could buy weapons etc... The thing I want to ask you guys is this. Lets say There is

Re: [PHP] Ok, why is this happening...

2005-07-19 Thread John Nichel
Chris Boget wrote: echo "if( $originalNet != $calculatedNet ) = " . ( (int)$originalNet !== (int)$calculatedNet ) . "\n"; Change this to echo out what you're comparing... echo "if( ". (int)$originalNet ." != ". (int)$calculatedNet ." ) = " . ( (int)$originalNet !== (int)$calculatedNet ) . "

RE: [PHP] String with front slashes.....

2005-07-19 Thread Jay Blanchard
[snip] I'd say it would be best to keep that slash out of the filename. Do a regex on the string before doing anything else preg_replace ( "/\//", "-", $string ); [/snip] That is what I ultimately told them, "Don't do that." Of course they looked at me like I was a space alien (which I am t

Re: [PHP] String with front slashes.....

2005-07-19 Thread John Nichel
Jay Blanchard wrote: I have the potential for strings where the string will contain a front slash; index_Foo_Communications_c/o_Bar_Enterprises_20050718 I want to use the string to name a text file index_Foo_Communications_c/o_Bar_Enterprises_20050718.txt but it always fails to open the file

[PHP] String with front slashes.....

2005-07-19 Thread Jay Blanchard
I have the potential for strings where the string will contain a front slash; index_Foo_Communications_c/o_Bar_Enterprises_20050718 I want to use the string to name a text file index_Foo_Communications_c/o_Bar_Enterprises_20050718.txt but it always fails to open the file because of the front sl

[PHP] Ok, why is this happening...

2005-07-19 Thread Chris Boget
Consider the following test script: set_time_limit( 0 ); echo ''; echo 'Test Rounding Net Premium'; echo ''; echo 'Running test...
'; flush(); echo ''; echo ''; echo ''; echo '
Original NetCommission %<

RE: [PHP] Can PHP Talk directly to Oracle w/o Using Listener

[snip] Does PHP have the ability to talk directly to a local oracle database w/o the need for a listener? [/snip] Yes. http://us2.php.net/oracle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Solaris 9/Oracle 10g Compile Time Problems

How do you build php 5.0.4 with support for oracle 10.2 on Solaris 9? I am getting the following compile time error? z -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lnsl -lsocket -lgen -ldl -lclntsh -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -

[PHP] Can PHP Talk directly to Oracle w/o Using Listener

Does PHP have the ability to talk directly to a local oracle database w/o the need for a listener? Thx, CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_match_all question

Hello, I am using the following to do link replacing: preg_match_all("/<\s*a\s+[^>]*href\s*=\s*[\"']?([^\"' >]+)[\"' >]/isU",$file[$x],$matches); It works great for all but 'https' links. I am not that versed in regular expressions. Would anyone know what I need to put in there so that it w

[PHP] "Only variable references should be returned by reference"

Just upgraded to 4.4.0 ... several "legacy applications" that we have installed now break with the above error message ... specifically, older installs of Horde, but I've seen reports of other apps ... Without reverting back to 4.3.11, is there a way I can temporarily fix this while working

Re: [PHP] show a field in php file

Jochem Maas wrote: **Non-Researched Basic Stuff - from John Nichel, eventually I'll be able to leave off the footnote :-P Cool, I've left my mark on history. An Internet acronym to my credit; my life is complete. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] --

Re: [PHP] show a field in php file

George B wrote: Jochem Maas wrote: John Nichel wrote: George B wrote: http://us2.php.net/manual/en/index.php :-) anyone care for a php mysql extension: mysql_do_xml_http_request_bound_richdatagrid([string] query); george if you want to keep asking questions on NRBS** then you'll need t

Re: [PHP] show a field in php file

George B wrote: Jochem Maas wrote: John Nichel wrote: George B wrote: http://us2.php.net/manual/en/index.php :-) anyone care for a php mysql extension: mysql_do_xml_http_request_bound_richdatagrid([string] query); george if you want to keep asking questions on NRBS** then you'll need t

RE: [PHP] mysql problem- I know it isn't strictly php

[snip] 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=303' at line 18 and this is what the manual says (not very helpful) a.. Error: 1064 SQLSTATE: 42000 (ER_PA

RE: [PHP] Question about apache-php concurrent process control

Can somebody here help me to delete my message? People who read this must be laughing at me. :) It seems Rasmus is famous, and I should have shown my respect. PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus Lerdorf in 1995, initially as a simple set of Perl scrip

[PHP] mysql problem- I know it isn't strictly php

Hi all, I am trying to create a table on the remote server but it never seems to work CREATE TABLE `sheet1` ( `id` int(10) NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `fname` varchar(255) NOT NULL default '', `sname` varchar(255) default NULL, `job_title` varchar

Re: [PHP] Question about apache-php concurrent process control

Hi André, It sounds interesting. But since I am pretty new to PHP, I have some questions, naive maybe, about what you wrote. "#!/bin/sh\n/path/to/script/Send.php 12 &\n" What does the Send.php look like? I do not have idea how a shell interprets an php script and what the parameter 12 means

RE: [PHP] Question about apache-php concurrent process control

It seems Rasmus is famous, and I should have shown my respect. PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus Lerdorf in 1995, initially as a simple set of Perl scripts for tracking accesses to his online resume. He named this set of scripts 'Personal Home Page Tools'.

Re: [PHP] Question about apache-php concurrent process control

Thank you Rouvas, I never used the tools you mentioned. But I will definitely give them a try. I wrote a perl script using LWP as an http user agent. and the timing function you suggested. It works well. I am new to this forum, and new to PHP. It seems Rasmus is famous, and I should have sh

[PHP] PHP CERT. Question

Is there a list which deals with basic certification questions and anxieties? I got the 'official' Zend study guide and now believe I know nothing. And the practice book has quests whose subjects are not mentioned in the relevant chapters. If someone else has completed the exam, which text did

Re: [PHP] show a field in php file

Hey George... On 19/07/05, Jay Blanchard <[EMAIL PROTECTED]> wrote: > It is not that you cannot ask questions, it is that your questions show > a basic lack of research. The answers to the questions you have asked > are easily gotten from the manual, tutorials, and good books on PHP > development

RE: [PHP] show a field in php file

[snip] what is it wrong to ask questions on a php general mailing list where I know there are a bunch of people that can help? I do have a php book But it dosent show. Why can other people ask questions but I cant? [/snip] It is not that you cannot ask questions, it is that your questions show a

Re: [PHP] sytax errors

> Its giving the line number. But actually i want to know the correct syntax > for concatenation. I think all there is some mistake in all the three > concatination statements. > No - there is no problem with any of the statements per se, but there may be when executed with $adduser, $addpass et

Re: [PHP] sytax errors

Hi, Its giving the line number. But actually i want to know the correct syntax for concatenation. I think all there is some mistake in all the three concatination statements. so could some one check and give some idea. thanks John Nichel <[EMAIL PROTECTED]> wrote: babu wrote: > Hi, > > cou

Re: [PHP] sytax errors

"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > babu wrote: > > Hi, > > > > could someone please check where the sytax error is in these statements. > > > > $sqlstmt= "EXEC sp_addlogin ".$adduser." , ".$addpass; > > $sqlstmt1= "EXEC sp_adduser @loginame= ".$adduser." ,

Re: [PHP] Date function and MySQL

Philip Thompson wrote: Hi all. I have the week number (for example, this is the 29th week of the year and it begins on 7/17/05). Does anyone know how to obtain the first (and maybe the last) date of the week if you only know the week number of the year? Would it be better for me to obtain

Re: [PHP] Tracking a mobile phone

Hi, Tuesday, July 19, 2005, 5:15:10 AM, you wrote: T> Hi there, T> I was wondering if anybody has attempted to track a mobile phone through a T> country. I know that this is usually more a case for the FBI . a friend of T> mine is going on a 4 month bike tour and I would like to 'track' him fo

Re: [PHP] Is there a way to get a variable name as a string?

Rasmus Lerdorf wrote: Daevid Vincent wrote: Is there a way to get the name of a variable as a string? For example... Nope, not possible. Well ob_start(); echo '$var'; $contents = ob_get_contents(); ob_end_clean(); echo 'Variable Name is : '.substr($contents,strpos($contents,'$')+1);

Re: [PHP] Tracking a mobile phone

Please add OT to the subject if the topic has nothing to do with PHP. OT = Off Topic. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP from CLI with SAPI

Fredrik Tolf wrote: Hi! I've begun to be more and more displeased with Apache lately, so I've been thinking of writing my own HTTP server instead. I still want PHP support, but writing a new SAPI for PHP seems like overkill. What's so bad about Apache? Therefore, is it possible to use PHP f