Re: [PHP] RE: GD Library Upgrade

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 07:47, Ryan Schefke wrote: > I have root access to my server. It's a dedicated server with 1and1.com. OK. > I have zero experience with shell commands and will be working off of any > directions I can find online. There're plenty of those to be found. The list archive

[PHP] Can session.save_path data be saved to a database instead of a file system?

2004-06-01 Thread Caleb Walker
I have 2 servers fail-over/load-balanced behind an F5 bigIP. I want session data to be maintained in the event one server takes a dive. In this scenario, if a user is in the middle of doing something while logged in, they will not have to lose all work and log back into the server to continue wor

Re: [PHP] Willing to Pay For Upgrade Help

2004-06-01 Thread robi
I am willing to do it. what is your distribution? troby Dňa St 2. Jún 2004 06:08 Ryan Schefke napísal: > Is any Linux techie out there willing to accept a small payment to upgrade > my Linux dedicated root server from PHP 4.2.2 to PHP 4.3.3 (or 4.3.6, > whichever is recommended)? I need to levera

[PHP] Installing Imagemagick on Windows

2004-06-01 Thread Tan Ai Leen
Hi, I need help with installing Imagemagick on Windows. I tried googling but there is no solution provided. I discovered that a lot of people are having the same problem as me. After placing the dll in the extension folder and adding in extension=php_imagick.dll into php.ini, Apache will hit er

[PHP] Re: Editor's Page

2004-06-01 Thread David Robley
Jay Blanchard wrote: > I am missing the link to the editor's list for PHP, can someone repost > it? > > Thanks! http://www.thelinuxconsultancy.co.uk/phpeditors/ which can be found on http://au.php.net/links.php under PHP Setup and Authoring Tools David -- PHP General Mailing List (http://www

[PHP] Willing to Pay For Upgrade Help

2004-06-01 Thread Ryan Schefke
Is any Linux techie out there willing to accept a small payment to upgrade my Linux dedicated root server from PHP 4.2.2 to PHP 4.3.3 (or 4.3.6, whichever is recommended)? I need to leverage the latest version of GD Library for better quality picture uploads. I'm a windows guy and don't have much

[PHP] PHP Newbie needs a little help 1-on-1

2004-06-01 Thread Mike
Ok, I'm a pretty fast learn but syntax and basic lack of serious programming background hinder my efforts. I can make Javascript do what I want it to and usually perl also but I'm in over my head with my PHP project and I'm on a deadline. Objective: To create a set of forms that 1) input data

Re: [PHP] session variables

2004-06-01 Thread Bob Lockie
On 06/01/04 22:12 John Nichel spoke: Bob Lockie wrote: $_SESSION['new_name'] = $_REQUEST['new_name']; Is not global. I printed out the value locally but it is not made into a session variable. Did you start the session before you set $_SESSION['new_name']? That was my problem. I reorganized and p

Re: [PHP] session variables

2004-06-01 Thread John W. Holmes
Bob Lockie wrote: $_SESSION['new_name'] = $_REQUEST['new_name']; Is not global. I printed out the value locally but it is not made into a session variable. Yes, it is. Providing you have sessions configured correctly and use session_start(). -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/

Re: [PHP] Test Email

2004-06-01 Thread Stephen Lake
No [EMAIL PROTECTED] about the spammers! "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John W. Holmes wrote: > > > From: "Tom Chubb" <[EMAIL PROTECTED]> > > > >>Sorry if anyone else gets this, but I'm not receiving any emails at the > >>moment and wanted to check my s

[PHP] Re: Text Streaming in PHP

2004-06-01 Thread Stephen Lake
Thanks all for the suggestionsI finally got it workingand it works perfectly in IE too (so far anyway) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session variables

2004-06-01 Thread John Nichel
Bob Lockie wrote: $_SESSION['new_name'] = $_REQUEST['new_name']; Is not global. I printed out the value locally but it is not made into a session variable. Did you start the session before you set $_SESSION['new_name']? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mail

[PHP] session variables

2004-06-01 Thread Bob Lockie
$_SESSION['new_name'] = $_REQUEST['new_name']; Is not global. I printed out the value locally but it is not made into a session variable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Test Email

2004-06-01 Thread John Nichel
John W. Holmes wrote: From: "Tom Chubb" <[EMAIL PROTECTED]> Sorry if anyone else gets this, but I'm not receiving any emails at the moment and wanted to check my subscription. You know php-general is working when you get emails from Advance Credit Suisse Bank and the Information Desk. ---John Hol

Re: [PHP] "Date object"

2004-06-01 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > > From: "Ryan A" <[EMAIL PROTECTED]> > > > > > A bit confused, I downloaded a function and it says it takes a "date > > > object"what exactly is a "date object"? > > > > > > This is exactly what is written " The function takes a date object as > its >

RE: [PHP] RE: GD Library Upgrade

2004-06-01 Thread Ryan Schefke
Jason, I have root access to my server. It's a dedicated server with 1and1.com. I have zero experience with shell commands and will be working off of any directions I can find online. I'm researching whether to upgrade PHP from 4.2.2 to 4.3.6 or just upgrade the GD Library from 1.8.4 to the l

Re: [PHP] IE Buffering

2004-06-01 Thread Curt Zirzow
* Thus wrote Stephen Lake ([EMAIL PROTECTED]): > Can anyone tell me what size the buffer in IE has to be before it outputs > data? The calculation is as follows: [Total Virtual Memory] - [Non-table enclosed data] + [sizeof(input.buffer)] / [random.crash()] Curt -- "I used to think I was indec

[PHP] [PHP-General] - LOC/FP for PHP.

2004-06-01 Thread francesco[AT]automationsoft[DOT]biz
Hi all, I have a question about PHP in relation with software engineering, and in particular, in order to apply COCOMO metod in a web-oriented software. I want to do a cost estimation of a software write in PHP-MySQL (and Linux-Apache) for a LAN. I know the teory about the software enginnering a

Re: [PHP] update mysql using radio button

2004-06-01 Thread Daniel Clark
Right. (oops) > From: "Daniel Clark" <[EMAIL PROTECTED]> > >> if($row->club_member >> ='N'){echo 'CHECKED';}?>> > > =='N', you mean. :) > > ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Test Email

2004-06-01 Thread John W. Holmes
From: "Tom Chubb" <[EMAIL PROTECTED]> > Sorry if anyone else gets this, but I'm not receiving any emails at the > moment and wanted to check my subscription. You know php-general is working when you get emails from Advance Credit Suisse Bank and the Information Desk. ---John Holmes... (Sorry..

Re: [PHP] update mysql using radio button

2004-06-01 Thread John W. Holmes
From: "Daniel Clark" <[EMAIL PROTECTED]> > club_member > ='N'){echo 'CHECKED';}?>> =='N', you mean. :) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] update mysql using radio button

2004-06-01 Thread Matt Newell
how embarrassing. :] yes, of course that would be the problem. just to note, i'm enjoying learning php/mysql and appreciate the help from this list. it's a great community and the good will makes it a great place to ask the sometimes really stupid questions. best, m. -Original Message-

Re: [PHP] Strtotime() weirdness

2004-06-01 Thread Daniel Clark
http://us3.php.net/manual/en/function.strtotime.php Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer.) Additionally, not all plat

Re: [PHP] update mysql using radio button

2004-06-01 Thread Daniel Clark
I think you need Values for the radio buttons. club_member ='N'){echo 'CHECKED';}?>> > > hello all - > > i'm having a problem getting an UPDATE to work with radio buttons and > i'm not sure where it's gone wrong. the initial values are being grabbed > properly, but unfortunately they don't want

Re: [PHP] "Date object"

2004-06-01 Thread Ryan A
> From: "Ryan A" <[EMAIL PROTECTED]> > > > A bit confused, I downloaded a function and it says it takes a "date > > object"what exactly is a "date object"? > > > > This is exactly what is written " The function takes a date object as its > > only parameter." > > No such thing. If you look at th

RE: [PHP] update mysql using radio button

2004-06-01 Thread Jay Blanchard
[snip] i'm having a problem getting an UPDATE to work with radio buttons and i'm not sure where it's gone wrong. the initial values are being grabbed properly, but unfortunately they don't want to get updated. the regular text form values update just fine. would appreciate some help. the html:

[PHP] Strtotime() weirdness

2004-06-01 Thread Alex Hogan
Does anybody know of any peculiarities in the strtotime() function? If I enter any date before 1 Jan 1970 I get a -1 returned. alex hogan * The contents of this e-mail and any files transmitted with i

[PHP] update mysql using radio button

2004-06-01 Thread Matt Newell
hello all - i'm having a problem getting an UPDATE to work with radio buttons and i'm not sure where it's gone wrong. the initial values are being grabbed properly, but unfortunately they don't want to get updated. the regular text form values update just fine. would appreciate some help. the ht

RE: [PHP] Online Testing Application

2004-06-01 Thread Alex Hogan
> The main page that I am trying to design a page which will > tell a user, what lessons he/she has passed, what lessons he > /she is eligible to take and the lessons he /she cannot take > at the moment. The lessons are numbered sequentially like > Lesson 101, 102, 103, 104, 105 , 106 110.

Re: [PHP] Spammers

2004-06-01 Thread John Nichel
Justin Patrin wrote: John Nichel wrote: Set up a filter. Everyone says use a filter, but you need to think of the resource issue as well. There are at least 2 (probably more) servers which have to process this mail. In addition, extra bandwidth is used. This may not seem like much, but it's stil

Re: [PHP] Online Testing Application

2004-06-01 Thread John W. Holmes
From: "Pushpinder Singh" <[EMAIL PROTECTED]> > I am designing a PHP and MySQL based online Testing Application. > The application will consist of about 120 lessons and each lesson will > have a quiz at the end of the lesson. There will also be some core > lessons that all test takers will ha

Re: [PHP] "Date object"

2004-06-01 Thread John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > A bit confused, I downloaded a function and it says it takes a "date > object"what exactly is a "date object"? > > This is exactly what is written " The function takes a date object as its > only parameter." No such thing. If you look at the code, though,

Re: [PHP] Editor's Page

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 02:12, Jay Blanchard wrote: > I am missing the link to the editor's list for PHP, can someone repost > it? If you mean text editors then I believe a link is contained in the weekly "Newbies Guide to Posting" (or whatever it's called). So either wait for the next weekly

Re: [PHP] Test Email

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 02:15, Tom Chubb wrote: > Sorry if anyone else gets this, but I'm not receiving any emails at the > moment and wanted to check my subscription. In future please use one of the list archives to check that the list is functioning. Eg: http://marc.theaimsgroup.com/?l=php

RE: [PHP] Editor's Page SOLVED

2004-06-01 Thread Jay Blanchard
[snip] I am missing the link to the editor's list for PHP, can someone repost it? [/snip] Found it...thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: GD Library Upgrade

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 01:10, Ryan Schefke wrote: > So there's no way to upgrade PHP 4.2.2's GD Library without upgrading to > the latest version of PHP? That was not what was said nor implied in my reply. Basically upgrading the GD lib used by PHP needs root privileges. If I understand you c

[PHP] Test Email

2004-06-01 Thread Tom Chubb
Sorry if anyone else gets this, but I'm not receiving any emails at the moment and wanted to check my subscription.

Re: [PHP] Spammers

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 01:16, Justin Patrin wrote: > IMHO, the php list admins should just > delete them Agree. > but none of them EVER respond to requests for this. Not true, it's just that it often takes someone several days to weeks to respond! -- Jason Wong -> Gremlins Associates -> w

[PHP] Editor's Page

2004-06-01 Thread Jay Blanchard
I am missing the link to the editor's list for PHP, can someone repost it? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with postgres

2004-06-01 Thread Jason Wong
On Wednesday 02 June 2004 01:31, alantodd wrote: > I have php with pg and mysql commands working on the web site all scripts > work. When I call them from the cmdline I get a different story. Call to > undefined function: pg_connect() but run the same script from the web and > it works no problem.

Re: [PHP] Spammers

2004-06-01 Thread Steve Douville
"This may not seem like much, but it's still a complete waste of resources." So is this thread... ;-) Really, though, the spam problem as a WHOLE is a resource waster. On top of the 100+ spam messages I get a day, getting these two IF I post a message really isn't wasting that much resource. I m

[PHP] Online Testing Application

2004-06-01 Thread Pushpinder Singh
Hello All, I am designing a PHP and MySQL based online Testing Application. The application will consist of about 120 lessons and each lesson will have a quiz at the end of the lesson. There will also be some core lessons that all test takers will have to pass before going ahead. There wil

[PHP] "Date object"

2004-06-01 Thread Ryan A
Hi, A bit confused, I downloaded a function and it says it takes a "date object"what exactly is a "date object"? This is exactly what is written " The function takes a date object as its only parameter." I checked out the manual and tried a timestamp, and then checked "date", "getdate", "mkti

[PHP] Re: forms and DB

2004-06-01 Thread Justin Patrin
Justin Patrin wrote: Bigmark wrote: Hi i urgently need a complete ---connect_db/form/results script, does anyone know of a ready to use script available and ready to use today. All i need is a connect.php page, a form to input a users name and one for some text -and also a page that shows all

Re: [PHP] Spammers

2004-06-01 Thread The Digital E
Can no one take a joke... it would be rather stupid to send an email out to a list if I was preparing to hack a system, especially with my company name in the email. To repeat what I've said 3 times: 'I made note earlier that I was joking about hacking the server... I'm a programmer not a hacke

[PHP] Re: IE Buffering

2004-06-01 Thread Justin Patrin
Stephen Lake wrote: Can anyone tell me what size the buffer in IE has to be before it outputs data? I don't know the answer, but I just output a large HTML comment that forces it to display...after every output that I want the user ot see real-time. Of course, this is somewhat inefficient bandwit

Re: [PHP] Spammers

2004-06-01 Thread Justin Patrin
John Nichel wrote: Steve Douville wrote: So, as I hit the send button, I know I'll have 3 messages to delete in a few seconds. No big deal... Set up a filter. Everyone says use a filter, but you need to think of the resource issue as well. There are at least 2 (probably more) servers which have

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Justin Patrin
Travis Low wrote: Justin Patrin wrote: Travis Low wrote: [I hate K&R indenting] And I'm one of them. :-) I like the K&R version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... cheers, Travis I meant

Re: [PHP] Spammers

2004-06-01 Thread John Nichel
Steve Douville wrote: So, as I hit the send button, I know I'll have 3 messages to delete in a few seconds. No big deal... Set up a filter. -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Spammers

2004-06-01 Thread John Nichel
The Digital E wrote: Last resort If this doesn't work, I have a few buddies that would love to try out their DOS attack skills, but I'd rather deal with it legally. H...nice thing to put your name on record for. 'No need for a trial your honor...we have his email to the php mailing lists righ

[PHP] Problem with postgres

2004-06-01 Thread alantodd
I have php with pg and mysql commands working on the web site all scripts work. When I call them from the cmdline I get a different story. Call to undefined function: pg_connect() but run the same script from the web and it works no problem.. Anyone have some insight why this is happening Than

[PHP] easy question...

2004-06-01 Thread Tim Traver
Hi all, I'm sure this question has come up before, so it should be an easy answer... I'm running PHP as an apache module, and have safe_mode turned on. When a script attempts to create a directory, or upload a file, it creates it as the web server user. Since it is an apache module, running suexe

[PHP] IE Buffering

2004-06-01 Thread Stephen Lake
Can anyone tell me what size the buffer in IE has to be before it outputs data? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spammers

2004-06-01 Thread Justin Patrin
Steve Douville wrote: Those messages are only broadcast if you happen to send a message to the board cause people have autoresponders set. Given that there are only two and now one bad address returning a message, I find it fairly easy to just hit the delete button three times. I don't think this q

[PHP] Re: forms and DB

2004-06-01 Thread Justin Patrin
Bigmark wrote: Hi i urgently need a complete ---connect_db/form/results script, does anyone know of a ready to use script available and ready to use today. All i need is a connect.php page, a form to input a users name and one for some text -and also a page that shows all the table results . i

RE: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Jay Blanchard
[snip] >> [I hate K&R indenting] > > And I'm one of them. :-) I like the K&R version because it saves > verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... [/snip] How many holy wars can be started in one thread legally

RE: [PHP] RE: GD Library Upgrade

2004-06-01 Thread Ryan Schefke
So there's no way to upgrade PHP 4.2.2's GD Library without upgrading to the latest version of PHP? Ryan -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 5:21 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] RE: GD Library Upgrade On Tuesday 01 June

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Travis Low
Justin Patrin wrote: Travis Low wrote: [I hate K&R indenting] And I'm one of them. :-) I like the K&R version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... cheers, Travis -- Travis Low

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Justin Patrin
Travis Low wrote: I have to say I like everything about the PEAR coding standards except for the K&R bracing style. I much prefer: if( foo ) { blah; } to if( foo ) { blah; } The latter form (K&R) conserves vertical space, but I find it a lot harder to follow. Harder to move

Re: [PHP] Spammers

2004-06-01 Thread Curt Zirzow
* Thus wrote The Digital E ([EMAIL PROTECTED]): > Hey everyone, don't know about you, but I'm sick of spam and so I've > reported the spammers to their ISP ipowerweb.com > I've sent them the headers and traceroute results and their abuse team > is investigating, it would be more powerful if a bun

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Don Read
On 31-May-2004 Travis Low wrote: > I have to say I like everything about the PEAR coding standards > except for the > K&R bracing style. I much prefer: > >if( foo ) >{ > blah; >} > Icky. So ... Vee-Eye or Eighty Megs and Constantly Swapping ? ;-> -- Don Read

Re: [PHP] Spammers

2004-06-01 Thread The Digital E
I made note earlier that I was joking about hacking the server... I'm a programmer not a hacker. I am however not a fan of spam and will report it when I can. On Jun 1, 2004, at 12:26 PM, Tyler Replogle wrote: yeah same thing for me, but i don't really care, its no reason to start hacker the se

Re: [PHP] Spammers

2004-06-01 Thread Tyler Replogle
yeah same thing for me, but i don't really care, its no reason to start hacker the server. From: "Steve Douville" <[EMAIL PROTECTED]> Reply-To: "Steve Douville" <[EMAIL PROTECTED]> To: "Php-General-Help" <[EMAIL PROTECTED]> Subject: Re: [PHP] Spammers Date: Tue, 1 Jun 2004 11:57:33 -0400 Those m

Re: [PHP] How to verify that data is in a blob?

2004-06-01 Thread Bob Lockie
On 05/31/04 15:44 [EMAIL PROTECTED] spoke: I want to verify that there is data (doesn't matter whether it's valid data or not) inside a MySQL blob using a PHP function. How do I do this? Thanks!! What characteristic defines a blob? -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread Chris Shiflett
--- php-general <[EMAIL PROTECTED]> wrote: > In php.ini, "safe_mode" is off, and "register_globals" is on. [snip] > "You have entered the following name: ..." is never displayed. [snip] > echo "You have entered the following"; > echo " Name: $vn $nn"; I guess you found a php.ini so

Re: [PHP] Spammers

2004-06-01 Thread Steve Douville
Well yeah, I could, but I'm rather adept at deleting the REAL spam I get so it's not a bother. lol I use a combination of filters and outlook message rules to catch most of it, so no worries. I'm used to it now. (And yet again, another couple to delete...) - Original Message - From: "Ja

RE: [PHP] Spammers

2004-06-01 Thread Jay Blanchard
[snip] Those messages are only broadcast if you happen to send a message to the board cause people have autoresponders set. Given that there are only two and now one bad address returning a message, I find it fairly easy to just hit the delete button three times. I don't think this qualifies as spa

Re: [PHP] Spammers

2004-06-01 Thread Steve Douville
Those messages are only broadcast if you happen to send a message to the board cause people have autoresponders set. Given that there are only two and now one bad address returning a message, I find it fairly easy to just hit the delete button three times. I don't think this qualifies as spam. So,

Re: [PHP] Spammers

2004-06-01 Thread Chris Boget
> > [snip] > > Hey everyone, don't know about you, but I'm sick of spam and so I've > reported the spammers > [/snip] > Which "spammers" are you referring too? I believe he made reference to them in his original post here: > so if you have a minute and are sick of the garbage from suisse bank a

RE: [PHP] Spammers

2004-06-01 Thread Jay Blanchard
[snip] Hey everyone, don't know about you, but I'm sick of spam and so I've reported the spammers [/snip] Which "spammers" are you referring too? [snip] Last resort If this doesn't work, I have a few buddies that would love to try out their DOS attack skills, but I'd rather deal with it legall

[PHP] Spammers

2004-06-01 Thread The Digital E
Hey everyone, don't know about you, but I'm sick of spam and so I've reported the spammers to their ISP ipowerweb.com I've sent them the headers and traceroute results and their abuse team is investigating, it would be more powerful if a bunch of people complained about it, so if you have a minu

Re: [PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread Steve Douville
This works perfectly fine for me, as is. fyi -- It doesn't matter what case "post" or "get" are in the code, the global _GET and _POST will be populated properly. - Original Message - From: "php-general" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 11:24 AM Su

Re: [PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread John W. Holmes
From: "php-general" <[EMAIL PROTECTED]> > I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. > In php.ini, "safe_mode" is off, and "register_globals" is on. > > I can enter names and submit them as often I like, but > the statement from the if-block is never executed, i.e. > the output "You

RE: [PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread Jay Blanchard
[snip] "; } ?> Please enter a Name and send the form: 2nd Name 1st Name [/snip] put "post" in all caps "POST". try changing $vn to $_POST['vn'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Security/Web tree/db connect and select

2004-06-01 Thread Chris W. Parker
John W. Holmes on Tuesday, June 01, 2004 8:29 AM said: > We'll call that Option 3, which is a viable option if you cannot do > Option 2 (store outside of webroot). The problems with this method is > that if PHP ever fails for any reason, the file may be delivered as

Re: [PHP] Security/Web tree/db connect and select

2004-06-01 Thread John W. Holmes
From: "Chris W. Parker" <[EMAIL PROTECTED]> > > You're right. Option 2 offers more security in that no one will ever > > be able to reach the file directly with a web browser. You don't need > > to use file() or file_get_contents(), though... A simple > > include('../includes/db.inc'); wil work (wh

[PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread php-general
Hi ! I am an unexperienced PHP newbie, and a have a Problem: The following script is a sample from a PHP tutorial, but it does not work on my machine. I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. In php.ini, "safe_mode" is off, and "register_globals" is on. The script from the mentio

RE: [PHP] Security/Web tree/db connect and select

2004-06-01 Thread Chris W. Parker
Chris W. Parker <> on Tuesday, June 01, 2004 8:12 AM said: > how about just calling 'db.php' so that when someone does request it > via a web browser it will be parsed and end up not sending any data > to the client? that should read, "just calling *it* 'db.php'", regarding the name of the fi

RE: [PHP] Security/Web tree/db connect and select

2004-06-01 Thread Chris W. Parker
John W. Holmes on Friday, May 28, 2004 11:25 PM said: > You're right. Option 2 offers more security in that no one will ever > be able to reach the file directly with a web browser. You don't need > to use file() or file_get_contents(), though... A simple > include('

Re: [PHP] PEAR/MySQL woes: Function registration failed - duplicate name

2004-06-01 Thread Jough P
Hrm, I restarted apaches and got the following: [warn] module php4_module is already loaded, skipping Is there a way to restart the PHP DSO? On Jun 1, 2004, at 8:56 AM, Jough P wrote: Installed a new PHP last night because I wanted to start using PEAR. When I use 'pear' from the command line a f

[PHP] PEAR/MySQL woes: Function registration failed - duplicate name

2004-06-01 Thread Jough P
Installed a new PHP last night because I wanted to start using PEAR. When I use 'pear' from the command line a few funny things happen. Among them are a bunch of errors like the following: PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0 PHP Wa

Re: [PHP] Cant right click

2004-06-01 Thread Stephen Lake
Or under Mozilla go -> View -> Page Source Or Ctrl-U Only Java/VB script to my knowldege can disable "Right-Click" > Under IE->View->Source and Bingo. > > It's probably a javascript script. Easy to bypass. > > PHP related...err no. > > - Original Message - > From: "Brent Clark" <[EMAIL PR

Re: [PHP] Remember username and password

2004-06-01 Thread John W. Holmes
From: "Phpu" <[EMAIL PROTECTED]> > How can i make a registration form that will remember > my username and password every time i login from the same computer? > I think i should set a cookie but i don't know how. http://us2.php.net/setcookie Don't put the username and password in the cookie. You

Re: [PHP] extracting quoted text in string

2004-06-01 Thread John W. Holmes
From: "Chris Hayes" <[EMAIL PROTECTED]> > >I would like to extract the quoted text from a string > >for example : the translation for beautiful is "beau" and wonderful is > >"formidable" > >I need to get 'beau' and 'formidable' strings into an array. > > > >Any idea?? > >I can go with strpos and

Re: [PHP] extracting quoted text in string

2004-06-01 Thread Jason Wong
On Tuesday 01 June 2004 20:43, Vincent DUPONT wrote: > I would like to extract the quoted text from a string > for example : the translation for beautiful is "beau" and wonderful is > "formidable" I need to get 'beau' and 'formidable' strings into an array. preg_match_all('|.*"(.*)".*|U', ...);

Re: [PHP] extracting quoted text in string

2004-06-01 Thread Chris Hayes
At 14:43 1-6-04, you wrote: Hi, I would like to extract the quoted text from a string for example : the translation for beautiful is "beau" and wonderful is "formidable" I need to get 'beau' and 'formidable' strings into an array. Any idea?? I can go with strpos and substrings, but maybe there is

[PHP] extracting quoted text in string

2004-06-01 Thread Vincent DUPONT
Hi, I would like to extract the quoted text from a string for example : the translation for beautiful is "beau" and wonderful is "formidable" I need to get 'beau' and 'formidable' strings into an array. Any idea?? I can go with strpos and substrings, but maybe there is something more convenient?

[PHP] forms and DB

2004-06-01 Thread BigMark
Hi i urgently need a complete ---connect_db/form/results script, does anyone know of a ready to use script available and ready to use today. All i need is a connect.php page, a form to input a users name and one for some text -and also a page that shows all the table results . i have to get t

[PHP] Re: drop down menu populated from a directory

2004-06-01 Thread Torsten Roehr
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok - here is the relevant Quicktime code: > > > width="320" height="256" > codebase="http://www.apple.com/qtactivex/qtplugin.cab";> > > > value="http://www.apple.com/quicktime/download/indext.html";> > >

Re: [PHP] zlib compatibility

2004-06-01 Thread Jason Wong
On Tuesday 01 June 2004 14:09, Francis Mak wrote: > This is a resend of my previous question, since nobody answer my question. > Maybe I went to a wrong way of asking such question: "whenever you see it > is related to VB, just ignored"... > Anyways, anybody has experience working with

Re: [PHP] Remember username and password

2004-06-01 Thread "Miguel J. Jiménez"
Yes, you must use a cookie with function setcookie() before any header is sent... Phpu wrote: Hi, How can i make a registration form that will remember my username and password every time i login from the same computer? I think i should set a cookie but i don't know how. Thanks --- avast! Antiv

Re: [PHP] Slightly OT Mysql question

2004-06-01 Thread XMG
On Mon, 31 May 2004, Dave Carrera wrote: > Hi List, > > Sorry for this question being slightly OT but its is to > due with my Php > script in a way. > > MySql has stopped adding rows since the db table hit 1mb... > > Anyone know why ? Do you check mysql_error and mysql_errno to see what error

[PHP] Remember username and password

2004-06-01 Thread Phpu
Hi, How can i make a registration form that will remember my username and password every time i login from the same computer? I think i should set a cookie but i don't know how. Thanks

[PHP] R: [PHP] query-apache2.0.49 installation

2004-06-01 Thread Alessandro Vitale
check apache server version from the test page. depending on your system, you may have another web server already running. if you really wish to install and use version 2.0.49 make sure the installed server is not conflicting with another one. cheers, A. -Messaggio originale- Da: rohit m

Re: [PHP] kill a script...plz help

2004-06-01 Thread Jason Wong
On Tuesday 01 June 2004 10:17, CurlyBraces Technologies \( Pvt \) Ltd wrote: > sorry for asking such questions , .. > If u all don't have codings for such cases , could u plz direct me with > some steps ? Have a look at the 'kill' command. -- Jason Wong -> Gremlins Associates -> www.grem

Re: [PHP] RE: GD Library Upgrade

2004-06-01 Thread Jason Wong
On Tuesday 01 June 2004 12:42, Ryan Schefke wrote: > I'm working with a host on a Linux box with PHP 4.2.2. The version of GD > Library they have is 1.8.4. I was uploading some pictures using a script > that leveraged GD Library 2+. Using the php version with the newer GD > library seemed to pr

[PHP] query-apache2.0.49 installation

2004-06-01 Thread rohit mohta
  whenever it try to manually start apache 2.0.49 from my system it throws the following error only one useage of each socket address is normally permitted :make sock could not bind to address 127.0.0.1:80 no listening sockets available ,shutting down unable to open logs when i enter localhost

Re: [PHP] Affiliates Programs

2004-06-01 Thread The Digital E
I ran across that one as well, it may be a bit more than I need though, and doesn't look very customizable. I'll look further into that one, though, thanks. If anyone has used it though... please let me know how your experience has been. Thanks On Jun 1, 2004, at 4:00 AM, Ryan A wrote: Hey, I c

Re: [PHP] Slightly OT Mysql question

2004-06-01 Thread Burhan Khalid
Dave Carrera wrote: Hi List, Sorry for this question being slightly OT but its is to due with my Php script in a way. MySql has stopped adding rows since the db table hit 1mb... Anyone know why ? I have search mysql.com docs and other web resources but can not figure it out. Running FreeBSD 4.7 and

[PHP] Affiliates Programs

2004-06-01 Thread The Digital E
Does anyone know of a good PHP affiliates program, I'm willing to spend some cash if I need to, I have to have one up in a week for a client and can't possibly write it from the ground up by then. A good free one that I can build on or a great package that costs $100 or less would be ideal. Th

  1   2   >