[PHP] Php with Frames

2001-04-01 Thread Diego Pérez Rández
Hi to all: I have a page with two frames. In the top frame I have a form where I can select some options. When I press the send button a php program generate a html page that I want to show in the Botton frame. I don't know how I can load the new page generate in the botton frame. I

php-general Digest 1 Apr 2001 09:25:46 -0000 Issue 601

2001-04-01 Thread php-general-digest-help
php-general Digest 1 Apr 2001 09:25:46 - Issue 601 Topics (messages 46467 through 46499): Re: [PHP-DB] RE: [PHP] RE: what exactly are /path/to/blah lookingfor? .h? .so? .a? what?! 46467 by: Daevid Vincent Saving file 46468 by: Adi Wibowo 46485 by: Yasuo Ohgaki

Re: [PHP] login without database

2001-04-01 Thread Erick Papadakis
Does this work on Windows machines? WHat is the $PHP_AUTH_USER and where does it come from? What should my access.inc.php look like? I saw the PHP_AUTH_USER on the www.php.net website but looks like it is only possible on PHP module, not pHP CGI? Thanks in advance - "Romeo Manzur"

Re: [PHP] mail(): \r\n gives extra empty line between each line in Outlook

2001-04-01 Thread Erick Papadakis
I am not sure what you want to do, but you could try this: $myText = nl2br($dataFromSubmittedTextBox); Then $myText will have the correct values. Cheers --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus

[PHP] Re: Compiling PHP4, Re: Image resizing

2001-04-01 Thread Daniel B I
Hey, man, you dont look at this list too often, isnt it? Some days ago I wrote about this. Here is the message one more time: You need the jpeg support. Shortly, do this: (I will use my version names, so you can easyly find something, if you find newer ones, it's your bussiness) 1. search the

[PHP-CVS] cvs: php4 / NEWS

2001-04-01 Thread Sebastian Bergmann
sbergmann Sun Apr 1 07:13:10 2001 EDT Modified files: /php4 NEWS Log: Fixed some glitches in NEWS. (Yes, you may call me pedantic :-) Index: php4/NEWS diff -u php4/NEWS:1.624 php4/NEWS:1.625 --- php4/NEWS:1.624 Mon Mar 26 12:10:19 2001 +++

[PHP] $B%9%H%l%92r>C(B

2001-04-01 Thread [EMAIL PROTECTED]
$B!z!z!z!z!z!z!z!!(BJust in Mail $B!z!z!z!z!z!z!z(B $B>pJsDs6!4k6HL>(B Fun! Fun!! Fun!!! $B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B $B!!(B $B:#=5$N$*>)$a%5%$%H$r$*CN$i$;$$$?$7$^$9(B $B!!(B http://sv.g-spot.to/check/mail.html $B!!(B

[PHP-CVS] cvs: php4(PHP_4_0_5) / NEWS

2001-04-01 Thread Sebastian Bergmann
sbergmann Sun Apr 1 07:33:30 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 NEWS Log: Fixed some glitches in NEWS. (Yes, you may call me pedantic :-) Index: php4/NEWS diff -u php4/NEWS:1.611.2.1 php4/NEWS:1.611.2.2 --- php4/NEWS:1.611.2.1 Tue

[PHP] Database connections

2001-04-01 Thread David Hynes
I'm using PHP on a windows box to access a MySQL database. I noticed that I do not need to open a database connection before performing a mysql_db_query(). Is this bad coding ? Should the database connection always be made ? Is this specific to Windows ? # $databaseConnection = mysql_connect

Re: [PHP] Can a WHILE be done inside an array?

2001-04-01 Thread Reuben D Budiardja
Builld the string in a variables by concatenating them (using while), and then put the string in the array. It should be something like this: while($modyear = $curyear) { echo "option".$modyear.; $options = $options . "option$modyear" ; $modyear++; } And then in the array, do:

[PHP] known problems with session_register()?

2001-04-01 Thread Felix Kronlage
Hi, are there any knows problems/bugs with session_register()? With openbsd as a platform (not tested on others) I have the problem that 20% of the times sessions don't get initialized correctly. The session-file is created in /tmp (cookies for session-use are turned off), just the variables

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

2001-04-01 Thread Zeev Suraski
zeevSun Apr 1 09:30:23 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/main php_version.h Log: YARC Index: php4/configure.in diff -u php4/configure.in:1.221.4.7 php4/configure.in:1.221.4.8 ---

[PHP] Finally! Got PHP to work with RH7 and Oracle

2001-04-01 Thread Jon Jacob
Well, my bumbling determinism finally paid off. After starting at the configuration laid down by the rpms, I could not figure out what was wrong, so I decided to recompile the php source with the OCI8 option (and -enable-sigchild which is advised in the configuration output) and for whatever

Re: [PHP] Execute Shell command?

2001-04-01 Thread Steve Werby
[EMAIL PROTECTED] wrote: Does anyone know if there is a way to execute a shell command in a php script? I am trying to execute the following: /usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q 10 -w [EMAIL PROTECTED] If you're running an Apache module version of PHP,

[PHP] How to send a mail in html format

2001-04-01 Thread Jan Grafström
Hi! Can I add something in this string to get a htmlpage sent as mail? mail($recipient,$subject,$corps,"From: $admail\nReply-To:$admail\nX-Mailer: PHP/"); Thanks in advance. Regards Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] setcookie().. how to retrieve data afterward?

2001-04-01 Thread Andrew Rose
Ive been playing with setcookie() and am stuck with trying to re-pull the infomation I set, I use: setcookie ("user_id", $userid, 1, "", "", 1); to set the cookie and: if(isset( $user_id )){ echo " cookie 'user_id': $user_id\n"; } else echo" no cookie set ...\n"; } to see if its there..

Re: [PHP] Php with Frames

2001-04-01 Thread Lindsay Adams
The form tag can tag a TARGET attribute, just like the A tag can. FORM Action="myscript.php" METHOD="POST" TARGET="Bottom_Frame" Adjust to match your script and frame names On 4/1/01 2:30 AM, "Diego Prez Rndez" [EMAIL PROTECTED] wrote: Hi to all: I have a page with two frames. In

Re: [PHP] setcookie().. how to retrieve data afterward?

2001-04-01 Thread Jack Sasportas
If you just echo $userid you will get the results. do this setcookie ("cookie_variable", "chocalate chip", 1, "", "", 1); echo $cookie_variable You can name the cookie_variable whatever you want and that will be referenced as the variable to store "chocalate chip". Now if you want to see the

[PHP] Inserting into the middle of an array

2001-04-01 Thread Yoshi Melrose
Ok. I must be s blind. Is there a function to insert a value into the middle of an array without rewriting it? -- 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,

Re: [PHP] Inserting into the middle of an array

2001-04-01 Thread Lindsay Adams
On 4/1/01 11:32 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote: Ok. I must be s blind. Is there a function to insert a value into the middle of an array without rewriting it? In PHP3, no. PHP4, see http://www.php.net/manual/en/function.array.php You could pull it off with combinations of

Re: [PHP] PHP as a general scripting language?

2001-04-01 Thread Manuel Lemos
Hello Gildas, On 27-Mar-01 05:56:06, you wrote: What are the pros and cons to using PHP as a scripting language like Perl or Python? PHP does not support multi-threading. It's not important for serving Web pages, but it is very important when you use it for executing tasks that have to handle

Re: [PHP] Inserting into the middle of an array

2001-04-01 Thread Lindsay Adams
On 4/1/01 11:57 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote: - Original Message - From: "Lindsay Adams" [EMAIL PROTECTED] On 4/1/01 11:32 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote: Ok. I must be s blind. Is there a function to insert a value into the middle of an array

Re: [PHP] setcookie().. how to retrieve data afterward?

2001-04-01 Thread Andrew Rose
cheers Jack but Ive tried this and get the error msg: Warning: Undefined variable: user_id in C:/XITAMI/webpages/netrux/intothemain.php on line 14 so its not setting the varible by the looks of it any ideas? cheers Jack Sasportas wrote in message [EMAIL PROTECTED]... If you just echo

Re: [PHP] ZEND Encoder

2001-04-01 Thread Michael Kimsal
Without getting into the specifics of the zend product, which we've not tested thoroughly, I'd hazard a wild speculation that zend encoder-encoded scripts: 1. can be decoded 2. can NOT be decoded to the original source Obviously anything encoded needs to be decoded to run, and someone with

RE: [PHP] ZEND Encoder

2001-04-01 Thread James Moore
Is it possible in any instance that someone else will be able to de-code my PHP scripts once I have used the Zend Encoder on it, and be able to read it? Obviously they will be able to decode it to actually use it on the server, but will they ever be able to read the source? They will not

Re: [PHP] How to send a mail in html format

2001-04-01 Thread David Pieper
Jan Grafstrm wrote: Hi! Can I add something in this string to get a htmlpage sent as mail? mail($recipient,$subject,$corps,"From: $admail\nReply-To:$admail\nX-Mailer: PHP/"); Thanks in advance. Regards Jan Content-Type: text/html Enjoy, David Pieper -- programmer n. /pro gram

php-general Digest 1 Apr 2001 21:37:24 -0000 Issue 602

2001-04-01 Thread php-general-digest-help
php-general Digest 1 Apr 2001 21:37:24 - Issue 602 Topics (messages 46500 through 46525): Re: login without database 46500 by: Erick Papadakis Re: "\r\n" gives extra empty line between each line in Outlook 46501 by: Erick Papadakis Re: Compiling PHP4, Re: Image resizing

[PHP] libpng error

2001-04-01 Thread Thalis A. Kalfigopoulos
Helloppl, I have php compiled with GD support (version1.8 so I have png support). I try the following code and get a broken image: ?php header("Content-type: image/png"); $image= imagecreate(200,200) or die("Failed in call to imagecreate()BR\n"); imagepng($image); $blue =

[PHP] Programming Jobs

2001-04-01 Thread Jon Jacob
I hope this is not off topic, but I need to ask a general audience this question and this seems like the right group. I have been out of work for two months and I am not sure why. I am a talented web programmer with three years experience, strong Perl, JavaScript, CGI, and HTML skills and a

Re: [PHP] C and PHP

2001-04-01 Thread Joe Stump
You might want to look in the PHP source code at the README.EXT_SKEL file for info on how to incorporate that stuff. --Joe On Sat, Mar 31, 2001 at 08:49:30PM +0200, Ft Karras wrote: Somebody knows if it is possible to link C and PHP? I have a C library and need to 'include' with PHP code,

[PHP] Question: Number of Characters

2001-04-01 Thread Marcus Ouimet
How can i determine the number of characters in a string? I am using substr to cut off the last 4 characters of a string. Which is working great. But I want to replace the 3 charcters with "..." only if there are over 20 charcters . I tried substr_replace but it appears on everything no

Re: [PHP] Question: Number of Characters

2001-04-01 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Marcus Ouimet") wrote: How can i determine the number of characters in a string? http://www.php.net/strlen/ -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Programming Jobs

2001-04-01 Thread Michael Kimsal
Perhaps you should have taken that job. ??? I've heard (and found really) that it's easier to find work if you're working. It's harder to make interviews and whatnot, but it gets you out there, you meet others and network. Who knows where that can lead to? But if your talent is being put to

[PHP-CVS] cvs: php4 /ext/openssl CREDITS README openssl.c php_openssl.h

2001-04-01 Thread Wez Furlong
wez Sun Apr 1 16:06:14 2001 EDT Modified files: /php4/ext/openssl CREDITS README openssl.c php_openssl.h Log: Added whole bunch of PKCS7 (S/MIME) functions and made the key/cert params a bit more friendly to use. See the README for more info.

Re: [PHP] Question: Number of Characters

2001-04-01 Thread Steve Edberg
At 4:16 PM -0700 4/1/01, Marcus Ouimet wrote: How can i determine the number of characters in a string? I am using substr to cut off the last 4 characters of a string. Which is working great. But I want to replace the 3 charcters with "..." only if there are over 20 charcters . I tried

Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread David Robley
On Sun, 1 Apr 2001 03:06, PHP User wrote: Here is my problem. I have a file, static.php static.php writes to index.html by way of... $filename = "/web/h16/docs/index.html"; $fp = fopen("$filename","w"); fwrite($fp, "table width=\"230\"\n"); etc.. If I hit static.php from the command

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread David Robley
On Sat, 31 Mar 2001 21:31, Ales Kunst wrote: Hi, I have a strange kind of a problem. I'm cannot write to files on a server (i'm having virtual host) where i got my domain name. The server is running Apache 1.3.x and is having php3.0.8 installed. The code looks like this: html body ?php

Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread Matt Friedman
If you have the php cgi installed you can run a script like so: exec("php -q /path/to/script.php") You didn't include the command (php -q), you only included the path to the script. If you don't have the cgi, but you are running on *nix you can exec("lynx http://www.host.com/script.php")

[PHP] Need project info from developers

2001-04-01 Thread Michael Kimsal
Hello all. We're working on a project and need some information from other PHP developers about some of the projects you've developed, large and small. We're looking for information such as development time, hardware, integration issues, traffic/stats, etc., and you'd need to be willing to have

Re: [PHP] version????

2001-04-01 Thread Stuart J. Browne
Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a23cm$fuu$[EMAIL PROTECTED]">news:9a23cm$fuu$[EMAIL PROTECTED]... One more question! Why does some PHP 4.0 up does not have the php.ini file? I noticed for the UNIX, there isn't one. For Caldera, there is one. For Windows, there is one.

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

2001-04-01 Thread Wez Furlong
wez Sun Apr 1 18:31:07 2001 EDT Modified files: /php4/ext/openssl openssl.c Log: added some more error reporting and did a little tidying. Index: php4/ext/openssl/openssl.c diff -u php4/ext/openssl/openssl.c:1.10 php4/ext/openssl/openssl.c:1.11 ---

[PHP] cookie working only 90% array missing one var and sql query burns [YIKES!]

2001-04-01 Thread PHPretard
hi peoples, Im going insane here, I have this script working great except two things ... for one , the sql query returns an error that couldnt run the query... and the second is that the variable $user_reg[2] holds nothing even though I cheked the html form and also checked the cookie variable

Re: [PHP] No-refresh

2001-04-01 Thread trogers
Hi I do it using sessions with: //Check for a reload $hash = mhash(MHASH_SHA1,serialize($HTTP_POST_VARS)); $hash = bin2hex($hash); if($hash == $Hash): $reload = "Yes"; echo "reload br"; endif; $Hash is registered in the session. Tom At 02:54 AM 31/03/01 +0100, David Hynes

[PHP] Attach File in PHP's Mail Function.

2001-04-01 Thread Mark Lo \(3\)
Hi, I would like to ask how to attach a file in PHP's Mail Function ?? Thank you Mark -- 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

[PHP] send mail in HTML format in Mail Function

2001-04-01 Thread Mark Lo \(3\)
Hi, I would like to know how to send a mail in HTML format in Mail Functions. Thank you Mark -- 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

Re: [PHP] libpng error

2001-04-01 Thread nicuc.ac.jp
Hello I make change of your code by move some line to correct line and it's work. Here this a code ?PHP header("Content-type: image/png"); $image= imagecreate(200,200) or die("Failed in call to imagecreate()BR\n"); $blue = imageColorAllocate($image,0,0,255); imageRectangle($image, 50, 50,

RE: [PHP] send mail in HTML format in Mail Function

2001-04-01 Thread Tyler Longren
$recipient = "Recipient [EMAIL PROTECTED]" $headers .= "From: name [EMAIL PROTECTED]\n"; $headers .= "X-Sender: [EMAIL PROTECTED]\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "X-Priority: 1\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $message = "font face=Arial size=2This

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob
David Robley wrote: On Sat, 31 Mar 2001 21:31, Ales Kunst wrote: Hi, I have a strange kind of a problem. I'm cannot write to files on a server (i'm having virtual host) where i got my domain name. The server is running Apache 1.3.x and is having php3.0.8 installed. The code looks

RE: [PHP] Problems with files!!!!!

2001-04-01 Thread Tyrone Mills
I don't know if it's been mentioned or not, but I have found that unless the file exists, I can't open it. Have you verified that the file exists and the user that the script will run as has the appropriate permissions? -Original Message- From: jon [mailto:jon]On Behalf Of Jon Jacob

Re: [PHP] header() vs. no cache, it doesn't work.

2001-04-01 Thread Stuart J. Browne
When I use this script header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); ### oops, don't forget to escape these! ^ ^ Umm, why would he need to escape those two "'s? They arn't within anothe set of

[PHP] Search Engines

2001-04-01 Thread Joe Montiel
Hello, I am new to the list and to php...I would like to know how php does with the major search engines. Do I need to do something extra to make it work? Will it index if I am pulling my content from text files? (If this is in an archive somewhere, point me to it). Thank you! Joe -- PHP

Re: [PHP] Search Engines

2001-04-01 Thread Matt Friedman
There are a few things that can help you get indexed by the search engines if you are using a server side scripting language. 1. Try to avoid passing variables in the get string. That is, the stuff after the "?" in a url. 2. If you want a page indexed, don't redirect from that page to another

[PHP] php jobs?

2001-04-01 Thread Joseph Bannon
What is a good place to find PHP jobs? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- 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:

Re: [PHP] Search Engines

2001-04-01 Thread Steve Werby
"Joe Montiel" [EMAIL PROTECTED] wrote: I am new to the list and to php...I would like to know how php does with the major search engines. Do I need to do something extra to make it work? Will it index if I am pulling my content from text files? PHP produces HTML output which is sent to a

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob
Tyrone Mills wrote: I don't know if it's been mentioned or not, but I have found that unless the file exists, I can't open it. Have you verified that the file exists and the user that the script will run as has the appropriate permissions? I think you are mistaken. According to the PHP

Re: [PHP] php jobs?

2001-04-01 Thread Rick St Jean
try monster.com, do a search for it jobs, send your resume to head hunters. buy big city news papers.\ At 11:04 PM 4/1/01 -0500, you wrote: What is a good place to find PHP jobs? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- PHP General Mailing List (http://www.php.net/)

[PHP] session in php3 and in php4

2001-04-01 Thread Jacky
Hi all I heard rumors saying there is no way to use session in php3, is that correct? ( only joking about the rumors, but really need to know this though:-) If there is no way to get around this, what is syntax for assign session in php4 then? thanks in advance Jack [EMAIL PROTECTED] "There is

[PHP] PHP3: suppressing error messages

2001-04-01 Thread Patrick Dunford
How can I prevent error messages from being displayed and sent to a log file instead? -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ Now to him who is able to do immeasurably more than all we

Re: [PHP] Execute Shell command?

2001-04-01 Thread Chris Fry
I use a package called sudo which allows you to give limited root rights to the user that your webserver is running as. Using this I'm able to add/delete a user from a PHP script and also change passwords using poppassd. http://www.courtesan.com/sudo/ Chris [EMAIL PROTECTED] wrote: Hi,

Re: [PHP] session in php3 and in php4

2001-04-01 Thread Steve Werby
"Jacky" [EMAIL PROTECTED] wrote: If there is no way to get around this, what is syntax for assign session in php4 then? PHP session support is possible in PHP3 using a 3rd party module from the PHP Base Library (http://phplib.netuse.de/) which is pretty widely used. For session handling in PHP4

[PHP] RE:Zend Encoder

2001-04-01 Thread Nettie Feldman
I was sorry to read that Adrian said he received no answers to his reply about the Zend Encoder Unlimited from Zend. We aim to be extremely responsive to all queries, but if you find that you haven't received a reply, please email [EMAIL PROTECTED] and I will make sure you receive a reply.

Re: [PHP] registering an array into a session (?)

2001-04-01 Thread cam k
No idea if this will help, but not sure why you are serializing the array... // sessionarray.php4 session_cache_limiter(""); session_start(); session_register('name'); session_register('city'); session_register('state'); session_register('postcode'); session_register('pagecount'); if

[PHP] Accessing Intberase database in NT

2001-04-01 Thread elan
Hello, Any idea how can i possibly access an Interbase database residing in NT4 from my web server running in Linux? Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] phpLinks 2.0b Released

2001-04-01 Thread Greg Donald
phpLinks v2.0b is released. - http://phplinks.org/ Changes - http://phplinks.org/changelog Download - http://phplinks.org/?show=download Please note, this is a beta release. Regards, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Programming Jobs

2001-04-01 Thread natter
You might want to add to some of your skills. Grab some quick Oracle training. (Don't pay for it, just go to free sites like: www.dbasupport.com and technet.oracle.com.) Your resume would look alot more attractive if you knew SQL and Oracle a bit more. This is just my opinion though. --

Re: [PHP] Problem installing on BSD

2001-04-01 Thread David Robley
On Mon, 2 Apr 2001 15:31, natter wrote: 1, Ok, I checked my existing apache install (httpd -l and it has mod_so.c) 2. Installed php using the following line: configure --with-apxs=/usr/local/apache/bin 3. Changed my httpd.conf file to allow .php: - AddType

Re: [PHP] Problem installing on BSD

2001-04-01 Thread natter
Sorry. :( Yes, I have done this many times. My version below is just the 1st steps I took. I have spend 3 hours trying to reconfigure and try anything that I could think of. Nothing. Thanks though. David Robley wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Problem installing on BSD

2001-04-01 Thread Felix Kronlage
On Mon, Apr 02, 2001 at 12:01:08AM -0600, natter wrote: 3. Changed my httpd.conf file to allow .php: - AddType application/x-httpd-php .php - AddType application/x-httpd-php-source .phps Do you have the directive to load the php-module in your