RE: [PHP] URGENT... NEED HELP!!!

2001-07-24 Thread Don Read
On 25-Jul-2001 Kyle Smith wrote: > What is wrong with this code? > (note: the variables $email and $comments are sent from another page but i > get the error message from this page saying "Warning: Could not deliver > email. You are over quota. in ^^ Ask the admin if he/

[PHP] php in html-- what gives?

2001-07-24 Thread CGI GUY
I'm trying to test the following: I have created a simple cookie script: I have placed it in an html page, at the very top (no spaces, lines, etc.), and have left no lines/spaces between the '?>' and '' tags. Yet the script does not execute (nor does it return an error of any kind). What gives

Re: [PHP] Re: Date/Time Query Help

2001-07-24 Thread Bopolissimus Platypus
On Tue, 24 Jul 2001 15:23:10 -0400, [EMAIL PROTECTED] (Ryan Shrout) wrote: >Think of it this way: > >WHERE session.Date > DATE_SUB(NOW(), INTERVAL 1 HOUR) is equal to: > >WHERE 2001-07-24 15:03:24 > SUBTRACTION( 2001-07-24 15:30:21, 00:01:00) = >WHERE 2001-07-24 15:03:24 > 2001-07-24 14:30:21 >

[PHP] telnetty/phpy/unixy thing

2001-07-24 Thread Ben Bleything
Hey all... I tried sending this earlier... accidentally sent it to [EMAIL PROTECTED], then tried bouncing it to the write address... anyway, apologies if it didn't work correctly. Anyhoo... I'm trying to get a piece of information from a server in the field that responds to a certain command wit

RE: [PHP] URGENT... NEED HELP!!!

2001-07-24 Thread Mark Roedel
> -Original Message- > From: Kyle Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 9:34 PM > To: [EMAIL PROTECTED] > Subject: [PHP] URGENT... NEED HELP!!! > > > What is wrong with this code? > (note: the variables $email and $comments are sent from > another page but i ge

RE: [PHP] Re: Date/Time Query Help

2001-07-24 Thread Shrout, Ryan
Heh. :) So, does anyone know what I am doing wrong? Ryan Shrout -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 3:34 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Date/Time Query Help On Tue, 24 Jul 2001 15:23:10 -0400, [EMAIL PR

Re: [PHP] Destroy object

2001-07-24 Thread Ben Bleything
My guess would be you can unset() it... but, hey.. it's a guess. On Mon, 23 Jul 2001, ROsen wrote: > Hi, > how can I destroy an object created with "new" ? > > Thanks, > Rosen > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional

Re: [PHP] mailing in batches

2001-07-24 Thread Nicklas af Ekenstam
So sprach »Justin Farnsworth« am 2001-07-24 um 04:52:57 -0400 : > > Handling all those bounces manually will be a mess. > > From: Don Read <[EMAIL PROTECTED]>: > No matter which MTA you use. I'd have to disagree slightly here. Using qmail as your MTA would bless you with the VERP (Variable Env

Re: [PHP] Re: Date/Time Query Help

2001-07-24 Thread Bopolissimus Platypus
On Tue, 24 Jul 2001 15:23:10 -0400, [EMAIL PROTECTED] (Ryan Shrout) wrote: >WHERE session.Date > DATE_SUB(NOW(), INTERVAL 1 HOUR) is equal to: > >WHERE 2001-07-24 15:03:24 > SUBTRACTION( 2001-07-24 15:30:21, 00:01:00) = >WHERE 2001-07-24 15:03:24 > 2001-07-24 14:30:21 i just tested on my box (d

RE: [PHP] CGI error

2001-07-24 Thread Phil Spitler
Along with help from Josh Hoover, (*thanks again Josh*), I was able to find a fix for this problem. There must be some sort of bug with IIS and PHP. Everything was set up correctly and I was pointing to the correct the correct path for the cgi .exe file. However it didn't start working for me un

Re: [PHP] bad word filter

2001-07-24 Thread Don Read
On 24-Jul-2001 Ryan Fischer wrote: > > Anyway, here's what I would do: > > function filterWords($str){ > $badwords = array("shit", "fuck", "ass", "bitch"); > for($i=0; $i $str = $eregi_replace("$badwords[$i]", "*", $str); > } > return $str; > } Un-tested: $badpat=jo

[PHP] php-wrapper

2001-07-24 Thread Brian Allen
I am looking for a php wrapper similar to cgiwrap. I have seen pair.net's php-cgiwrap, but where can I download this script or at least another one with the same functionality? Brian Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
On Tuesday 24 July 2001 20:44, Phil Spitler wrote: > There must be some sort of bug with IIS and PHP. > Everything was set up correctly and I was pointing to the correct the > correct path for the cgi .exe file. However it didn't start working for me > until checking "Check that file exists" in t

RE: [PHP] Re: Date/Time Query Help

2001-07-24 Thread Shrout, Ryan
When I run: SELECT * FROM session WHERE session.Date > DATE_SUB(NOW(), INTERVAL 1 HOUR) I get an empty set, but there are entries that satisfy it. When I run: select Date from session order by Date desc limit 10 I get: +-+ | Date| +-+ | 200

Re: [PHP] highlighting keywords problem

2001-07-24 Thread Ben Bleything
Why not do something that parses the text, and put's tags around the text, and use a stylesheet to highlight it? The problem (that I can find) is that you are using eregi_replace(), which is case-insensitive. You may need to do something like strpos() to find the beginning and ends of the word,

RE: [PHP] whats wrong

2001-07-24 Thread Don Read
On 24-Jul-2001 Jeremy Morano wrote: > Whats wrong with this? > > > $sql = "INSERT INTO $table_name > (uid,companyUid, first_name, last_name, address, state, zip_code, country, > company, occupation, telephone, fax, email, user_name, password) > SELECT > \"\", \"uid from companyTable WHERE compa

[PHP] 4.06 install problem

2001-07-24 Thread Jerry Lake
I just tried installing PHP 4.06 for PWS with the installshield installer. I didn't seem to work however. I am getting a 500 Internal server error everytime I try to load a php file. Has anyone else had this problem ? are there any quick remedies ? Jerry Lake Interface Engineering Technician E

[PHP] Turning a filehandle into an array

2001-07-24 Thread Gonyou, Austin
What is the best way to turn a filehandle into an array? This is the code I've got now, but I don't like it because it's rather in efficient for my purposes. I can format this to be much prettier, but I'm not too concerned about it right now. I'd just like to get the filehandles to work. --

Re: [PHP] 4.06 install problem

2001-07-24 Thread Phil Driscoll
On Tuesday 24 July 2001 21:10, Jerry Lake wrote: > I just tried installing PHP 4.06 for PWS > with the installshield installer. > > I didn't seem to work however. I am getting a > 500 Internal server error everytime I try to > load a php file. > > Has anyone else had this problem ? are there any >

Re: [PHP] PHP Execution Functions

2001-07-24 Thread Ben Bleything
check http://www.php.net/manual/en/features.safe-mode.php I suspect that the problem is that the files you are trying to run are not owned by the same user as the webserver user... that page should give you details on this. Good luck, Ben On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote: > Hello al

Re: [PHP] php in html-- what gives?

2001-07-24 Thread Ben Bleything
Put it in a .php file. Your webserver probably doesn't interpret PHP in HTML files (as is proper). If it MUST be in a HTML file, you'll have to set up your webserver to interpret php in html files... that process depends on your webserver. Ben On Tue, 24 Jul 2001, CGI GUY wrote: > I'm trying

[PHP] Re: php in html-- what gives?

2001-07-24 Thread J Smith
Not all files on a web server are parsed by PHP. Generally, you need to specifically tell the web server to use PHP to parse files based on their extension. I'm assuming you're using Apache as the web server here, so for IIS or iPlanet or whatever this may be different... For Apache, open u

RE: [PHP] 4.06 install problem

2001-07-24 Thread Jerry Lake
Ben, Christian sorry about the direct email it was totally unintentional I forgot to edit the email I hit reply to. Regards, Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From:

RE: [PHP] Zip Code Locator?

2001-07-24 Thread Matthew Loff
Ben-- Thanks for pointing that out... I've been looking for info like that for a long time! Much appreciated. --Matt -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 1:23 PM To: Vincent P. Cocciolone Cc: [EMAIL PROTECTED] Subject: Re: [

RE: [PHP] Zip Code Locator?

2001-07-24 Thread Benjamin Bleything
Hey, let me know if you figure out what the extra numbers are for... I might have a use for this at some point. Ben >From: "Matthew Loff" <[EMAIL PROTECTED]> >To: "'Ben Bleything'" <[EMAIL PROTECTED]>, "'Vincent P. Cocciolone'" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Subject: RE: [PHP] Z

RE: [PHP] CGI error

2001-07-24 Thread Phil Spitler
I hear what you are saying. I just don't understand why if php.exe is where I was telling it and permissions were all set up correctly, why it started working after that was checked. I did nothing else but check it and if I understand what you are telling me, it should've given me a 404 error.

RE: [PHP] Zip Code Locator?

2001-07-24 Thread Kurth Bemis
At 04:42 PM 7/24/2001, Benjamin Bleything wrote: i'm pretty sure that the extra numbers are coord of that town. you know the long and lat. ~kurth >Hey, let me know if you figure out what the extra numbers are for... I might >have a use for this at some point. > >Ben > > >From: "Matthew Loff"

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
On Tuesday 24 July 2001 21:34, Phil Spitler wrote: > I hear what you are saying. I just don't understand why if php.exe is > where I was telling it and permissions were all set up correctly, why it > started working after that was checked. I did nothing else but check it > and if I understand wh

Re: [PHP] Zip Code Locator?

2001-07-24 Thread Justin Farnsworth
Kurth Bemis wrote: > > At 04:42 PM 7/24/2001, Benjamin Bleything wrote: > > i'm pretty sure that the extra numbers are coord of that town. you know > the long and lat. [== snip, snip ==] FWIW, here is the formula needed, here just a snippet getting the distance between two ZIP's, and, yes, Vir

[PHP] Propably easy regex question

2001-07-24 Thread Nicklas af Ekenstam
Hi Could anyone help me with a code snippet that would take a string and add '> ' to it at the start of every new line just as a mail client does when replying to a mail? I.e. I would like this: Hello, How are you? To look like this: > Hello, > > How are you? When it's do

[PHP] Determining File Size

2001-07-24 Thread Alnisa Allgood
Hi: I've set-up a library/clearinghouse system that basically allows to add papers and materials to a small member only resource library. I'd like to be able to determine the file's size so that it's displayed next to the item, so that people can gage how long it will take to download items.

[PHP] Client Machine Name

2001-07-24 Thread Dominic
It's there anyway to find out the client machine name by using php? Thanks! Dominic -- 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]Question about escaping a character

2001-07-24 Thread Chris Cocuzzo
hey- I have a textarea field for an admin page which does allow me to enter in basically anything, including HTML. The information is written to a text-file, from which info is pulled on a different page. When the info is read on that page(this is not the admin page right here)...all the single q

[PHP] grabbing arguments at the command line

2001-07-24 Thread Rory O'Connor
I have a commerce program that can send arguments to other programs via the command line. Perl can grab those with $ARGV[0], $ARGV[1]...and so forth. As far as I can tell, PHP can't grab these without a shell script picking them up and explicitly sending them to a PHP script. is there some othe

RE: [PHP] Trouble with getimagesize

2001-07-24 Thread Kurt Lieber
What does $UPLOADFILE resolve to? getImageSize() didn't support URLs until 4.0.5, so if you're trying to use a URL in PHP3, it won't work. --kurt > -Original Message- > From: Patrick J. Militzer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 9:39 AM > To: Php3 > Subject: [PH

Re: [PHP]Question about escaping a character

2001-07-24 Thread Bob Scott
Run the string through stripslashes() before you write it to the file... http://www.php.net/manual/en/function.stripslashes.php Cheers -bob -- Bob Scott Web / DB Developer http://www.covalent.netCovalent Technologies, Inc. On Tue, 24 Jul 2001, Chris Cocuzzo wrote:

[PHP] PHP function to extract EXIF data from JPGs?

2001-07-24 Thread Richard Kitamura - Media Net Link, Inc.
Does anyone have a PHP function that extracts EXIF data from a JPG image that they can send or post? I read about re-compiling with the EXIF flag, but would rather avoid doing that for a little while. Thanks, Richard Kitamura -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] cookie help

2001-07-24 Thread McShen
in order to prevent my visitors from seeing more than one popup in less than 120 second, I added this to my php page(index.php) -- setcookie("popup",1,time()+120); if ($popup!=1) echo "http://www.peel.net/frames/PMNforce.js>"; } - When I reload index.php, i see popu

Re: [PHP] Determining File Size

2001-07-24 Thread Bob Scott
There's a nifty little function called filesize()... I've done this before to make human-readable output: $my_file = "/path/to/my/file"; $file_size = filesize($my_file); if ($file_size >= 1073741824) { $show_filesize = number_format(($file_size / 1073741824),2) . " GB"; } elseif ($file

[PHP] String Comparison

2001-07-24 Thread Jason Bell
Hello. I'm trying to compare two strings, and performa function if the are the same. Easy right? I thought so until I tried it... $query = "select type from images where id=$id"; $result = mysql_query($query); $type = mysql_result($result,0,"type"); print $type; if (image/pjpeg == $type) {

Re: [PHP] String Comparison

2001-07-24 Thread Jason Bell
oh wait.. I just realize my goof it is treating it like I want to divide image by pjpeg. LMAO *sigh* I guess I should just go home while I'm ahead. haha -Jason - Original Message - From: "Jason Bell" <[EMAIL PROTECTED]> To: "PHP Users" <[EMAIL PROTECTED]> Sent: Tuesday, July 24

Re: [PHP] String Comparison

2001-07-24 Thread Phil Driscoll
On Tuesday 24 July 2001 23:59, Jason Bell wrote: > if (image/pjpeg == $type) { print "Type is JPG"; }; > you need to put image/jpeg in quotes. Ideally you would also do a safer string comparison than == eg if(!strcmp('image/jpeg',$type)) -- Phil Driscoll -- PHP General Mailing List (http://www

[PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-24 Thread Alexander Skwar
Hi! This is driving me nuts. I'm trying to compile PHP 4.0.6 on RedHat 6.2. After I ran ./configure --with-imap && make && make install, /etc/rc.d/init.d/httpd configtest tells me: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symb

[PHP] need advice on project...

2001-07-24 Thread Michael Geier, CDM Systems Admin
Project needs: create document on fly to "fax" to 100+ customers document will be queued up twice daily for submission document will have a "logo" branded @ top of page Services used: RedHat 7.1 HylaFax 4.1 PHP 4.0.6 Any insight would be appreciat

Re: [PHP] need advice on project...

2001-07-24 Thread Rasmus Lerdorf
> Does any one have any good code for creating PDF's on the fly with graphic > images? Putting an image in a PDF is trivial: -Rasmus -- 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] Re: telnetty/phpy/unixy thing

2001-07-24 Thread Philip Hallstrom
I don't remember the exact terms, but telnet won't work unless it's connected to a tty (ie, you're running it from a command prompt). That's why it works when you run it with the PHP binary. If you're intent on using this method, there's a couple of programs to look at: socket, and netcat. Alth

[PHP] Re: telnetty/phpy/unixy thing

2001-07-24 Thread Benjamin Bleything
Ahh! Excellent. Thanks for the tip! Ben >Date: Tue, 24 Jul 2001 16:39:56 -0700 (PDT) >From: Philip Hallstrom <[EMAIL PROTECTED]> >To: Ben Bleything <[EMAIL PROTECTED]> >cc: <[EMAIL PROTECTED]> >Subject: Re: telnetty/phpy/unixy thing >MIME-Version: 1.0 > >I don't remember the exact terms, but t

[PHP] Re: Turning a filehandle into an array

2001-07-24 Thread Philip Hallstrom
Take a look at the file() function. It does exactly this. On Tue, 24 Jul 2001, Gonyou, Austin wrote: > What is the best way to turn a filehandle into an array? > > This is the code I've got now, but I don't like it because it's rather in > efficient for my purposes. I can format this to be much

Re: [PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when usingIMAP?!

2001-07-24 Thread Rasmus Lerdorf
> This is driving me nuts. I'm trying to compile PHP 4.0.6 on RedHat 6.2. > After I ran ./configure --with-imap && make && make install, > /etc/rc.d/init.d/httpd configtest tells me: > > Cannot load /usr/local/apache/libexec/libphp4.so into server: > /usr/local/apache/libexec/libphp4.so: undefine

[PHP] WSIWYG Editor using PHP?

2001-07-24 Thread Bob Clingan
Does anyone know of any WSIWYG editors that you can plug into a site using PHP. I recently used EZEdit which uses ColdFusion and was wondering if anything similar had been down with PHP. URL for EZEdit: http://www.siteobjects.com/index.cfm?fuseAction=showezedit Thanks. --Bob CC me I'm in dig

Re: [PHP] PHP Execution Functions

2001-07-24 Thread Rasmus Lerdorf
> I'm discovering the joys of PHP as supplied by RH on their 7.1 release. > Actually, everything about it is SO much nicer than ASP or pure Perl. (Not > to take anything away from either--PHP's just a LOT easier to get hold of!) > > I'm running PHP as an Apache module (default RedHat installation

[PHP] error using imagecreate function

2001-07-24 Thread venomous
Can some one help me When i try tu use imagecreate i get an fatal error message (shown below) Fatal error: Call to undefined function: imagecreate() in c:\website\draw.php on line 4 does any body know why this error accurs. Thanx Venomous -- PHP General Mailing List (http://www.php.n

[PHP] Help with this-> pointers

2001-07-24 Thread Clayton Dukes
Hi everyone, Forgive my ignorance, I'm trying to re-write an old contact databse that didn't work. I have everything written out, but the old code used pointers (ie: this->$db). I'm not familiar with that type of code, how can I convert it? ---snip--- $sql="select distinct site from contacts_d

Re: [PHP] cookie help

2001-07-24 Thread Rasmus Lerdorf
> in order to prevent my visitors from seeing more than one popup in less than > 120 second, I added this to my php page(index.php) > -- > setcookie("popup",1,time()+120); > if ($popup!=1) > > echo "http://www.peel.net/frames/PMNforce.js>"; > } > - > > When I reload i

[PHP] Help With Includes

2001-07-24 Thread John Holcomb
Help please! I'm trying to use an include with my HTML file. Inside my HTML file I've tried: 1) include("/export/home/bayarea.net/htdocs/webclient.php3?id=2"); AND 2) include("http://www.bayarea.net/webclient.php3?id=2"

Re: [PHP] Help With Includes

2001-07-24 Thread Chris Fry
John, Haven't used this before but if you set id before the include:- $id=2; include("/export/home/bayarea.net/htdocs/webclient.php3"); I'm assuming that you don't have control of the web server - if you do just add html to the list of extensions parsed by php then: $id=2; include("/

Re: [PHP] Help With Includes

2001-07-24 Thread David Robley
On Wed, 25 Jul 2001 10:26, John Holcomb wrote: > Help please! > >I'm trying to use an include with my HTML file. > Inside my HTML file I've tried: > > 1) > > > include("/export/home/bayarea.net/htdocs/webclient.php3?id=2"); > > > AND > > 2) > > > include("[PHP] Thank you for your help with Includes
Thanks. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

[PHP] .htaccess and determining if a user is logged in

I'm using Apache .htaccess to require certain users to log into the system in order to view certain files. However, on one of my php scripts, it's not within the realm of .htaccess protection. How do I determine if the user viewing the page is an authenticated user or not? I want to present these

[PHP] Programming by PHP

Dear all, I have a file HTML as following: NHËP TH¤NG TIN THIÕT BÞ        STT Tªn thiÕt bÞ Sè Seri T×nh tr¹ng biÕn ®éng Ghi chó

RE: [PHP] .htaccess and determining if a user is logged in

I've done further investigation and it seems that if I go with the approach of looking for a REMOTE_USER value, I'll have to do the following: Since Apache only fills out the REMOTE_USER if the file is in a protected directory, I have to make a symbolic link within a protected directory to the no

Re: [PHP] .htaccess and determining if a user is logged in

> I've done further investigation and it seems that if I go with the approach > of looking for a REMOTE_USER value, I'll have to do the following: > > Since Apache only fills out the REMOTE_USER if the file is in a protected > directory, I have to make a symbolic link within a protected directory

Re: [PHP] Determining File Size

At 3:39 PM -0700 7/24/01, Bob Scott wrote: >There's a nifty little function called filesize()... > >I've done this before to make human-readable output: > >$my_file = "/path/to/my/file"; > >$file_size = filesize($my_file); > >if ($file_size >= 1073741824) { > $show_filesize = number_format

RE: [PHP] WSIWYG Editor using PHP?

Try PHP Coder Pro! http://www.phpide.de Regards, Joseph. -Original Message- From: Bob Clingan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 July 2001 9:18 AM To: [EMAIL PROTECTED] Subject: [PHP] WSIWYG Editor using PHP? Does anyone know of any WSIWYG editors that you can plug into a

RE: [PHP] error using imagecreate function

It would help if you can post the code you're using, rather than just the error message. > -Original Message- > From: venomous [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 5:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] error using imagecreate function > > > Can some one

[PHP] Syntax Eyes

Hey, I need a set of extra eyes: $res_id = mysql_query ("update contacts_data set ( description='$description', data='$data', filename='$input_file_name', filesize='$input_file_size', filetype='$input_file_type' where uid='$u

Re: [PHP] Syntax Eyes

Nevermind, I got it... Now, how do you reset header information if you need to redclare the header(); ie: Warning: Cannot add header information - headers already sent by (output started at ... -Clayton - Original Message - From: "Clayton Dukes" <[EMAIL PROTECTED]> To: "Php-Gene

Re: [PHP] WSIWYG Editor using PHP?

Joseph Blythe wrote: > Try PHP Coder Pro! http://www.phpide.de Too bad it's a winblows-only app. :-( Chip > > Regards, > > Joseph. > > -Original Message- > From: Bob Clingan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 25 July 2001 9:18 AM > To: [EMAIL PROTECTED] > Subject: [PHP] WSI

RE: [PHP] error using imagecreate function

I don't think posting code is required here, the error message tells exactly what is going on. He either needs to have GD support compiled with his version of PHP, or if on windows adding a dl() call to the GD library functions before the call to any GD functions: dl('php_gd.dll') Even b

RE: [PHP] Syntax Eyes

Output control functions will let you buffer the output, and you can decide to send a header instead of flushing the buffer to the client: http://www.php.net/manual/en/ref.outcontrol.php ob_start() & flush() should accomplish this all for you. -Original Message- From: Clayton Dukes [

Re: [PHP]Question about escaping a character

a ha! I'll actually correct you by saying that I need to run stripslashes() when I'm reading the file, not writing it, as I just did, and now it works. :) chris - Original Message - From: Bob Scott <[EMAIL PROTECTED]> To: Chris Cocuzzo <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] cookie help

thanks! "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > in order to prevent my visitors from seeing more than one popup in less than > > 120 second, I added this to my php page(index.php) > > -- > > setcookie("popup",1,time()+120)

RE: [PHP] WSIWYG Editor using PHP?

What OS you running Linux? maybe look at http://php.weblogs.com/editors -Original Message- From: chip [mailto:chip]On Behalf Of Chip Sent: Wednesday, 25 July 2001 12:57 PM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] WSIWYG Editor using PHP? Joseph Blythe wrote: > Try PHP Coder Pro! http://

[PHP] mail priority

Dear folks, I am doing the email using mail() command. I wonder if there is anyone can tell me how do I do the priority attached with the message so that the mail get sent out with different priority status. Any advice will be appreciated. Jack [EMAIL PROTECTED] "Love your enemies, it will drive

RE: Re: [PHP] Capitalize Function ??

True. or what about the Irish.. The Mc***'s or the Mac*'s !! Hmmm? This will be a challenge for sure!! Alexander Skwar <[EMAIL PROTECTED]> wrote: >So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 : >> I'm taking in first name and last name data into a MySQL db through a >> form. User

Re: [PHP] Syntax Eyes

Okay, I figured out the @header will actually reset the headers, but it still just prints the raw data to the screen instead of the actual image. How can I fix this? echo ""; if($db->f("bin_data")) { /* This doesn't help... @header ("Content-disposition: filename=".$filename);

Re: [PHP] mail priority

I'm not sure exactly what it is, but check the php manual for the mail() function. There's an example in there to set the message priority. Good luck, Tyler On Wed, 25 Jul 2001 10:41:44 -0500 "Jack" <[EMAIL PROTECTED]> wrote: > Dear folks, > I am doing the email using mail() command. I wonder

[PHP] "OR" Problems

Shouldn't this work? I did it because I want the link to change to the "top-alt" class when the certain link is selected. but when i do this... they "if" statement is always active even if its not on the page. what am i doing wrong. portfolio"; else echo "portfolio" ?> services"

RE: [PHP] "OR" Problems

Why aren't you using the brackets? if (statement){ } else { } SED -Original Message- From: J S R [mailto:[EMAIL PROTECTED]] Sent: 25. júlí 2001 04:06 To: [EMAIL PROTECTED] Subject: [PHP] "OR" Problems Shouldn't this wo

Re: [PHP] Turning a filehandle into an array

On Tuesday 24 July 2001 22:17, Gonyou, Austin wrote: > What is the best way to turn a filehandle into an array? Your code is about directory handles... > --snip-- > if ($dr == null) > $dir=opendir("./"); > else > $dir=opendir("$dr"); > > exec("ls $dir", $ls); re-read the

Re: [PHP] Help with this-> pointers

The $foo->bar() syntax is actually object references in PHP, not pointers. See the docs in the php manual regarding objects in PHP. Kind Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [PHP] "OR" Problems

On Wed, 25 Jul 2001 13:36, J S R wrote: > Shouldn't this work? I did it because I want the link to change to the > "top-alt" class when the certain link is selected. > > but when i do this... they "if" statement is always active even if its > not on the page. > > what am i doing wrong. Several t

[PHP] Problem with iconv() function in php 4.06

I'm install php 4.06 on Solaris 2.7 with MySQL & Interbase. I have libiconv installed in /usr/local. Configure --with-iconv=/usr/local When i'm use , i'm see iconv support enabled When i'm use iconv() function in script: Fatal error: Call to undefined function: iconv() in /bla-bla/bla.php on line

Re: [PHP] WSIWYG Editor using PHP?

Joseph Blythe wrote: > What OS you running Linux? maybe look at http://php.weblogs.com/editors I use FreeBSD. Thanks for the link, looks like Bluefish has made some big improvements since I tried it over a year ago, same with Glimmer . Maybe I'll take another look at those. I usually just use a

Re: [PHP] MySql number/string comparing ideas...

I would use something like this: Select * from table where value1 < 500 AND value2 < 100 hope this helps, brad > From: "elias" <[EMAIL PROTECTED]> > Date: Fri, 13 Jul 2001 07:06:26 -0700 > To: [EMAIL PROTECTED] > Subject: [PHP] MySql number/string comparing ideas... > > Hi! > > How is it pos

Re: [PHP] new lines in text fields

use the 'nl2br' fuction‹ Inserts HTML line breaks before all newlines in a string > From: "Mat Marlow" <[EMAIL PROTECTED]> > Date: Fri, 6 Jul 2001 16:06:58 +0100 > To: [EMAIL PROTECTED] > Subject: [PHP] new lines in text fields > > Hi all, > I am in desperate need for a solution to HTML text fie

Re: [PHP] Syntax Eyes

CD> Hey, I need a set of extra eyes: OK. I'll put on my magic X-ray typ-oh-glasses ;) CD> $res_id = mysql_query ("update contacts_data set ( CD> description='$description', CD> data='$data', CD> filename='$input_file_name', CD> filesize='$input_fil

[PHP] komodo

Hey, Is anyone on this list using ActiveState's Komodo (http;//activestate.com) on a windows box to remotely debug php scripts running on a linux server? Is this possible? I have read the documents and don't get it at all! Although local debugging under windows works just fine. If you are using

RE: [PHP] MySql number/string comparing ideas...

jumping in after the fact here, but sounds like a bad database design to me have you thought about redoing the data a little. eg adding a column x int, y int , iterating through the data, and extracting the values into those columns. using explode to split the original via the x would be a star

RE: [PHP] WSIWYG Editor using PHP?

You might want to look at Komodo (http://www.activestate.com) I just downloaded the windblows version (there is also Linux version 25mb though) which is a fairly basic text editor with php syntax highlighting (and a few other neat fetures) with a built in debugger which can apparently debug script

[PHP] Re: WSIWYG Editor using PHP?

EZEdit editor works 99% on client (JavaScript) and it works only in a IE5+ browser. You'll need ColdFusion only for remote file acces (commands like insert picture). "Bob Clingan" <[EMAIL PROTECTED]> wrote > Does anyone know of any WSIWYG editors that you can plug into a site using > PHP. I recen

RE: [PHP] WSIWYG Editor using PHP?

sorry should be http://activestate.com -Original Message- From: Joseph Blythe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 July 2001 4:25 PM To: Chip Cc: [EMAIL PROTECTED] Subject: RE: [PHP] WSIWYG Editor using PHP? You might want to look at Komodo (http://www.activestate.com) I just d

[PHP] problem running php

Hi, Though i am running php on apache server on my win98 machine perfectly, recently i install apache and php on my win2000 server, apache start very well but php is not working, as it seems, though when i run phpinfo out of my server with php.exe it runs but it dosen't show in browser whenever

[PHP] session cookies not destroyed

Hi all, I was wondering if anyone has had any problems with sessions and IE 5.0 (mac). As I (limitedly) understand it, the session cookie (kept by IE) should be destroyed when I quit IE. It should, therefor, not be there when I restart IE. HOWEVER.. I seem to get very unpredictable behaviour in

Re: [PHP] MySql number/string comparing ideas...

well yes, somehow my field has like: field1 -- 1.2 99.123 500x120 561x112 5.5 so as you see this 'field1' have both normal numeric values and sometimes 'YYYxYYY' values... I thought that MySql can somehow compare with another number and compare correctly x with anoter value

<    1   2