Re: [PHP] mail problem at interland

2005-01-28 Thread R'twick Niceorgaw
Hi David, On Thu, January 27, 2005 9:09 pm, David Edwards said: > Hi, > > $headers .= "MIME-Version: 1.0\n"; > $headers .= "Content-type: text/plain; charset=iso-8859-1\n"; > $headers .= "X-Priority: 1\n"; > $headers .= "X-MSMail-Priority: High\n"; > $headers .= "X-Mailer: php\n"; > $headers .= "F

Re: [PHP] changing emailadress

2005-01-21 Thread R'twick Niceorgaw
On Fri, January 21, 2005 3:48 pm, M H Topper said: > Pls tell me how I can change the emailadress with which I subscribed. > > > Thnx in advance Mark Topper > just unsubscribe using your old address and subscribe using new address -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread R'twick Niceorgaw
On Tue, January 18, 2005 2:42 pm, Chris Bruce said: > This is a great solution, except I cannot get PHP to exec the file that > has the 'wget' command in it. > > What I have done is to create a file (wget.php) into the directory that > I want to wget the page into. I then chmod -R the directory to

Re: [PHP] UPDATE

2004-12-15 Thread R'twick Niceorgaw
Quoting Steve Marquez <[EMAIL PROTECTED]>: > I am trying to insert information into the database, have it automatically > place an ID Number, then update that particular record and replace the word > "delete" with the link. > > The "mysql_insert_id()" does seem to be working. It does put in an id

Re: [PHP] URL variables, and the $_GET[xxx] function...

2004-10-21 Thread R'twick Niceorgaw
Hi Trisan, Quoting [EMAIL PROTECTED]: > I've put this code at teh top of the code on events page '$sort_by = > $_GET[sort_by];' etc... > And while that sorts out the problem, I'm curious as to why I need to do > that, and if those changes will cause me probs elsewhere? Perhaps on your old server

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>: > I was task with this... Unfortunately the person that installed it is not > here anymore. Is there a way to find out, like any commands or files to look > for? I do see _SERVER["SERVER_SOFTWARE"] Apache/2.0.40 (Red Hat Linux) sho

Re: [PHP] Encrypt/Decrypt help

2004-06-21 Thread R'twick Niceorgaw
Hi John, Quoting John Fano <[EMAIL PROTECTED]>: > BEGIN DECRYPT CODE* > $filename = $_GET["q"]; > $getdata = file($fname); What is in $fname? Shouldn't it be $filename? HTH R'twick This message was sent

RE: [PHP] http to https

2004-06-18 Thread R'twick Niceorgaw
Hi Ryan, you have an error in your script. Quoting Ryan Schefke <[EMAIL PROTECTED]>: > > header ('Location https://www.tgwedding.com/payment6.php'); > exit; > ?> correct one is https://www.tgwedding.com/payment6.php'); ?> Note the ":" after Location. HTH -R'twick -- This is a signature --

RE: [PHP] index.php not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>: > Found it, thanks. The errors are: > > [Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not > exist: /var/www/html/<, referer: http://158.114.148.90/index.php3 /var/www/html/< check your httpd.conf file and se

RE: [PHP] index.php not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>: > apache - and I would think that mine would also be /var/log/apache but that > path does not exist - was this created automatically when apache was > installed? probably its /var/log/httpd ? -R'twick -- This is a signature --

Re: [PHP] RE: Text message

2004-06-15 Thread R'twick Niceorgaw
Is this some kind of virus? anybody else receiving it? I have received 3 mails from this address through the list today all with a .bmp attachment It has passed clam av + fprot on linux as well as norton on windows but still want to double check before opening it. - R'twick Quoting Hitcho <[EMAI

RE: [PHP] php installation verification

2004-06-02 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>: > could it be something in my httpd.conf file? Remove the line AddType application/x-httpd-php .php and add SetOutputFilter PHP SetInputFilter PHP HTH R'twick -- This is a signature -

Re: [PHP] PHP doesn't work under SSL for Apache

2004-05-28 Thread R'twick Niceorgaw
Quoting Bryan Waters <[EMAIL PROTECTED]>: > I have an Apache 1.3.27 server configured with SSL, PHP and so on... > > My problem is that PHP doesn't work under the SSL virtual host...it works > under other named virtual hosts and the main site, but it simply doesn't > work under the _default_:443

Re: [PHP] unexpected include parse error

2004-01-26 Thread R'twick Niceorgaw
Hi Paul, Quoting Paul Furman <[EMAIL PROTECTED]>: > $dirstr= "./" probably because you are missing a ; at the end? >include 'scandir.php'; >scandir('$dirstr'); you should also change this to scandir($dirstr); > ?> > > parse error, unexpected T_INCLUDE in [the above file] > > if

Re: [PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread R'twick Niceorgaw
r to the >with-apxs2filter. The configuration file that point to this kind of >installation is already configured in apache. However there is no perl >script apxs of any kind. > > > install httpd-devel package. I believe it contains the apxs module. HTH R'twick Niceorgaw

Re: [PHP] Not working?

2004-01-08 Thread R'twick Niceorgaw
Hi jason, Quoting Jas <[EMAIL PROTECTED]>: > > system("rename('/path/to/new.sh', '/path/to/old.$today')"); > I don't think this is correct syntax. Either use the php rename function like rename('/path/to/new.sh', '/path/to/old.$today'); or if you want to use system then use system ("rename '

Re: [PHP] Turck MMcache compiling

2003-12-20 Thread R'twick Niceorgaw
Hi Ryan, Quoting Ryan A <[EMAIL PROTECTED]>: > Hi, > > We just took a dedicated server (Linux) and want to install Turck MMCache > for PHP on it, we have total control of that server and can SSH in etc. > Their "support" does not want to install it and told us if we want to, we > will have to do

Re: [PHP] testing a variable

2003-11-12 Thread R'twick Niceorgaw
Adam Williams said the following on 11/12/2003 11:37 AM>> Hello, I need to test a variable to see if it contains a value or not, and if not, do something. My php is a little rusty, so which would be better? if ( !$var ) { echo "do something";} or if ( !isset($var ) { echo "do something";} or a

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread R'twick Niceorgaw
Jason Wong said the following on 11/7/2003 3:25 PM>> On Saturday 08 November 2003 04:14, Matt Palermo wrote: Is there any way to accomplish this without the use of exec() or system() functions? Sure, as PHP is a general purpose programming language just write your own equivalent to nslookup! S

Re: [PHP] manual key generation

2003-10-25 Thread R'twick Niceorgaw
Joao Andrade wrote: Aloha! I have a script that inserts a new row in a table called "quotations", which has a primary key called "quotation_id". "quotation_id" is an int(11) type. When I enter: SELECT MAX(quotation_id)+1 from quotations I get simply the number 7 (which is ok) But

Re: [PHP] filesize() error - Can anyone help?

2003-10-20 Thread R'twick Niceorgaw
Hi, Jacques Roux said the following on 10/17/2003 10:55 AM>> Dear All I am getting the following error message when I open some of the page on my Web Site. What could the problem be and how can I correct it? Warning: filesize() [function.filesize]: Stat failed for ./admin/dbimages/tblProjects/i

[PHP] question on set_uid

2003-10-01 Thread R'twick Niceorgaw
Hi all, I'm trying to run a php application in cgi mode which will use posix_set_uid function to set its user id to different users. I have set the user and group of the program to root:root and set the permissions as -rws--sr-x1 root root 1096 Oct 1 12:58 test2.cgi here's my

Re: [PHP] Test Links...

2003-09-26 Thread R'twick Niceorgaw
Doug Coning said the following on 9/26/2003 12:15 PM>> Greetings All, I am creating a 'links' page and was wondering if there was a way in PHP to test the response of an outside link? I'm sure everyone here has clicked on a links page link and have a "No Page Found" error because no one is keepi

Re: [PHP] Understanding code.. again

2003-09-25 Thread R'twick Niceorgaw
Jeff McKeon said the following on 9/25/2003 4:00 PM>> In the following code... --snip-- --snip-- What is the purpose in the function def of "($msgvar = null)"?? Why not just "function showmessage($msgvar)"?? It's to set a default value if no argument is passed to the function when called like

Re: [PHP] um...

2003-09-19 Thread R'twick Niceorgaw
Comex said the following on 9/19/2003 3:33 PM>> <[EMAIL PROTECTED]> [EMAIL PROTECTED]: Please contact your system administrator. The scanned document was deleted. Violation Information: The subject violated the content filtering rule PHP as subject is a malacious code - Not Allowed. No attempt

Re: [PHP] Opening new browser window

2003-09-19 Thread R'twick Niceorgaw
Rich Fox said the following on 9/19/2003 12:33 PM>> I would like to open a new browser window from within my php script (edit.php), a window in which another php page is run (search.php). search.php should be able to receive $_POST vars etc. from edit.php. I am not sure that the javascript solution

Re: [PHP] Attention: List Administrator

2003-09-19 Thread R'twick Niceorgaw
David T-G said the following on 9/19/2003 12:25 PM>> Dan, et al -- ...and then Dan Joseph said... % % the computer web server. Kinda hilarious if you ask me. Good excuse to % install Norton also. s/Norton/linux+qmail/ *grin* :-D s/linux+qmail/linux+qmail+spamassassin+tmda+f-prot/ :) -- PHP

Re: [PHP] config file

2003-09-19 Thread R'twick Niceorgaw
Payne said the following on 9/19/2003 11:23 AM>> Hi, I have a project that I need to write and in the past I would hard code a lot of information in pages that I should have put into a config file. I am wanting to know if there a website that example how to write a config file and how to the p

Re: [PHP] Returning form vars from popup

2003-09-18 Thread R'twick Niceorgaw
Rich Fox said the following on 9/18/2003 12:24 PM>> I have a popup window, itemSelect.php, from which I would like to reload the calling page. itemSelect.php has a form, and I want to reload the calling page with these form variables. How can I do this? I can reload the page easily enough, with yo

Re: [PHP] help with message from tech support

2003-09-12 Thread R'twick Niceorgaw
Sam Folk-Williams said the following on 9/12/2003 12:32 PM>> Hi, I posted about the below issue yesterday, following is the follow-up from tech support. Are they saying the server was hacked? Is there anything I can do on my end, or does this sound like their problem? When I try to visit the s

Re: [PHP] removing parts of a string...

2003-07-24 Thread R'twick Niceorgaw
On 24 Jul 2003 at 15:03, [EMAIL PROTECTED] wrote: > I wanna be able to take a URL > http://www.mysite.com/downloads/file_1_a.pdf > > and then remove: > http;//www.mysite.com/ > > then add: > /host/sites/site1/web/ > > to > downloads/file_1_a.pdf > > Turning: > http://www.mysite.com/downloads/f

Re: [PHP] newbY prob

2003-07-23 Thread R'twick Niceorgaw
On 23 Jul 2003 at 15:38, Phillip Blancher wrote: > Problem with Count. > > ! am trying to count the number of items in this table. The table has > ! one field in it. > > The code I am using is: > > $dbquerymeal = "select COUNT(*) from mealtype"; > $resultmeal = mysql_db_query($dbname,$dbquer

Re: [PHP] Pre-Compiled PHP Module: php_imap.so

2003-07-08 Thread R'twick Niceorgaw
On 8 Jul 2003 at 11:17, [-^-!-%- wrote: > > Is there anyplace to download a pre-compiled PHP module? > I'm looking for the php_imap.so module. > > Environment: PHP 4.2.3/Apache on Redhat Linux i386. > Please advise. > get the php-imap rpm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] switch structure...

2003-06-19 Thread R'twick Niceorgaw
On 19 Jun 2003 at 13:52, Dan Joseph wrote: > Hi All, > > Looking for some guidance on something I want to be able to do with switch, > and I don't think it exists, but I'd like to consult the list as a last > resort. > > I have a switch setup similar to: > > switch ($step) { >

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread R'twick Niceorgaw
Use javascript to get the screen resolution and pass it back to your php script thru a hidden form field or some other means. On 18 Jun 2003 at 16:21, Vernon wrote: > I what to be able to set a variable based on user's screen resolution. > > Can anyone tell me who to do that? > > Thanks > >

Re: [PHP] Naming a variable with a variable

2003-06-17 Thread R'twick Niceorgaw
$$foo or ${$foo} somethinbg like that ? http://us2.php.net/manual/en/language.variables.variable.php R'twick - Original Message - From: "Antti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 2:19 PM Subject: [PHP] Naming a variable with a variable > Ho can I

Re: [PHP] POST detection

2003-06-12 Thread R'twick Niceorgaw
if ( isset($_POST['var_1']) and isset($_POST['var_2']) ) { your code } - Original Message - From: "Johnny Martinez" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 5:08 PM Subject: [PHP] POST detection > Hi all, > I have a self referring script t

[PHP] Re: array

2003-06-12 Thread R'twick Niceorgaw
Your code works fine here (Apache 1.3.27/PHP 4.3.2) However you can try $room_type=array(); $room_type[0]=Array(); $room_type[0][0]=4; echo "value in array is ".$room_type[0][0]; HTH R'twick "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If I write a code like t

Re: [PHP] SMTP setting correct mail() not working?

2003-06-10 Thread R'twick Niceorgaw
On Wednesday 11 June 2003 03:57 am, Ben Houlton wrote: > I've set the SMTP setting correctly (I've checked like 50 times) but it > sill comes up with: Warning: mail(): Failed to connect to mailserver at > "mail.ihug.com.au" port 25, verify your "SMTP" and "smtp_port" setting in > php.ini or use ini

[PHP] Re: check is pop address

2003-06-10 Thread R'twick Niceorgaw
check the IMAP functions If you have the pop server address (ip, port), user name and password you can do it http://us4.php.net/imap HTH R'twick "Philip S" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > I was wondering whether someone could tell me whether it is possib

[PHP] Re: howto write a DOS file output into a file...

2003-06-09 Thread R'twick Niceorgaw
look at ob_start() function. HTH R'twick "Ferhat Bingol" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > When I use my system command in PHP I can run a old EXE file. It makes an > output and output is automaticly printing on the web browser. I wanna save > this output at the

Re: [PHP] delete lines from text file

2003-06-05 Thread R'twick Niceorgaw
On Thursday 05 June 2003 11:53 pm, Matt Palermo wrote: > Can anyone help me figure out how to search for a string in a text file, > then delete the whole line of text that it occurs in? > > For example: I have a text file which contains the following. > > //** text.txt ** > Keep this line.

[PHP] Re: Migration once again

2003-06-05 Thread R'twick Niceorgaw
AIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry, that is no help. You will see that I have escaped all double > quotation marks since the javascript is inside a php-script. > The problem is, if I use $_SERVER[PHP_SELF] I get no errors (yepp, > error_reports=E_ALL) >

[PHP] Re: Migration once again

2003-06-05 Thread R'twick Niceorgaw
May be this will fix ? myWin=window.open(\"?skrivut=yeah&target=$target\",\"printout\",\"scrollba rs=yes,status=yes,screenX=0,screenY=0,WIDTH=640,height=500 \"); : You need to enclose $_SERVER["PHP-SELF"] with tags to be parsed by php. "ØYstein HåLand" <[EMAIL PROTECTED]> wrote in message new

Re: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread R'twick Niceorgaw
probably because $_SESSION is a server side thing not coming from the client side in a Request ? R'twick - Original Message - From: "Wouter van Vliet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 12:48 PM Subject: RE: [PHP] Re: Migration from register_globals=o

[PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread R'twick Niceorgaw
on top of your script add extract ($_POST); or may be a little more checking to see if its actually a form submission by POST method like if ($_SERVER["REQUEST_METHOD"] == 'POST') extract($_POST); same thing goes for GET Then you can access all form variables just as you were accessing. HTH

Re: [PHP] Apache problem:PHP will not execute

2003-06-03 Thread R'twick Niceorgaw
Make sure your have the following line in your apache config file (usually httpd.conf). If its not there then add it somewhere and restart apache. AddType application-x-httpd-php .php HTH R'twick - Original Message - From: "Kjell Hansen" <[EMAIL PROTECTED]> To: "Gurhan Ozen" <[EMAIL PRO

Re: [PHP] greater than question

2003-05-27 Thread R'twick Niceorgaw
put them in an array an sort it ? - Original Message - From: "Steve Buehler" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Tuesday, May 27, 2003 3:45 PM Subject: [PHP] greater than question > Hopefully someone has done this and has an easy answer. I know that I can > do what I

[PHP] Re: if statment

2003-03-31 Thread R'twick Niceorgaw
if ( !isset($HTTP_GET_VARS["pr_ID"]) OR empty($HTTP_GET_VARS["pr_ID"]) ) HTH R'twick "Tim Haskins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm used to asp and not php, but what would the code be for and if statement > that was like: > > if $HTTP_GET_VARS["pr_ID"] = "nothing"

Re: [PHP] Error Opening acid_main.php page

2003-03-11 Thread R'twick Niceorgaw
in your httpd.conf or whatever apache configuration file you are using, search for AddType application/x-httpd-php .php If its not there, add it and restart apache. HTH R'twick - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 11

Re: [PHP] RE: Need help with ?> vs. php?>

2003-03-05 Thread R'twick Niceorgaw
set register_globals=on in php.ini or use $_POST/$_GET super global array - Original Message - From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 05, 2003 12:14 PM Subject: [PHP] RE: Need help with ?> vs. php?> > That's fixed. Thanks. > > No

Re: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread R'twick Niceorgaw
Shouldn't it be #!/usr/local/bin/php Or was it just a typo here? - Original Message - From: "Justin Michael Couto" <[EMAIL PROTECTED]> To: "'Ernest E Vogelsinger'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 12:09 PM Subject: RE: [PHP] Can't run PHP cli

[PHP] Re: date problem

2003-02-27 Thread R'twick Niceorgaw
$date_array=explode("-",$newdate); $day = $date_array[2]; $month = $date_array[1]; $year = $date_array[0]; Or, $timestamp - strtotime($newdate); $today = getdate($timestamp); $month = $today['month']; $mday = $today['mday']; $year = $today['year']; "Alexander Tsonev" <[EMAIL PROTECTED]> wrote in

[PHP] make error on solaris

2003-02-27 Thread R'twick Niceorgaw
Hi all, I'm trying to get a vanila installation of php 4.3.1(only the cli version) on a solaris 8 system. This is my first day on a solaris box so I don't know much about it. I'm running into some errors in the final linking stage. Any one experienced this problem and got any idea to fix it? (error

[PHP] Re: help please

2003-02-25 Thread R'twick Niceorgaw
Please don't multi post. How you getting the $ToName $FirstName etc fields ? Are they submitted via a form? If so, check the register_globals setting on the server where it is not working. You need to set it on or use $_POST /$_GET variables. HTH R'twick "Bionicegg" <[EMAIL PROTECTED]> wrote in m

Re: [PHP] text color in image

2003-02-03 Thread R'twick Niceorgaw
The first ImageColorAllocate(0 function always sets the background color . So add one more call to ImageColorAllocate() to set the background color before line $tx_color = ImageColorAllocate($png,255,255,255); and then the text will be as you set in $tx_color HTH -R'twick - Original Message -

Re: [PHP] image size from text/font size

2003-02-03 Thread R'twick Niceorgaw
ImageFtBbox() can do this for you. Here's a portion of my code that uses it. >> $string="This is some text"; $pointsize = 15; $fontfile = getcwd()."/arial.ttf"; $string_size = ImageFtBbox($pointsize, 0, $fontfile, $string, array("linespacing" => 1)); $s_width = $string_size[4]; $s_height = $strin

[PHP] mySql session handler

2003-01-30 Thread R'twick Niceorgaw
Hi all, Is it possible to setup a mysql session handler on a server basis ( something in php.ini file) so that individual pages do not have to set it up using call to session_set_save_handler() ? -R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] A way to break up the string????

2003-01-29 Thread R'twick Niceorgaw
how about $name_array = explode(" ",$name); $first_name = $name_array[0]; $last_name = $name_array[count($name_array) - 1]; unset($name_array[0]); unset ($name_array[count($name_array)]); $middle_name = implode(" " ,$name_array); -R'twick -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] help with perl equivalent ?

2003-01-24 Thread R'twick Niceorgaw
Thanks Sean That worked :) -R'twick - Original Message - From: "Sean Burlington" <[EMAIL PROTECTED]> To: "R'twick Niceorgaw" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 11:07 AM Subject: R

[PHP] help with perl equivalent ?

2003-01-24 Thread R'twick Niceorgaw
Hi all, I'm pretty much a stranger to perl and now got to convert a perl script to php. however, at once place I can not understand what the lines are doing and what could be the equivalent of them in php. Could some one help me with this ? Here's my perl code : $choice=~s/\.rm//; $choicedi

Re: [PHP] ImageCreateFromPNG

2003-01-03 Thread R'twick Niceorgaw
I have something that I use to create simple buttons. I use the command line interface version of php to create the buttons offline. However, the function can also be used on an web application easily. I am creating the image with fixed height and width, you can change it by using $i_width and $i_h

Re: [PHP] php+html help

2002-12-30 Thread R'twick Niceorgaw
Print "Organisation name : .$row[OrgName]."\n".""; - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 11:10 AM Subject: [PHP] php+html help Hello friends, I have the following php output line that

[PHP] GD 2.0 Souce tar ball ?

2002-12-20 Thread R'twick Niceorgaw
Hi guys, does any one have latest GD 2.0 source tarball and care to share ? seems like the url http://www.boutell.com/gd is down Regards -R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Automatic include of files containing functions

2002-12-11 Thread R'twick Niceorgaw
I don't know about the efficiency .. but to do it .. you can use function_exists() to see if a function is already defined if not include the file for that function before using a function. HTH - Original Message - From: "Dave [Hawk-Systems]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP] Mail Question

2002-11-14 Thread R'twick Niceorgaw
put the following line in the .qmail file for that user |/path/to/your/script/yourscript.php HTH R'twick - Original Message - From: "Mike D" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 3:12 PM Subject: [PHP] Mail Question > Does anyone know of a way

Re: [PHP] help with installation

2002-09-09 Thread R'twick Niceorgaw
hp-source .phps - Original Message - From: "Matt Schroebel" <[EMAIL PROTECTED]> To: "'R'twick Niceorgaw'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 09, 2002 10:37 AM Subject: RE: [PHP] help with installation >

[PHP] help with installation

2002-09-09 Thread R'twick Niceorgaw
Sure I'm missing some thing silly here but its monday morning :) I have just installed php 4.2.3 with apache 1.3.26. I have all loadmodule/addmodule as well as AddType x-httpd-php .php directives present in httpd.conf. http://myhost/server-info shows I have php module loaded. But, when I browse a

[PHP] FreeType 2 support ?

2002-08-02 Thread R'twick Niceorgaw
Hi all, I'm getting this error while running a simple script. Warning: imageftbbox(): No FreeType 2 support in this PHP build in /home/www/htdocs/button_create.php on line 11 Here's my phpinfo https://utkalika.yi.org/phpinfo.php (note the https) While compiling PHP, It says freetype(2) support

RE: [PHP] Help!!! CVS install broke for me!

2002-08-02 Thread R'twick Niceorgaw
I also got exactly the same errors this morning. Thought may be its because I'm using a beta version of RedHat Linux (Limbo). -Original Message- From: Rick Kukiela [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 4:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Help!!! CVS install br

Re: [PHP] Disabling Browser "BACK" button

2002-07-31 Thread R'twick Niceorgaw
Here's what I think may work, not sure though.. set a session variable form_submitted=false before displaying the form for input. when posted, check if form_submitted==false, then only set the session variable form_submitted to true and process it. Else show an error message If the user hits

Re: [PHP] is php.net down ?

2002-07-22 Thread R'twick Niceorgaw
cool... thanks guys - Original Message - From: "Sam Masiello" <[EMAIL PROTECTED]> To: "'Jay Blanchard'" <[EMAIL PROTECTED]>; "'R'twick Niceorgaw'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 22

[PHP] is php.net down ?

2002-07-22 Thread R'twick Niceorgaw
Hi guys, any one else able to get into www.php.net ? I'm getting this Warning: main("geoip.inc") - No such file or directory in /local/Web/sites/phpweb/include/prepend.inc on line 6 Fatal error: Failed opening required 'geoip.inc' (include_path='.:/local/Web/sites/phpweb/include') in /local/Web

Re: [PHP] How to know if we're using http or https

2002-07-11 Thread R'twick Niceorgaw
if ( $_SERVER["HTTPS"]=="on" ) user using HTTPS else user usin http - Original Message - From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 8:32 AM Subject: [PHP] How to know if we're using http or https > Hello all! > > Is

Re: [PHP] if syntax

2002-07-10 Thread R'twick Niceorgaw
read here for the alternative control structures in php http://www.php.net/manual/en/control-structures.alternative-syntax.php - Original Message - From: <[EMAIL PROTECTED]> To: "Alexander Ross" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 7:28 AM Subject: Re

Re: [PHP]Erik Hegreberg

2002-07-09 Thread R'twick Niceorgaw
I just setup a rule in OE to forward his own mail to himself and delete it form my machine - Original Message - From: "Jeff Lewis" <[EMAIL PROTECTED]> To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 200

Re: [PHP] wwwwwwwwwwwwwwwwwwwwipoh'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

2002-07-09 Thread R'twick Niceorgaw
are you doped or mentally challenged ? - Original Message - From: "Erik Hegreberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 12:26 PM Subject: [PHP] ipoh'%%% %%%

Re: [PHP] getting help on php

2002-06-14 Thread R'twick Niceorgaw
1. use META TAGS to refresh the page 2. use javascript to open a new window - Original Message - From: "Hotmail" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 10:36 AM Subject: [PHP] getting help on php Dear sir, I have two questions : 1- Is there a function

Re: [PHP] script executeion problem - executes twice for no reason - help

2002-04-22 Thread R'twick Niceorgaw
remove the To:$email from $headers. You have it already in the $to parameter. - Original Message - From: "Edward Bailey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 11:48 AM Subject: [PHP] script executeion problem - executes twice for no reason - help > P

Re: [PHP] fwrite() - problems....

2002-04-08 Thread R'twick Niceorgaw
you are missing fopen() before calling fwrite() - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 1:50 PM Subject: [PHP] fwrite() - problems > I have a large string that I want to written to a new file. > > Let's

Re: [PHP] Writing to Files

2002-04-05 Thread R'twick Niceorgaw
http://www.php.net/manual/en/function.printf.php try sprintf to format the string and then fwrite I use text files to log debug msgs in my programs as they are not too heavy duty applications. - Original Message - From: "Sebastian A." <[EMAIL PROTECTED]> To: "PHP General List (PHP.NET)"

RE: [PHP] Re: PHP 4.1.2 - does not work. !

2002-04-04 Thread R'twick Niceorgaw
Its working fine for me ... Redhat Linux 7.2 Apache 1.3.24 PHP 4.1.2 Upgraded just this morning -Original Message- From: vins [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 7:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP 4.1.2 - does not work. ! I've had the same proble

[PHP] get_browser() problem ?

2002-03-29 Thread R'twick Niceorgaw
Hi all, I'm trying to get some info from get_browser() function. But, I'm getting a page can not be displayed error. The script is a simple one as give below. My hosting comapny says, get_browser() works on their system and there must be some error in my script but I couldn't find any error. Can s

Re: [PHP] Login displays the pass and user in url

2002-03-25 Thread R'twick Niceorgaw
change the first line to if(!IsSet($stage)){ print(""); HTH - Original Message - From: "David Orn Johannsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 11:16 AM Subject: [PHP] Login displays the pass and user in url Can I some how prevent the browse

Re: [PHP] converting a password database from perl to php

2002-03-22 Thread R'twick Niceorgaw
g a digest::md5() object to encrypt the password and so thought it should be same md5() as in php. If you can guide me to some place where i can look for further info will be of much help to me. Thanks for your time Regards R'twick - Original Message - From: "Rasmus Lerdorf" &l

Re: [PHP] converting a password database from perl to php

2002-03-22 Thread R'twick Niceorgaw
me out with this. Regards R'twick - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "R'twick Niceorgaw" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 22, 2002 11:07 AM Subject: Re: [PHP] converting a password database

[PHP] converting a password database from perl to php

2002-03-22 Thread R'twick Niceorgaw
Hi all, I'm converting a site written in perl to php. It has a member section which is password protected. All the meber passwords are stored in a flat file with Perl's MD5 encryption algorithm. I'm planning to use MYSQL database to store the member info on the new site. However, I have to import

[PHP] Browser Detection without use of browsecap.ini file

2002-03-21 Thread R'twick Niceorgaw
Hi all, is there any way, I can detect the browser without using browsecap.ini file ? I'm simply interested to know if the user using netscape 4.x or earlier. I tried get_browser() function but it returns blank! after checking my server's configuration i found browsecap file setting in uninitial

Re: [PHP] why doesnt this work???

2002-03-20 Thread R'twick Niceorgaw
You need two = signs for comparision not just one . Also I think you need to enclose the variables in double quote. if( $line[1]=="$bruker" and $line[2]=="$passord") echo "hei $bruker."; else echo "FEIL"; > -Original Message- > From: chris [mailto:[EMAIL PROTECTED]] > S

Re: [PHP] Cannot Find php binary

2002-03-19 Thread R'twick Niceorgaw
I believe when you compile php with apxs, it does not create the php binary. You will have to compile php again without the --with-apxs option and then copy the php binary to the place where you want ot put it. HTH R'twick Nicerogaw - Original Message - From: "N. Pari Purna Chand" <[EMA

[PHP] Any one used this company for hosting ?

2002-03-14 Thread R'twick Niceorgaw
Hi all, does any one have any expereince with this company ? http://ciwebhosting.com/ Please feel free to share with me. regards R'twick Niceorgaw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending mail using a password

2002-02-27 Thread R'twick Niceorgaw
I have used phpmailer as my SMTP host also requires authentication. so far working without a problem. -- R'twick Niceorgaw E-Mail: [EMAIL PROTECTED] -- - Original Message -

Re: [PHP] Miliseconds with PHP4

2002-02-22 Thread R'twick Niceorgaw
microtime() ? -- R'twick Niceorgaw E-Mail: [EMAIL PROTECTED] Tel: 617-761-3936 (W) 732-801-3826 (C) 617-328-6423 (R) -- - Original Message - From: "Willi

RE: [PHP] Webhosts

2002-02-13 Thread R'twick Niceorgaw
I have been with aletiahosting for few months and been quite happy with them. if you compare the price/features aletiahosting is a good one. their support is good though been detoriated some how... some members do complain about tickets not been resolved quickly but I never had such an experience

[PHP] passing socket descriptors between pages

2002-01-30 Thread R'twick Niceorgaw
Hi all, Is there any way to open a persistent socket connection in one script using pfsockopen() and then pass the socket descriptor to other scripts using session variable or some thing like that ? Regards R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] strerror and PHP 4.1.1

2002-01-28 Thread R'twick Niceorgaw
gards R'twick Niceorgaw -- 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]

Re: [PHP] help installing php

2002-01-18 Thread R'twick Niceorgaw
I just installed Apache and PHP 4.1.1 on my home computer ( Red hat Linux 7.2) from source and they are isntalled without any problem. If you have already installed apache, then find out the installation directory ( probably /usr/local/apache) and then see if its bin directory is in your path. If

Re: [PHP] URGENT : PHP install error on Solaris 7

2002-01-16 Thread R'twick Niceorgaw
sparc machine. could that be causing any problem ? - Original Message - From: "Dennis Moore" <[EMAIL PROTECTED]> To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>; "php general" <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 1:56 PM

[PHP] URGENT : PHP install error on Solaris 7

2002-01-16 Thread R'twick Niceorgaw
relocation error: file /usr/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced symbol not found ----- R'twick Niceorgaw ( [EMAIL PROTECTED] ) http://www.niceorgaw.com 98C Cedar Lane Highland Park, NJ 089

Re: [PHP] Another question - not exactly what i was looking for

2002-01-15 Thread R'twick Niceorgaw
construct your query like $query = "select * from table where "; lastname='$lastname' and > firstname='$firstname' and age='$age' and weight='$weight'"; if (isset($lastname) and $lastname !="") then $query.=" lastname=$lastname "; if (isset($firstname) and $firstname !="") then $query.=" and firs

  1   2   >