Re: [PHP] Free web space

2003-10-09 Thread John Nichel
You mean I'd have to google for free web hosts which allow Perl then? Damn, when will my work ever be done? hehe John Taylor-Johnston wrote: John, Oops, that's a little sarcastic :=) Take it easy on the guy. We don't want them running screaming back to the Perl newsgroups, do we? John [EMAIL

Re: [PHP] Saving Form Data

2003-10-09 Thread Burhan Khalid
PHP wrote: [ snip ] I think I need some kind of HTML parser that will break up the supervisors form, then insert any values need for the form values and then re-display the form data. Well, if you insert the XML declaration at the top, and make sure your page validates as XHTML, I believe you ca

Re: [PHP] Am I asking too much?

2003-10-09 Thread Marek Kilimajer
For security reasons mysql_query does not support ; to separate queries. phpmyadmin splits multiple query strings up (PMA_splitSqlFile()) John Taylor-Johnston wrote: $sql1 works, but $sql2 doesn't. Am I asking too much? :=) $sql2 echoes ok. If I copy it and run it in phpmyadmin, it works, but thi

RE: [PHP] Maybe a silly question

2003-10-09 Thread Andrew Whyte
It's commonly seen in OOP (Object Oriented Programming) and allows you access to an objects data by name of the entity within the structure. I find it really useful for mysql/php work. $result = mysql_query("SELECT * From Personal_Details WHERE USER_ID='12345'") ; $data = mysql_fetch_object($

RE: [PHP] Maybe a silly question

2003-10-09 Thread Martin Towell
It's used on objects. In the examples below, $test_url and $test_this are both properties of an object ($test) have a bit of a read of this: http://php.net/manual/en/language.oop.php HAND Martin -Original Message- From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October

[PHP] Maybe a silly question

2003-10-09 Thread Tom Ray [Lists]
I'm wondering if someone can explain something for me. I've never used this before but have seen it used in numerous sets of coding. What does the -> do? I see stuff like $test=$test->test_url = "Something"; $test1=$test->test_this = "Something Else"; Is it some sort of array function? I'm just

Re: [PHP] Creating a Search field

2003-10-09 Thread John Taylor-Johnston
Don't forget the "in boolean mode" part. It will work a lot better: SELECT * FROM $table WHERE MATCH (field1,field2,field3,field4) AGAINST ('red lion' IN BOOLEAN MODE); http://www.mysql.com/doc/en/Fulltext_Search.html Need more code? let me know. I've fallen in love with what in boolean mode ha

Re: [PHP] Free web space

2003-10-09 Thread John Taylor-Johnston
John, Oops, that's a little sarcastic :=) Take it easy on the guy. We don't want them running screaming back to the Perl newsgroups, do we? John > [EMAIL PROTECTED] wrote: > > Hi, I'm searching for a free web space that supports php/mysql. > > Someone knows something about? > > Thanks too much >

[PHP] Am I asking too much?

2003-10-09 Thread John Taylor-Johnston
$sql1 works, but $sql2 doesn't. Am I asking too much? :=) $sql2 echoes ok. If I copy it and run it in phpmyadmin, it works, but this way as php code, it flunks out when I add: DELETE FROM '.$db.'.'.$table.' WHERE id='.$id.' LIMIT 1; Ideas? John snip - $sql1 = 'inser

Re: [PHP] Appropriate Content

2003-10-09 Thread Robert Cummings
On Fri, 2003-10-10 at 00:12, - Edwin - wrote: > Hi, > > On 09 Oct 2003 01:04:06 -0400 > Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Thu, 2003-10-09 at 01:12, Chris Shiflett wrote: > > > --- Evan Nemerson <[EMAIL PROTECTED]> wrote: > > > > Robert had the courtesy to put [ANNOUNCMENT] in th

Re: [PHP] Appropriate Content

2003-10-09 Thread - Edwin -
Hi, On 09 Oct 2003 01:04:06 -0400 Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2003-10-09 at 01:12, Chris Shiflett wrote: > > --- Evan Nemerson <[EMAIL PROTECTED]> wrote: > > > Robert had the courtesy to put [ANNOUNCMENT] in the header. > > > > Yes, a courtesy which is appreciated by man

Re: [PHP] email certain people

2003-10-09 Thread - Edwin -
On Thu, 9 Oct 2003 22:42:19 -0400 "Davy Campano" <[EMAIL PROTECTED]> wrote: > I forgot to mention that I want the email addresses to be appear on > the webpage from a mySQL database. I already have the emails > entered into a database, and I have written the page that grabs each > email from the

Re: [PHP] [O|T] XML/XHTML

2003-10-09 Thread - Edwin -
Hi, On Mon, 6 Oct 2003 05:54:03 -0400 "Becoming Digital" <[EMAIL PROTECTED]> wrote: > A friend asked me to recommend a good XML/XHTML reference or guide. > I was able to point him to a number of websites, but he said that he > would prefer a book. Sadly, I don't know of any, so I'm hoping some

Re: [PHP] attach file with mail() function??

2003-10-09 Thread - Edwin -
Hi, On Sun, 05 Oct 2003 20:36:51 -0500 John Nichel <[EMAIL PROTECTED]> wrote: > Jason Wong wrote: > > On Monday 06 October 2003 07:34, Roy W wrote: > > > >>Is there a way to attach a file with the mail() function? > > > > > > Yes. > > > > Is there a way to have PHP print out "Hello World"?

Re: [PHP] Attempt at putting greedy htmlspecialchars on a diet

2003-10-09 Thread - Edwin -
Hi, (Long time...) On Sat, 04 Oct 2003 21:01:46 -0400 Gerard Samuel <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > > "Far east languages" are not necessarily in this form: "&#n;" > > So, > > > >running htmlspecialchars() on, say, Japanese characters would do NO > >harm since &, ", ', <,

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

2003-10-09 Thread tech
= This message is for the benefit of new subscribers and those new to PHP. Those who do not want to be bothered just filter out the [Newbie Guide] mails. Please feel free to add more points and send to the list. ===

RE: [PHP] Re: OFF-SHORE PHP &/or Perl Developer + MySQL &/or Post greSQL

2003-10-09 Thread Martin Towell
What?! Even sweatshop workers earn more than that! -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 1:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: OFF-SHORE PHP &/or Perl Developer + MySQL &/or PostgreSQL Thought y'all might get a kick out of

Re: [PHP] Need secure login

2003-10-09 Thread Justin French
On Friday, October 10, 2003, at 12:38 PM, Manisha Sathe wrote: Thanks Justin, actually I was also thinking of the same, but just wanted to confirm that it is really not a good idea. Was also wondering if there is any third party solution ?. A third party solution to what??? I've described the

[PHP] Re: OFF-SHORE PHP &/or Perl Developer + MySQL &/or PostgreSQL

2003-10-09 Thread John Nichel
Thought y'all might get a kick out of this. I saw the job listing on Zend's site, and noticed that the hourly salary was funny, and thought it HAS to be a typo, right? Wrong. The URL for the job is http://www.zend.com/jobs/single_job.php?id=259 If anybody really, really wants it. *L* D

Re: [PHP] Need secure login

2003-10-09 Thread Mike Migurski
>Thanks Justin, actually I was also thinking of the same, but just wanted >to confirm that it is really not a good idea. > >Was also wondering if there is any third party solution ?. A third-party solution to a bad idea? - michal

Re: [PHP] Re: Limits and php...

2003-10-09 Thread Robert Cummings
If you've been following a thread then you'll have read everything anyways. If you bottom post I gotta scan through all the crap I've already read, and that often involves employing the down arrow or mouse. Top posting is more efficient for those who are following along. Cheers, Rob. On Thu, 2003

[PHP] Re: Limits and php...

2003-10-09 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, > > I have been trying to understand how to write a simple code that will > let me limit the number of files view to 10 records, but I need to > under how php can look at a number of records and then caculates how > many pages it

RE: [PHP] email certain people

2003-10-09 Thread Davy Campano
I forgot to mention that I want the email addresses to be appear on the webpage from a mySQL database. I already have the emails entered into a database, and I have written the page that grabs each email from the database and puts it into a form with the Checkbox. My problem is figuring out ho

RE: [PHP] email certain people

2003-10-09 Thread Andrew Whyte
> -Original Message- > From: Davy Campano [mailto:[EMAIL PROTECTED] > > I am making a webpage, and I want to be able to email certain > people that are selected by a checkbox when I click the > submit button. I am trying to figure out what the best way > is to do this. There are fo

Re: [PHP] Need secure login

2003-10-09 Thread Manisha Sathe
Thanks Justin, actually I was also thinking of the same, but just wanted to confirm that it is really not a good idea. Was also wondering if there is any third party solution ?. Regards Manisha "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This first rule is neve

[PHP] email certain people

2003-10-09 Thread Davy Campano
I am making a webpage, and I want to be able to email certain people that are selected by a checkbox when I click the submit button. I am trying to figure out what the best way is to do this. There are four people on the page and they each start with their name checked (so they should receive

Re: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread Robert Cummings
If I recall correctly, the reason that the function needs to indicate it returns a reference AND you need to declare it when assigning variables is because the function will return a reference when instructed; however, you then need to inform the binary assignment operator that it should assign a r

Re: [PHP] Need secure login

2003-10-09 Thread Justin French
This first rule is never trust the client-side. The second rule is never trust the client-side. This means that relying on... a) the user accepting the cookie b) the user always using the same computer c) the user not deleting the cookie ... is a BAD idea. Frankly, if you force me to use a single c

Re: [PHP] Creating a Search field

2003-10-09 Thread Larry E . Ullman
I need to create a feature that allows users to enter certain words that can be searched ie search = 'red lion' this would return all data found with the words red and lion. If you're using MySQL 4.0, you can take advantage of its FULL TEXT searching (it's actually available in earlier versions b

[PHP] Video Streaming

2003-10-09 Thread Manisha Sathe
Client's site will be on PHP/Linux. They want to add Videos on site. But they say they want to make use of Video Straming. I am very new to this part. I searched web, I found some third party softwares (one of this is videolan which is open source). But not sure how to integrate this with PHP. Is

[PHP] Need secure login

2003-10-09 Thread Manisha Sathe
Hi, I have a client. He does not want member login by just giving password and login id. He says anybody can give this info to his friend and his friend can access the site. One way is to make use of cookie on his computer. So only from one computer he can access the site. But the thing is that u

[PHP] Creating a Search field

2003-10-09 Thread richard cook
Sorry all I know this isnt really a 100% PHP matter but someone may be in the know here. Ive been trying for ages without success to create a search field for my mysql database using php. I need to create a feature that allows users to enter certain words that can be searched ie search = 'red li

Re: [PHP] Free web space

2003-10-09 Thread John Nichel
[EMAIL PROTECTED] wrote: Hi, I'm searching for a free web space that supports php/mysql. Someone knows something about? Thanks too much Oh, look, right there on the php web site http://us3.php.net/links.php Down at the bottom. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] magic_quotes_gpc and \

2003-10-09 Thread Shawn McKenzie
O.K. I'll try again from a different angle. magic_quotes_gpc = on. If I have a form that POSTS a textarea that contains PHP code. Say some code that contains legitimate escapes \ like: echo "http://somewhere.com\";>Click"; When the data is posted and received in the destination script, additi

[PHP] Free web space

2003-10-09 Thread phpziobudda
Hi, I'm searching for a free web space that supports php/mysql. Someone knows something about? Thanks too much

Re: [PHP] Recomended Shopping Carts

2003-10-09 Thread Richard Baskett
on 10/9/03 15:27, Adrian Esteban Madrid at [EMAIL PROTECTED] wrote: > I need to setup a shopping cart (SP) for a client and time/budget calls > for a premade SP. I've checked hotscripts.com and google and it seems to > me that there are as many SP in PHP as CMS or Frameworks in PHP, in > other wor

RE: [PHP] session experation

2003-10-09 Thread Vail, Warren
Sam, There is a way to keep a session active beyond the death of the browser, but the odds are that this will not do exactly what you want either, since killing the session on browser close is the customary setting. In my case I expected closing the browser to kill the session (or more correctl

[PHP] Recomended Shopping Carts

2003-10-09 Thread Adrian Esteban Madrid
I need to setup a shopping cart (SP) for a client and time/budget calls for a premade SP. I've checked hotscripts.com and google and it seems to me that there are as many SP in PHP as CMS or Frameworks in PHP, in other words, too many to review. I've heard complaints about osCommerce as being n

Re: [PHP] Installing PHP on XP

2003-10-09 Thread Burhan Khalid
Rinal Patel wrote: Hello I am trying to install PHP on my personal computer, which runs Microsoft XP, but have had trouble installing it. I have an apache server(it came with the oracle database I installed). Could you please help me? I would appreciate a quick response Rinal : This is my c

Re: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 22:50:10 +0200, Esctoday.Com | Wouter Van Vliet <[EMAIL PROTECTED]> wrote: Thanks Curt. This solution works indeed. BUT, there's one but. Isn't there a way to not have to tell PHP that I want the return of $this->AddFoo() as a reference? In the actual code I want to worry as

Re: [PHP] Apache not auto running index.php

2003-10-09 Thread David Erickson
Scratch that I figured it out. DirectoryIndex index.html index.php index.html.var -David - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "PHP General Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 4:00 PM Subject: [PHP] Apache not auto running ind

[PHP] Apache not auto running index.php

2003-10-09 Thread David Erickson
Question for those with Apache 2 and PHP.. I installed a forum to my server but when I try to hit http://localhost/phpBB2/admin/ or http://localhost/phpBB2/ instead of running the index.php in those folders it returns a folder listing.. how can I tell apache to execute the index.php in directories

Re: [PHP] Credit Card Validation

2003-10-09 Thread Burhan Khalid
Nathan Taylor wrote: My question is pretty obvious, I was wondering what the process for validating a credit cards with both preprocessing by the form to determine the pattern validity and post processing by a bank to > confirm the actual card validity. Well since you asked about the /process/ .

RE: [PHP] variables passed through URL

2003-10-09 Thread Chris W. Parker
Frank Tudor on Thursday, October 09, 2003 1:48 PM said: > How would I populate the value in a form tag? > > name="something"> You need to go here http://us4.php.net/manual/en/language.variables.external.php and read up. hth, chris. -- PHP General Mailing List (

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Jim Lucas
Thanks for the info. Jim Lucas - Original Message - From: "Mike Migurski" <[EMAIL PROTECTED]> To: "Eugene Lee" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 11:33 AM Subject: Re: Re[2]: [PHP] dynamic -> static > >: I have the following configuration. > >:

RE: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread esctoday.com | Wouter van Vliet
Thanks Curt. This solution works indeed. BUT, there's one but. Isn't there a way to not have to tell PHP that I want the return of $this->AddFoo() as a reference? In the actual code I want to worry as little as possible about specific things like this. Isn't it a little strange that you have to bo

[PHP] variables passed through URL

2003-10-09 Thread Frank Tudor
If I have have set a url to be displayed like this: www.mysite.com/some_page.php?value=this and wanted to tag on another value what would I seperate the dtwo with/ Also since it is now displayed in the url and I need the value in some area on my form. How would I populate the value in a form tag

Re: [PHP] session experation

2003-10-09 Thread Daniel Guerrier
The session will die on browser close. What you are asking for is how to use cookies. You can set a cookie and use the information in that to determine user functionality http://us2.php.net/manual/en/function.setcookie.php --- Sam Folk-Williams <[EMAIL PROTECTED]> wrote: > Hi, > > I want to ext

RE: [PHP] Testing string length within FTP

2003-10-09 Thread Jay Blanchard
[snip] for($i = 0; $i < $countList; $i++){ $strDirName = substr($arrList[$i], 47, 8); if(strlen(chop($strDirName)) == 8){ echo $theDirectory.$strDirName.""; } } [/snip] Never mind. I am making them all 8 wide, just saw it. *slaps feverish forhead* -- PHP G

[PHP] Testing string length within FTP

2003-10-09 Thread Jay Blanchard
for($i = 0; $i < $countList; $i++){ $strDirName = substr($arrList[$i], 47, 8); if(strlen(chop($strDirName)) == 8){ echo $theDirectory.$strDirName.""; } } I am trying to check for $strDirName length, but the echo returns all file names within the directory re

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Cristian Lavaque
Veniamin Goldin wrote: > Hello Mike, > > Thank you for your help, > > As I wrote already this issue is mainly because of search engines > incompatibility with dynamic content sites (to be more exact - with > urls containing get parameters, in my case ex. > index.shtml?lang=en&menu_id=23) > > Which

RE: [PHP] enable FTP support - SOLVED

2003-10-09 Thread Jay Blanchard
[snip] ...several hours of brain dead operations... [/snip] just went with the whole upgrade scenario, latest version of php etc. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Mike Migurski
>Did a little more googling and found the answer. > >In Apache 2.0, by default is does not allow this type of URL. > >But I found a few article on it that explained that if I modified this > >in httpd.conf modify, or add, this line. > > AcceptPathInfo On > >Don't know what it does, but it fixes th

Re: [PHP] Need Charting Utility

2003-10-09 Thread Evan Nemerson
JPGraph does pretty much anything you could ever want. On Thursday 09 October 2003 11:30 am, rick rice wrote: > Can anyone suggest a good charting utility for PHP running on a freeBSD > box? We need to put line/bar charts on our web pages. -- Evan Nemerson [EMAIL PROTECTED] -- "First they came

[PHP] Re: Rgular Expression - 1st alternative

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 19:54:09 +0200, Emo <[EMAIL PROTECTED]> wrote: Hi all. I've got one problem with %subj%. I need to get 1st appearance of any alternative pattern, but my regexp get last. Remember .* is greedy by default you need to use .*? also instead of using [[:space:]] I might suggest usin

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Jim Lucas
Did a little more googling and found the answer. In Apache 2.0, by default is does not allow this type of URL. But I found a few article on it that explained that if I modified this in httpd.conf modify, or add, this line. AcceptPathInfo On Don't know what it does, but it fixes the problem.

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Mike Migurski
>: I have the following configuration. >: >: Redhat 8.0 >: Apache/2.0.40 (stock redhat install) >: PHP 4.2.2 (stock redhat install) >: >: What I get when I try and run this is an Object Not Found. > >If I was Apache, I would try to serve the file: > > /index.php/var1/val1/var2/val2/index.

Re: [PHP] Need Charting Utility

2003-10-09 Thread Nathan Taylor
Look into JpGraph, it rocks my world. http://www.aditus.nu/jpgraph/ Nathan - Original Message - From: rick rice To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:30 PM Subject: [PHP] Need Charting Utility Can anyone suggest a good charting utility for PHP running

[PHP] Need Charting Utility

2003-10-09 Thread rick rice
Can anyone suggest a good charting utility for PHP running on a freeBSD box? We need to put line/bar charts on our web pages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rgular Expression - 1st alternative

2003-10-09 Thread \[cz\]Emo
Hi all. I've got one problem with %subj%. I need to get 1st appearance of any alternative pattern, but my regexp get last. in $out[2] (input) is "columns FROM tables WHERE conditions ORDER BY sth DESC LIMIT 1 OFFEST 0" preg_match("/[[:space:]]*(.*)[[:space:]]+from[[:space:]]+(.*)[[:space:]]+wh

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] ... [/snip] Some other oddities. The phpinfo page says PHP 4.2.2, but the only installation of php I can find on the server is 4.2.1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Jim Lucas
I would think the same thing, but it works on all the servers that I have tried it on. But again, they are all running pre apache 2.0 stuff. Anybody have any idea what config settings in Apache might make it try and find a page with that entire path? Jim Lucas - Original Message - From

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] If you have mulitple versions of apache (or upgraded) php might be putting the libphp4.so in the wrong place. On my system I have 3 apache's (arrghh.) and I have to properly put libphp4.so in the correct apache/libexec dir. [/snip] Its here; /usr/libexec/libphp4.so and addressed properly

[PHP] RE: Congratulations You Win

2003-10-09 Thread Rob A. Brahier
I much preferred that email asking for my help to transfer some dead african warlord's funds. At least then I could believe I was about to be screwed over for a good cause. :) -Rob -Original Message- From: Francis Weeny [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:30 PM

Re: [PHP] enable FTP support

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 12:20:46 -0500, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the order of the statements when cinfiguring php to work with gd) from the one above to the one below...

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Eugene Lee
On Thu, Oct 09, 2003 at 10:09:19AM -0700, Jim Lucas wrote: : : I have the following configuration. : : Redhat 8.0 : Apache/2.0.40 (stock redhat install) : PHP 4.2.2 (stock redhat install) : : What I get when I try and run this is an Object Not Found. : : Same as the ERROR 404 page not found

[PHP] session experation

2003-10-09 Thread Sam Folk-Williams
Hi, I want to extend the length of a session based on the existance of a variable beyond the closing of the browser. Basically, I've got a restricted intranet where staff have to log-in and I want to add a "remember me" option. If they check off the remember me box, then the session will be set to

Re: [PHP] enable FTP support

2003-10-09 Thread Jason Wong
On Friday 10 October 2003 01:20, Jay Blanchard wrote: > [snip] > Guess what? I changed the order of the congfigure statement (for giggles > as I was reminded of the changing of the order of the statements when > cinfiguring php to work with gd) from the one above to the one below... > > ./configure

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the order of the statements when cinfiguring php to work with gd) from the one above to the one below... ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local/ -

Re: [PHP] Get the name of the form

2003-10-09 Thread Robert Cummings
On Thu, 2003-10-09 at 13:15, Marek Kilimajer wrote: > Bertrand Moulard wrote: > > it is a POST, didn't find anything in the doc about that. I reckon php > > doesn't handle that as the name is more a html id than part of the form, but > > need to make sure before telling my work mates to come up wit

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] ./configure --enable-ftp --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local/ --with-jpeg-dir=/usr/local/ --with-zlib=/usr/local/ --with-png-dir=/usr/local/ [/snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the or

Re: [PHP] Get the name of the form

2003-10-09 Thread Marek Kilimajer
Bertrand Moulard wrote: it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with another proposal ;-) You are right, form name is not submited by

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
Damn that's what I was thinking... thanks you .b -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 18:06 To: Bertrand Moulard Cc: Jay Blanchard; PHP-General Subject: RE: [PHP] Get the name of the form On Thu, 2003-10-09 at 13:03, Bertrand Moulard w

Re: Re[2]: [PHP] dynamic -> static

2003-10-09 Thread Jim Lucas
Ok, here's a question for you. I went and did this to my current development site. I have the following configuration. Redhat 8.0 Apache/2.0.40 (stock redhat install) PHP 4.2.2 (stock redhat install) What I get when I try and run this is an Object Not Found. Same as the ERROR 404 page not

RE: [PHP] Get the name of the form

2003-10-09 Thread Robert Cummings
On Thu, 2003-10-09 at 13:03, Bertrand Moulard wrote: > it is a POST, didn't find anything in the doc about that. I reckon php > doesn't handle that as the name is more a html id than part of the form, but > need to make sure before telling my work mates to come up with another > proposal ;-) I don

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with another proposal ;-) .b -Original Message- From: Jay Blanchard [mailto:[EMAIL

RE: [PHP] Get the name of the form

2003-10-09 Thread Jay Blanchard
[snip] does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) [/snip] So much testing, so little time. It would be in either the GET or POST array I would imagine, dependent on the form method. -- PHP General Mailing List (http://www.p

[PHP] Get the name of the form

2003-10-09 Thread bertrand moulard
Hello does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) cheers .b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] > Making install in . > make[1]: Entering directory `/usr/local/php-4.2.1' > make[1]: *** [install-sapi] Error 1 > make[1]: Leaving directory `/usr/local/php-4.2.1' > make: *** [install-recursive] Error 1 Do you have permissions to install stuff into /usr/local/bin (the default destinatio

RE: [PHP] Another file retrieval tact ...

2003-10-09 Thread Jay Blanchard
[snip] > I have a server on the network where some files live in some folders > that I can retrieve to another server on the network if I can connect to > the other server and do directory type operations on. I cannot get the > FTP thingie enabled because of compile errors. Would someone please so

Re: [PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Scott Fletcher
Thanks!!! "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Argh [/snip] set_time_limit(n); Where n is an integer in seconds -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
it does, thanks -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:28 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Bertrand Moulard on Thursday,

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] > Making install in . > make[1]: Entering directory `/usr/local/php-4.2.1' > make[1]: *** [install-sapi] Error 1 > make[1]: Leaving directory `/usr/local/php-4.2.1' > make: *** [install-recursive] Error 1 Do you have permissions to install stuff into /usr/local/bin (the default destinatio

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard on Thursday, October 09, 2003 9:24 AM said: > fair enough, $_POST is an array, but what about $_POST['ticketed'] ? > Just want to make sure about this {} thingie The output of this page is the following: Parse error: parse error, unexpected T_EN

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Ford, Mike [LSS]
On 09 October 2003 16:57, Davy Campano wrote: > I am having a problem with a form. I am trying to have a form pass a > variable so that I can update an item. I think the problem > is that the > variable (ticketed) is being read as text instead of a number. These > are the tests I have run. >

Re: [PHP] enable FTP support

2003-10-09 Thread Jason Wong
On Thursday 09 October 2003 23:13, Jay Blanchard wrote: > Making install in . > make[1]: Entering directory `/usr/local/php-4.2.1' > make[1]: *** [install-sapi] Error 1 > make[1]: Leaving directory `/usr/local/php-4.2.1' > make: *** [install-recursive] Error 1 Do you have permissions to install

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
fair enough, $_POST is an array, but what about $_POST['ticketed'] ? Just want to make sure about this {} thingie .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:22 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] prob

Re: [PHP] configuration class - skeleton code for first OOP adventure

2003-10-09 Thread anders thoresson
Save yourself a lot of headache learn how to use PEAR and OOP all in one fell swoop by using PEAR::Config I've already had a look at it, but it's to big for me to get. Though learning by doing would be a better way. -- anders thoresson -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard on Thursday, October 09, 2003 9:20 AM said: > $_POST['ticketed'] : this is not an array but value isn't it ? Try print_r($_POST); and see what you get. c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] configuration class - skeleton code for first OOP adventure

2003-10-09 Thread anders thoresson
This will not work. For example if you have: option1 = value; option2 = value2; then ereg_replace('value', 'changed', $contents); will make it: option1 = changed; option2 = changed2; My plan is to have "option1 = value;" as old value and "option1 = changed;" as new value. Not only the change va

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
>>Applying all these things your line should look like this: >>$sql = "UPDATE wo SET status = 1 WHERE ticket = {$_POST['ticketed']}"; $_POST['ticketed'] : this is not an array but value isn't it ? .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 200

[PHP] Re: Installing PHP on XP

2003-10-09 Thread Shadow
Go here http://www.digitalamit.com/?DA=89ce4fe3aff0c02a99a796c3ba994482 Shadow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another file retrieval tact ...

2003-10-09 Thread Marek Kilimajer
Jay Blanchard wrote: Alrighty then, if I cannot get FTP going on the one server then perhaps there is another way to skin the cat that my flu infested mind cannot remember at the moment. I have a server on the network where some files live in some folders that I can retrieve to another server on th

[PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
It worked. Thank you very much everyone for the quick responses. I am just learning PHP and mySQL so I appreciate the suggestions. I only wish that I would have written this email an hour ago! -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Davy Campano on Thursday, October 09, 2003 8:57 AM said: > This statement works: > $sql = 'UPDATE wo SET status = 1 WHERE ticket = 1' > > This statement does not: > $sql = 'UPDATE wo SET status = 1 WHERE ticket = > $HTTP_POST_VARS[ticketed]' > > Any suggestions...

Re: [PHP] problem transferring a variable using POST

2003-10-09 Thread Tom Rogers
Hi, Friday, October 10, 2003, 1:56:43 AM, you wrote: DC> I am having a problem with a form. I am trying to have a form pass a DC> variable so that I can update an item. I think the problem is that the DC> variable (ticketed) is being read as text instead of a number. These DC> are the tests I h

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
you might try to do some processing on the value get the HTTP_POST_VARS[...], put it in a variable and see its type (gettype()). Might give you some hints. -Original Message- From: Davy Campano [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 16:57 To: [EMAIL PROTECTED] Subject: [PHP] probl

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Jay Blanchard
[snip] I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET status

[PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET status = 1 WH

[PHP] Another file retrieval tact ...

2003-10-09 Thread Jay Blanchard
Alrighty then, if I cannot get FTP going on the one server then perhaps there is another way to skin the cat that my flu infested mind cannot remember at the moment. I have a server on the network where some files live in some folders that I can retrieve to another server on the network if I can c

  1   2   >