Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
To get back to your remark about those stats; I just did. Less than 1% uses NS! But still... I'd like to have a site that just works!!! RenzE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] RE: Protect images in directory

2001-03-28 Thread Tim Ward
how about keeping the images off of the root and getting php to create copies just for the request. I haven't really thought this through, but it sounds plausible. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.sti

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
Yep... You're right (again...). Though I must say that the transfer _is_ a 'problem'. Not only for NS users, but for most people, because let's face it; most people still use a modem (39K, 56K...) for Internet and not the 2Gb line that I have. I've got not problems with transfer-speed at all, but

RE: [PHP] Easy HTML PHP question

2001-03-28 Thread Tim Ward
he's right, but what about using the onclick event of the image to store a value in a hidden field (I haven't tried this but there's no reason to think it won't work) Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.

Re: [PHP] This PHP list

2001-03-28 Thread Kyutums
Same here. This list has helped me many times before. And as soon as I enough knowledge to help someone else, I will. - Kyutums Peter Houchin wrote: > Being a newbie, and as i'm sure is the case with alot of other newbies, one that >doesn't have a lot of programming back ground, ask stupid qu

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 2:14:57 AM on 3/29/2001, nicuc.ac.jp wrote: > I can use just following commands no other commands allow. > Is this enough to install ImageMagick ? ... If you want to do what I think you want to do, then see my answer to your question about passthru() a minute ago. -Brian -- PGP

Re: [PHP] Problem to run java command line with passthru()

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 1:42:21 AM on 3/29/2001, nicuc.ac.jp wrote: ... > $java HelloWorld ... > passthru("java HelloWorld") ; > ?> > But call through browser its return nothing. no out put , no error > display. I test my script by log-in Telnet to call the PHP script > directly. Try backticks, but be

php-general Digest 29 Mar 2001 07:23:00 -0000 Issue 595

2001-03-28 Thread php-general-digest-help
php-general Digest 29 Mar 2001 07:23:00 - Issue 595 Topics (messages 45946 through 46029): search engine 45946 by: Augusto Cesar Castoldi Re: Curious 45947 by: YoBro 45967 by: Joe Stump Copy data from one mysql table to another? 45948 by: Bob Stone

Re: RE: [PHP] This PHP list

2001-03-28 Thread dempsejn
Hey Peter, not to keep this discussion going (which of course i do by typing this), but i wanted to add a quick comment on what you wrote...in a lot of ways, i'm a "newbie" to PHP...i've only been using it seriously for a couple months (max)but, i hate having others figure things out for

Re: [PHP] What is the difference between session_unset() and session_destroy()?

2001-03-28 Thread \[Inf\] F!RE-WALL
Erm...I believe session_unset unsets all variables in the session, leaving the session itself intact. While session_destroy deletes the entire session and all variables in it. But I'm not so sure. "Carfield Yim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread nicuc.ac.jp
Hi Brian , I can use just following commands no other commands allow. Is this enough to install ImageMagick ? //- ar awk cat chmodclearcompress cp crontab cryptcut date diff dirname dos2unix

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 1:57:59 AM on 3/29/2001, nicuc.ac.jp wrote: > I need to resize picture (JPEG,PNG) on the fly in PHP. > But, My server very restrictly. I just "user" neither root nor super user. ... If you're not in a restricted shell, or some wacko chrooted environment you can try to install Imag

RE: [PHP] This PHP list

2001-03-28 Thread Peter Houchin
Being a newbie, and as i'm sure is the case with alot of other newbies, one that doesn't have a lot of programming back ground, ask stupid questions to this list because for some things that you find easy others, like my self, don't know what to look for in the manual ... so we ask it here...

[PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread nicuc.ac.jp
I need to resize picture (JPEG,PNG) on the fly in PHP. But, My server very restrictly. I just "user" neither root nor super user. ImageMagik , GD Library not found on the system. I have permission to use telnet. I can use Java command line. What should I do ? Thanks -- -Tuna- -- PHP Genera

Re: [PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread cam k
Yeah, I thought about that. But then I'm not sure how to get the data from a javascript array back to php to then send to the database I have just been messing around with using arrays as session variables and it seems to work. thanks anyway. ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in me

[PHP-CVS] cvs: php4 /pear/Experimental/Image color_helper.php

2001-03-28 Thread Sebastian Bergmann
sbergmann Wed Mar 28 22:55:15 2001 EDT Modified files: /php4/pear/Experimental/Image color_helper.php Log: Added web-safe colors list. Index: php4/pear/Experimental/Image/color_helper.php diff -u php4/pear/Experimental/Image/color_helper.php:1.2 p

Re: [PHP] This PHP list

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 16:05, Ian Harris wrote: > I was hoping that this PHP list would be of people developing with PHP, > who have reached some level of familiarity with the product and when > they have had a fair go at solving a problem, they then posted it to > the list. For example, we have a p

Re: [PHP] This PHP list

2001-03-28 Thread Gfunk
Just my .02c... I really hate these sorts of questions... As the previous poster said, if there was a newbie only list, it'd be full of newbies, and you'd never get anything answered cause there'd be only newbies, and newbies would all come to the advance list to ask their questions. I'd bet my a

RE: [PHP] This PHP list

2001-03-28 Thread Jason Lotito
> -Original Message- > From: Ian Harris [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 10:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] This PHP list > > > > I was hoping that this PHP list would be of people developing > with PHP, who > have reached some level of familiarit

[PHP] Problem to run java command line with passthru()

2001-03-28 Thread nicuc.ac.jp
Hello, I try to use passthru() command to execute command line in my script. At Telnet I can use following command to execute my java program and out put is fine. $java HelloWorld So, I need to embed this command line in the script like this : // java.php But call through b

[PHP] Php extension for Ultradev available now !

2001-03-28 Thread Ovidiu EFTIMIE
For those working with ultradev : http://www.udzone.com/showDetail.asp?TypeId=4&NewsId=488 Ovidiu -- 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 P

Re: [PHP] Sessions: what's wrong sith this code?

2001-03-28 Thread Yasuo Ohgaki
Why do you use un/serialize() for array? If you are using PHP4 session, you don't need it. It's done in session module. Multiple serialize() may be causing your problem. -- Yasuo Ohgaki "Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tri

RE: [PHP] This PHP list

2001-03-28 Thread Jason Murray
> I was hoping that this PHP list would be of people developing > with PHP, who have reached some level of familiarity with the product > and when they have had a fair go at solving a problem, they then posted > it to the list. For example, we have a problem in our code where the > last objec

[PHP] This PHP list

2001-03-28 Thread Ian Harris
I was hoping that this PHP list would be of people developing with PHP, who have reached some level of familiarity with the product and when they have had a fair go at solving a problem, they then posted it to the list. For example, we have a problem in our code where the last object in an array

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
FYI Use $HTTP_*_VARS to avoid this kind of problems. Variable order may change server to server, so you might not able to rely on it even if you know well about it. -- Yasuo Ohgaki ""Jason Lam"" <[EMAIL PROTECTED]> wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL PROTECTED]

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
That's because your "variable_order" is "EGPCS". (Default) So your PHP is working fine. -- Yasuo Ohgaki ""Jason Lam"" <[EMAIL PROTECTED]> wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL PROTECTED]... > I got this strange problem, maybe a design flaw, please look at it and t

Re: [PHP] word docs

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 15:33, christian wrote: > just wondering is their a way to create word docs from php. even rtf > would be nice. > many thanks in advance! > If you don't want formatting, just name a text file with the extension .doc and Word will happily open it and add all the Word crap to i

Re: [PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread Yasuo Ohgaki
How about use JavaScript to do that. You should be able to access all forms, frames in browser. -- Yasuo Ohgaki ""cam k"" <[EMAIL PROTECTED]> wrote in message 99uart$a48$[EMAIL PROTECTED]">news:99uart$a48$[EMAIL PROTECTED]... > I would like to store data from several forms (same form, different

[PHP] word docs

2001-03-28 Thread christian
just wondering is their a way to create word docs from php. even rtf would be nice. many thanks in advance! -- Christian Haines Development Manager Newsbreaker Webwork Pty Ltd 17 Laurel Road, Stirling South Australia 5152 8370 9088 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.p

Re: [PHP] Sessions stopped working with 4.04

2001-03-28 Thread Yasuo Ohgaki
Since you are using PHP4.0.4pl1, you also should be able to access session vars with $HTTP_SESSION_VARS. Dose it make differences? -- Yasuo Ohgaki "Shane Iseminger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello all, > > Of course, apologies if this

Re: [PHP] Getting .gif properties

2001-03-28 Thread Gfunk
Yup. http://www.php.net/manual/function.getimagesize.php Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/ - Original Message - From: "John Fairley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday

[PHP] Getting .gif properties

2001-03-28 Thread John Fairley
Hey all, I'm uploading .gifs using a php script and I'm wondering if there's some way I can avoid having to set the height/width properties manually. Windows stores this info automatically, and so does IE. Is there some way to read this information from the file itself? (I host on unix). Tha

[PHP] What is the difference between session_unset() and session_destroy()?

2001-03-28 Thread Carfield Yim
>From the manual, session_unset ¡X Free all session variables session_destroy ¡X Destroys all data registered to a session What do this document exactly mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Session Problem (Design problem!?)

2001-03-28 Thread Jason Lam
I got this strange problem, maybe a design flaw, please look at it and tell me what's wrong. 3 files in total 1.php3 -- -- 2.php3 -- GO"; ?> --- 3.php3 ---

RE: [PHP] scrolling text box

2001-03-28 Thread Jason Lotito
> -Original Message- > From: Randy Johnson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 8:49 PM > Cc: [EMAIL PROTECTED] > Subject: [PHP] scrolling text box > > > in php how would I ready line by line from a scrolling text box > > > here are the values I would have in the

[PHP] scrolling text box

2001-03-28 Thread Randy Johnson
in php how would I ready line by line from a scrolling text box here are the values I would have in the scrolling text box a,1 b,2 c,3 After the user hits the submit button on the form how can I get php to read the data line by line sort of like it was reading it line by line from a file.

Re: [PHP] Can Anyone Help?

2001-03-28 Thread Stuart J. Browne
Warning: is no longer supported - please use the track_vars INI directive instead in d:/website/myphp/do_sendfeedback.php on line 1 Oh no someone stole me command what replacesin PHP4 ?? oops.. umm.. from memory php_track_vars is enabled by default in PHP4.. from doccos: Note: As of

Re: [PHP] Can Anyone Help?

2001-03-28 Thread Stuart J. Browne
Warning: is no longer supported - please use the track_vars INI directive instead in d:/website/myphp/do_sendfeedback.php on line 1 Oh no someone stole me command what replacesin PHP4 ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP] reading attachment using Imap

2001-03-28 Thread magneto
Sir, My problem is how could I detect if the massage that I receive has an attachment and how could I view it . Thank you :)

[PHP] Can Anyone Help?

2001-03-28 Thread Philip's Domain
Warning: is no longer supported - please use the track_vars INI directive instead in d:/website/myphp/do_sendfeedback.php on line 1 Oh no someone stole me command what replacesin PHP4 ?? Philip Newman

[PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread cam k
I would like to store data from several forms (same form, different data) so that the info can be written to a database all at once. The reason being is that I would like to have all this information tied to information from a general form. eg. I have a general information form in one frame on

Re: [PHP] session problems

2001-03-28 Thread Jeff Warrington
In article <99u746$gra$[EMAIL PROTECTED]>, "Jeff Warrington" <[EMAIL PROTECTED]> wrote: Never mind everybody. It turns out that I had to set the odbc_longreadline setting to make sure that the full serialized session data was read from the DB. Jeff > hello all. I am attempting to register two

Re: [PHP] function knows where call came from?

2001-03-28 Thread php3
Addressed to: "Reuben D Budiardja" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Reuben D Budiardja" <[EMAIL PROTECTED]> Wed, 28 Mar 2001 12:44:55 -0500 > > Yes, that would be really cool. I my self has tried to find a way to do > this, and throw this question to the

RE: [PHP] Editing Records

2001-03-28 Thread Jason Murray
> Could someone point me in the right direction... > I need to edit existing records in a mysql database using PHP. http://www.phpwizard.net/ You want phpMyAdmin. Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http:/

[PHP] Editing Records

2001-03-28 Thread Curtis
Hello, Could someone point me in the right direction... I need to edit existing records in a mysql database using PHP. Thanks in advance Curtis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP] setting $var= multiple $var's

2001-03-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Peter Houchin") wrote: > What is the best way to get set this to one value? > > $system=$myrow['system']; > $serial=$myrow['serial']; > $config"=$myrow['config']; extract($myrow); Done. :-) See for more info

[PHP] setting $var= multiple $var's

2001-03-28 Thread Peter Houchin
hiya, What is the best way to get set this to one value? $system=$myrow['system']; $serial=$myrow['serial']; $config"=$myrow['config']; $avail=$myrow['avail']; $quote=$myrow['quote']; $name=$myrow['name']; $srep=$myrow['srep']; $custname=$myrow['custname']; $comp=$myrow['comp']; $de

[PHP] session problems

2001-03-28 Thread Jeff Warrington
hello all. I am attempting to register two session variables that are in fact class instances. As per instructions, the definitions for these classes are prepended to the files being loaded so the class defs are present when the session starts. If I do this on the first page: session_start(

RE: [PHP] Variable scope problem

2001-03-28 Thread Jason Lotito
> -Original Message- > From: Joe Nelson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 6:17 PM > To: php list > Subject: [PHP] Variable scope problem > > > I have two functions like the ones below. If the first one creates a > variable as global, shouldn't it be accesible to

[PHP] Variable scope problem

2001-03-28 Thread Joe Nelson
I have two functions like the ones below. If the first one creates a variable as global, shouldn't it be accesible to the second function? function setGlobal() { global $test; $test = "123"; } function getGlobal() { global $test; echo $test; } -- PHP General

Re: [PHP] question about a loop in a loop

2001-03-28 Thread Yasuo Ohgaki
I think array_intersect() and array_diff() is useful for you.. http://www.php.net/manual/en/function.array-intersect.php http://www.php.net/manual/en/function.array-diff.php -- Yasuo Ohgaki "Institute for Social Ecology" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

Re: [PHP] pattern match help

2001-03-28 Thread Stuart J. Browne
> $str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; > > I need to fetch the 5th charcter after ".compatible; M" in $str (ie > '5'). > > - The following gets me the fifth character along (ie 'l') > $variable = substr ($str, 5, 1); > > How do i tell the substr to start counting from

[PHP] Sessions stopped working with 4.04

2001-03-28 Thread Shane Iseminger
Hello all, Of course, apologies if this was covered, I didn't see it in the archives. I recently upgraded to Apache 1.3.19 and PHP 4.04pl1, and my sessions just . . . stopped working. I start the session, register the vars, no errors are generated, but as far as I can tell the actual value is

Re: [PHP] remote acces

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 03:31, Glenda Robalino wrote: > Hi > > I'm triying to connect from windows to linux... > do i have to manipulate grant tables on mysql... > what should I do?? > thanks > ciao Your question is not really clear. If you are trying to access a mysql server on a remote machine the

[PHP] Protect images in directory

2001-03-28 Thread Kyutums
I think this question has been asked before, even in PHP Builder, but I still haven't seen a plausible answer. :) Basically, I want to protect images in a folder (it's for a family album thing). It's going to be on a Linux server and I plan to use .htaccess to protect the folder. Is there a way

Re: [PHP] No php.ini?

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 08:57, Zhu George-CZZ010 wrote: > Thanks to all for the suggestions. > > I used > > phpinfo(); > ?> > > and it shows that php.ini is in /usr/local/lib, but actually, it's not > there. Pretty strange. > > Thanks. > Actually, it shows where PHP will _look_ for php.ini. If it d

[PHP] Sessions: what's wrong sith this code?

2001-03-28 Thread Christian Dechery
I tried to put an array into a session, but I can get it to work... here is my code: if(!isset($script_total_time)) { $script_total_time=(float)$total_time; session_register("script_total_time");

RE: [PHP] Instalation

2001-03-28 Thread Augusto Cesar Castoldi
I have those lines in httpd.conf: AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps if known other tip... you can tell me. But I'll try your other suggestion, the installation file. thanks, Augusto On Wed, 28 Mar 2001, Jac

Re: [PHP] Locating where PHP is on my server.

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 02:48, Brandon Orther wrote: > Hello, > > I am trying to write some shell scripts in PHP. I do not know where it > is because this is a cobalt raq4 and it is embedded with the server > when it is sent. If anyone know where it is on raq4's or if you know > how I can find out p

Re: [PHP] install-problem

2001-03-28 Thread David Robley
On Thu, 29 Mar 2001 01:16, [EMAIL PROTECTED] wrote: > > Hello People, > > I want to install the version php-4.0.4pl1 on to a RS/6000 with > AIX4.3.3. IBM HTTP Server 1.3.12.0 > When I use the configure-script with several parameters I get the > outpout you can see in the attachment. > > > (See at

RE: [PHP] Instalation

2001-03-28 Thread Jack Dempsey
have you configured your httpd.conf file? you need to have this line in there... AddType application/x-httpd-php .php you should see info about that if you read the installation file... -jack -Original Message- From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]] Sent: Wednesday

[PHP] Instalation

2001-03-28 Thread Augusto Cesar Castoldi
I'm just installed php4 and apache 1.3 on my linux. Apache with html files is working fine, but php isn't. The browser are showing the code. what I do? thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] How do I disable show_source and highlight file?

2001-03-28 Thread Sam Goin
How to I disable the functions show_source and highlight_file? I can't find any documentation anywhere on how to disable it or secure against it. What is there to prevent a user on my server from seeing my password file or database connection scripts? Thanks, Sam

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

2001-03-28 Thread Jani Taskinen
sniper Wed Mar 28 16:22:45 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: Fixed bug: #10040. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.34 php4/ext/domxml/php_domxml.c:1.35 --- php4/ext/domxml/php_domxml.c:1.34

Re: [PHP] Post but not Post

2001-03-28 Thread Jason Brooke
> I was just doing this a while back and ran into problems when going to 443. > Any ideas on that? A regular fsockopen failed because of the security > needed. > > -Bob Probably because you weren't following the SSL protocol You'll find the curl functions useful for SSL posting - or even non SSL

Re: [PHP] Easy HTML PHP question

2001-03-28 Thread Fabian Raygosa
For images i think its different, i don't think you can force the image name that value instead the value gets turned into "button_x" and "button_y" with relation to where the mouse clicked on the image. In any event try using GET method instead of POST method to see whats displayed on the url st

Re: [PHP] MySQL Schema

2001-03-28 Thread Joe Stump
This will give you the description $table = 'table_name'; $sql = "desc $table"; $r = mysql_query(); while($row = mysql_fetch_assoc($r)) { echo implode(' :: ',$row); } This will give you the dump: $mysqldump = '/usr/local/mysql/bin/mysqldump'; $dump = `$mysqldump -u $user -p $pa

RE: [PHP] HTML to Text

2001-03-28 Thread Boget, Chris
> Isn't that what strip_tags() does? > http://www.php.net/manual/en/function.strip-tags.php I looked all over the documentation and I did not see this function. Now I feel all stupid. Especially when most of my posts to the mailing list refer people to the docs... :p Thanks. Chris

[PHP-CVS] cvs: php4 /pear DB.php /pear/DB ifx.php mysql.php pgsql.php

2001-03-28 Thread Thomas V.V.Cox
cox Wed Mar 28 15:52:21 2001 EDT Modified files: /php4/pear DB.php /php4/pear/DB ifx.php mysql.php pgsql.php Log: pgsql.php * better handling of $rownum param in fetchInto() * changed property numrows[] to num_rows[] DB.php * $rowmun in

RE: [PHP] Post but not Post

2001-03-28 Thread Robert Covell
I was just doing this a while back and ran into problems when going to 443. Any ideas on that? A regular fsockopen failed because of the security needed. -Bob -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 5:55 PM To: Peter Houchin; [EMA

[PHP] Easy HTML PHP question

2001-03-28 Thread Paulson, Joseph V. \"Jay\"
Hello everyone- I have a pretty easy question that I can't seem to answer myself so I'm coming to you all. Below you'll see some html code for a form. Now what happens is that when I click on one of the images to submit the form (either on the update_event.gif image or the delete_event.gif image

Re: [PHP] Post but not Post

2001-03-28 Thread Jason Brooke
Use fsockopen to send the data: $host = "your.host"; $port = 80; $postdata = "field1=value1&field2=value2&field3=value3"; if ($sp = fsockopen($host, $port)) { fputs($sp,"POST /path/to/script.php HTTP/1.0\n"); fputs($sp,"Host: $host\n"); fputs($sp,"Content-type: application/x-www-form-urlen

Re: [PHP] Passing Special Characters in Query String

2001-03-28 Thread Joe Stump
> try rawurlencode() Or just plain urlencode() - remember to use urldecode() on the other side if you plan on putting it in the DB. --Joe > > -- > Christian Reiniger > LGDC Webmaster (http://sunsite.dk/lgdc/) > > /* you are not expected to understand this */ > > - from the UNIX V6 kernel s

Re: [PHP] Curious

2001-03-28 Thread Joe Stump
This is where I implement a reversal of quotes depending on what kind of quotes I'll be using in it - the draw back is hitting the . key a lot to concat with variables, but it makes the my code more readable (IMO - no \'s all over the place. So like this : echo ''.$title.''."\n"; or echo "Thi

[PHP] CodeCharge? is it any good?

2001-03-28 Thread DRN
Hi, I am a newbie in the field oh php and databasing, but I would like to learn a bit to create a database driven site. I want to have a database with products, and the html pages for the products and categories are 'built' automatically from templates. First of all, am I right in thinking that P

RE: [PHP] No php.ini?

2001-03-28 Thread Peter Houchin
it maybe a hidden file -Original Message- From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 9:27 AM To: 'James Atkinson'; [EMAIL PROTECTED] Subject: RE: [PHP] No php.ini? Thanks to all for the suggestions. I used and it shows that php.

[PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-28 Thread Zeev Suraski
zeevWed Mar 28 15:23:06 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/main php_version.h Log: Yes, RC4 is here too. RC3 had a broken ZTS build. Index: php4/configure.in diff -u php4/configure.in:1.221.4.6 php4/configur

RE: [PHP] No php.ini?

2001-03-28 Thread Zhu George-CZZ010
Thanks to all for the suggestions. I used and it shows that php.ini is in /usr/local/lib, but actually, it's not there. Pretty strange. Thanks. -Original Message- From: James Atkinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 5:14 PM To: Zhu George-CZZ010; [EMAIL

[PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /ext/ming config.m4 ming.c

2001-03-28 Thread Jani Taskinen
sniper Wed Mar 28 15:19:45 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/ext/ming ming.c config.m4 Log: MFH Index: php4/configure.in diff -u php4/configure.in:1.221.4.5 php4/configure.in:1.221.4.6 --- php4/configure.in

Re: [PHP] HTML to Text

2001-03-28 Thread Data Driven Design
Isn't that what strip_tags() does? http://www.php.net/manual/en/function.strip-tags.php Data Driven Design P.O. Box 1084 Holly Hill, FL 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: Boget, Chris <[EMAIL PROTECTED]> To: Php (E-mail) <[

RE: [PHP] No php.ini?

2001-03-28 Thread James Atkinson
Or create a phpinfo file containing And that will tell you the location of php.ini. - James > -Original Message- > From: Peter Houchin [mailto:[EMAIL PROTECTED]] > Sent: March 28, 2001 3:13 PM > To: Zhu George-CZZ010; [EMAIL PROTECTED] > Subject: RE: [PHP] No php.ini? > > > look

RE: [PHP] Post but not Post

2001-03-28 Thread Peter Houchin
only way i can think of is to use session and pass them across in session varibles .. providing your using php4 -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 5:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Post but not Post Hello. we

RE: [PHP] No php.ini?

2001-03-28 Thread Peter Houchin
look in either /usr/local/lib or in /etc/lib -Original Message- From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 9:06 AM To: [EMAIL PROTECTED] Subject: [PHP] No php.ini? Someone else installed the PHP4.0.4, but I couldn't find the php.ini anywhe

Re: [PHP] No php.ini?

2001-03-28 Thread mjriding
You should look in one of the following areas: /etc /etc/httpd /etc/httpd/conf /user/local You may also want to use the locate instead of find. locate php.ini should do it. Michael Ridinger On Wed, 28 Mar 2001, Zhu George-CZZ010 wrote: > Someone else installed the PHP4.0.4, but I couldn't f

RE: [PHP] odd

2001-03-28 Thread Peter Houchin
it does .. its the garbage collection /session life if you leave it set to 0 and the GC @ 1 it will delete them on close -Original Message- From: Andrius Lokotash [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 8:04 PM To: [EMAIL PROTECTED] Subject: [PHP] odd Hi.

[PHP] No php.ini?

2001-03-28 Thread Zhu George-CZZ010
Someone else installed the PHP4.0.4, but I couldn't find the php.ini anywhere (I used "find" command to search the whole box), however, the PHP is working fine. Is it possible that the PHP can still work without php.ini? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] question about a loop in a loop

2001-03-28 Thread Institute for Social Ecology
hi, I've been driving myself bonkers trying to figure out wy this code block does not work as it is supposed to. am hoping that someone on this list can shed some light on it. Whta I am trying to do is evluate two arrays. One array is populated with a list. The other array is populated with

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard basic_functions.c

2001-03-28 Thread Zeev Suraski
zeevWed Mar 28 14:51:35 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard basic_functions.c Log: Fix ZTS build Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.315.2.2 php4/ext/standard/basic_functio

RE: [PHP] IP of server?

2001-03-28 Thread James Moore
> I want to base the database a PHP script uses on the IP address of the > server running the script. What is the fastest way to get the IP > address of > the server from a script? I could use environment variables but they are > unreliable (when run from cron for example, the environment > doesn

[PHP-CVS] cvs: php4 / configure.in

2001-03-28 Thread Jani Taskinen
sniper Wed Mar 28 14:30:22 2001 EDT Modified files: /php4 configure.in Log: Make file() work again. # For some reason if libbind is linked with PHP the file() function # won't work with URLs. Do we even need libbind? Index: php4/configure.in dif

[PHP] HTML to Text

2001-03-28 Thread Boget, Chris
I've looked various places (the PX, Hotscripts, etc) for a function that will take a HTML file, strip out all of the HTML and return just plain text. Does anyone know if such an animal exists? Does any one have a copy of a function that does this? Thanks for any help you can provide! Chris

[PHP] Help w/ exec() on Win2k, IIS5.

2001-03-28 Thread SHAWN
Using IIS5 on W2K Server, I can't get get the exec() or other similar commands to work. This is what I'm doing - exec( "dir/a-d/b $dir_name", $arFiles ) The array doesn't contain anything! I've tried it with cmd.exe before the command, but it just seems to get stuck in a loop! Can anyone tell m

RE: [PHP] IP of server?

2001-03-28 Thread Lance Lovette
Thanks, but most variables such as SERVER_ADDR and SERVER_NAME are not set when you run a PHP script from the command line (or from cron). Write a script that calls phpinfo() and then use 'php -f' to run it and you'll see how little environment information you get. Lance -Original Message---

Re: [PHP] Cookie not getting set in IE 5 but no problem in Netscape

2001-03-28 Thread Joe Stump
Ah yes, the infamous IE cookie problem - look at the expire time - I be it destroys the cookie as soon as it gets it because the expire time is either on or before the time the cookie was sent. --Joe On Wed, Mar 28, 2001 at 07:16:52PM +0800, Floyd Piedad wrote: > My program works really well wit

Re: [PHP] Copy data from one mysql table to another?

2001-03-28 Thread Rodney J. Woodruff
Which database are you using? -- Rodney Bob Stone wrote: > Dear PHP Helpers, > > I cannot find any documentation on how to copy the > data from one mysql table to another, i.e. table1, > columnx to table2, columnx. > > Can you recommend a way? > > Here is the situation. > > I have one table cal

Re: [PHP] Copy data from one mysql table to another?

2001-03-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Bob Stone) wrote: > Dear PHP Helpers, > > I cannot find any documentation on how to copy the > data from one mysql table to another, i.e. table1, > columnx to table2, columnx. Please don't post the same question to multiple PHP.net lists. Or

[PHP] Copy data from one mysql table to another?

2001-03-28 Thread Bob Stone
Dear PHP Helpers, I cannot find any documentation on how to copy the data from one mysql table to another, i.e. table1, columnx to table2, columnx. Can you recommend a way? Here is the situation. I have one table called "phone" with two columns. The first column is called "key_svt_members," th

Re: [PHP] Curious

2001-03-28 Thread YoBro
Thanks to everybody for the informative explanation of my curiosity. It was very helpful, and now I have a better understanding of what I am doing sometimes. Thanks YoBro --- : Hi, : : I am curious to know why you need to use the /n, and what it actually does,

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

2001-03-28 Thread André Langhorst
andre Wed Mar 28 12:08:49 2001 EDT Modified files: /php4/ext/standard output.c Log: fix typo Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.50 php4/ext/standard/output.c:1.51 --- php4/ext/standard/output.c:1.50 Wed Mar 28 11:41:38

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

2001-03-28 Thread André Langhorst
andre Wed Mar 28 11:41:38 2001 EDT Modified files: /php4/ext/standard output.c Log: fix proto Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.49 php4/ext/standard/output.c:1.50 --- php4/ext/standard/output.c:1.49 Fri Mar 16 19:03:5

  1   2   3   >