[PHP] Please Send MIME Script

2004-06-22 Thread Ryan Schefke
Could someone please send me a function for MIME mail. I've been searching for the past 3 hours and haven't come across anything that is solid and works for me. I need the following: 1 - send MULTIPLE attachments 2 - send message in html and text. Thanks, Ryan

[PHP] Re: Please Send MIME Script

2004-06-22 Thread Manuel Lemos
Hello, On 06/22/2004 03:14 AM, Ryan Schefke wrote: Could someone please send me a function for MIME mail. I've been searching for the past 3 hours and haven't come across anything that is solid and works for me. I need the following: 1 - send MULTIPLE attachments 2 - send message in html and

[PHP] Re: Please Send MIME Script

2004-06-22 Thread Justin Patrin
Ryan Schefke wrote: Could someone please send me a function for MIME mail. I've been searching for the past 3 hours and haven't come across anything that is solid and works for me. I need the following: 1 - send MULTIPLE attachments 2 - send message in html and text. Thanks, Ryan

Re: [PHP] Re: Testing if cookies are enabled

2004-06-22 Thread deseavers
Reading Aidan's e-mails is like watching a Disney movie. You can't help but feel warm and fuzzy inside and loving toward the whole world. Basically, create a page with an HTML form that takes the user name and password (or whatever login information you think is appropriate). The action of

[PHP] Session problem

2004-06-22 Thread [EMAIL PROTECTED]
I have a problem with sessions. If someone closes their internet explorer window without logging off the session remains open. When you try to go back to the site IE hangs until I manually remove the sess_ files from the /tmp directory. Any insights on this one?? VR/Tim

[PHP] Re: Session problem

2004-06-22 Thread Nadim Attari
I have a problem with sessions. If someone closes their internet explorer window without logging off the session remains open. When you try to go back to the site IE hangs until I manually remove the sess_ files from the /tmp directory. Any insights on this one?? VR/Tim

[PHP] Re: Server Push

2004-06-22 Thread Nadim Attari
I am just looking for some different techniques on how server push is done on PHP: http://www.craftysyntax.com/CSLH/ Download, have a look at the codes and enjoy... ~ nadim attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please Send MIME Script

2004-06-22 Thread pete M
http://phpmailer.sourceforge.net/ Ryan Schefke wrote: Could someone please send me a function for MIME mail. I've been searching for the past 3 hours and haven't come across anything that is solid and works for me. I need the following: 1 - send MULTIPLE attachments 2 - send message in html

RE: [PHP] Re: Testing if cookies are enabled

2004-06-22 Thread Umesh Deshmukh
Hi, You can check if browser cookies are enabled or not by using follow. given JavaScript functions. //** jsfunc.js ***// function f_ReadCookie(cookieName) { if (cookieName == ) { return; } var theCookie=+document.cookie+((/) ? ; path= + / : ) ; var

[PHP] DSOFile issues

2004-06-22 Thread Marcel Tschopp
Hi everybody, I need to get the Office Document Properties from MSWord-files and i found DSOFile for COM: http://support.microsoft.com/support/kb/articles/Q224/3/51.asp But now the problem is, that the COM Object don't releases the file lock. Here is the code I use: ?php $propReader = new

[PHP] Encryption Question

2004-06-22 Thread Jay Blanchard
Good morning gurus! I am encrypting some data on one server and now I am attempting to decrypt on another server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation vector). It is almost working but I seem to still have a little problem, that data is missing the last

[PHP] Help!

2004-06-22 Thread Marifel Dizon
Hello there! I badly need help in my codes. My OS is Linux Suse 8.0, apache ver 1.3.31 and PHP 4.X. There was a notice that the printer functions may only be used in Windows environment... How about in Linux environment? What's their difference? Is there any other way i can use the printer

[PHP] Firebird reading data error...

2004-06-22 Thread André Cupini
Hi people, ...first, sorry my poor english ;) I have a system that accessfirebird database in a remote machine. In development, works fine (with Firebird 1.0). But now, the database location is a real machine where the system are put up (with Firebird 1.5)and when i realize a query, in

RE: [PHP] recompile your PHP installation with --with-mysql optio n

2004-06-22 Thread Nguyen, Long P (Mission Systems)
I'm trying to setup DRES, part of the configuration is to bring up check.php to verify the installation. When check.php runs to verify - it errors out at MySQL extension failure [required-extension not installed] -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent:

[PHP] I don't want to use include

2004-06-22 Thread QT
Dear Sirs, When I use include, my script is waiting included script results. But I just want to run another local script without wait result. Which command I should to use? Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I don't want to use include

2004-06-22 Thread Egil Berntsen
I sometimes use JS to open a new window outside the screen and close it at the bottom. Qt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear Sirs, When I use include, my script is waiting included script results. But I just want to run another local script without wait result.

Re: [PHP] I don't want to use include

2004-06-22 Thread Matt Matijevich
[snip] When I use include, my script is waiting included script results. But I just want to run another local script without wait result. [/snip] you could try something like this $cmd =/path/to/php.exe . ' ' . /path/to/your/script exec($cmd); check out

[PHP] error with PHP MySQL extension

2004-06-22 Thread Nguyen, Long P (Mission Systems)
This is where I am stuck at with this DRES installation, it's complaining about the mysql extension. I tried ./configure --with-mysql=/usr/local/mysql; make; make install and still the same error: Checking PHP

Re: [PHP] error with PHP MySQL extension

2004-06-22 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: This is where I am stuck at with this DRES installation, it's complaining about the mysql extension. I tried ./configure --with-mysql=/usr/local/mysql; make; make install and still the same error:

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread Nguyen, Long P (Mission Systems)
I was task with this... Unfortunately the person that installed it is not here anymore. Is there a way to find out, like any commands or files to look for? I do see _SERVER[SERVER_SOFTWARE] Apache/2.0.40 (Red Hat Linux) show up on the test.php Thanks for your help. -Original

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread R'twick Niceorgaw
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: I was task with this... Unfortunately the person that installed it is not here anymore. Is there a way to find out, like any commands or files to look for? I do see _SERVER[SERVER_SOFTWARE] Apache/2.0.40 (Red Hat Linux) show up on

[PHP] Pear Image_Graph

2004-06-22 Thread Meredith-Wilks, Richard
I have been told of an image class called 'Image_Graph'. Has anyone used it and/or do you have any example code I can follow. thanks Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread Nguyen, Long P (Mission Systems)
I didn't see a phpinfo, I do see mysql as below in the Configure Command section. So if I run up2date php-mysql, it will update mysql extension? Where do I run this from, like the path? Sorry - I'm new to this. System: Linux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 EDT

[PHP] .NFO files and .PNG images

2004-06-22 Thread r4BBiT
hi, i'm having troubles converting ascii extended symbols, for exaple one of them looks like that 'Ü' in win, but in unicode, or old ibm dos extended ascii its black box. most of ascii art using this and sign like that. what id like to do is create dynamic .png image with content of some

Re: [PHP] error with PHP MySQL extension

2004-06-22 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: I didn't see a phpinfo, I do see mysql as below in the Configure Command section. So if I run up2date php-mysql, it will update mysql extension? Where do I run this from, like the path? Sorry - I'm new to this. At the command prompt (and as root), run

[PHP] Re: I don't want to use include

2004-06-22 Thread Amit Arora
You may want to use the exec() function. Please refer www.php.net/exec for more information Regards, Amit www.digitalamit.com Qt wrote: Dear Sirs, When I use include, my script is waiting included script results. But I just want to run another local script without wait result. Which command I

RE: [PHP] Encryption Question SOLVED

2004-06-22 Thread Jay Blanchard
[snip] I am encrypting some data on one server and now I am attempting to decrypt on another server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation vector). It is almost working but I seem to still have a little problem, that data is missing the last character which

[PHP] Re: MySql Close problem

2004-06-22 Thread Erik Gjertsen
I suppose it was mysql_close that was a problem but I am not secure. I am new in this. I have tryed to made registration page. I wish to that you can use one nic name ony one time. I hav use the following code: body ?php include(header.inc); if (isset($_POST['submit'])) { // Handle the form

Re: [PHP] Firebird reading data error...

2004-06-22 Thread Marek Kilimajer
Connection timeout? André Cupini wrote --- napísal:: Hi people, ...first, sorry my poor english ;) I have a system that access firebird database in a remote machine. In development, works fine (with Firebird 1.0). But now, the database location is a real machine where the system are put up

[PHP] Compiling with pfpro (Payflow) with new SDK for Linux

2004-06-22 Thread Christopher Jones
Hello, I think there has to be some compile issues with PHP and the newer Payflow SDKs from VeriSign [Linux]. There is no longer a Beta SDK apparently for any of the platforms. I have consistenly received the following error: the pfpro extension requires version 2 or 3 of the SDK. I have

[PHP] Re: Encryption Question

2004-06-22 Thread Justin Patrin
Jay Blanchard wrote: Good morning gurus! I am encrypting some data on one server and now I am attempting to decrypt on another server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation vector). It is almost working but I seem to still have a little problem, that data is

RE: [PHP] Re: Encryption Question

2004-06-22 Thread Jay Blanchard
[snip] You should probably use mysql_escape_string or mysql_real_escape_string instead of addslashes and stripslashes. IMHO addslashes and stripslashes are pretty much useless. [/snip] That is an interesting take, why so? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Encryption Question

2004-06-22 Thread Justin Patrin
Jay Blanchard wrote: [snip] You should probably use mysql_escape_string or mysql_real_escape_string instead of addslashes and stripslashes. IMHO addslashes and stripslashes are pretty much useless. [/snip] That is an interesting take, why so? Because it can easily cause more problems than it

[PHP] Help with eregi

2004-06-22 Thread Ryan Schefke
Could someone please help me with an eregi statement. I have a string that can vary as such: client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG client499887/album/album_121-2132_IMG.JPG I want to select whatever comes

Re: [PHP] Help with eregi

2004-06-22 Thread Robin Vickery
On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such: client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG

[PHP] FWD: Help with PHP4.3.2 and XML

2004-06-22 Thread Eric L. Sammons
= Original Message From Eric L. Sammons [EMAIL PROTECTED] = I am in the process of writing a PHP program. It is really quite simple, I have a form that I complete, the information is then to be saved into a simple XML file. When I do this in Java the XML file would appear simply as

Re: [PHP] Help with eregi

2004-06-22 Thread Tom Z. Meinlschmidt
On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such:

Re: [PHP] Help with eregi

2004-06-22 Thread Matt Matijevich
[snip] client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG client499887/album/album_121-2132_IMG.JPG I want to select whatever comes after the last forward slash, like album_121-2132_IMG.JPG [/snip] you could try without regular

[PHP] Image Uploader

2004-06-22 Thread Sean Vasey
I am trying to create an image uploader however, the code I have created doesn't seem to upload the images. If anyone sees any ways that I can get this to work or if you know any better ways, please let me know. ?php /*==*\ ||

Re: [PHP] Image Uploader

2004-06-22 Thread Matt Matijevich
[snip] I am trying to create an image uploader however, the code I have created doesn't seem to upload the images. If anyone sees any ways that I can get this to work or if you know any better ways, please let me know. [/snip] that is quit a bit of code. Are you getting any specific errors?

[PHP] Re: Encryption Question

2004-06-22 Thread Kim Steinhaug
Do you really need to use stripslashes when retrieving the data? Wouldnt stripslashes only affect magic quotes or already added slashes, I mean when you addslashes to the SQL the slashes are indeed removed when inserted in the table. -- -- Kim Steinhaug

Re: [PHP] Re: is there any application , by using i can produce php exe files in windows ?

2004-06-22 Thread Kim Steinhaug
That is thrue, but there are some experiments with compiling the scripts into self running exe's. There are a nice tutorial available somewhere made by probably the only one who has managed to do this, :) Anywho, I remember one can use his precompiled files to create ones own EXE setups. Still,

Re: [PHP] Image Uploader

2004-06-22 Thread Marek Kilimajer
Sean Vasey wrote --- napísal:: // variables $imagesize = getimagesize($image); // some code removed if ($img[$i] == $gif) // if gif file type { $image[$i] = $image[$i] . - . $rand . .gif; } So

Re: [PHP] Re: Session problem

2004-06-22 Thread Curt Zirzow
* Thus wrote Nadim Attari: I have a problem with sessions. If someone closes their internet explorer window without logging off the session remains open. When you try to go back to the site IE hangs until I manually remove the sess_ files from the /tmp directory. Any insights on

Re: [PHP] Help with eregi

2004-06-22 Thread Curt Zirzow
* Thus wrote Tom Z. Meinlschmidt: On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such:

[PHP] Re: opening Adobe pdf's

2004-06-22 Thread Scott Taylor
Thus Curt Zirzow I wrote: header(Content-Type: . $type); header(Accept-Ranges: bytes); Becareful sending this header. The client can get confused and send special headers requesting a partial file, while also expecting different results than the whole file. Which

[PHP] Re: I don't want to use include

2004-06-22 Thread Jason Barnett
Qt wrote: Dear Sirs, When I use include, my script is waiting included script results. But I just want to run another local script without wait result. Which command I should to use? Best Regards Are you hoping to set up a task as part of a batch for later processing? There are several ways you

Re: [PHP] Re: opening Adobe pdf's

2004-06-22 Thread Curt Zirzow
* Thus wrote Scott Taylor: Thus Curt Zirzow I wrote: header(Content-Type: . $type); header(Accept-Ranges: bytes); Becareful sending this header. The client can get confused and send special headers requesting a partial file, while also expecting

[PHP] How to add carriage returns??

2004-06-22 Thread Brent Clements
Ok I have a general problem. I have a textarea on an html form. Well when the user get's to the end of the textarea, it wrap's around. The problem with this is that unless they do a carriage return, the text entered into the textarea is a very long line. So when ever they submit the form, the

Re: [PHP] How to add carriage returns??

2004-06-22 Thread Greg Donald
On Wed, 23 Jun 2004 00:47:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: How do I add linefeeds every few words? php.net/wordwrap -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php