[PHP] assert in php.ini setting.

2002-03-22 Thread S.Murali Krishna
can any one tell me what is this ;assert.active= On ; assert(expr); active by default ;assert.warning = On ; issue a PHP warning for each failed ;assert.bail= Off ; don't bail out by default. ;assert.callback = 0 ; user-function to be called if an assertion ;assert.

[PHP] Stripslashes & addslashes question ...

2002-03-22 Thread John Kelly
Hi, can someone tell me why the following results in evaluated variables with 2 slashes in front of apostrophys instead of one and how I can modify it to only add 1? Thanks! foreach($_POST as $k=>$v){ if (get_magic_quotes_gpc()){ $_POST[$k] = stripslashes($v); } $_POST[$k] = addslashes($v); eval(

Re: [PHP] Re: Tool to remove comments??

2002-03-22 Thread Michael A. Peters
there's also two tools called sed and grep that are available on any unix system. and probably easily gettable on windblows. That can probably remove most comments. Why you would want to remove comments, I don't know. They are very useful in the future when fixing something or changing something

[PHP] Re: Tool to remove comments??

2002-03-22 Thread Julio Nobrega
There's an php obfuscator, http://pobs.mywalhalla.net/, and one of the options is to remove comments. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Oliver Hei

[PHP] Re: [newman] Whats wrong with this MySql Statement?

2002-03-22 Thread Julio Nobrega
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = '$proxy_ip'"); Singles quotes around $proxy_ip? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664

[PHP] Configure PHP during RPM install

2002-03-22 Thread David McInnis
I have installed PHP using the RPM packages from RedHat. Now I need to reconfigure PHP to include more options. Is there a way to include these options when reinstalling the RPM or do I need to ditch the RPM and compile from the source files? David McInnis -- PHP General Mailing List (http:/

Re: [PHP] Perl NewsGroup?

2002-03-22 Thread Don Read
On 23-Mar-2002 David Duong wrote: > I didn't put mailing list I meant Usenet lists. > comp.lang.perl.misc This is not a newbie froup. Read the FAQ, and post your code, or prepare to be flamed to a crackly crunch. Regards, -- Don Read [EMAIL PROTECTED] --

Re: [PHP] Advice needed

2002-03-22 Thread Daniel Tryba
On Sat, Mar 23, 2002 at 05:19:05AM +, James Newkid wrote: > so if $Quantity1 is 10 > and $Price1 is $1.00 > that means each "unit" is .10 > > so the output would be > q1 q2 q3 q5 q10 q15 q20 q25 q50 q100 q300 q500 q600 q10 > 0 0 0 0 .10 .10 .10 .10 .10 .10 .10 .10 .10 .10 > >

[PHP] this mailing list

2002-03-22 Thread Liam
How much data (in Kilobytes) would I receive on  average per month from this list? cheers, Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Retreiving website contents

2002-03-22 Thread Liam
Hi, I've asked this before but I'm still ost. How can I receive the contents of a remote website through PHP and only display one section of it? Someone said something about curl.  What is it, where could I get it? Thanks for your help, Liam -- PHP General Mailing List (http://www.php.ne

[PHP] Re: Drawing graphs - opinions

2002-03-22 Thread michael kimsal
Lee P Reilly wrote: > Hi, > > I see there a number of PHP scripts/libraries out there for the purpose > of graphing data. Which one is considered to be the best, most powerful > / easiest to use? I need to plot X/Y graphs for some data sets with > vertical error margin lines going along the y-axi

[PHP] Re: Advice needed

2002-03-22 Thread michael kimsal
If this is the explanation the other 7 got, I'm not surprised they're stumped. :) You don't seem to explain the formula to determine q100, q300, etc., which bugged me, but the text of your question seems to indicate we don't really need to know this. > Now the tricky part is $Quantity2 can eit

[PHP] Advice needed

2002-03-22 Thread James Newkid
Sorry couldn't think of a better subject for this email :( This has stumped 7 people so far. I'm not an expert with php, but any help would be great. I have the following $Quantity1 $Quantity2 $Quantity3 and $Price1 $Price2 $Price3 These variables will eventually make a "chart"/database wit

[PHP] what's wrong with IE?

2002-03-22 Thread Alexander Javier
why is the $HTTP_POST_VARS array empty if i use IE? when i used NN, everything's ok. please help! - Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards®

[PHP] session problem?

2002-03-22 Thread bob
1.php?2.php session_start(); session_start(); .. .. $_SESSION['a'] =$a; echo $_SESSION['a']; $_SESSION['b'] =$b; echo $_SESSION[

RE: [PHP] FAQ

2002-03-22 Thread Demitrious S. Kelly
I'm willing to help host the project... I'd be on a slack 8 box with a cable connection... only one IP address. It's my home connection so we'd have to share bandwidth... but I think it could be a valuable resource... -Original Message- From: J. Scott Johnson [mailto:[EMAIL PROTECTED]]

[PHP] [newman] Whats wrong with this MySql Statement?

2002-03-22 Thread Philip J. Newman
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = $proxy_ip"); is there anything wrong with this? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Justin French wrote: > $sql = "SELECT * FROM news ORDER BY id DESC LIMIT $limit"; You're forgetting (or just didn't read my code), I'm UPDATE-ing, not SELECT-ing. mysql_num_rows() doesn't work on UPDATE. Anyway, thanks to Rasmus for pointing out my error. -- H | "Life is the art of

Re: [PHP] MySQL query results

2002-03-22 Thread Justin French
FWIW, straight from my code, with a few snips: Justin French -- http://indent.com.au http://soundpimps.com http://hinge.net.au "Ashley M. Kirchner" wrote: > > Rasmus Lerdorf wrote: > > > But did you read the documentation? It states: > > Yes. But, reading it, and my br

RE: [PHP] URL information into a variable

2002-03-22 Thread J. Scott Johnson
Here you go: Scott -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 9:08 PM To: [EMAIL PROTECTED] Subject: [PHP] URL information into a variable How do I take the current URL and turn it into a variable? THANKS!! Phil -- PHP Gener

Re: [PHP] URL information into a variable

2002-03-22 Thread Justin French
Hi, This really is pretty easy to find in the manual. I believe you'd want either $PHP_SELF or $REQUEST_URI, both documented here: http://www.php.net/manual/en/reserved.variables.php Justin French - http://indent.com.au http://soundpimps.com http://hinge.net.au Phil Sc

Re: [PHP] question - display rows

2002-03-22 Thread Justin French
Hi, (untested code) or better still: $value) { // convert $myrow["id"] to $id, etc etc for all fields // much easier to work with!! $$key=nl2br(stripslashes($value)); } echo $id.$heading.$message; } ?> Justin French - http://indent.com.au http://

[PHP] question - display rows

2002-03-22 Thread Phil Schwarzmann
When I want to display a table onto the screen I use this code $query = "SELECT * FROM database"; $result = mysql_query($query); $num_rows = mysql_num_rows($result); for ($i = 0; $i < $num_rows; $i++) { $field1 = mysql_result($result, $i, field1); $field2 = mysql_result($result, $i, field2);

[PHP] URL information into a variable

2002-03-22 Thread Phil Schwarzmann
How do I take the current URL and turn it into a variable? THANKS!! Phil

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Rasmus Lerdorf wrote: > But did you read the documentation? It states: Yes. But, reading it, and my brain actually registering what I was reading, now that's a different story. :) It _is_ Friday after all. Thanks! -- H | "Life is the art of drawing without an eraser." - John Gardner

Re: [PHP] PHP/mySQL hosting

2002-03-22 Thread bvr
go to google, put in 'free mysql hosting', press 'feeling lucky' .. http://www.free-php-hosting.com/ bvr. Daniel Negron/KBE wrote: >Does anyone have a good site for free mySQL and PHP hosting ? > > >**DAN** > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

RE: [PHP] What is the PHP version of Grep?

2002-03-22 Thread Demitrious S. Kelly
Stristr() -Original Message- From: David Duong [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 4:43 PM To: [EMAIL PROTECTED] Subject: [PHP] What is the PHP version of Grep? I was wondering what is the equvilent of the perl coommand: grep. Can you list all the files in a certain

[PHP] What is the PHP version of Grep?

2002-03-22 Thread David Duong
I was wondering what is the equvilent of the perl coommand: grep. Can you list all the files in a certain directory and put it in an array. Can you list all the files with *.htm in a certain directory and put it in an array. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: what is the difference between function and language construct?

2002-03-22 Thread David Duong
empty -- Determines whether a variable is set gives a boolean result. $var = 0; if (empty($var)) { // evaluates true echo '$var is either 0 or not set at all'; } if (!isset($var)) { // evaluates false echo '$var is not set at all'; } I don't think that would work. Try: If you want

Re: [PHP] Perl NewsGroup?

2002-03-22 Thread David Duong
I didn't put mailing list I meant Usenet lists. "Bvr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Why not try www.perl.com ??? > > I found: http://www.perl.com/cs/user/query/q/6?id_topic=50 > > bvr. > > David Duong wrote: > > >This may be the worst plac

Re: [PHP] Does anybody use UltraDev?

2002-03-22 Thread Dan Harrelson
I do, and was just thinking of posing a similar question. My question was specific to the PHAkt app server extension. I've tried it out and think it's great, though limited. For example, my simple project (my very first :) calls for inserts into 2 tables from a single form. Phakt doesn't suppo

Re: [PHP] Create Email POP accounts with PHP

2002-03-22 Thread ....::: rObEr2 :::....
vpopmail? "Dan Harrelson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | I am a newbie and can't tell you how to do it, but I know that the book | I am reading can! Chapter 27 is titled "Building a Web-based Email | Service". The Book is title "PHP and MySQ

Re: [PHP] MySQL query results

2002-03-22 Thread Rasmus Lerdorf
But did you read the documentation? It states: int mysql_affected_rows ( [resource link_identifier]) That's an optional link identifier. You don't feed it a result resource. Just call it without any arguments. The affected rows is tied to a database connection, not a result set. -Rasmus On

Re: [PHP] Create Email POP accounts with PHP

2002-03-22 Thread Dan Harrelson
I am a newbie and can't tell you how to do it, but I know that the book I am reading can! Chapter 27 is titled "Building a Web-based Email Service". The Book is title "PHP and MySQL Web Development" and I like it alot. It was recommended on the mysql.com. http://tangledweb.com.au/ -Dan --

[PHP] Does anybody use UltraDev?

2002-03-22 Thread ....::: rObEr2 :::....
Hey! Does anybody use UltraDev for PHP? Any comments about it? (Personally I go for Visual PHP Studio) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Chris wrote: > oops. i see then my previous mail will not help in this case. wasn't > there something called 'affected_rows'? search the online manual for > 'affected'. I did. Read my reply to Rasmus as well. :) At this rate, I may just say to heck with the $result, and always assume some

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Chris wrote: > > The query does get executed, and the record does get changed. > > seems there is something wrong with the query, can you either echo the query and > feed it directly to mysql, (e.g. in phpmyadmin) see what happens? Nope, the query's fine. I can run it manually, and thro

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Rasmus Lerdorf wrote: > http://www.php.net/manual/en/function.mysql-affected-rows.php Thanks Rasmus. I did try that as well, same result. If I don't bother with the $result, everything's fine. Like I said, the query runs, and gets executed. The DB field gets changed as it should and all.

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
oops. i see then my previous mail will not help in this case. wasn't there something called 'affected_rows'? search the online manual for 'affected'. On 22 Mar 2002 at 17:09, Ashley M. Kirchner wrote: > > After a bit of research: > > -- > Rick Emery wrote: > > > $result = mys

Re: [PHP] MySQL query results

2002-03-22 Thread Rasmus Lerdorf
http://www.php.net/manual/en/function.mysql-affected-rows.php On Fri, 22 Mar 2002, Ashley M. Kirchner wrote: > > After a bit of research: > > -- > Rick Emery wrote: > > > $result = mysql_query(.)' > > mysql_num_rows($result) > > Hrm, this is resulting in: > > Warning: Supp

[PHP] ttf broken?

2002-03-22 Thread Michael A. Peters
Red Hat 7.2 OK- I'm going on ahead w/o T1lib for the moment. compiled and installed php-4.1.2 Now some font stuff is busted. Any image where I use ImageTTFText no longer works. I used these configure options for my php gd functions- --with-zlib=/usr \ --with-gd \ --e

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
On 22 Mar 2002 at 16:41, Ashley M. Kirchner wrote: > Rick Emery wrote: > The query does get executed, and the record does get changed. > > The code looks like this: > > $conn = @MYSQL_CONNECT($host,$user,$password) ; > mysql_select_db($database, $conn); > $query = "UPDATE clients

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
After a bit of research: -- Rick Emery wrote: > $result = mysql_query(.)' > mysql_num_rows($result) Hrm, this is resulting in: Warning: Supplied argument is not a valid MySQL result resource in ./index.php on line 16 Rows -- Rightfully so. mysql_qu

[PHP] Create Email POP accounts with PHP

2002-03-22 Thread Julian
Hello! I want to know how I can create email POP accounts from a script PHP. If somebody can help me, thank ahead of time! Regards! Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ttf broken?

2002-03-22 Thread Michael A. Peters
Red Hat 7.2 OK- I'm going on ahead w/o T1lib for the moment. compiled and installed php-4.1.2 Now some font stuff is busted. Any image where I use ImageTTFText no longer works. I used these configure options for my php gd functions- --with-zlib=/usr \ --with-gd \ --e

RE: [PHP] Variable problem

2002-03-22 Thread Chris
On 22 Mar 2002 at 17:27, Rick Emery wrote: > ${varable}ABC in quotes you can help php with {$(varabl)}ABC > > > -Original Message- > From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 5:21 PM > To: Rick Emery > Subject: Re: [PHP] Variable problem > >

[PHP] Double quotes in form fields and submitting them

2002-03-22 Thread webapprentice
Hi, I have a form with a text field, say userName. I put a value in that has double quotes (i.e. "foobar") and submit this form. On output I have this: The output ends up being a \. How do I keep the double quotes? Thanks, Stephen

Re: [PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
Rick Emery wrote: > $result = mysql_query(.)' > mysql_num_rows($result) Hrm, this is resulting in: Warning: Supplied argument is not a valid MySQL result resource in ./index.php on line 16 Rows The query does get executed, and the record does get changed. The code looks like

Re: [PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
On 22 Mar 2002 at 13:30, Jim Lucas [php] wrote: > how about giving an example of the error message(s)... ok Jim. step by step. 1. parse error on line 36 of include.php. 2. then i fixed the error , even made line 36 empty, so the message should point to line 37. 3. reloaded, and the message

RE: [PHP] MySQL query results

2002-03-22 Thread Rick Emery
$result = mysql_query(.)' mysql_num_rows($result) -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 5:28 PM To: PHP-General List Subject: [PHP] MySQL query results How can I tell whether anything was matched and changed after a

RE: [PHP] Variable problem

2002-03-22 Thread Rick Emery
${varable}ABC -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 5:21 PM To: Rick Emery Subject: Re: [PHP] Variable problem on 3/22/02 6:18 PM, Rick Emery at [EMAIL PROTECTED] wrote: show your code -Original Message- From: L

[PHP] MySQL query results

2002-03-22 Thread Ashley M. Kirchner
How can I tell whether anything was matched and changed after a mysql_db_query? If I'm in MySQL's console and I perform a query, it comes back and tells me something like: Query OK, 0 rows affected (0.00 sec) Rows matched: 0 Changed: 0 Warnings: 0 And if something matched, 'Rows

RE: [PHP] Variable problem

2002-03-22 Thread Rick Emery
show your code -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 5:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Variable problem I have a variable name in a print <<< END and then some text after it. The thing is, php thinks that the text is p

[PHP] Variable problem

2002-03-22 Thread Leif K-Brooks
I have a variable name in a print <<< END and then some text after it. The thing is, php thinks that the text is part of the variable name, which makes the variable, and the text after it, not show up. But, if I put a space, it makes my html not work right. Any ideas? -- PHP General Mailing

Re: [PHP] Maillist

2002-03-22 Thread Ashley M. Kirchner
"Robert V. Zwink" wrote: > Then when someone sends back the $unique_id by clicking on your link, you > can instuct MySQL to disable the record: > > "UPDATE users SET send_email = 'NO' WHERE > MD5(email_address.'ThisIsASecretKey123')=$unique_id " This works...with a small change (or is it a f

RE: [PHP] A Language Script?

2002-03-22 Thread Demitrious S. Kelly
http://vancouver-webpages.com/multilingual/ccodes.txt http://vancouver-webpages.com/multilingual/iso639a.txt This seems like useful information for this purpose... and so I've decided to forward it to the list as well... if this is considered spamming please let me know so that I can avoid it in

[PHP] Re: Drawing graphs - opinions

2002-03-22 Thread Lee P Reilly
Lee P Reilly wrote: > with > vertical error margin lines going along the y-axis. Any recommendations? Ahem, the X axis. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Development Price Inquiry?

2002-03-22 Thread [-^-!-%-
Yeah, I've ran into a few of those customers. It's even worst when you find one that doesn't know what they want, yet have many, sometimes conflicting, restrictions. Thanks, Miles! -john On Fri, 22 Mar 2002, Miles Thompson wrote: > It depends on the project. I generally charge $50/hr

[PHP] Drawing graphs - opinions

2002-03-22 Thread Lee P Reilly
Hi, I see there a number of PHP scripts/libraries out there for the purpose of graphing data. Which one is considered to be the best, most powerful / easiest to use? I need to plot X/Y graphs for some data sets with vertical error margin lines going along the y-axis. Any recommendations? Cheers,

RE: [PHP] FAQ

2002-03-22 Thread J. Scott Johnson
Hi, New poster, no need to flame unnecessarily... Following up on James' original posting, I took 2000 or so message headers from the archive and extracted (Perl, sorry) keywords for about 50% of the postings. This gave the following metrics on problems: 13 table 65 apache 70 a

RE: [PHP] FAQ

2002-03-22 Thread Kevin Stone
Too often novices are expected to know how to find this information by mental telepathy because they either don't know the keywords to search for or don't realize that certain common resources exist. If the list administrators would simply compile a short email containing FAQ and RESOURCE links t

[PHP] GOOD PRACTICE (was: RE: [PHP] A Language Script?)

2002-03-22 Thread Demitrious S. Kelly
I've been watching the lists from time to time and I see a lot of requests for information like this floating around. I wonder if people know of the phpinfo() command... in my experience it's been an invaluable tool to help with little issues that pop up with 'where do I find out XXX about XXX' ma

RE: [PHP] A Language Script?

2002-03-22 Thread Demitrious S. Kelly
$HTTP_ACCEPT_LANGUAGE -Original Message- From: ::: rObEr2 ::: [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] A Language Script? Hey! I want to have my website on English, Spanish and Norwegian so I want to have a PHP script

[PHP] A Language Script?

2002-03-22 Thread ....::: rObEr2 :::....
Hey! I want to have my website on English, Spanish and Norwegian so I want to have a PHP script that sends the user to the page on their language. I've seen some portals doing some PHP things, and sending the user to a 'fancy' URL with the Languange that their Borwser/OS is on. Can someone plea

[PHP] Automatic Language Detection

2002-03-22 Thread ....::: rObEr2 :::....
Hey! I want to have my website on English, Spanish and Norwegian so I want a PHP script that sends the user to the page on their language. I've seen some portals doing some PHP things, and sending the user to a 'fancy' URL with the Languange that their Borwser/OS is on. Can someone please tell

[PHP] Jazz problem

2002-03-22 Thread Sanj
template page at http://www.isbliss.co.nz/beta/mainpages/template.html disregard any linked pages. This will be the template for all the other pages. 1. Could you please tell me why when you hover off or anywhere on this page the "hair salon" button is highlighted. think I have done something t

Re: [PHP] included files not reread by php when i edit the files

2002-03-22 Thread Jim Lucas [php]
how about giving an example of the error message(s)... - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 22, 2002 12:59 PM Subject: [PHP] included files not reread by php when i edit the files > While editing pages, for some reason (defa

Re: [PHP] cron with php as apache module

2002-03-22 Thread Paul Roberts
wget http://your.server.address/phpscript.php did the trick thanks Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Bruce S. Garlock" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 22, 2002 8:55 PM Subject: Re: [PHP] cron with php as

[PHP] T1lib configure broken?

2002-03-22 Thread Michael A. Peters
Red Hat 7.2 t1lib installed in /usr/local I build --with-t1lib=/usr/local build fails saying it can't find /usr/lib/.libs/libt1.so Well, duh! It's in /usr/local/lib (as I specified in config w/ the =/usr/local flag) Anyway- that configure option worked perfect in php-4.0.5 What broke 4.1.2 fr

RE: [PHP] Hi!

2002-03-22 Thread Rick Emery
> How is possible to on an image and run a php function? > Also how is possible to pass some php vars to javascript vars? Can't do it directly. JavaScript is client-side. PHP is server-side. As you execute a PHP script, it will "create" the values for the JavaScript source that PHP is creati

[PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
While editing pages, for some reason (default setting? / configuration problem?) the changes i make in included files (with sometimes quite some nesting) are not recognized when reloading a page. So i see errors that belong to the previous version. What setting could do this? I'm quite sure t

Re: [PHP] cron with php as apache module

2002-03-22 Thread Bruce S. Garlock
Are you specifying the full path in the crontab? If the raq 3 does not have lynx, you might be able to use wget. I'm not too familiar with wget, you may want to read the manpage. Here's how I run PHP scripts from cron, when PHP is compiled as a DSO: 0 8 * * * TERM=xterm; export TERM; /usr/bin/

RE: [PHP] Re: Delete Confirmation

2002-03-22 Thread Boaz Yahav
Do that with JavaScript Using JavaScript to show an OK/Cancel confirmation window http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1364 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From:

Re: [PHP] Sooo close - please help

2002-03-22 Thread charlesk
It looks like gmp_divexact returns a resource which does not appear to be what you want. You may have to access the result somehow to see if it is giving you what you expect. Charles Killmer -- Original Message -- From: "brendan conroy" <[EMAIL PROTECTE

[PHP] Hi!

2002-03-22 Thread savaidis
Hi all! I'm quite new to PHP so I have two questions: How is possible to on an image and run a php function? Also how is possible to pass some php vars to javascript vars? Makis Thessaloniki Greece -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] looking for tutorial on XML parsing of attributes...

2002-03-22 Thread Erik Price
I'm no expert on the XML functions, but post your code and maybe we can figure out what's wrong. Erik On Thursday, March 21, 2002, at 09:24 PM, Scott Brown wrote: > Ok - first off, I've found a few... phpbuilder has a nice number of > references. But every one I've tried has ignored attri

Re: [PHP] FAQ

2002-03-22 Thread Rasmus Lerdorf
So add it those. On Fri, 22 Mar 2002, James Taylor wrote: > The PHP FAQ isn't really specific when it comes to most problems. The 'code' > section has like 10 questions, the rest of the FAQ is mainly how to > download/compile, what do these PHP errors mean, migration, etc. A FAQ that > had answ

RE: [PHP] Maillist

2002-03-22 Thread Robert V. Zwink
Both php and MySQL support MD5(). Consider this: // Define a secret key $secret_key = "ThisIsASecretKey123"; // Take the user's current email address $email_address = "[EMAIL PROTECTED]"; // And create a unique ID $unique_id = md5($email_address.$secret_key); Stick this unique id in the em

Re: [PHP] FAQ

2002-03-22 Thread James Taylor
The PHP FAQ isn't really specific when it comes to most problems. The 'code' section has like 10 questions, the rest of the FAQ is mainly how to download/compile, what do these PHP errors mean, migration, etc. A FAQ that had answers to questions that people ask on this list on a frequent basis

Re: [PHP] cron with php as apache module

2002-03-22 Thread Erik Price
On Friday, March 22, 2002, at 03:16 PM, Paul Roberts wrote: > for lynx, at the command prompt i get > bash: lynx: command not found > > I've also looked in all the obvious places for php but can't find it. > > the server is a cobalt raq 3 and i have a virtual host account so i > can't recompil

[PHP] Sooo close - please help

2002-03-22 Thread brendan conroy
Hi guys, Thanks for reading this. I desperatley need help with this error. I just finished a huge project thats taken me months, my code works, but the code it uses has an error. The project is due Monday and naturally enough the guy who wrote the code with the error is gone on holiday fo

Re: [PHP] IMAGE Manipulation

2002-03-22 Thread James Taylor
Hey, I'm not sure if anyone ever answered your question, but here's a little function I wrote for something similar to what you want to do and it doesn't require GD be installed. You need to modify the top portion, I just threw that in there to show you how it would work. $pic is the name of

Re: [PHP] cron with php as apache module

2002-03-22 Thread Paul Roberts
ok for lynx, at the command prompt i get bash: lynx: command not found I've also looked in all the obvious places for php but can't find it. the server is a cobalt raq 3 and i have a virtual host account so i can't recompile php. maybe I'll rewrite it in Perl. Paul Roberts [EMAIL PROTECTED] +

Re: [PHP] FAQ

2002-03-22 Thread Rasmus Lerdorf
I just don't see what the difference is. This is a PHP mailing list which supposedly gets questions about PHP. Why would the PHP FAQ not be the right place for this? -Rasmus On Fri, 22 Mar 2002, James Taylor wrote: > You are correct sir. The purpose of the FAQ would be so that, like I said,

Re: [PHP] FAQ

2002-03-22 Thread John Fishworld
Yep good idea ! Oh and by the books - a couple of opinions wouldn't be bad either ! regards john > I've been working on that at http://www.php-faq.com/ Want to help? > > > -Original Message- > > From: James Taylor [mailto:[EMAIL PROTECTED]] > > Sent: Friday, March 22, 2002 2:30 PM > > To

RE: [PHP] FAQ

2002-03-22 Thread Robert V. Zwink
This one has been around for awhile, though I don't think its "official". php.faqts.com Robert Zwink http://www.zwink.net/daid.php -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: [PHP] FAQ Has anyone

RE: [PHP] FAQ

2002-03-22 Thread Brian Drexler
Yes, an FAQ would be nice...so would a Manual...Oh wait, there is one, but people just happen to overlook it most of the time :-) I apologize for the sarcasm, but it is Friday! Brian -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 2:50 PM To

RE: [PHP] FAQ

2002-03-22 Thread Matt Schroebel
I've been working on that at http://www.php-faq.com/ Want to help? > -Original Message- > From: James Taylor [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 2:30 PM > To: [EMAIL PROTECTED] > Subject: [PHP] FAQ > > Has anyone given any thought to possibly maintaining a FAQ > c

RE: [PHP] Maillist

2002-03-22 Thread Rick Emery
I think PHP's uniqid() will suit your purposes. Look in the Miscellaneous Functions section of the manual. -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 11:38 AM To: PHP-General List Subject: [PHP] Maillist I need to send out s

Re: [PHP] FAQ

2002-03-22 Thread James Taylor
You are correct sir. The purpose of the FAQ would be so that, like I said, similar questions that pop up say, once a week, could be answered in the FAQ instead of on the list - That way I won't get 300 messages a day :) On Friday 22 March 2002 11:36 am, you wrote: > Despite what Rasmus just sa

[PHP] store locator/zip code question...

2002-03-22 Thread Kelly Meeks
Hi folks, I've got a client that wants to show users dealers of their products based on mileage from their location. I've seen this done, and I assume it's based on either a database relating the zip info to miles, or to some kind of hash on the zipcode itself. Anyone have any experience with

Re: [PHP] FAQ

2002-03-22 Thread Rasmus Lerdorf
That's a FAQ (did you try the obvious? http://php.net/faq) On Fri, 22 Mar 2002, James Taylor wrote: > Has anyone given any thought to possibly maintaining a FAQ containing the > answers to the most commonly asked PHP questions on this list? I notice > duplicates roll through every couple of da

[PHP] FAQ

2002-03-22 Thread James Taylor
Has anyone given any thought to possibly maintaining a FAQ containing the answers to the most commonly asked PHP questions on this list? I notice duplicates roll through every couple of days, and it would probably be a really nice PHP resource. Or, does one already exist? Ha. -- PHP General

RE: [PHP] Forcing little endian with pack("d");

2002-03-22 Thread Mika Tuupola
On Fri, 22 Mar 2002, Mike Eynon wrote: > I have looked through the pack code in php-4.1.2. There appear to be no > other options other than what is documented on the php.net pack function > page. There appears to be no way of specifying endian-ness for floats or > doubles using pack. They are

Re: [PHP] cron with php as apache module

2002-03-22 Thread Analysis & Solutions
Even if you can't get, or don't want to bother getting, PHP as a standalone CGI type program, you can still execute via crontab. Make a web page that you want to have run, then put something along the lines of: lynx http://localhost/scriptname.php as the command in the crontab file. Do note

[PHP] Rollover not functioning

2002-03-22 Thread Joshua E Minnie
Does anyone have any idea why adding PHP into an HTML page would cause a rollover (not even within the PHP script) to not function? The thing is, I have done the same thing on various other pages, but this is the only page that does it. I tried removing the PHP script from the page, and the roll

RE: [PHP] Forcing little endian with pack("d");

2002-03-22 Thread Mike Eynon
I have looked through the pack code in php-4.1.2. There appear to be no other options other than what is documented on the php.net pack function page. There appears to be no way of specifying endian-ness for floats or doubles using pack. They are copied to the output stream using a simple mem

RE: [PHP] cron with php as apache module

2002-03-22 Thread Hunter, Ray
Yeah, Compile php first as CLI, move the contents of the bin directory to where you want them, and then compile php again for the apache module. In the bin directory you will have a php executable file which you can use for your cli apps. In your php files that you want to run as crons then ad

Re: [PHP] Desperate!!!!!!! Resource id #24 - error???????????

2002-03-22 Thread Jason Wong
Thank you for (mis)placing your faith in me. But if you want a better quality of help you should write to the list and not to any one individual. On Saturday 23 March 2002 02:44, brendan conroy wrote: > OK here goes, Im pretty sure the error is in the monic function, thanks for > your time on

RE: [PHP] cron with php as apache module

2002-03-22 Thread Darren Gamble
Good day, Most Linux packages also install the php binary as part of the distribution (I know Redhat does). Look in /usr/local/bin (or other common places) to see if the executable "php" has been installed. If it is, you're set. Just run the script as if it were a .cgi . Instructions are on ph

  1   2   >