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

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

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

[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: ? function killprocess($id){ system('kill'. escapeshellarg($id), $killret); if

[PHP] ps command in php

2003-10-06 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] 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 ?

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
solution for this? your question has already been answered: use: echo pre $ps /pre; It should definitely help Nitin - Original Message - From: Michael P. Carel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 12:51 PM Subject: Re: [PHP] ps command

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: ?header(Content-Type: text/plain); $ps = (passthru(ps -ef)); ? table width=100% border=0 cellpadding=0 cellspacing=0 tr td width=100% height=287 valign=top? echo $ps; ?/td /tr /table I can also see

[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

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 line, I specifically want to get the Columns of the PID for this command

[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

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, I'm looking for a alphanumeric

[PHP] parallelport interfacing

2003-08-07 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
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 downloaded

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

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

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 you mean to host websites

[PHP] accesing php script in a different port

2003-07-09 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

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

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 if your system suports the commands, try imagecreatetruecolor

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

2003-02-27 Thread Michael P. Carel
Message - From: Jason Sheets [EMAIL PROTECTED] To: Michael P. Carel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 12:04 PM Subject: Re: [PHP] problem in writing into an html text file Hello Mike, You will need to better describe your problem and preferably

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

2003-02-27 Thread Michael P. Carel
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 backslashes in all doubleqoutes in the html file. sample: before editing my.html file

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

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

2003-02-26 Thread Michael P. Carel
. - Original Message - From: Jason Sheets [EMAIL PROTECTED] To: Michael P. Carel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 12:04 PM Subject: Re: [PHP] problem in writing into an html text file Hello Mike, You will need to better describe your problem

[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

[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] array values format

2003-02-19 Thread Michael P. Carel
(/, $/, , $data);//get rid of last comma echo $data; Good luck, Chris From: Michael P. Carel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] array values format Date: Thu, 20 Feb 2003 11:53:18 +0800 hi to all I have a problem here in array manipulations. I need an output like

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: as per testing it doesnt delete the last

[PHP] inserting BR

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 BR tags in the text box before it is being store in the database. Thanks in advance. mike --

[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

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, 2003 7:26 AM Subject: Re: [PHP] limiting characters

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 Season to taste: ? function chopper($string,$length=20

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

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: Friday, February 14, 2003 3:45 PM Subject: Re: [PHP

[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] image creation error

2003-02-13 Thread Michael P. Carel
, at band camp, Michael P. Carel [EMAIL PROTECTED] wrote: Hi to all, Im receiving a Fatal error: Call to undefined function: imagecreatefromjpeg() . You need to install gd in your config line add --with-gd Kevin

[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

Re: [PHP] php-cli

2003-02-10 Thread Michael P. Carel
command for using the back ticks... That 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. What should be the syntax

[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 line, i

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

[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

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

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

[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

[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

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

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

[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

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

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

[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: ? function test1() {$hello=hello;} function test2() {test1(); print $hello;} test2(); ? This should print hello. But it does'nt work. Any idea? Regards mike -- PHP General Mailing

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 PROTECTED]] Sent: Tuesday, June 25, 2002 3:14 PM To: php Subject: [PHP] using

Re: [PHP] apache/oracle/php

2002-06-12 Thread Michael P. Carel
- Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Michael P. Carel [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 2:12 PM Subject: Re: [PHP] apache/oracle/php On Tue, 11 Jun 2002, Michael P. Carel wrote: Is there anyone who could give me some

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

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

[PHP] oracle again!!!!

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

Re: [PHP] oracle again!!!!

2002-06-06 Thread Michael P. Carel
? Hope this helps. Chris Michael P. Carel wrote: 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

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael P. Carel
); ora_logoff($connection); ? mike Check the return values from your ora_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

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael P. Carel
, Michael P. Carel wrote: 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

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael P. Carel
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. Thanks for all who helps me for the configure setup. Now I have a problem in oracle function regarding the retrieval of entries

[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

[PHP] error in compling with oracle support

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

Re: [PHP] error in compling with oracle support

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

Re: [PHP] error in compling with oracle support

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

[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

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: Tuesday, May 14, 2002 10:25 AM Subject: Re: [PHP] Enabling Java

[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

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 unLoad

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] 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);

[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 frames. asideMan,

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: echoscriptstop.location.href=http://your.page.direction; /scripts; I've already tried and using this

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 wrote: I have that kind of problem before

[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

Re: [PHP] deleting records in mysql

2002-03-12 Thread Michael P. Carel
? 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 PROTECTED] Sent: Tuesday, March 12, 2002 5:41 PM Subject: Re: [PHP

[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

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

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 session timeout. I'm redirecting the page upon session timeout

[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

[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

Re: [PHP] header problem

2002-02-26 Thread Michael P. Carel
- Original Message - From: Jim Lucas [php] [EMAIL PROTECTED] To: Michael P. Carel [EMAIL PROTECTED]; george Pitcher [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 12:32 AM Subject: Re: [PHP] header problem question, is this on a process page or on a page that renders

Re: [PHP] header problem

2002-02-25 Thread Michael P. Carel
. 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' text prior to using the header function. You'll need to do

[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

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

[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] 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: ? $text = The quick brown fox jumped over the lazy dog.;

[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] Form Problem

2002-01-23 Thread Michael P. Carel
Hi there, I have a problem here regarding the form table name variable (i.e input name=Process type text), 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

[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

[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: ? function sendmsg($to, $subject,

Re: [PHP] mail smtp class file

2001-11-21 Thread Michael P. Carel
for a 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]: Hi there, I've tried using the SMTP

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