RE: [PHP] PHP & PGP

2002-05-23 Thread Boaz Yahav
This is not what I need. I'm not building a userbase to authenticate with. I'm holding a database of users and passwords that I need to keep. There is no authentication done against these user/password pairs. I don't want to keep the passwords in free text since if someone breaks in, he can ste

[PHP] output problem

2002-05-23 Thread Chris Grigor
Howdi Alll some of you might laugh at this but I cant get this to work Im doing a count on a field and want to diplay the result here is an example... "); print (" $line->user\n"); print (""); } ?> what am I missing as it returns no value at all from $line->user, should I be doing thi

RE: [PHP] output problem

2002-05-23 Thread Sysadmin
You could try something like this(did not test) "); print (" $count $user\n"); print (""); -Original Message- From: Chris Grigor [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 9:48 AM To: [EMAIL PROTECTED]; Php-General-List (E

Re: [PHP] output problem

2002-05-23 Thread 1LT John W. Holmes
Don't do that, it's inefficient. You've got the right query, you just have to assign the column an alias to use it the way you are. SELECT COUNT(user) AS count_user FROM _request WHERE > date='$date' AND status = 'open' Then, after fetching the object from the result set, use $line->count_user

Re: [PHP] Unix time

2002-05-23 Thread Miguel Cruz
On Thu, 23 May 2002, Cosmin wrote: > How can I compare Unix Time? > As integer values? > I take the unix time from database and I compare with the current time > and something is not functioning. Can somebody show me how can I do this? SELECT UNIX_TIMESTAMP(mytimestampfield) FROM table; Not

[PHP] passing arrays

2002-05-23 Thread wm
hi, is there a way to pass arrays in forms or in the url? if i have $myarray=array("one","two","three"); can i pass the whole array at once as opposed to having to pass each individual element? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] passing arrays

2002-05-23 Thread Pushkar Pradhan
Yes, You have to append the array name and values to the end of the url. You've to pass each element from html to php and vice versa, another method is using input hidden http://yoururl.com/index.php&myarray[]=one&myarray[]=two&myarray[]=three > hi, > > is there a way to pass arrays in forms or in

Re: [PHP] passing arrays

2002-05-23 Thread Nathan
Da. It will create a 3D array, so you would reference the data via: echo $_GET["myarray"][0]; // returns "one"; echo $_GET["myarray"][1]; // returns "two"; ... Or, if you put this in a form, use _POST instead of _GET. - Original Message - From: "wm" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [PHP] passing arrays

2002-05-23 Thread Miguel Cruz
On Thu, 23 May 2002, wm wrote: > is there a way to pass arrays in forms or in the url? > > if i have $myarray=array("one","two","three"); > > can i pass the whole array at once as opposed to having to pass each > individual element? Then in whatever.php: $myarray = unserialize($_GET['mya

[PHP] matching two form fields function?

2002-05-23 Thread Jeff Field
I feel bad about asking a question like this, but I've spent quite a bit of time trying to track down what should be a simple answer and, no luck. Anyway... I'm trying to create a simple function that will match two form fields against each other, e.g. "Email" equals "Repeat Email". The followin

Re: [PHP] passing arrays

2002-05-23 Thread Nathan
Sorry, I have my brain set on sessions today... The serialize idea presented suggested by Miguel is a good way to do it. - Original Message - From: "Nathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 1:56 PM Subject: Re: [PHP] pas

[PHP] mail() with images *embedded*

2002-05-23 Thread m u i n a r
Hi Listees ;) After several hours of googling and testing, I'm asking the list for some help with this PHP mail() question: How do you send email with images *embedded* in the message? (I managed to send them embedded with real URLs so they are d'loaded when the message is viewed - but here we

Re: [PHP] matching two form fields function?

2002-05-23 Thread Kevin Stone
Tis a tad easier than that. function match_str($str1, $str2) { if ($str1 == $str2) return true; else return false; } // If the fields don't match exit with error. if (!match_str($field1, $field2)) { echo "The fields must match."; exit; } -Kevin - Original Me

Re: [PHP] matching two form fields function?

2002-05-23 Thread Dennis Moore
Also make sure you trim() the input variables before your comparison... 2cents... /dkm - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 4:30 PM Subject: Re: [PHP] matching two form fields function? > Tis a tad easier than

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
The source HTML (PHP Output) is sometimes correct and sometimes incorrect with the exact same script and SQL statement. The table is very basic. I thought maybe I had some problems with formatting variables in the HTML so I took all the formatting out of the script so it is really basic now and

[PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
PHP 4.1.2 + Apache 1.3.23 + PostgreSQL 7.2 I've put off trying to figure out how to accomplish a fairly simple display problem. It's probably so simple, that I keep missing it. Here's what I'd like to accomplish: I want an image (aligned on the left side) with text beside it (aligned in the c

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
What is the specific nature of the errors in the HTML? Are random characters missing/inserted, or does it look like something that could happen as a result of unexpected program behavior at a higher level? miguel On Thu, 23 May 2002, Tim Greenleaf wrote: > The source HTML (PHP Output) is somet

Re: [PHP] Annoying display problem

2002-05-23 Thread Miguel Cruz
The obvious answer would be a table. miguel On Thu, 23 May 2002, Andre Dubuc wrote: > PHP 4.1.2 + Apache 1.3.23 + PostgreSQL 7.2 > > I've put off trying to figure out how to accomplish a fairly simple display > problem. It's probably so simple, that I keep missing it. > > Here's what I'd like

[PHP] checking session ID's

2002-05-23 Thread Tyler Longren
Hi list, it's been a while. I want to see how many users are online. I store the users $PHPSESSID in a database field (phpsessid) when they login. When they logout, the $PHPSESSID value in phpsessid is removed. I could just see how many rows have something in the phpsessid field, but if a user

Re: [PHP] Making varibles (more than one) with a function.

2002-05-23 Thread David Duong
If that works than the why does test file I tried previously to making the post return a $text does not exist error? "Sqlcoders.Com Programming Dept" <[EMAIL PROTECTED]> wrote in message 009f01c20241$f05aaf80$6520fea9@dw">news:009f01c20241$f05aaf80$6520fea9@dw... > Sqlcoders.com Dynamic data dri

[PHP] Re:phpinfo

2002-05-23 Thread Steve Edberg
You might want to take a look at: http://www.php.net/manual/en/ref.info.php Specifically, get_cfg_var(), ini_get(), and ini_get_all() -steve At 10:08 AM -0700 5/23/02, Dennis Gearon wrote: >What I was trying to do was to find out how to get magic_quotes_sybase >config value. This wil

[PHP] Re: Making varibles (more than one) with a function.

2002-05-23 Thread David Duong
Ok, I see. You have to declare global first and then assign value. "David Duong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How could I have a function create variables that can be used in other > functions? > > _Example_: > makevars() { > list($md5,$puser

Re: [PHP] Making varibles (more than one) with a function.

2002-05-23 Thread Steve Edberg
Because global is specific to the SCOPE not to the variable - variables themselves aren't tagged as global. If you add global $text; in your echoo() function it will work. Alternatively, you could replace echo $text; with echo $GLOBALS['text']; in your echoo() function

[PHP] xslt extension unable to find files (Php 4.2.0, Windows 95)

2002-05-23 Thread Sukhwinder Singh
Hello, I am using php 4.2.0 and apache 2.0 on win95. I am facing some problems with xslt extension. Noone replied at [EMAIL PROTECTED] Problem is that xslt processor is unable to find the xml and xsl files. Files are in the same directory as the php file and document_root is e:\wwwroot\newsite.

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, The errors appear to be the result of strings not terminating properly from the PHP output. Then partial HTML code is inserted in cells or at the top of the table. I have stripped everything out and am now just creating a loop to build a table and still get the same errors. I have c

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Miguel, It's been a long day - thanks. (Duh at this end!) Regards, Andre On Thursday 23 May 2002 04:54 pm, you wrote: > The obvious answer would be a table. > > miguel > > On Thu, 23 May 2002, Andre Dubuc wrote: > > PHP 4.1.2 + Apache 1.3.23 + PostgreSQL 7.2 > > > > I've put off trying to figur

RE: [PHP] php/mysql join query help

2002-05-23 Thread John Holmes
You can run an update query and change the | to , to use FIND_IN_SET, or write a simple script that separates everything. Do you have access to the script that's putting IN the data? ---John Holmes... > -Original Message- > From: Miguel Cruz [mailto:[EMAIL PROTECTED]] > Sent: Thursday,

RE: [PHP] checking session ID's

2002-05-23 Thread John Holmes
There's really no way to see how many users are on line. You can "guess" and say that if they were active in the past X minutes, then they are "online". How you'd do that is save a timestamp along with your session_ID in the database and update it whenever the person does something. You could tr

RE: [PHP] Create table with varying results

2002-05-23 Thread John Holmes
I looked at it and hit refresh a few times and never saw anything odd. IE 6.0 on Win2K Most of the time if a table is messing up, it's because things are being put between the or tags. What the browser will usually do is take all of that stuff that's between the tags, which it can't display th

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
Like John, I tried several times (both Mac and Windows IE) and never got anything funny. How many times do you usually have to refresh before you see the problem? (I think I viewed it 4 times). miguel On Thu, 23 May 2002, Tim Greenleaf wrote: > The errors appear to be the result of strings not

[PHP] Re: Upload wont work

2002-05-23 Thread Ragnar
It seems that i have passed the original problem.. now i get this errormessage: Warning: Unable to create 'C:\Inetpub\wwwroot\demos': Permission denied in c:\inetpub\wwwroot\demo_up.php on line 7 This is where i try to copy the uploaded file to the demo directory. So i try to enable write access

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, Thanks for looking. It may take three or four times at most. I don't know if you scrolled the table each time but it is random and sometimes not apparent but here is the contents of an e-mail address cell at line 433. fredded width='22%' bgcolor='#FF'>department Other "e-mail" ce

RE: [PHP] Re: Upload wont work

2002-05-23 Thread John Holmes
If you're using NTFS, the IUSR_ user has to have write permissions to that folder. ---John Holmes... > -Original Message- > From: Ragnar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 6:51 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Upload wont work > > It seems that i h

Re: [PHP] Re: Upload wont work

2002-05-23 Thread Ragnar
hmm.. im using fat32, maybe i should convert the partition to ntfs.. "John Holmes" <[EMAIL PROTECTED]> wrote in message 001301c202ad$fcb42f60$b402a8c0@mango">news:001301c202ad$fcb42f60$b402a8c0@mango... > If you're using NTFS, the IUSR_ user has to have write > permissions to that folder. > > ---

RE: [PHP] Create table with varying results

2002-05-23 Thread Peter
Tim, I had a look in both IE first it showed the table fine even after refreshing 4 or 5 times & scrolling down, there was a script exicution error (script look longer than 30 secs) then loaded it in Netscape and table didn't show at all... I'd try initally just grabbing the table part and ge

[PHP] the new variables

2002-05-23 Thread Tyler Longren
Hi, Just to prevent a bunch of non-helpful e-mails, I've already RTMF! Now, to the point. When using the new variables in php 4.2.x, how should I go about handling my variables? Should I just _print "$_GET[var]"_ every time I need to print $var to the screen, or would it be better to just do t

Re: [PHP] the new variables

2002-05-23 Thread Philip Olson
There is no better or worse. The new superglobals were introduced in PHP 4.1.0. Use them how you wish. Also consider extract() and/or import_request_variables(). Personally I like: import_request_variables('gpc', 'r_'); Which in your example would result in: print $r_var; But it d

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
My testing was on a Win box with apache/php and browser was ie5.5 - I haven't uploaded the test code to any of my lamp boxes to check it there but don't believe it would matter if I did. > Here is the source for the page: Before testing your code I did make changes, I'll note them as we go...

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
> I thought maybe I had some problems with formatting > variables in the HTML so I took all the formatting out of > the script so it is really basic now and still have the same > problem. I also thought maybe there were issues with the > data...i.e. with nulls and non-alpha-numeric char

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
> I have a search page that creates a dynamic table of results > from MS SQL Server. The table created on the web page does > not always get created properly for the same recordset. If it was me I'd be doing a "view source" on the displayed page and comparing what it looks like to what y

[PHP] publicfile

2002-05-23 Thread Casey Allen Shobe
Hey, Anybody gotten PHP to work with Publicfile? Is there documentation somewhere? Thanks, -- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144 [EMAIL PROTECTED] / http://www.secureworks.net Content is my own and does not nec

RE: [PHP] Annoying display problem

2002-05-23 Thread David Freeman
> I want an image (aligned on the left side) with text beside > it (aligned in the center). That sounds simple enough. But try as I may, I > can't get it to work. > * > print " height='120' alt=' '/> align='center'>{$_SESSION['de

RE: [PHP] the new variables

2002-05-23 Thread John Holmes
Do whatever you want, whatever is easier for you. I'd use $_GET['var'], personally, just because it's a waste of time and memory to assign it to another variable, plus you don't have to worry about passing variables to function, classes, etc... ---John Holmes... > -Original Message- > F

Re: [PHP] Full-Duplex communication

2002-05-23 Thread Miguel Cruz
Not to be argumentative, but what you're trying to do is just so amazingly much more complicated than any of my suggestions. Maybe I haven't communicated it well, it maybe there's some requirement to your project that I don't understand. Why not just write a listener in PHP and redirect to it? It

[PHP] Re: Passing Variables

2002-05-23 Thread Nicole Amashta
Why do you need the group by clause? Do one or the other, not both. either do a select count(id) from table or select field, count(id) from table group by field Check your query, Nicole Amashta www.aeontrek.com James Opere wrote: > Hi All, > I'm trying to pass variables from one form to the

[PHP] Re: Passing Variables

2002-05-23 Thread Nicole Amashta
What error do you get? James Opere wrote: > Hi All, > I'm trying to pass variables from one form to the other.I have a problem > when i want to do the the following: > 1.COUNT($variable) > 2.DISTINCT($variable) > . > I realise i can not use the brackets in my query and the variable b

[PHP] how to display a file's last updated time using php?

2002-05-23 Thread Rui Huang
Hi, friends, I want to display the last updated time of a file using php, but I don't know which function I should use. It seems that the date() just show the current time. For html file, a simple javascript works well, but in php files that script works weired. How to solve that problem? Tha

RE: [PHP] how to display a file's last updated time using php?

2002-05-23 Thread John Holmes
Read the manual www.php.net/filemtime ---John Holmes... > -Original Message- > From: Rui Huang [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 10:17 PM > To: 'php-general' > Subject: [PHP] how to display a file's last updated time using php? > > Hi, friends, > > I want to di

RE: [PHP] how to display a file's last updated time using php?

2002-05-23 Thread Peter
how so? I've had no problems with getting that info from java script inside php -Original Message- From: Rui Huang [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 12:17 PM To: 'php-general' Subject: [PHP] how to display a file's last updated time using php? Hi, friends, I want to

RE: [PHP] how to display a file's last updated time using php?

2002-05-23 Thread Vail, Warren
http://www.php.net/manual/en/function.filemtime.php Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: Rui Huang [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 7:17 PM To: 'php-general' Subject: [PHP] ho

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Thanks Dave, I tried that one, and the results were "interesting". I reverted to the method (I should have thought of it earlier, seeing that I had just used it in the lines just before [go figure!], but my mind was too frazzled to see it. Now I've got the text sitting nicely beside the pix,

[PHP] Help ! For Loop not working

2002-05-23 Thread Manisha
$fcontents is an array with 3 elements. But this for loop is not executing even once $ii=count($fcontents); echo("$ii"); for ($i = 0; $i < ii; $i++) { print $i; } $ii has value = 3, But I am not getting the value of $i. What is wrong with such a simple loop ? Please help Manisha --

Re: [PHP] Help ! For Loop not working

2002-05-23 Thread Manisha
Sorry, got it, I am not doing $ii Sorry again Manisha At 10:33 AM 5/24/02 +0800, Manisha wrote: >$fcontents is an array with 3 elements. >But this for loop is not executing even once > >$ii=count($fcontents); >echo("$ii"); >for ($i = 0; $i < ii; $i++) { > print $i; >} > >$ii has value =

RE: [PHP] Help ! For Loop not working

2002-05-23 Thread John Holmes
Missing a dollar sign in your for() loop definition. See if you can find out where... ---John Holmes... > -Original Message- > From: Manisha [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 10:34 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Help ! For Loop not working > > $fcont

RE: [PHP] Help ! For Loop not working

2002-05-23 Thread Peter
shouldn't or ($i = 0; $i < ii; $i++) be or ($i = 0; $i < $ii; $i++) ? -Original Message- From: Manisha [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 12:34 PM To: [EMAIL PROTECTED] Subject: [PHP] Help ! For Loop not working $fcontents is an array with 3 elements. But this for lo

[PHP] Re: Create table with varying results

2002-05-23 Thread Tim Greenleaf
HI have gone to 5 different machines now and still have the same issues even though others who have replied indicate they don't see a problem with the output. It must be the crack I am smoking these days. Maybe the errors are too subtle that no one else notices? I have changed the file

[PHP] REG_ECTYPE Warning from ereg_replace

2002-05-23 Thread Thalis A. Kalfigopoulos
I get REG_ECTYPE from a call to ereg_replace. No mention in the docs. Minimal mention in the archives. What exactly is it supposed to mean? The call is: $definitions=ereg_replace("name=[^[:space]]*","",$definitions); TIA, thalis -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] error in compling with oracle support

2002-05-23 Thread Michael P. Carel
Hi to All, Is there anyone know's why im receiving this error in compiling PHP-4.2.1 with oracle support in AIX. Im using oracle 7.3.4.0.0 . Im having an configure error: Unsupported Oracle version! Here's my config script: ./configure --with-apache=../apache_1.3.24 \ --with-enable-track-vars -

RE: [PHP] Annoying display problem

2002-05-23 Thread David Freeman
> Now I've got the text sitting nicely beside the pix, but no > matter what I try (i.e. or whatever, > the text butts right to the left margin, First option is to insert cellpadding or cellspacing in your tag - that's where it get's set for the whole table. A possible solution could incl

RE: [PHP] error in compling with oracle support

2002-05-23 Thread Peter
ummm ur answer is in your question !! -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 12:56 PM To: php Subject: [PHP] error in compling with oracle support Hi to All, Is there anyone know's why im receiving this error in compiling PHP-4.2.

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael P. Carel
can i now where and why? pls > ummm ur answer is in your question !! > > -Original Message- > From: Michael P. Carel [mailto:[EMAIL PROTECTED]] > Sent: Friday, 24 May 2002 12:56 PM > To: php > Subject: [PHP] error in compling with oracle support > > > Hi to All, > > Is there anyone k

[PHP] Mail Headers problem.......

2002-05-23 Thread CDitty
I am writing a small email logging / forwarding script and am having problems with the headers. I am successfully getting the MIME-Version and Content-type, but when I insert them into the forwarded email message, the headers show within the email itself. Below is the code I am using. $to = "

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Hi Dave, Well, I "sort of" solved it by adding:    in a few judicious places. Renders well in Konqueror, Mozilla, and Galeon. Btw, I've been using CSS, and thought of doing it there, but it's a lot of trouble for only one table. Thanks, Andre On Thursday 23 May 2002 11:00 pm, you wrote: >

[PHP] How to implode with carraige return ?

2002-05-23 Thread Manisha
I have 3 elements in an array $arr[1] = " 1 | Manisha "; $arr[2] = " 2 | Milind "; $arr[3] = " 3 | Aish "; I want to implode it to string first and later on want to write in to txt file. I tried to implode this chr(13) as a separator. I tried with $arr[1] = "1 | Manisha \n\r" as an array ele

RE: [PHP] How to implode with carraige return ?

2002-05-23 Thread Martin Towell
unix uses just \n ( chr(13) ) windows uses \r\n ( chr(10).chr(13) ) try changing \n\r to \r\n HTH Martin -Original Message- From: Manisha [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: [PHP] How to implode with carraige return ? I have

RE: [PHP] Mail Headers problem.......

2002-05-23 Thread Martin Towell
dunno if this helps, but try using "\r\n" instead of just "\n" when you create $headers -Original Message- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail Headers problem... I am writing a small email logging / for

RE: [PHP] How to implode with carraige return ?

2002-05-23 Thread Manisha
Yes, you were write - when I used chr(10).chr(13) - it worked. But still little bit confused. When you are saying unix uses \n, that means if I am reading the file from unix server - it would have looked ok, but the same file won't look good if I open in Windows ? I always gets confuse here.

RE: [PHP] Mail Headers problem.......

2002-05-23 Thread CDitty
Actually tried that earlier. No difference in the result. Chris At 10:48 PM 5/23/2002, you wrote: >dunno if this helps, but try using "\r\n" instead of just "\n" when you >create $headers > >-Original Message- >From: CDitty [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 24, 2002 1:20 PM

RE: [PHP] error in compling with oracle support

2002-05-23 Thread Peter
that's what ur error message would suggest ... try looking on the php site . -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 1:49 PM To: Peter Subject: Re: [PHP] error in compling with oracle support so you mean php does'nt support oracle v

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael Virnstein
i think that Oracle 7.3.4.0.0 does not support the oci extension or vize versa, Oracle 8i does, that's what i know for sure. so try it without the oci-extension. If it works, use this funtions in your scripts: http://www.php.net/manual/en/ref.oracle.php Regards Michael "Michael P. Carel" <[EMAIL

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread Jason Wong
On Friday 24 May 2002 04:15, m u i n a r wrote: > Hi Listees ;) > > After several hours of googling and testing, I'm asking the list for some > help with this PHP mail() question: How do you send email with images > *embedded* in the message? To find out how it was done, what I did was to use Ou

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael Virnstein
Found a better resource than me :) http://www.php.net/manual/en/ref.oci8.php Seems you have to install the Oracle8 Client Libraries to be able to call OCI8 interface Regards Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i t

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael P. Carel
thanks to all of you guy's. I'll try all your suggestions. It will take time to see all the results since im compling it with an RS6000 running AIX os, and to tell you guy's this machine was very sloww. It will take 3hrs just to see this error message. thanks > that's what ur error message

Re: [PHP] REG_ECTYPE Warning from ereg_replace

2002-05-23 Thread Analysis & Solutions
On Thu, May 23, 2002 at 10:51:45PM -0400, Thalis A. Kalfigopoulos wrote: > $definitions=ereg_replace("name=[^[:space]]*","",$definitions); ^ Add a semicolon ":" between the "e" and the "]" --Dan -- PHP classes that make web design easie

Re: [PHP] Mail Headers problem.......

2002-05-23 Thread Analysis & Solutions
On Thu, May 23, 2002 at 10:19:51PM -0500, CDitty wrote: > $to = "$user_email[0]"; > $subj = "$Subject"; > $msg = "$Message"; > > $headers = "From: $From[1]\n"; > $headers .= "$Mime_Version\n"; > $headers .= "$Content_Type\n"; You're not showing us how you come up with the $From[1], $Mime_Versio

RE: [PHP] How to implode with carraige return ?

2002-05-23 Thread Miguel Cruz
On Fri, 24 May 2002, Manisha wrote: > Yes, you were write - when I used chr(10).chr(13) - it worked. > > But still little bit confused. When you are saying unix uses \n, that means > if I am reading the file from unix server - it would have looked ok, but > the same file won't look good if I op

RE: [PHP] How to implode with carraige return ?

2002-05-23 Thread Manisha
Thanks Miguel Manisha At 12:02 AM 5/24/02 -0500, Miguel Cruz wrote: >On Fri, 24 May 2002, Manisha wrote: > > Yes, you were write - when I used chr(10).chr(13) - it worked. > > > > But still little bit confused. When you are saying unix uses \n, that > means > > if I am reading the file from un

[PHP] more database escaping

2002-05-23 Thread Dennis Gearon
In setting up a new database, new pages, new site, on a shared server, these thoughts come to mind: 1/ Does anybody keep a table of config values in which the database was originally designed for? (and one in each database for a site, for that matter) Example CREATE TABLE

Re: Re: [PHP] Full-Duplex communication

2002-05-23 Thread Vinod Panicker
LOL.. I like the color red BTW. Let me explain my project more in detail. This system is an Instant messaging system, with the backed running on apache / php / mysql. The front end client is a COM component that communicates with the backend, and interfaces with an MFC app. Now since Instan

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread m u i n a r
At 06:05 24.05.02, you wrote: >On Friday 24 May 2002 04:15, m u i n a r wrote: > > Hi Listees ;) > > > > After several hours of googling and testing, I'm asking the list for some > > help with this PHP mail() question: How do you send email with images > > *embedded* in the message? > >To find ou

[PHP] PHP Mail problem

2002-05-23 Thread Manisha
Hi, I am doing email blast program. I wanted to blast 100 emails. For testing purpose (I wanted to test how much time it takes), I blasted all 100 to my account (That too twice) I received almost 100 over mails, but later on received - quota over - error. Now the problem is I can not get a si

[PHP] mysql_pconnect() and mysql_connect()

2002-05-23 Thread Patrick Hsieh
Hello, When I use "mysqladmin processlist" to view the mysql process, there are a few process in "Sleep" status. I wonder what makes it sleep, so I wrote a little script like this: #!/usr/bin/php4 This script will make a mysql_pconnect(), sleep for 10 seconds and then end the script. In the s

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread Jason Wong
On Friday 24 May 2002 14:09, m u i n a r wrote: > At 06:05 24.05.02, you wrote: > >On Friday 24 May 2002 04:15, m u i n a r wrote: > > > Hi Listees ;) > > > > > > After several hours of googling and testing, I'm asking the list for > > > some help with this PHP mail() question: How do you send em

RE: [PHP] Leading zeroes

2002-05-23 Thread Tom Rogers
Hi If it only a number in the string intval($str) should be enough to get rid of the zero unless it is only 0 Tom At 03:49 AM 24/05/2002, Liam Gibbs wrote: > > From version 4.1.0, $str = ltrim($str, '0') > >This works excellently. Thanks. One problem that I >didn't think of, though: If the num

Re: [PHP] Mailing list software recommendation?

2002-05-23 Thread Tom Rogers
Hi I have been playing with Limez that seems to work very well with mysql and virtual domains. More info at http://www.limez.net/ Tom At 04:15 AM 24/05/2002, Chad Day wrote: >I'm looking for PHP/MySQL based mailing list software for a project I'm >doing.. I plan on hosting a bunch of virtual dom

<    1   2