[PHP] Change dir mode to writable for uploading..

2001-02-24 Thread Dhaval Desai
Hi! I have problem uploading the file to a directory... It says permission denied. THe problem is taht ther directory is on the web. I connect using WS_ftp. THe directory is set to: drwxr-xr-x How do I make it writable..? I am using form to upload the files there.. Is there any way I can

RE: [PHP] Change dir mode to writable for uploading..

2001-02-24 Thread PHPBeginner.com
use chmod 775 dir (or 777 - but not recommended) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 5:25

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-24 Thread Rasmus Lerdorf
rasmus Sat Feb 24 02:20:38 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Midgard cvs account for Alexander Bokovoy Index: CVSROOT/avail diff -u CVSROOT/avail:1.99 CVSROOT/avail:1.100 --- CVSROOT/avail:1.99 Fri Feb 23 18:50:13

[PHP] $result = $$function

2001-02-24 Thread Peter Van Dijck
Hi, I'd like to do: $function = "build_result()"; $result = $$function; but it doesn't seem to work. The reason why I think I need it is that I have a generic function, but within it I have to call another function depending on who called it. I could build a switch within the generic function

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 04:37:19 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Add the ability to set a connection password Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.34 php4/ext/ircg/ircg.c:1.35 --- php4/ext/ircg/ircg.c:1.34 Wed Feb

[PHP-CVS] cvs: php4 /sapi/aolserver README

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 05:14:27 2001 EDT Modified files: /php4/sapi/aolserverREADME Log: Change the default to assumption that people don't use AOLserver 3.0 anymore. Index: php4/sapi/aolserver/README diff -u php4/sapi/aolserver/README:1.4

[PHP] redirect to another page not using headers

2001-02-24 Thread kaab kaoutar
Hi! i'm working on Windows NT workstation with PWS§ Therefore header does not work ! but i want to redirect to another page! any server isde idea ? Thanks _ Get Your Private, Free E-mail from MSN Hotmail at

[PHP-CVS] cvs: php4 /ext/midgard article.c calendar.c event.c person.c topic.c

2001-02-24 Thread David Guerizec
davidg Sat Feb 24 05:39:30 2001 EDT Modified files: /php4/ext/midgard article.c calendar.c event.c person.c topic.c Log: fixed some possible memory leaks. Index: php4/ext/midgard/article.c diff -u php4/ext/midgard/article.c:1.7

Re: [PHP] Change dir mode to writable for uploading..

2001-02-24 Thread Web Admin
Hi Dhaval, You said in your previous e-mail 'C:\'. Are you using a NT based server or Unix based? If your server is a unix based one, consider trying this command: chmod 777 /path/to/directory Warning, this is a bit dangerous and might be vulnerable, are you running your webserver with nobody?

[PHP] checking $more still does not work !

2001-02-24 Thread kaab kaoutar
Hi! i have a submit button called "more" in a page that calles itself i try to check whether the page was just loaded or called by clicking on that button using : if ($more) {echo "hi";} it never echo hi any idea ? Thanks

Re: [PHP] $result = $$function

2001-02-24 Thread Web Admin
Hi, I didn't get why you haven't used this: switch $var case something: $result=$build_result(); break; case somethingelse: $result=$build2(); break; blah blah blah... Ahmad - Original Message - From: Peter Van Dijck To: php gen list Sent: Saturday, February 24, 2001

Re: [PHP] redirect to another page not using headers

2001-02-24 Thread Joe Njeru
HI, why don't you implement some client side script in your page for example: echo ("script language=JavaScriptfunction Relod1(){window.location='your.php?url=default.php';}/script") body onLoad=Relod1() Joe Njeru, Nairobi Kenya ""kaab kaoutar"" [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] status page between submit and results

2001-02-24 Thread Mitchell Hagerty
Blizzard here, hows the weather there? :) The website I am working on has several forms, a search, and a login that can take close to a minute depending on much traffic it is recieving. I've noticed on other sites ("paypal" for instance) that when you submit it throws up a "loading..." page

Re: [PHP] isset()

2001-02-24 Thread Joe Stump
For the last time - put an input box on a page and submit with NOTHING in the box. Now I want SOMETHING in that box (like a name) - isset() will return true even though it's empty. --Joe On Sat, Feb 24, 2001 at 04:32:11PM +0900, PHPBeginner.com wrote: Whatever they input is not the objects,

[PHP] getting result set of a stored procedure

2001-02-24 Thread Kevin Beckford
I have been working with mysql for a while, and now I am working with Sybase ASE. I have some stored procedures that I can run, but I would like to know how to access the result set of such a call. In mysql, the result set is just another table, and I can fetch it as a hash or object to get what

[PHP] Class methods in PHP

2001-02-24 Thread Kevin Beckford
Is there class methods in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] isset()

2001-02-24 Thread PHPBeginner.com
in my preceding email I've written: if($var!='') will fix your all your worries without an intervention of a strings function. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message-

[PHP] session_register in function

2001-02-24 Thread Jon Rosenberg
The variable I register before the function becomes available in the session to other pages...the variable I register inside the function are not accessible in the session to ohter pages. Is this normal? How can I work around this? Thanks! PHP4.0.4pl1 on Linux. sample code: ?

Re: [PHP] DIsplaying page before script finnished

2001-02-24 Thread Kyndig
On Sat, 24 Feb 2001, David Tandberg-Johansen wrote: Hello! I wonder if there are any way to display the page before the script is finished? I have a loop in my script,and I want to display the resoult for each loop. Try the REFRESH meta tag Thanks David :-) -- PHP General

Re: [PHP] DIsplaying page before script finnished

2001-02-24 Thread Kevin Beckford
try using flush() - Original Message - From: "David Tandberg-Johansen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 24, 2001 11:34 AM Subject: [PHP] DIsplaying page before script finnished : Hello! : : I wonder if there are any way to display the page before the

php-general Digest 24 Feb 2001 16:44:33 -0000 Issue 531

2001-02-24 Thread php-general-digest-help
php-general Digest 24 Feb 2001 16:44:33 - Issue 531 Topics (messages 41431 through 41496): Re: Download PHP from Linux machine? 41431 by: Simons 41437 by: ..s.c.o.t.t.. Re: Using while as for... 41432 by: ..s.c.o.t.t.. 41436 by: Andrew Hill 41438

Re: [PHP] Class methods in PHP

2001-02-24 Thread Christian Reiniger
On Saturday 24 February 2001 17:05, Kevin Beckford wrote: Is there class methods in php? Well, there are classes, classes can have methods, there are methods to handle classes, methods to inspect methods, methods to inspect classes and propably more. I have no idea what you mean with your

Re: [PHP] isset()

2001-02-24 Thread Christian Reiniger
On Saturday 24 February 2001 17:18, PHPBeginner.com wrote: in my preceding email I've written: if($var!='') will fix your all your worries without an intervention of a strings function. Except that it will throw a warning in PHP4 if $var is not set. = isset () should be used. --

RE: [PHP] DIsplaying page before script finnished

2001-02-24 Thread James Moore
-Original Message- From: David Tandberg-Johansen [mailto:[EMAIL PROTECTED]] Sent: 24 February 2001 16:34 To: [EMAIL PROTECTED] Subject: [PHP] DIsplaying page before script finnished Hello! I wonder if there are any way to display the page before the script is finished? I

Re: [PHP] Class methods in PHP

2001-02-24 Thread Kevin Beckford
Well I meant class functions that do not need an object to be declared... but don't worry about it - I found out. There are none in php. - Original Message - From: "Christian Reiniger" [EMAIL PROTECTED] To: [EMAIL PROTECTED]out Sent: Saturday, February 24, 2001 11:49 AM Subject: Re:

[PHP] Fwd: Binding A Socket

2001-02-24 Thread Kyndig
I posted this message, but it never went through: Not sunny on this end, abit drab today, I'm workin up a socket bind for a MUD game. Heh, why not, nothin ta do wright now. I've taken the main socket() call off of php.net page as an example to bind a port. The script functions, but when I

[PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
Hi everyone, I'm working on converting my site to PHP/MySql. I need to figure out a way to import several thousand text files into the database while applying certain PHP functions to them. From now on, when a user submits a new document, it gets a random docid assigned to it using the

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread richard merit
No answer, but a question. I noticed you're using, in effect, two id's for each entry, a id number and a doc id number. The first is accomplished thru auto-increment. Wouldn't it be easier to us just one id number, a=LAST_INSERT_ID(id+b) and reserve the first 10k numbers (b), whatever is

Re: [PHP] Class methods in PHP

2001-02-24 Thread Aaron Tuller
that's not true. you can call a static method with the "::" notation. like ClassName::method(); there's doesn't need to be an instance to do that. not sure if that's true for all of PHP4 or just 4.04 or whatnot. -aaron At 11:56 AM -0500 2/24/01, Kevin Beckford wrote: Well I meant class

[PHP] parsing multiple xml documents

2001-02-24 Thread Daniel Convissor
Hi Folks: I just wrote a basic XML parser using the parse_xml() function set. Does what I want on the first document. But, if I try to run a second document through, it chokes saying "junk after document element." All of the files are valid and parse okay if I just send one file through.

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 11:53:41 2001 EDT Modified files: /CVSROOTgen_acl_file.m4 avail Log: php-gtk karma for zimt Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.104 CVSROOT/gen_acl_file.m4:1.105 --- CVSROOT/gen_acl_file.m4:1.104 Sat

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
1. Local Server 2. Either one, I'm trying to learn PHP 3. Yes, this is just a project for which I am not making any money, but I can pay someone in respect and admiration ;-) - Original Message - From: Todd Pillars To: Clayton Dukes Sent: Saturday, February 24, 2001 2:25 PM

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
the first field, ID, is just for keeping a standard sequence and isn't called from any web pages. The second ($docid) is a random field which is called from a web page, which makes it harder (if not impossible) to guess/hack. This makes it a bit more secure. A note about the old docid #'s, my

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 12:37:20 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Replace the sixth and seventh parameter of ircg_pconnect() with a connection-detail array. Currently, you can set realname, password, ident. Those information are used

[PHP] function mail

2001-02-24 Thread Augusto Cesar Castoldi
$sent=mail("[EMAIL PROTECTED]", $subject, $msg, $from); if $sent==1 -- the e-mail was sent if $sent==0 -- problem when sending e-mail?? how this works? When the function mail will have a problem? if the "to" mail are wrong? regards, Augusto Cesar Castoldi -- PHP General Mailing List

[PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/servlet servlet.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 13:05:01 2001 EDT Modified files: /php4/sapi/cgi cgi_main.c /php4/sapi/servlet servlet.c Log: Neither the CGI nor the Servlet SAPI module call syslog, so remove references to the syslog include files. Index:

[PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 13:07:07 2001 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: php_register_command_line_global_vars only needs file scope. Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.92 php4/sapi/cgi/cgi_main.c:1.93 ---

[PHP] file handle error? or something else?

2001-02-24 Thread rick - SomersNet, Inc.
Hello All... I wanted to write a program that would search google for specific keywords from my database, and report to me if it found my domain, and if so what page it was on. Well it works, and it's very cool I might add, but then it fails... :( But it doesn't fail right away.. I have had

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c php_ext_syslog.h syslog.c /main php_syslog.h

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 13:08:15 2001 EDT Modified files: /php4/ext/standard basic_functions.c php_ext_syslog.h syslog.c /php4/main php_syslog.h Log: Actually compile on systems without syslog. PR: #9412 Index: php4/ext/standard/basic_functions.c

[PHP-CVS] cvs: php4 /ext/midgard mgd_internal.h midgard.c oop.c php_midgard.h

2001-02-24 Thread David Guerizec
davidg Sat Feb 24 13:12:11 2001 EDT Modified files: /php4/ext/midgard mgd_internal.h midgard.c oop.c php_midgard.h Log: fixed the error reporting. added custom log to the lib Index: php4/ext/midgard/mgd_internal.h diff -u

[PHP-CVS] cvs: php4 /main network.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 13:14:18 2001 EDT Modified files: /php4/main network.c Log: Declare inet_aton properly, if the system lacks support for it. PR: #9382 Index: php4/main/network.c diff -u php4/main/network.c:1.14 php4/main/network.c:1.15 ---

[PHP-CVS] cvs: php4 /ext/standard datetime.c

2001-02-24 Thread Sascha Schumann
sas Sat Feb 24 13:18:29 2001 EDT Modified files: /php4/ext/standard datetime.c Log: Don't assume that tzname exists, if tm_zone does not exist. PR: #9380 Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.66

Re: [PHP] file handle error? or something else?

2001-02-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("rick - SomersNet, Inc.") wrote: $sp=fsockopen($host,80) or brake; socket_set_timeout($sp, 600) or brake; fputs($sp,"GET $filename HTTP/1.1\n") or brake; Hmm. What's that 'or brake' stuff? 'brake' is used as a constant, but

[PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Ed Lazor
I upgraded my web server and now file uploads don't work. A test script is listed below. It puts the file on the server, but the file has Content-Type: image/pjpeg^M ^M pre-pended to it, thus breaking the file. Do you know why it's doing this and how to fix it? -Ed ?php global

[PHP] C vs PHP

2001-02-24 Thread Gustavo Vieira Goncalves Coelho Rios
Hi folks! I am a used C programmer and now my company decide to switch every non performance critical web stuf to php. Since i am just a php beginner i have some questions i could not find anywhere! As you may know, C does not provide any kind of support for garbage collection, every thing you

[PHP] CLOB update difficulties

2001-02-24 Thread Chris Murtland
Hello, I am trying to update an Oracle 8i CLOB field. I have looked at previous messages on the list and am trying the following: $sql="update murtland.articles set title='$title',release_date=TO_DATE('$release_date','-MM-DD'),body=:body

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Gustavo Vieira Goncalves Coelho Rios
Ed Lazor wrote: I upgraded my web server and now file uploads don't work. A test script is listed below. It puts the file on the server, but the file has Content-Type: image/pjpeg^M ^M pre-pended to it, thus breaking the file. Do you know why it's doing this and how to fix it?

Re: [PHP] Using while as for...

2001-02-24 Thread Steve Edberg
At 12:44 PM -0800 2/24/01, Felipe Lopes wrote: I was trying to code the following script using while instead of for, but I'm havig a lot of problems...Is it possible to do what I want? for ($count = 0; $count = 10; $count++){ echo "Number is $count BR\n"; } Could anyone tell me how is it with

RE: [PHP] C vs PHP

2001-02-24 Thread James Moore
As you may know, C does not provide any kind of support for garbage collection, every thing you want to be done you have to tell (in C) by yourself. But in PHP i have no ideia about how it manages memory. for instance: You dont need to worry about mem mangement as PHP does it all for you.

[PHP] Inserting user name and password into mysql...

2001-02-24 Thread Felipe Lopes
Hi! Here I am again...I have a problem to insert user name, password and host into mysql...I'd like to know what commands I need to do that (since the command to start mysql on my computer) so that way I won't be able to do anything wrong! Thank you Felipe Lopes MailBR - O e-mail do

[PHP] Cookie References?

2001-02-24 Thread Jeff Oien
Could you give me some URLs for tutorials related to cookies and good reference material? One question I have is can a cookie never expire? Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] $result = $$function

2001-02-24 Thread Simon Garner
From: "Peter Van Dijck" [EMAIL PROTECTED] Hi, I'd like to do: $function = "build_result()"; $result = $$function; but it doesn't seem to work. Try: ?php $function = "build_result"; $result = $function(); ? Cheers Simon Garner -- PHP General Mailing List

Re: [PHP] checking $more still does not work !

2001-02-24 Thread Simon Garner
From: "Web Admin" [EMAIL PROTECTED] Hi Kaab, There must be another problem, it should work. Maybe it helps if you send your code here. To see how a simple script works, try this tiny script named test.php: form action=test.php input type=submit name=more /form ?php if ($more) {print

Re: [PHP] Cookie References?

2001-02-24 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from [EMAIL PROTECTED] Sat, 24 Feb 2001 16:42:09 -0600 Could you give me some URLs for tutorials related to cookies and good reference material? Not directly, but there are a number of tutorial links at:

Re: [PHP] C vs PHP

2001-02-24 Thread Michael Kimsal
http://www.zend.com/zend/art/under-php4-hood.php and http://www.zend.com/zend/art/ref-count.php are articles that go into a bit more depth on this topic. Maybe not as detailed as you'd like, but they explain a bit more about how/why "PHP does it for you" is a valid reply to your question.

[PHP] persistant user tracking

2001-02-24 Thread Mitchell Hagerty
What are some methods for persistant user tracking? I need to limit the number of times a person can search for certain material without forcing them to create a login. Currently I am using cookies to limit the number of searches a person can do but, quiting and removing the cookie file

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Koncz Ádám
As Ed Lazor wrote: I upgraded my web server and now file uploads don't work. A test script is listed below. It puts the file on the server, but the file has Content-Type: image/pjpeg^M ^M pre-pended to it, thus breaking the file. Do you know why it's doing this and how to fix it?

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Koncz Ádám
Sorry, wrong link was added in my prev mail. To find a _possible_ patch visit: http://marc.theaimsgroup.com/?l=php-devm=98233943916254w=2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Database Paging using MSSQL 2000

2001-02-24 Thread Manuel Lemos
Hello Ankur, On 21-Feb-01 06:09:04, you wrote: I am implementing a database application using PHP4 and MSSQL2000. I have a database table which has a large no. of tuples. I want to display the data in the form of pages with Prev Next buttons. I wanted to know if there is some syntax in the

Re: [PHP] select name=....

2001-02-24 Thread Kath
Don't forget to close the /SELECT. Netscape doesn't like it without that sometimes. - Kath - Original Message - From: "PHPBeginner.com" [EMAIL PROTECTED] To: "Peter Houchin" [EMAIL PROTECTED]; "PHP MAIL GROUP" [EMAIL PROTECTED] Sent: Saturday, February 24, 2001 1:16 AM Subject: RE:

[PHP] comparing numbers

2001-02-24 Thread Clayton Dukes
How can I do something like the following shell script, in PHP? (I know this won't work normally, but you get the idea). if [ $id = 59 ]; then $id=81 TIA! Clayton Dukes

Re: [PHP] comparing numbers

2001-02-24 Thread Joe Stump
just replace the [] with () if($id = 59) { $id = 81; } --Joe On Sat, Feb 24, 2001 at 09:54:08PM -0500, Clayton Dukes wrote: How can I do something like the following shell script, in PHP? (I know this won't work normally, but you get the idea). if [ $id = 59 ]; then $id=81 TIA!

RE: [PHP] comparing numbers

2001-02-24 Thread David Harrison
Do you mean something like: ?php if ($id = 59) $id = 81; ? --dave -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 12:54 PM To: [EMAIL PROTECTED] Subject: [PHP] comparing numbers How can I do something like the following shell

[PHP] PHP4 install question

2001-02-24 Thread Ed Lazor
I've had PHP installed through the RedHat RPMS listed below. php-imap-4.0.4pl1-3 php-manual-4.0.4pl1-3 php-4.0.4pl1-3 php-ldap-4.0.4pl1-3 php-mysql-4.0.4pl1-3 Unfortunately, I discovered there's a bug in this version, so I need to remove the rpms and install PHP by compiling the source. I've

[PHP] Detecting if JavaScript is enabled

2001-02-24 Thread Jochen Kächelin
Who can give me a PHP-Script to detect if JavaScript is enabled? It should work with both, IE and NN! thanks -- Ihr WEBberater Stuttgarter Str.3, D-73033 Gppingen Tel. +49(0)7161-929594 - Fax. +49(0)7161-929598 http://www.wa-p.de ** mailto:[EMAIL PROTECTED] -- PHP General Mailing List

[PHP] generate e.g. circles on the fly with coordinates for postioning

2001-02-24 Thread Helmut Ott
Can php + what modules do this and has anybody succeeded to do something like the followingbefore? I want to generate simple images on the fly, e.g. a 50px circle on a transparent background of 200x200 px using php. I want to position the circle on the background using x and y coodinates. Is

[PHP] Detecting JavaScript

2001-02-24 Thread Jochen Kächelin
Who can give me a PHP-Script to detect if JavaScript is enabled? It should work with both, IE and NN! thanks -- Ihr WEBberater Stuttgarter Str.3, D-73033 Gppingen Tel. +49(0)7161-929594 - Fax. +49(0)7161-929598 http://www.wa-p.de ** mailto:[EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] generate e.g. circles on the fly with coordinates for postioning

2001-02-24 Thread Joe Conway
Subject: [PHP] generate e.g. circles on the fly with coordinates for postioning Can php + what modules do this and has anybody succeeded to do something like the followingbefore? I want to generate simple images on the fly, e.g. a 50px circle on a transparent background of 200x200 px using

[PHP] Temporarily turning off magic quotes?

2001-02-24 Thread Ben Cheng
If I have magic quotes turned on for post/get/etc. in my php.ini, is there any way to temporarily turn it off for one page? For example, I have a preview page inbetween my data entry page and the page that actually saves to db. I don't want magic quotes turned on when going from the data

php-general Digest 25 Feb 2001 04:49:28 -0000 Issue 532

2001-02-24 Thread php-general-digest-help
php-general Digest 25 Feb 2001 04:49:28 - Issue 532 Topics (messages 41497 through 41541): Re: Class methods in PHP 41497 by: Christian Reiniger 41501 by: Kevin Beckford 41505 by: Aaron Tuller Re: isset() 41498 by: Christian Reiniger Re: DIsplaying page

Re: [PHP] Detecting JavaScript

2001-02-24 Thread Mitchell Hagerty
I think phpclient sniffer can do that... found here: http://www.php.net/manual/en/ref.imap.php mitch - Original Message - From: Jochen K?chelin [EMAIL PROTECTED] Date: Saturday, February 24, 2001 10:37 pm Subject: [PHP] Detecting JavaScript Who can give me a PHP-Script to detect if

Re: [PHP] Detecting JavaScript

2001-02-24 Thread Mitchell Hagerty
wps didn't check to see what was in my paste buffer sorry: http://www.asphyxia.com/ mitch - Original Message - From: Ed Lazor [EMAIL PROTECTED] Date: Saturday, February 24, 2001 11:12 pm Subject: Re: [PHP] Detecting JavaScript I couldn't find anything about phpclient sniffer on

[PHP] Unwanted Characters

2001-02-24 Thread Clayton Dukes
How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over my dog" needs to be filtered and reprinted as: "The car ran over my dog" Thanks :-) Clayton Dukes

Re: [PHP] Unwanted Characters

2001-02-24 Thread Joe Stump
Look at the chr() function - figure out what the character is (number wise) and then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace with chr() on one of the replaces, I've done it before) --Joe On Sun, Feb 25, 2001 at 12:34:21AM -0500, Clayton Dukes wrote: How do I

[PHP] php and apache 2.0

2001-02-24 Thread jeremy
will php 4.0.4 build as a module with apache 2.0? - jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Escaping double quotes?

2001-02-24 Thread Ben Cheng
How do you escape double quotes? I have the following which is supposed to make any " in a string into \" but it doesn't seem to work. What's wrong with it? $tmp_string = str_replace ("\"", "\\\"", $tmp_string); -Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Escaping double quotes?

2001-02-24 Thread Joe Stump
addslashes() usually works for me... --Joe On Sun, Feb 25, 2001 at 01:46:30AM -0500, Ben Cheng wrote: How do you escape double quotes? I have the following which is supposed to make any " in a string into \" but it doesn't seem to work. What's wrong with it? $tmp_string = str_replace

[PHP] MYSQL HELP!!!

2001-02-24 Thread Felipe Lopes
Hi! Here I am again...I have a problem to insert user name, password and host into mysql...I'd like to know what commands I need to do that (since the command to start mysql on my computer) so that way I won't be able to do anything wrong! Thank you Felipe Lopes MailBR - O e-mail do

[PHP] extract() help

2001-02-24 Thread Jaxon
Hi PHPers, the following function is supposed to build an html table, creating a content row for every row in a database table. It is creating a table with the correct number of rows, but NO content is being echoed... I think I must be using the extract() function inside the for loop wrong...

Re: [PHP] session_register in function

2001-02-24 Thread Jeff Lacy
I had this same exact problem just today. It all stems from the variable namespace, I think A similar code 'snippet' is shown below. I just made it up, but I think it illustrates my point. ?php session_start (); function crud ($user, $password) { session_register ('user');

[PHP] really weird html - was extract() help

2001-02-24 Thread Jaxon
I replaced extract() with $row[] - much better. Now I have the strangest thing happening - the td align="right" html formatting only applies to the first iteration in the loop, even though it shows up in the html source!! regard, jaxon html generation: for ($i = 1; $i = 5;

Re: [PHP] Unwanted Characters

2001-02-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Joe Stump) wrote: Look at the chr() function - figure out what the character is (number wise) and then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace with chr() on one of the replaces, I've done it before)

Re: [PHP] Cookie References?

2001-02-24 Thread mwaples
Jeff Oien wrote: Could you give me some URLs for tutorials related to cookies and good reference material? www.cookiecentral.com/faq/ has some good general info rfc2109 - more technical but useful http://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html One question I have is can a cookie

Re: [PHP] Unwanted Characters

2001-02-24 Thread mwaples
Clayton Dukes wrote: How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over my dog" needs to be filtered and reprinted as: "The car ran over my dog" Thanks :-) Clayton Dukes ?php $sometext = "The car ran over my dog"; $thread =

Re: [PHP] isset()

2001-02-24 Thread Mark Maggelet
On Sat, 24 Feb 2001 17:51:07 +0100, Christian Reiniger ([EMAIL PROTECTED]) wrote: On Saturday 24 February 2001 17:18, PHPBeginner.com wrote: in my preceding email I've written: if($var!='') will fix your all your worries without an intervention of a strings function. Except that it will

Re: [PHP] Temporarily turning off magic quotes?

2001-02-24 Thread mwaples
Ben Cheng wrote: If I have magic quotes turned on for post/get/etc. in my php.ini, is there any way to temporarily turn it off for one page? For example, I have a preview page inbetween my data entry page and the page that actually saves to db. I don't want magic quotes turned on when