[PHP] php cgi

2003-10-23 Thread Michael P. Carel
Hi, I have here a problem for having the php-cgi binary in linux. I compiled php with php-cli and php-cgi but after installation i can't find the php-cgi binary, i only have the php-cli under /usr/local/bin/. Any idea why? Please help.. here's what i've did: './configure' '--with-mysql' '--with

Re: Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Michael P. Carel
Thanks it's working now. > Hi, > > Wednesday, October 15, 2003, 2:25:13 PM, you wrote: > TR> wtmp is a binary file and the format can vary between old and new versions of > TR> linux. You will need to have a look at struct utmp in, for example, /usr/include/bits/utmp.h > TR> This location can va

[PHP] reading linux wtmp file

2003-10-14 Thread Michael P. Carel
Hi to all, Have a problem here in reading the file wtmp in linux. Is there a way I can view it using a php script? Thanks in advance. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] excuting a shell command in linux as root

2003-10-08 Thread Michael P. Carel
Hi, Is there any way to execute a shell command line in PHP as root? I want to execute it using a web browser, i'm using apache and it runs as nobody. Any idea/help/suggestions? Thanks in advance mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] killing server process online

2003-10-07 Thread Michael P. Carel
ttempting to kill. > > Cheers, > Rob. > > On Tue, 2003-10-07 at 23:09, Michael P. Carel wrote: > > Hi to all, > > > > I'm trying to create a script that will kill a server process via PID, but > > as i run the script it doesnt kill the process . And

[PHP] killing server process online

2003-10-07 Thread Michael P. Carel
Hi to all, I'm trying to create a script that will kill a server process via PID, but as i run the script it doesnt kill the process . And yet I want to add some error mesage. Here's my sample script: alert("Process Killed")alert("Kill Error: kp; ?>") Is there something wrong w

Re: [PHP] storing the passthru() output as an array

2003-10-06 Thread Michael P. Carel
Thanks it works. > On Mon, 2003-10-06 at 19:41, Michael P. Carel wrote: > > Hi again, > > > > Have another problem here I need to get the output of this syntax > > > > $ps = (passthru("ps -ef")); > > > > and store it in an array line by

[PHP] storing the passthru() output as an array

2003-10-06 Thread Michael P. Carel
Hi again, Have another problem here I need to get the output of this syntax $ps = (passthru("ps -ef")); and store it in an array line by line, I specifically want to get the Columns of the PID for this command and store it in a selection box . Any Idea how, thanks in advance. Mike -- PHP Ge

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
thanks to all its working now > Michael P. Carel wrote: > > When I do this: > > > $ps = (passthru("ps -ef)); ?> > > > > > > > > > > > > > > I can also see the HTML code, i need to put the output inside the table

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
gt; - Original Message - > From: "Michael P. Carel" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 06, 2003 12:51 PM > Subject: Re: [PHP] ps command in php > > > > I'm doing like this: > > $ps = (passthru("ps -e

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
I'm doing like this: $ps = (passthru("ps -ef)); echo $ps; my output is something like this: UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep19 ? 00:00:04 init [3] root 2 1 0 Sep19 ? 00:00:00 [kflushd] root 3 1 0 Sep19 ? 00:00:09 [kupdate] root 4 1 0 Sep19 ? 00:00:00 [kpiod] root 5 1 0 Sep19 ? 00

[PHP] ps command in php

2003-10-05 Thread Michael P. Carel
Hi to all, I'm trying to have the output of the "ps -ef" command in Linux to my browser. Can anyone help how to properly have the output in proper format. I've used the passthru() function but the output is scrambled. Thanks in advanced. Mike -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] alphanumeric randomized image

2003-09-25 Thread Michael P. Carel
thanks i've found a good sample in phpclasses Class:PWGen - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 3:10 PM Subject: [PHP] alphanumeric randomized image > Hi to all, >

[PHP] alphanumeric randomized image

2003-09-25 Thread Michael P. Carel
Hi to all, I'm looking for a alphanumeric randomized image script. Can anyone give me a good link or an example for this? Thanks in advance. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] parallelport interfacing

2003-08-06 Thread Michael P. Carel
Hi to all, Just want to ask if PHP is capable of Parallel port interfacing? If ever , can anyone give me a good tutorial or samples about this. Thanks in advance. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: socket programming

2003-07-16 Thread Michael P. Carel
> http://nanoweb.si.kz/ > thanks for this link, it will helps me alot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: socket programming

2003-07-15 Thread Michael P. Carel
> Quite a while ago now, I wrote a simple HTTP proxy in PHP that listens on port > 4887 by default. It is a single script, so it is pretty easy to follow, and > you're welcome to check it out at http://protoscope.org/. It is probably a > better example than I could come up with here. > I've downloa

Re: [PHP] Re: socket programming

2003-07-15 Thread Michael P. Carel
> > Hi to all, > > > > Is it possible to run php in the web running in a specified port without > > installing apache in Linux? > > > > Can anyone give a sample code for this? I'm searching this for a week but i > > really can find one. Please help us. > > > > > > > > Regards, > > > > Mike > > > Do

[PHP] socket programming

2003-07-15 Thread Michael P. Carel
Hi to all, Is it possible to run php in the web running in a specified port without installing apache in Linux? Can anyone give a sample code for this? I'm searching this for a week but i really can find one. Please help us. Regards, Mike -- PHP General Mailing List (http://www.php.net/) T

[PHP] accesing php script in a different port

2003-07-08 Thread Michael P. Carel
hi to all, I want to develop a system that can be access in a different port of the web (such as in Port 11000). But i dont know how to do this without affecting existing apache or other webserver installation. My idea is based on some utilities that exists such as the Webmin Utilities that are

Re: [PHP] Image resize

2003-03-12 Thread Michael P. Carel
thanks its working fine now. - Original Message - From: "Hugh Danaher" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 9:09 AM Subject: Re: [PHP] Image resize >

[PHP] Image resize

2003-03-12 Thread Michael P. Carel
hi to all, I have a problem here in image resizing, after the image has been resized , the image has been discolorized. How can i recreate the image with the same resolution and color properties. Here's the sample code from my class file: $origPic = ImageCreateFromJpeg( $this -> iOrig[ 'tmp_na

Re: [PHP] problem in writing into an html text file

2003-02-27 Thread Michael P. Carel
hat will help you. > > ---Matt > > -----Original Message- > From: Michael P. Carel [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 4:53 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] problem in writing into an html text file > > > this code add a backsla

Re: [PHP] problem in writing into an html text file

2003-02-27 Thread Michael P. Carel
pen($filename,"w") or die("Can't open file $filename"); > $fstring=$message; > $fout = fwrite($fd, $fstring); > fclose($fd); > > } > ?> > > the html file upon modify multiplies all the backslashes. > > any idea why? thanks i

Re: [PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
sorry here's the sample code: /textarea> the html file upon modify multiplies all the backslashes. any idea why? thanks in advance. - Original Message - From: "Jason Sheets" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]>

[PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
hi to all, Im having a problem writing an HTML code in a text file which comes from the html text area as an editor. There's an added characters inserted to it. How could i write to it perfectly? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] text file reading and overwrite

2003-02-24 Thread Michael P. Carel
Hi, Have a problem in reading a text file and displaying it in a text box area,also what function should i used to overwrite an existing text file. mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] server hostname

2003-02-23 Thread Michael P. Carel
hi to all; what function should i used to know the hostname of the server im using where php and apache reside? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array values format

2003-02-19 Thread Michael P. Carel
thanks it working now - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 2:40 PM Subject: Re: [PHP] array values format > On Thursday 20 February 2003 13:36, Michael P. Carel wrote: > >

Re: [PHP] array values format

2003-02-19 Thread Michael P. Carel
i { > $data .= $array[$i] . ", "; > } > preg_replace("/, $/", "", $data);//get rid of last comma > echo $data; > > Good luck, > Chris > > > >From: "Michael P. Carel" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTEC

[PHP] array values format

2003-02-19 Thread Michael P. Carel
hi to all I have a problem here in array manipulations. I need an output like this from the queried data : "data1","data2","data3" Any idea how? thanx in advance mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] limiting characters

2003-02-18 Thread Michael P. Carel
thnks its working here - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 8:09 AM Subject: Re: [PHP] limiting characters > Seaso

Re: [PHP] limiting characters

2003-02-18 Thread Michael P. Carel
it would be better if it will be chopped by words and not by characters. Any idea how? - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 20

[PHP] limiting characters

2003-02-18 Thread Michael P. Carel
Hi to all, How could i limit the character output that is being displayed in the html page. Is there a function or a php classes that perfectly support it? Example: $myoutput = "This is my sample output."; Required Output: This is my Any idea? Thanks in advance for the replies mike

[PHP] inserting

2003-02-18 Thread Michael P. Carel
hi to all, I'm having problem posting messages that have paragraph. It's doesnt appear to have one when being viewd in the page? Any idea on how to post this properly without manually inserting a tags in the text box before it is being store in the database. Thanks in advance. mike -- P

Re: [PHP] image creation error

2003-02-17 Thread Michael P. Carel
i've already compiled my PHP4 with imagejpeg support but now im loosing my imagegif function. Image jpeg function is now working but for the gif im receiving this error: Fatal error: Call to undefined function: imagegif() Here's my php info after my re-compilation : Configure Command './configur

Re: [PHP] image creation error

2003-02-14 Thread Michael P. Carel
i've already installed gd but still recieving Fatal error: Call to undefined function: imagecreatefromjpeg() . - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: "Kevin Waterson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent

Re: [PHP] image creation error

2003-02-13 Thread Michael P. Carel
Re: [PHP] image creation error > This one time, at band camp, > "Michael P. Carel" <[EMAIL PROTECTED]> wrote: > > > Hi to all, > > > > Im receiving a Fatal error: Call to undefined function: > > imagecreatefro

[PHP] image creation error

2003-02-13 Thread Michael P. Carel
Hi to all, Im receiving a Fatal error: Call to undefined function: imagecreatefromjpeg() . Do i need to recompile PHP? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-cli

2003-02-10 Thread Michael P. Carel
t should do it for you... > > example: > > exec( "cls" ); > > That should do it for you... > > Ray > > On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote: > > Hi to all, > > > > Is there anyone who could help me regarding php-cli in windows

[PHP] php-cli

2003-02-10 Thread Michael P. Carel
Hi to all, Is there anyone who could help me regarding php-cli in windows. What should be the syntax to make the screen clear before echoing something? Is there a good reference in php-cli? Thanks in advance for the replies. mike -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] OOP confused

2003-02-05 Thread Michael P. Carel
Hi to all; Just a little question about OOP. I'm just confused with the symbol '->' . In the article that i've red : #this reads "change the value of the variable $head within this class to black $this->head="black" #how do i read this line $this->head->prev=NULL I'm just confused with this li

[PHP] page auto reload after new window closed

2002-12-02 Thread Michael P. Carel
Hi to all, Sorry for this kind of post but i cant find a better mailing list for javascript. I have a problem in refreshing my php page script. Im using javascript to open new window for editing purposes. But i want my opener opener page to auto reload upon submit in my new window. Any idea? tha

[PHP] php/mysql report builder

2002-11-26 Thread Michael P. Carel
hi to all; sorry for posting this mysql question again. im searching for a report builder for mysql specifically for creating reports for invoice/receipt..etc. just like crystal reports and oracle report builder. or is there any suggestion to do it in PHP . any idea? thanks in advance Regard

[PHP] date queries

2002-11-24 Thread Michael P. Carel
Hi to all, Sorry for this post I know this is a mysql related question, i just wanna have other comments.suggestions from this list. I have a problem regarding date queries in mysql. Im creating inventory reports in PHP. I want to query from the date field a weekly report for a specific month, ye

[PHP] exploding strings

2002-11-19 Thread Michael P. Carel
Hi to all, I have a problem regarding exploding string. I want to explode string sepated by "+" sign, but i want it also the first variable in the array be distinc in terms of collor or whatever when viewed in the page. ex. $no=("1+2+3"); $number=explode("+", $no); how could i echo $no with th

[PHP] number format

2002-11-13 Thread Michael P. Carel
Hi to all; Is there any php function that will automatically format the calculated decimal values in its hundred's,thousand's .places (such as $423,345,234.50). just like the format() function in MySQL. If not, how could i do it? Thanks in advance Regards, mike -- PHP General Mailing Li

[PHP] date comparison

2002-11-10 Thread Michael P. Carel
hi to all again, I have a problem here again regarding the date comparison. I need to check the most recent date that was entered in mysql database in date format ("Y-m-d"), if the datetoday is a day or two days in advanced compared to the queried date. I need to make sure that the next insert

[PHP] converting decimal to fraction and vice versa

2002-11-09 Thread Michael P. Carel
hi to all; is there any way to convert decimal numbers to fraction and fraction to decimal format. i need to convert the inputed fractional value in the field before inserting it to the mysql database, such us 1/2 = 0.5 . thanx in advance. regards, mike -- PHP General Mailing List (http://

[PHP] date problem

2002-11-09 Thread Michael P. Carel
to all; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using php from command line

2002-08-28 Thread Michael P. Carel
Hi to all, I have a problem here in using php in command line i cant find the php executable in /usr/bin/php in my readhat linux after compiling php-4.2.2 with --enable-cli. Any idea why? I need to run a php script using cron, or if you have any suggestion please share. Regards, Mike -- P

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread Michael P. Carel
so you mean there's no way to decrypt that. I wan't to create a Password Reminder to my script, that would email them their password if ever they forgot it. Is there any suggestion/comments? >You can't view it anymore. You can compare a string with >PASSWORD('string') to see if they match. >Juli

[PHP] decrypting values in MYSQL

2002-08-01 Thread Michael P. Carel
Hi to all, How could i decrypt the encrypted data in MYSQL? I've inserted values in mysql using the PASSWORD( $userpassword ) function to encrypt all user password. Example: Insert into Users_Table set Password_Field=PASSWORD('$userpassword'); But i don't know how to select to view the $userpass

Re: [PHP] How to become a good PHP coder?

2002-07-31 Thread Michael P. Carel
You could also visit http://devshed.com for some of their tutorials regarding PHP specially PHP101 nad alot of sample codes and projects. Mike - Original Message - From: "Wee Keat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 12:57 PM

Re: [PHP] using variables in a function within a fuction

2002-06-24 Thread Michael P. Carel
thanks > function test1() > {return "hello";} > > function test2() > {$hello = test1(); > print $hello;} > > test2(); > > ?> > > or make it (argh) global > > -Original Message- > From: Michael P. Carel [mailto:[EMAIL PR

[PHP] using variables in a function within a fuction

2002-06-24 Thread Michael P. Carel
Hi to all, Have problem with this. Im want to use a variable in a function into another function. such as: This should print hello. But it does'nt work. Any idea? Regards mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache/oracle/php

2002-06-12 Thread Michael P. Carel
Thanks to all who tried to helps. I've finally found out why. The oracle home user directory should be set to drwxr-xr-x so once the required environment was set the ora function can connect to the oracle database, and all the required files and library can be access. thanks Regards, Mike

Re: [PHP] apache/oracle/php

2002-06-12 Thread Michael P. Carel
tem","manager"); This will only works if apache runs oracle/dba. Mike - Original Message - From: "Miguel Cruz" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent: Wednesday, June

[PHP] apache/oracle/php

2002-06-11 Thread Michael P. Carel
Hi to all, Is there anyone who could give me some reasons why does my php script with oracle function does'nt work if i run apache as nobody/nobody? My script only work if i run apache as oracle/dba. Regards, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] oracle again!!!!

2002-06-06 Thread Michael P. Carel
home you give, I think it should be trying to open > /home/oracle/OraHome1/network/admin/tnsnames.ora > but cannot do so. Is the file located here? > > Hope this helps. > > Chris > > Michael P. Carel wrote: > > >Hi, > > > >I've tried installing php wi

[PHP] oracle again!!!!

2002-06-05 Thread Michael P. Carel
Hi, I've tried installing php with oracle support to my RedHat Linux server. Im recieving this error when executing a sample Ora fucntion to connect to the oracle database.My oracle database works fine but my script canot connect. I've tried this sample script with my AIX server but it works fin

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael P. Carel
> //$values=array(mike, tess); > > while(Ora_Fetch_Into($cursor,$values)){ > > $name = $values[0]; > > $email = $values[1]; > > echo "$name$email"; > > echo "$email"; > > print($name); > > $result =1; > > } > > if

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael P. Carel
; $result =1; > } > if(!$result==1) print("no result"); > echo""; > > ora_close($cursor); > ora_logoff($connection); > ?> > > > mike > > > > > Check the return values from your ora_logon, ora_open, ora_parse, and > > ora_exec calls to

Re: [PHP] Ora_Fetch_Into function problem

2002-05-26 Thread Michael P. Carel
_logon, ora_open, ora_parse, and > ora_exec calls to see whether they worked. That way you can know at > which stage it stopped working. > > miguel > > On Mon, 27 May 2002, Michael P. Carel wrote: > > Finally i've set-up my AIX server with PHP and oracle support. Thank

[PHP] Ora_Fetch_Into function problem

2002-05-26 Thread Michael P. Carel
Hi to all; Finally i've set-up my AIX server with PHP and oracle support. Thanks for all who helps me for the configure setup. Now I have a problem in oracle function regarding the retrieval of entries in the oracle table. The Ora_Fetch_Into function doesnt work properly to me or i have an error

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael P. Carel
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

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 > > >

[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 -

[PHP] configure problem in RS6000 AIX4.3 with oracle database 7.3.3

2002-05-23 Thread Michael P. Carel
Hi to All, We're having problem in installing php4.2.1 in AIX4.3 . What should be the ./configure line with an oracle support. Please help us here. Thanks in advance. Regards, mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Enabling Java in a web browser using PHP script

2002-05-13 Thread Michael P. Carel
sorry for that what i mean is Javascript not Java. thanks for all who replied. - Original Message - From: "Lars Torben Wilson" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent:

[PHP] Enabling Java in a web browser using PHP script

2002-05-13 Thread Michael P. Carel
Hi to all, How could i automatically enable Java in a Web browser to execute java script using PHP. I have some javascripts line's in my PHP script and im worried that it will not work if the browser was not java enabled. Or is there any why to execute a java script line in PHP without enabling t

[PHP] Header function not working header('Window-target: _top');

2002-05-12 Thread Michael P. Carel
Hi to all, Sorry for bringing back this type of topic, But this type of header call really doesnt work for me here. I've tested many time's the example below that was given by Dan but it really doesnt work. Im already using php4.2 in apache 1.3.24 . Based on the example below i've just removed/un

Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Michael P. Carel
could you give us some samples im also searching for that. thanks. Regards, mike > > My cheap trick around this is to have an onClick event on the form submit > button that brings up a small window with a progress note in it, and an > animated gif of a prgress bar. > > As the page does not unLoa

Re: [PHP] Targetted redirection?

2002-03-17 Thread Michael P. Carel
is there any limitation with header function?im wondering why it not realy working for me. it really gives me a headache. i've done exactly what you've told us but it does'nt work. i remove the comment from the left.php or right.php and retain the index.ph as-is, but still it doesnt jump out the

[PHP] Targetted redirection?

2002-03-14 Thread Michael P. Carel
> > > > > oh yes i've got your point, but i've tried what you've told us before > but > > > still it does not redirect to cover over the frame page. > > > > Ah, yes, that'd be a problem... :) > > > > I knew what I said worked because I use it to get my pages to break out > > of About.com's fra

[PHP] inconsistent mail sending

2002-03-14 Thread Michael P. Carel
What wrong with this code? It does'nt consistently send email with the users in that table. Sometimes it duplicate sending to a certain users and sometimes it doesnt. Please help $query=("Select * from $users_tablename where Group_Id='3' "); $result = mysql_query($query); if(!$result)er

Re: [PHP] Targetted redirection?

2002-03-13 Thread Michael P. Carel
- Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 8:36 AM Subject: Re: [PHP] Targetted redirection? > On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel w

Re: [PHP] Targetted redirection?

2002-03-13 Thread Michael P. Carel
Ben, I have that kind of problem before, but it whould be much better to use javascripts rather than the HTTP Header function when redirecting to cover over the frame page. Use this instead: echo"top.location.href=http://your.page.direction; "; I've already tried and using this kind of redirect

[PHP] auto redirection

2002-03-12 Thread Michael P. Carel
Hi to all, Is there anyone who could help me in redirecting the page outside the Frame page once a certain line of php scripts(or whatever) is executed or echoed out. My page redirection are appearing in the Frame page which it should not be. Please help. Regards, Mike -- PHP General Maili

Re: [PHP] deleting records in mysql

2002-03-12 Thread Michael P. Carel
u have any idea? The system that im creating now using a PHP will become unstable if this problem exists. Please help us. Regards, Mike - Original Message - From: "Faisal Abdullah" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: <[EMAIL PR

[PHP] deleting records in mysql

2002-03-12 Thread Michael P. Carel
Hi to all, just want to ask why does the records in the table field sometimes failed to delete in using an interface such as using a delete mysql queries in PHP or even in a WEBMIN mysql gui interface. When it happens i need to manual delete the records using a command line. is there any bug in t

Re: [PHP] http header with target problem

2002-03-11 Thread Michael P. Carel
You mean this header('Window-target: _top'); header("Location:index.php?expire=0"); > On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: > > > > I have here a problem regarding auto redirecting a Frame supported page upon > > sessi

[PHP] http header with target problem

2002-03-11 Thread Michael P. Carel
Hi to all, I have here a problem regarding auto redirecting a Frame supported page upon session timeout. I'm redirecting the page upon session timeout to header("Location:index.php?expire=0"); . But i want that to redirect with a specified target tags with TARGET=_top to exit in the FRAME page. A

[PHP] wordwrapping by width

2002-03-06 Thread Michael P. Carel
Hi to all, Just want to ask if there is any function that will force to wrap character by it width length and not by its character length. Wordwrap function can force wrapping by its character and not by its width. Please help. Regards, Mike -- PHP General Mailing List (http://www.php.

[PHP] PHP exploits

2002-03-04 Thread Michael P. Carel
Hi to all, I've been seing some exploits issue in the list but i have'nt read yet what it is. Could any one tell me what this exploits are or refer me to a page were i can read all about it, im using php 4.0.5. Regards, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] header problem

2002-02-26 Thread Michael P. Carel
thanks to all who help me regarding this problem, i've finally know the cause of the header error message, i've got an HTML output on top of the script (?> To: "Michael P. Carel" <[EMAIL PROTECTED]>; "george Pitcher" <[EMAIL PROTECTED]> Cc: "php

[PHP] word wrapping again

2002-02-25 Thread Michael P. Carel
Hi there, Is there any function that can i used in wrapping a continuous line of words that will be displayed in the HTML table to avoid destroying its table format. I've tried wordwrapping function but it only wraps word with spaces between them. I have a REPORT NO. that is continously increme

Re: [PHP] header problem

2002-02-25 Thread Michael P. Carel
here. Regards, Mike - Original Message - From: "george Pitcher" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 5:44 PM Subject: Re: [PHP] header problem > Michael, > > You cannot have any 'displayed

[PHP] header problem

2002-02-22 Thread Michael P. Carel
Hi , I have a problem in using the Header() function. I want to automatically redirect the page into another php script after a form completion but im receiving this error "Warning: Cannot add header information - headers already sent by .." Heres the script line: header("Location: 8D_Anaf

[PHP] wordwrap not working

2002-02-20 Thread Michael P. Carel
Hi, Im testing the example in the http://www.php.net/manual/en/function.wordwrap.php and it seems not working it still printing the whole word and not wrapping. Im using php4.05 in my redhat 6.2 using an apache. Here's the sample: it should print like this: The quick brown fox jumped over the

[PHP] text box truncate

2002-02-20 Thread Michael P. Carel
Hi there, I have here a problem regarding how to truncate the data that was written in the text box form? I want the data to be displayed in the html collumn in standard length and format. Setting the text box in WRAP will not solve the problem it will not add a new line. I want that instead of

[PHP] date and time triggerring

2002-01-25 Thread Michael P. Carel
Hi there, Is there any one who could give me an idea regarding the date and time triggering PHP script. This date and time script whould gives an output if ever it hit "Jan 1" and print's it's year. Any idea? Thanks in advance, and also to all who keeps on helping a newbie like me. Regards,

[PHP] Displaying array of elements problem

2002-01-23 Thread Michael P. Carel
Hi there, I have another problem out here. Im using the for loop to display an array of element in the checkbox form. My problem is how could i set the this if to an error message if their are a NULL selection. By default this will display blank for no selection which i whant to be avoided. I don

[PHP] Form Problem

2002-01-23 Thread Michael P. Carel
Hi there, I have a problem here regarding the form table name variable (i.e ), when i used Href tags to send the variable in the next script it does'nt recognized the $Process variable. I've tried the the submit type but but im having problem with other $variable in the table which is not part

Re: [PHP] mail smtp class file

2001-11-21 Thread Michael P. Carel
newbie like me. Any idea with my problem? > You may want to look at something a little more robust. > > Try http://phpmailer.sourceforge.net > > Adding attachments and numerous other options is extremely easy. > > Quoting "Michael P. Carel" <[EMAIL PROTECTED]>

[PHP] mail smtp class file

2001-11-21 Thread Michael P. Carel
Hi there, I've tried using the SMTP class file that was given by PHPGalaxy.com previously in the mailing list, and have difficuties in using it. upon the execution of the script im recieving the mail but the content of the mail was the HEADER. Here's the script: And the email content was this:

[PHP] installation help!!!!!

2001-07-17 Thread Michael P. Carel
Hi, I really have difficulties installing PHP3with mysql support, i've red alot of documentation but i havent installed it successfully. I've compiled it many times but it doesnt work. I've been using RedHat6.2, Apache-1.3.14-6.2.i386.rpm,MySQL-3.23.39-1.i386.rpm,PHP3.0.18. I've compiled this v

[PHP] installation

2001-07-12 Thread Michael P. Carel
Hi there, Im just a new in PHP, please help me in installing PHP with mysql support using the RPM's format. It is much easier to install packages in Redhat6.2 in RPM's but it does not automatically install PHP mysql support. Please help me, i keep on trying installing this but it doesnt work.