RE: [PHP] IMAP/POP3/OUTLOOK Question .. NEW! ... Complimantary

2001-05-15 Thread Don Read
On 14-May-01 Mattias Segerdahl wrote: > Hi, > > I was wondering if someone could help me explain how Microsoft OUTLOOK knows > which emails that it has downloaded from the server, as far as I know, there > isn't any way of marking the email in a pop3 queue that they have been > either read or do

Re: [PHP] nested functions

2001-05-15 Thread elias
good question...I might need an answer when you get one. -elias ""Johannes Schmiderer"" <[EMAIL PROTECTED]> wrote in message 9ds7le$caa$[EMAIL PROTECTED]">news:9ds7le$caa$[EMAIL PROTECTED]... > Is there no way to access the $x within the inner function: > > function outer() > { > $x = 50; >

Re: [PHP] Crypt is not supported in this build??? 4.0.5

2001-05-15 Thread elias
I guess you got the small package of PHP 4.0.5, you can go to www.php4win.de or www.php.net and download the php crypt extension and modifiy the php.ini to enabled it. -elias "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I just in

RE: [PHP] SSL and CURL question --

2001-05-15 Thread Leavell Digital Design
Can't help you with your code but, you may want to check out the snoopy class at Sourceforge.net. http://sourceforge.net/projects/snoopy/ It uses ssl and cURL. Works pretty well. Kevin Leavell Leavell Digital Design Inc. P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From:

RE: [PHP] Uptime script?

2001-05-15 Thread Tyler Longren
exec(uptime); or system(uptime); Tyler > -Original Message- > From: Ryan Christensen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 11:43 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Uptime script? > > > I know I've seen one before, and before I go write my own version, does >

[PHP] Uptime script?

2001-05-15 Thread Ryan Christensen
I know I've seen one before, and before I go write my own version, does anyone know of a PHP script that echoes the uptime of a server (Linux) in days,hour,minutes, etc? Thanks! Ryan Christensen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re[4]: [PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
Hello Maxim, That is neat Tuesday, May 15, 2001, 8:44:57 PM, you wrote: Maxim Maletsky> because '<' is an '<', Maxim Maletsky> look at the source of your HTML file when you are outputting these emails Maxim Maletsky> for testing. or do htmlentities(); Maxim Maletsky> Sincerely, Maxim Malet

RE: [PHP] referer from email client

2001-05-15 Thread Maxim Maletsky
That is a javascripts job. Look at extreeme tracking's code. They have that. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Eris Ristemena [mailto:[EMAIL PROTECTED]] Sent: Wedn

RE: Re[2]: [PHP] Need a little help with array

2001-05-15 Thread Maxim Maletsky
because '<' is an '<', look at the source of your HTML file when you are outputting these emails for testing. or do htmlentities(); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- Fr

Re[2]: [PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
Hello Maxim, This works great except that it does,t print the email if I take the '<' '>' off then it does but I need those < > Tuesday, May 15, 2001, 7:58:28 PM, you wrote: Maxim Maletsky> Try this instead: Maxim Maletsky> $sql = " Maxim Maletsky>SELECT Maxim Maletsky> CONCAT(fname,

Re: [PHP] Recursively create directories

2001-05-15 Thread Gregory Hernandez
Hello. I just registered to the listserv about two weeks (my 1st time typing here). I'm just curious, if you don't mind me asking. I'm just trying to learn more. But, would someone list any scenarios in which one would want to create directories recursively by using php? Thanks in advance.

[PHP] referer from email client

2001-05-15 Thread Eris Ristemena
hellos, how can we know the referer link is from an email client like outlook ? i have tried this, and the $HTTP_REFERRER is empty. thanks ers __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

RE: [PHP] Need a little help with array

2001-05-15 Thread Maxim Maletsky
Try this instead: $sql = " SELECT CONCAT(fname, ' ', lname, '<', email, '>') AS str_email FROM customers "; and then the rest of your code.. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com --

RE: [PHP] PHP vs Perl security

2001-05-15 Thread Maxim Maletsky
both are cool. never heard of any holes as such, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jeff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 11:26 AM To: [EMAIL

Re: [PHP] free php/mysql hosting

2001-05-15 Thread Philip Olson
See the following : Where can I find some free hosting space by an ISP offering PHP. http://www.faqts.com/knowledge-base/view.phtml/aid/4058/ regards, philip On Tue, 15 May 2001, Christian Dechery wrote: > Does anyone knows any good free php/mysql hosting other than www.f2s.com?? >

[PHP] EREGI -- Help

2001-05-15 Thread Jason Caldwell
I'm just trying to create a eregi expression that will evaluate a zip code... and I cannot get it to work... can anyone assist me with this? -- also, is there a site that shows regular expression examples for checking fields like, zip codes, phone numbers, etc... if(!(eregi("(^[0-9]{5})(\\-([0-9

[PHP] PHP vs Perl security

2001-05-15 Thread Jeff
Hi. Are there any known/posssible security issues with PHP using SSL? I'm trying to figure out if it would be better to user Perl or PHP based on their security features/flaws. I'm sure there's holes in both, but which one has the bigger hole...? Thanks, Jeff -- PHP General Mailing List (htt

[PHP] free php/mysql hosting

2001-05-15 Thread Christian Dechery
Does anyone knows any good free php/mysql hosting other than www.f2s.com?? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
I am trying to get the first name and Last name plus the email address out of the database in a format like this Richard Kurth<[EMAIL PROTECTED]>;Richard Kurth<[EMAIL PROTECTED]> so I can put it in the BCC section of a mail all customer program What I have below works for getting

Re: [PHP] ORDER PROBLEMS

2001-05-15 Thread Miles Thompson
Rafael, Couple of things ... see below. I'm doing this without checking the MySQL docs, so validate this against them. At 08:22 PM 5/15/01 -0300, Rafael Faria wrote: >Hello Guys, > >i'm with problems > >first i try to add a value like "8.55" into my sql data base that was set >up to DOUBLE

Re: [PHP] Are constants more efficient than variables that never change?

2001-05-15 Thread Noah Spitzer-Williams
Ok, I'm only wondering this because I'm tryin to decrease the load time significantly because each page has to go through a lot of stuff before they're loaded and with the volume of hits it gets, i need anything to help out - Noah "CC Zona" <[EMAIL PROTECTED]> wrote in message 9dsm85$kgl$[EMAIL

Re: [PHP] Are constants more efficient than variables that never change?

2001-05-15 Thread CC Zona
In article <9dsknt$fb1$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Noah Spitzer-Williams") wrote: > So my question is should i just do: > > define("myvar", 3); > > OR: > > $myvar = 3; > > does defining it make that much of a difference (if i have several of these > variables that could be define

Re: [PHP] Image Upload??

2001-05-15 Thread Toby Dacre
chmod the file or directory so that php can access it it doesn't run as you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Are constants more efficient than variables that never change?

2001-05-15 Thread Noah Spitzer-Williams
I may have a variable that changes page to page, but once it loads up, it never needs to be changed on that page. So my question is should i just do: define("myvar", 3); OR: $myvar = 3; does defining it make that much of a difference (if i have several of these variables that could be defined

Re: [PHP] GetImageSize() problem...

2001-05-15 Thread Rasmus Lerdorf
> I might have the same problem with PHP 4.0.5 (win2k). Some of the images > from my Kodak DC-260 digital camera, are not recognized correctly by > getimagesize for some reason.. > > Example: > > $imagehw = > GetImageSize("http://maasdelta.eve-software.com/foto/kinderspelen/P0007811.J > PG

[PHP] Custom Session Func?

2001-05-15 Thread Elan
Hi, Problem: I register a session variable and assign a value to it. The value is lost when I try to access it from a different webpage later. Must I use custom session_save_handler functions if I want to extend the life of a variable's value from Webpage to Webpage? Details: I'm using PHP's ses

[PHP] Image Upload??

2001-05-15 Thread Brave Cobra
Hi, I'm having a problem with a file upload. My code looks as follows : Select the file you wish to upload. It must be less than 300KB. $image_name is not a valid file to upload. Please upload JPEG (.jpg) or GIF (.gif) type images only. "; return 0; } } $ABS_IMAGES_DIR=$path_

Re: [PHP] GetImageSize() problem...

2001-05-15 Thread Edwin van Elk
""Eric Knudstrup"" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am having an issue with 4.0.5 where the following code snippet: > > $orig = imagecreatefromjpeg($tmp); > echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($ori

Re: [PHP] coding for 'no match found'

2001-05-15 Thread James, Yz
Or, try count() in the sql statement.. I think that's faster than: Can't be sure where I read it, but still :) Ack! 1.20am. Bedtime. James. ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > See http://www.php.net/manual/en/function.mysq

[PHP] ORDER PROBLEMS

2001-05-15 Thread Rafael Faria
Hello Guys, i'm with problems first i try to add a value like "8.55" into my sql data base that was set up to DOUBLE (10,0) and isn't work... i don't know how this work... but i'm here to ask for someone explain me. well... i did with varchar to add this value as i want to.. do i have a

Re: [PHP] Newbie-Continue Line of Code

2001-05-15 Thread Mike Maki
Phpman, Thanks for the quick reply, Wow, guess I should have tried that before I asked. What a great forum. Quick responses! Thanks again. ""phpman"" <[EMAIL PROTECTED]> wrote in message 9dsblb$9i1$[EMAIL PROTECTED]">news:9dsblb$9i1$[EMAIL PROTECTED]... > it doesn't matter. the thing in php that

Re: [PHP] Newbie-Continue Line of Code

2001-05-15 Thread Gyozo Papp
that's great :) From: "scott [gts]" <[EMAIL PROTECTED]> > then people would think you're a perl programmer ;) > > > > In theory you could put all your code on one line. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: [PHP] again with the regex

2001-05-15 Thread Jerry Lake
Thanks folks, much better now. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 3:52 PM To: [EMAIL PROTEC

RE: [PHP] Newbie-Continue Line of Code

2001-05-15 Thread scott [gts]
then people would think you're a perl programmer ;) > -Original Message- > From: phpman [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Newbie-Continue Line of Code > > In theory you could put all your code on one line. > -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] again with the regex

2001-05-15 Thread Jack Dempsey
if they all have the same format, then you can do this (don't need regexs) $number = '1234567890'; $formatted_number = '(' . substr($number,0,3) . ') ' . substr($number,3,3) . '-' . substr($number,6); -jack -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Ma

RE: [PHP] again with the regex

2001-05-15 Thread scott [gts]
well, if all numbers are *always* 10 digits long, use this $old = "1234567890"; $new = preg_match('/(\d{3})(\d{3})(\d{4})/', $old, $matches); print "(". $matches[1] .") ". $matches[2] ."-". $matches[3]; prints "(123) 456-7890" > -Original Message- > From: Jerry Lake [mailto:[EMAIL P

RE: [PHP] again with the regex

2001-05-15 Thread Johnson, Kirk
Jerry, try sprintf(). Here's an example: sprintf("(%s) %s-%s", substr($GLOBALS["appPhoneHome"], 0, 3),substr($GLOBALS["appPhoneHome"], 3, 3),substr($GLOBALS["appPhoneHome"], 6, 4)) Kirk > -Original Message- > From: Jerry Lake [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 4:48

Re: [PHP] Newbie-Continue Line of Code

2001-05-15 Thread phpman
it doesn't matter. the thing in php that separates lines (actually commands) is the --> ; semicolan. In theory you could put all your code on one line. ""Mike Maki"" <[EMAIL PROTECTED]> wrote in message 9dsbhr$52j$[EMAIL PROTECTED]">news:9dsbhr$52j$[EMAIL PROTECTED]... > How do I continue a lin

[PHP] again with the regex

2001-05-15 Thread Jerry Lake
I hate to keep asking regex stuff, but it is really evasive for me.. I'm pulling phone numbers out of a DB in the format of 1234567890, I would like to format them like (123) 456-7890 or something else that at least breaks them up a bit. any help is appreciated, Thanks, Jerry Lake Interface Eng

[PHP] Newbie-Continue Line of Code

2001-05-15 Thread Mike Maki
How do I continue a line of code to the next line? I like to keep my lines of code to about 60 characters in width then wrap to the next line. Is this possible with lines of PHP code? Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] How to check "aBc" different from "abc" ?

2001-05-15 Thread scott [gts]
this also works: $st1 = "abc"; $st2 = "abc"; if ($st1 != $st2) { die("Death"); } > -Original Message- > From: Steve [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 6:39 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] How to check "aBc" different from "abc" ? > > > $st1 =

[PHP] SSL and CURL question --

2001-05-15 Thread phpman
CURL is realy cool, lets me do easy socket stuff, especially with ssl, which leads me to my question: How on God's green earth do I send more then simple requests to a SSL server? Here's my basic request... POST /apps.here/xml/Rate HTTP/1.1 Content-Type: application/xml Content-Length: 1074 bl

RE: [PHP] Image problem

2001-05-15 Thread Michael O'Neal
On Tue, 15 May 2001 10:23:39 -0700, "Jerry Lake" <[EMAIL PROTECTED]> wrote: >This is how I fixed that same issue >in the head of my page > >if (ereg ("new", $PHP_SELF)) { > $header = " $title = "www.website.com - What's New"; } >elseif (ereg ("products", $PHP_SELF)) { > $header

Re: [PHP] How to check "aBc" different from "abc" ?

2001-05-15 Thread Steve
$st1 = "abc"; $st2 = "abc"; strcmp($st1, $st2);// 0 if equal, -1 or 1 if not equal (depending on which one is larger) ""Bass¨Ð¦õªv"" <[EMAIL PROTECTED]> wrote in message 9ds76j$9mv$[EMAIL PROTECTED]">news:9ds76j$9mv$[EMAIL PROTECTED]... > thx ^_^ > > > > -- > PHP General Mailing List (http:/

[PHP] ANN:Visual PHP Studio 1.0 Field Test 1 B156 New release!

2001-05-15 Thread José León Serna
Hello: The next release of Visual PHP Studio is out!!!. I have reserved the domain visualphpstudio.com and I have moved the web site to a new host to avoid some problems with the old one. The most exciting feature on this release is the ability to work with HTML Forms, a new palette contains a

[PHP] RE: it didn't upgrade to 4.0.5

2001-05-15 Thread Joseph Bannon
What can I delete on my server to do a fresh install? I'm trying to upgrade php and it's not working. Joseph -- 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 administrator

RE: [PHP] coding for 'no match found'

2001-05-15 Thread Johnson, Kirk
See http://www.php.net/manual/en/function.mysql-num-rows.php Kirk > -Original Message- > From: midget2000x [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 3:00 PM > To: [EMAIL PROTECTED] > Subject: [PHP] coding for 'no match found' > > > This is a simple yet fundamental progra

[PHP] coding for 'no match found'

2001-05-15 Thread midget2000x
This is a simple yet fundamental programming question I am hoping somebody will have the patience to explain... I have a mysql database with the "email" field as the key. Before inserting an new record to it I want to check if there is already a record with that e-mail. This I can do fine. But

RE: [PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread scott [gts]
when i checked the 'debug.log' file after it broke, it said : gcc -o conftest -g -O2 [...snip ] -lXpm -L/usr/X11R6/lib/ -lX11 1>&5 /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status perhaps you had the X11 libraries even though you didnt have the actual server binaries. or do

RE: [PHP] easy one

2001-05-15 Thread Johnson, Kirk
Just to add a couple details. On the first page request, PHP sets the constant SID as well as the cookie. If the user has cookies disabled, then SID is also set on all following page requests. If cookies are enabled, then the cookie PHPSESSID (if you stick with the default name) exists on all foll

RE: [PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread Brandon Orther
I do not believe this is the reason that you are having problems. I have compiled GD on many Redhat machines without X11 Brandon -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 2:44 PM To: php Subject: [PHP] PHP and GD on a Redhat linux box

Re: [PHP] nested functions

2001-05-15 Thread Gyozo Papp
why don't you pass $x as an argument? - Original Message - From: "Johannes Schmiderer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. május 15. 23:41 Subject: [PHP] nested functions > Is there no way to access the $x within the inner function: > > function outer() > { > $

[PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread scott [gts]
i had compile problems for PHP + GD on a linux box. my best guess is that GD requires X11 support to work properly, and in turn blows up the PHP compile when GD cannot find the 'X11' library since the box is a server, bells and whistles like Xwindows are not installed figured i'd sha

RE: [PHP] Change 'key' names of an associative array.

2001-05-15 Thread Mark Maggelet
reset($array); while(list($key,$value)=each($array)){ $array[strtoupper($key)]=$value; unset $array[$key]; } On Tue, 15 May 2001 16:19:41 -0400, Altunergil, Oktay ([EMAIL PROTECTED]) wrote: >Yes. But I want to change the name of the key, not the value. Plus I >want to >be able to

[PHP] Help!! ftp problems

2001-05-15 Thread galkin
Hi I'm having trouble using php to ftp a file from a form. I've scoured the lists and documentation but the answer elludes me. I put in a MAX_FILE_SIZE variable, looked in the php.ini at the tmp_dir (left blank to default to the system temp dir), chmod to 1777 of that temp dir. What am I not d

[PHP] nested functions

2001-05-15 Thread Johannes Schmiderer
Is there no way to access the $x within the inner function: function outer() { $x = 50; function inner() { echo $x; } inner(); } Global in the inner function does not work. I do not want to have $x global for all. Hannes Schmiderer -- PHP General Mailing List (http://www.p

[PHP] How to check "aBc" different from "abc" ?

2001-05-15 Thread Bass¨Ð¦õªv
thx ^_^ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Crypt is not supported in this build??? 4.0.5

2001-05-15 Thread Brandon Orther
Hello, I just installed 4.0.5 on IIS and it is telling me that crypt is not supported in this build. Does anyone know why? Thanks For Da Help Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] load balancing...

2001-05-15 Thread Johnson, Kirk
We are doing it here, although I am not involved in the server setup so I can't give you much help. I guess the main thing is setting up the session storage mechanism. If you use session files, then the load balancer needs to add a cookie so that requests in multi-page applications always go to th

Re: [PHP] WTF: mail() is not supported in this PHP build ???

2001-05-15 Thread Alexander Wagner
Michael Geier wrote: > RedHat 7.1 > php4.0.4pl1 Installed from source? regards Wagner -- "Some guy hit my fender, and I told him, 'Be fruitful and multiply,' but not in those words." - Woody Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] Assett Management

2001-05-15 Thread Ashley M. Kirchner
I'm looking for a free (or GPL licensed) tool for Asset Management, mainly images. Suggestions anyone? -- W | | I haven't lost my mind; it's backed up on tape somewhere. |

[PHP] WTF: mail() is not supported in this PHP build ???

2001-05-15 Thread Michael Geier
I have never seen this problem (and this isn't my first install)... I am using: RedHat 7.1 php4.0.4pl1 qmail 1.03 I thought the problem was the fact that I didn't have sendmail installed at all (had the qmail sendmail wrapper in place though; ln -s /var/qmail/bin/sendmail /usr/[lib|sbin]/sen

[PHP] Can't connect to mysql after applying MS Hotfix

2001-05-15 Thread Tyler Longren
Hello everybody, Lastnight, I was building a site. Multiple SQL queries were being made on every page. Everything worked nice and smooth. I downloaded and applied the patch for MS01-026 which effects IIS 4.0 and 5.0. I rebooted after applying the hotfix, and after that, NONE of my php scripts

Re: [PHP] still not friends with RegExps..

2001-05-15 Thread Gyozo Papp
I mean that it seems to me most of the mailers use preg funtions instead of simple ereg functions. Up to now I used only the latter ones. I still know where I can find documantation, I just go further and ask some link to learn more about PCRE functions. I'm sorry if you misunderstand it. ---

RE: [PHP] Change 'key' names of an associative array.

2001-05-15 Thread Altunergil, Oktay
Yes. But I want to change the name of the key, not the value. Plus I want to be able to do this without creating an extra key/value pair for each conversion I do. oktay -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 4:22 PM To: Altunergil, Ok

Re: [PHP] still not friends with RegExps..

2001-05-15 Thread CC Zona
In article <025c01c0dd7a$3b75d320$6a45c5d5@jaguar>, [EMAIL PROTECTED] ("Gyozo Papp") wrote: > > > There is a function quotemeta() which escapes all special regexp > > > character > > > such as: > > > . \ + * ? [ ^ ] ( $ ) > > > with a '\' except one the '|' pipe. > > > > Forget quotemeta

RE: [PHP] Change 'key' names of an associative array.

2001-05-15 Thread Jack Dempsey
have you tried http://www.php.net/manual/en/function.strtoupper.php -jack -Original Message- From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: [PHP] Change 'key' names of an associative array. I have been trying to co

Re: [PHP] Receiving a text stream

2001-05-15 Thread Chris Lee
web browsers can only request data (GET / HTTP/1.1) data can not be pushed to them (except Netscape, dont go there). you can send all the data you want to an IP but the browser only opens connections, it doesnt accept connections, the data will be rejected. if you were to write an app in VB or

[PHP] Change 'key' names of an associative array.

2001-05-15 Thread Altunergil, Oktay
I have been trying to convert a MySQL application to Oracle. Oracle needs the field names to be upper case. For this reason even if I can fetch the result row, I can't access it by $row[name] because I have to do $row[NAME]. Is there a way to change the the key name to upper case, without makin

Re: [PHP] changing error messages

2001-05-15 Thread Chris Lee
in php.ini play with error_append_string = '' error_prepend_string = '' even better, in php.ini error_reporting = E_ALL display_errors = On error_log = /var/log/php_err.log now all errors will not be displayed. they will be writen to a file. tail -f /var/log/php_err.log will show you all the

RE: [PHP] still not friends with RegExps..

2001-05-15 Thread Jack Dempsey
If you intend on using regex's intensively (or at all really) do yourself a favor and get mastering regular expressions from o'reilly...it has more than you'll probably care to know at first, but so many good examples, and such a detailed analysis, that you'll become really comfortable and won't p

Re: [PHP] IMAP/POP3/OUTLOOK Question .. NEW! ... Complimantary

2001-05-15 Thread Chris Lee
accually pop and imap do set a flag depending if it is new, or seen, etc etc. http://php.net/manual/en/function.imap-search.php outlook isnt accually keeping a list of this info (at least it doesnt need to) the mail server is (imap/pop). mail -f /var/spool/mail/username will show you this dat

Re: [PHP] still not friends with RegExps..

2001-05-15 Thread Gyozo Papp
Ok, now it's time to get familiar with preg? If this stands, can you give me a link to a good tutorial with tons of examples beside the PHP manual? The most effective way to learn is to see how it works, I think. - Original Message - From: "CC Zona" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP] This newsgroup

2001-05-15 Thread Henrik Hansen
Paulo Rocha <[EMAIL PROTECTED]> wrote: > I am also curious to know how much disk space is php.general taking. > well i can say i have 35 MB mails in 2 months in around 10200 mails, so you can do the math yourself :) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] still not friends with RegExps..

2001-05-15 Thread CC Zona
In article <00c301c0dd69$a64de040$6a45c5d5@jaguar>, [EMAIL PROTECTED] ("Gyozo Papp") wrote: > There is a function quotemeta() which escapes all special regexp character > such as: > . \ + * ? [ ^ ] ( $ ) > with a '\' except one the '|' pipe. Forget quotemeta(). Use preg_quote() instead.

Re: [PHP] Passing vars between functions (with POSTs)

2001-05-15 Thread Chris Lee
this will ensure that the variable is a POST var vs a GET var too... function test() { global $HTTP_POST_VARS; echo $HTTP_POST_VARS['login']; } -- Chris Lee [EMAIL PROTECTED] ""Miguel Ribeiro"" <[EMAIL PROTECTED]> wrote in message 9dpgkk$mdb$[EMAIL PROTECTED]">news:9dpgkk$mdb$[EM

Re: [PHP] pulling data out of a string

2001-05-15 Thread Chris Lee
this will remove the www plus the top level domain this will remove the first host and the top level domain. -- Chris Lee [EMAIL PROTECTED] "Richard Kurth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying to figure out how to pull data out

Re: [PHP] "super" global variable

2001-05-15 Thread Chris Lee
this is something I never needed todo, but it works. these two files are on the same server, just under different domains. because I am using the same session_id() they share the same value. -- Chris Lee [EMAIL PROTECTED] ""Sigitas Paulavicius"" <[EMAIL PROTECTED]> wrote in message

[PHP] Missing Records

2001-05-15 Thread William Poarch
Hi all, I have a setup where I populate one table as a temporary holding place for data. When the user's session is complete, I want to transfer all that data to a similar, permanent table. The strangeness is this - most of the time the data is all transferred fine, but sometimes only a few o

Re: [PHP] Directory - exist or not ? :)

2001-05-15 Thread Scream
> Hi There, > > > $dir_to_check = "/this/dir"; > > if (!is_dir($dir_to_check)) { > echo "No directory here"; > } else { > echo "Bingo."; > } > > ?> Thanks !!! -- regards, - scream ->> scream(at)w.pl ICQ#46072336 ||| GG#480681 <<< Artificial Reins Productions >>> -- PH

Re: [PHP] Replacing JavaScript functionality with PHP

2001-05-15 Thread DAve Goodrich
on 5/15/01 10:47 AM, Richard Notley at [EMAIL PROTECTED] wrote: > Hi, > > I'm rewriting some web pages trying to replace a lot of JavaScript with > PHP (before including some mySQL for even more dynamic content); > however, I am having a little difficulty in one area... > > Currently, if a pag

RE: [PHP] phpjobs.com

2001-05-15 Thread Ralph Guzman
Look at Guru.com: http://www.guru.com. They always have listing of employers looking for people with PHP skills. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent: Friday, May 11, 2001 11:40 AM To: [EMAIL PROTECTED] Subject: [PHP] phpjobs

Re: [PHP] detecting HTML tags

2001-05-15 Thread mark
bill <[EMAIL PROTECTED]> wrote: > > Is there a way to detect the presence of HTML tags? > > I don't want them stripped out, I just want to know if a string contains > them. > > I'm rolling my own mailing program and want it to detect the HTML if > present and send it appropriately. > > kind re

Re: [PHP] Newbie needs help! '>' closing PHP Tag

2001-05-15 Thread Marc Johnson
My bad.. Typical am error. I have concurrent dev locations for my documents (one live/one test) since the live side is the only connected to PHP/SQL I have been doing my dev there. Of course I was a) seeing the problem in HomeSite (which will close the tag in its browe window) and b) reading the

RE: [PHP] HallMark uses PHP!!!!

2001-05-15 Thread Cristopher Daniluk
Don't equate this to success, bigger companies use much "crappier" technologies. The technical merits of something don't necessarily reflect in the acceptance of it. We have to be 10 times better to get half the recognition! > -Original Message- > From: Ralph Guzman [mailto:[EMAIL PROTECT

RE: [PHP] php chat or customer support center

2001-05-15 Thread Robert V. Zwink
The same people who make phpMyAdmin have a chat program. From the description it sounds pretty robust http://www.phpwizard.net/projects/phpChat/ I've used the following chat program before, it was easy to setup and seemed to work just fine: http://www.phpheaven.net/projects/phpMyChat/ Robert

RE: [PHP] HallMark uses PHP!!!!

2001-05-15 Thread Ralph Guzman
Here is another big one that uses PHP. http://www.marketplayer.com/ They provide stocks simulation games for sites like etrade.com, and smartmoney.com, to name a few big ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 10:31 PM To:

RE: [PHP] Using the > key in documents (Newbie needs help)

2001-05-15 Thread Mark Roedel
> -Original Message- > From: Marc Johnson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 1:05 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Using the > key in documents (Newbie needs help) > > > My problem is probably really simple. I am learning to use > PHP via online document

RE: [PHP] MYSQLDUMP

2001-05-15 Thread Robert V. Zwink
mysqldump --opt -u username -p password databasename > filename.sql Try mysqldump --help for additional options, or the MySQL manual. Robert Zwink -Original Message- From: TopFive [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:06 PM To: [EMAIL PROTECTED] Subject: [PHP] MYSQLDU

Re: [PHP] Newbie needs help! '>' closing PHP Tag

2001-05-15 Thread Jack Dempsey
Marc: > should not close php ?> will can you paste in the script so i can see what you mean? -jack Marc Johnson wrote: > > Greetings fellow devs! > > I am new to PHP (having tried my hand at running ASP/SQL here at the house. > No, I didnt chose ASP, it just happened to be the software I had

[PHP] Newbie needs help! '>' closing PHP Tag

2001-05-15 Thread Marc Johnson
Greetings fellow devs! I am new to PHP (having tried my hand at running ASP/SQL here at the house. No, I didnt chose ASP, it just happened to be the software I had when I decided to mess with dynamic content. My problem is probably really simple. I am learning to use PHP via online documents and

[PHP] Using the > key in documents (Newbie needs help)

2001-05-15 Thread Marc Johnson
Greetings fellow devs! I am new to PHP (having tried my hand at running ASP/SQL here at the house. No, I didnt chose ASP, it just happened to be the software I had when I decided to mess with dynamic content. My problem is probably really simple. I am learning to use PHP via online documents and

Re: [PHP] still not friends with RegExps..

2001-05-15 Thread Gyozo Papp
Hello, while I was reading the post from 'elias', a fairly old question came in my mind which I've not get any answer yet. Maybe you can do it. There is a function quotemeta() which escapes all special regexp character such as: . \ + * ? [ ^ ] ( $ ) with a '\' except one the '|' pipe. wha

Re: [PHP] Directory - exist or not ? :)

2001-05-15 Thread James, Yz
Hi There, James. ""Scream"" <[EMAIL PROTECTED]> wrote in message 9drq8v$ngb$[EMAIL PROTECTED]">news:9drq8v$ngb$[EMAIL PROTECTED]... > Hi, > > I've got a one simple question. How I can check directory exist or not ? > Plz, help me :) TIA ! > > > -- > regards, - scream ->> scream(at)w.pl >

[PHP] Directory - exist or not ? :)

2001-05-15 Thread Scream
Hi, I've got a one simple question. How I can check directory exist or not ? Plz, help me :) TIA ! -- regards, - scream ->> scream(at)w.pl ICQ#46072336 ||| GG#480681 <<< Artificial Reins Productions >>> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] Replacing JavaScript functionality with PHP

2001-05-15 Thread Richard Notley
Hi, I'm rewriting some web pages trying to replace a lot of JavaScript with PHP (before including some mySQL for even more dynamic content); however, I am having a little difficulty in one area... Currently, if a page is displayed in the main window for the site, then a menu is displayed on the l

Re: [PHP] detecting HTML tags

2001-05-15 Thread Christian Reiniger
On Tuesday 15 May 2001 18:25, Jack Dempsey wrote: > $text = " 50 < 100 + 240"; > not html... > > would want regex's i would think, or the striptags version someone > sent before... Well, then preg_match ('/<[a-z]/i', $text) should work. > > > Is there a way to detect the presence of HTML tags?

RE: [PHP] Image problem

2001-05-15 Thread Jerry Lake
This is how I fixed that same issue in the head of my page if (ereg ("new", $PHP_SELF)) { $header = " then call the header in in the appropriate place in your html Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www

[PHP] Image problem

2001-05-15 Thread Michael O'Neal
Hi, I'm still pretty new to PHP, and would like help on a solution for a problem I have. I have a website that has 6 different sections. (about, news, buying, selling, community, and relocation) Each of the sections has it's own subfolder in the root directory of the website. (/about, /new

Re: [PHP] Recursively create directories

2001-05-15 Thread Markus Fischer
- Original Message - From: "Philip Hallstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 7:01 PM Subject: Re: [PHP] Recursively create directories > > > >foreach($dir_array as $current_dir) { > > if(! is_dir($DOCUMENT_ROOT."/".$curr

  1   2   >