[PHP] Pipe an email to PHP

2003-08-26 Thread Thomas Tremain
I'm sure this question has been visited before, but I've had some troubles searching through the archives. This is at least a two part question. I wish to use a pipe instead of the pop3 class, because I wish the email to start the script instead of waiting for a cronjob. 1) The pipe itse

RE: [PHP] OO PHP question

2003-08-26 Thread Ralph Guzman
http://www.php.net/oop http://php.resourceindex.com/Documentation/Class_Design_and_OOP/ http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i ndex.html -Original Message- From: Mike Zornek [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:01 AM To: [EMAIL P

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
Curt Zirzow on Tuesday, August 26, 2003 11:26 AM said: > Like what happens if for some reason the constraint gets dropped? > having your progam rely on the constraint will cause all data > integrity to go to hell. In that case I hope you're also incrementing your ow

Re: [PHP] PHP Interview questions

2003-08-26 Thread Gabriel Guzman
On Tue, 2003-08-26 at 10:00, CPT John W. Holmes wrote: > PHP is server side, so it obviously cannot control light bulbs. Use > javascript. maybe the lightbulbs are connected to the server :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Interview questions

2003-08-26 Thread Gabriel Guzman
On Tue, 2003-08-26 at 10:36, Ray Hunter wrote: > Everyone has given some great information. I have some ideas i would > like to throw into the mix too. > > Here are some topics: > > 1. Questions regarding HTTP protocols. (SSL) One that was we like to use is: Describe an HTTP header. Most pe

Re: [PHP] HIPAA EDI X12 stuff?

2003-08-26 Thread Cesar Cordovez
Is this related with HIPPA compliance? I'm VERY interested too... Richard Lynch wrote: I don't suppose anybody has any HIPAA stuff implementing something like: ASC X12N 270/271 (004010X092) or its subsequent standards in PHP?... Email off-list if you have any idea what I'm talking about, since *

[PHP] PHP if exit Q

2003-08-26 Thread jsWalter
If I am in a second level IF conditional and it failes, I want to jump out of the parent IF. How can I do that? Thanks Walter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help - past deadline

2003-08-26 Thread David Otton
On Tue, 26 Aug 2003 12:39:53 -0500, you wrote: > > $row[0]; ?> > Missing > >Jay Fitzgerald, Design Director >- Certified Professional Webmaster (CPW-A) >- Certified Professional Web Designer (CPWDS-A) >- Certified Professional Web Developer

Re: [PHP] webserver for mac

2003-08-26 Thread Richard Baskett
on 8/26/03 10:50 AM, Edward Peloke at [EMAIL PROTECTED] wrote: > Hello all, > > I am doing some php work for a local company who uses a mac. I was telling > them that I use apache as my webserver and they want to know what they can > use as their webserver. I know nothing about Macs and don't t

RE: [PHP] Need help - past deadline

2003-08-26 Thread Chris W. Parker
Jay Fitzgerald on Tuesday, August 26, 2003 10:40 AM said: Whoops! Sent that first one prematurely. heh... > can someone please look at my code below and tell me why it is only > working half-way? What does print_r($row) show you? Chris. -- PHP General Mailing L

Re: [PHP] PHP Interview questions

2003-08-26 Thread Curt Zirzow
* Thus wrote Richard Baskett ([EMAIL PROTECTED]): > on 8/26/03 9:57 AM, Robert Cummings at [EMAIL PROTECTED] wrote: > > > This smells like a trick question... Are the switches connected to the > > same light bulb? You've only mentioned one light bulb? 8) > > > > Cheers, > > Rob. > > > > > > On

RE: [PHP] need help - past deadline

2003-08-26 Thread Jay Blanchard
[snip] $sql = "SELECT seat, alias FROM attendees"; $sql_result = mysql_query($sql,$connection) or die("Couldn't execute query."); $row = mysql_fetch_array($sql_result); $myseat = array('70','71','72','73','74','75','76','77','78','79','80','81','82',' 83','84'); $i = 70; foreach ($myseat as $sea

RE: [PHP] Website templating schemes

2003-08-26 Thread Chris W. Parker
Russell P Jones on Tuesday, August 26, 2003 10:44 AM said: > Agreed with John W. Homes regarding his method of website templating. > It is used in that fashion for all sites run by demcampaigns.com and > www.collegedems.com In that case it CAN'T be a good idea! HAR

Re: [PHP] webserver for mac

2003-08-26 Thread andu
On Tue, 26 Aug 2003 13:50:27 -0400 [EMAIL PROTECTED] (Edward Peloke) wrote: > Hello all, > > I am doing some php work for a local company who uses a mac. I was > telling them that I use apache as my webserver and they want to know > what they can use as their webserver. I know nothing about Mac

Re: [PHP] verifying sql INSERTs

2003-08-26 Thread Curt Zirzow
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]): > Marek Kilimajer > on Tuesday, August 26, 2003 3:59 AM said: > > > mysql_query() will return true for queries that don't return rows and > > were executed without error, so you can use > > return mysql_query(); > >

Re: [PHP] webserver for mac

2003-08-26 Thread Mark Bomgardner
[PHP] webserver for macIf your company is using MAC OS X, apache is the built in webserver. If they are using less than that, apache is not going to work. I would suggest that you have your client use OS X. You can use the single user version if you are going to host just one site, if it's go

RE: [PHP] Need help - past deadline

2003-08-26 Thread Chris W. Parker
Jay Fitzgerald on Tuesday, August 26, 2003 10:40 AM said: > can someone please look at my code below and tell me why it is only > working half-way? It is only displaying radio buttons and seats for > numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing >

Re: [PHP] webserver for mac

2003-08-26 Thread Larry E . Ullman
what do mac owners use for a webserver? OS X users (Server and Client) use Apache 1.x, which is built-in. People with earlier versions of the operating system (OS 9 and earlier) used WebStar (I don't know if it supports PHP) or WebTen by Tenon (which is just a version of Apache and does support

[PHP] OO PHP question

2003-08-26 Thread Mike Zornek
I'm just beginning a new PHP system and would like to do it in an OO way. I'm having trouble getting my head around how I should store the data in the MySQL db. I mean do I build model objects in PHP and put logic right in the model so anytime I set a property of the object it makes the change to t

[PHP] Suggest a portal management system ?

2003-08-26 Thread fatih olcer
can you please suggest a portal management system that is: - bug free - open source - modular and with a good interface thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mac web server

2003-08-26 Thread Edward Peloke
ok, please excuse my last question, I see you can use apache on a mac per the phpmac site. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Interview questions

2003-08-26 Thread Michael A Smith
CPT John W. Holmes wrote: From: "Jay Blanchard" <[EMAIL PROTECTED]> Also ask a couple of other questions that require thought, but have nothing else to do with code. such as... In one room you have 3 light switches, each connected to one light bulb in another room. How many trips must you make

Re: [PHP] Website templating schemes

2003-08-26 Thread Russell P Jones
Agreed with John W. Homes regarding his method of website templating. It is used in that fashion for all sites run by demcampaigns.com and www.collegedems.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need help - past deadline

2003-08-26 Thread Jay Fitzgerald
can someone please look at my code below and tell me why it is only working half-way? It is only displaying radio buttons and seats for numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing seat # 76 since that is the one in the database between seats 81 and 83why is this happene

Re: [PHP] PHP Interview questions

2003-08-26 Thread Ray Hunter
Everyone has given some great information. I have some ideas i would like to throw into the mix too. Here are some topics: 1. Questions regarding HTTP protocols. (SSL) 2. Questions regarding the server that you will be deploying on. If you are deploying to apache or iis they should be familia

[PHP] webserver for mac

2003-08-26 Thread Edward Peloke
Hello all, I am doing some php work for a local company who uses a mac. I was telling them that I use apache as my webserver and they want to know what they can use as their webserver. I know nothing about Macs and don't think you an run apache but I may be all wrong...what do mac owners use for

[PHP] need help - past deadline

2003-08-26 Thread Jay Fitzgerald
can someone please look at my code below and tell me why it is only working half-way? It is only displaying radio buttons and seats for numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing seat # 76 since that is the one in the database between seats 81 and 83why is this happene

[PHP] Back button issue

2003-08-26 Thread Tom Tsongas
Hello folks. I seem to be encountering a strange problem with one of my PHP pages. I have a form page that has textfields, textareas, pulldowns and menulists on it that the user uses to set up a query to scan for data on our database. After they run the query, they often hit the Back button to

[PHP] Re: Details

2003-08-26 Thread L-Soft list server at PEACH.EASE.LSOFT.COM (1.8e)
> See the attached file for details Unknown command - "SEE". Try HELP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] please help past deadline

2003-08-26 Thread Jay Fitzgerald
can someone please look at my code below and tell me why it is only working half-way? It is only displaying radio buttons and seats for numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing seat # 76 since that is the one in the database between seats 81 and 83why is this happe

Re: [PHP] PHP Interview questions

2003-08-26 Thread Richard Baskett
on 8/26/03 9:57 AM, Robert Cummings at [EMAIL PROTECTED] wrote: > This smells like a trick question... Are the switches connected to the > same light bulb? You've only mentioned one light bulb? 8) > > Cheers, > Rob. > > > On Tue, 2003-08-26 at 12:35, Jay Blanchard wrote: >> Also ask a couple of

RE: [PHP] PHP Interview questions

2003-08-26 Thread Brian S. Drexler
Each connected to a different light bulb, 3 switches, 3 bulbs. Not exactly rocket science here people. :-) -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 12:57 PM To: Jay Blanchard Cc: CPT John W. Holmes; Micheal Harris; [EMAIL PROTECTED]

[PHP] dynamical balancing text in two colums

2003-08-26 Thread Dynamical.biz
Hi, I've been dealing withs this question: I've never seen dynamical balanced text in two colums in a web so this the challenge. html formated text is stored in a database, conetion and placed into a variable i.e.: $text = "http://www.lamundial.net/img/labordeta.jpg"; align=left border=0>efe.Zara

RE: [PHP] PHP Interview questions

2003-08-26 Thread Jay Blanchard
[snip] > In one room you have 3 light switches, each connected to one light bulb > in another room. How many trips must you make to determine which switch > is connected to which light bulb? PHP is server side, so it obviously cannot control light bulbs. Use javascript. [/snip] That really did ma

RE: [PHP] PHP Interview questions

2003-08-26 Thread Jay Blanchard
[snip] This smells like a trick question... Are the switches connected to the same light bulb? You've only mentioned one light bulb? 8) [/snip] I should have been clearer. There are 3 light bulbs, each connected to one of 3 switches. Replies are coming in off-list as well. :) I have more like thes

Re: [PHP] Website templating schemes

2003-08-26 Thread CPT John W. Holmes
From: "Joel Konkle-Parker" <[EMAIL PROTECTED]> > I'm trying to make a PHP-backed website, and I'm trying to decide between two > templating schemes: > > 1. define 2 php template files: header.php, footer.php. in index.php, require > header.php, output content, require footer.php > > 2. define a p

Re: [PHP] verifying sql INSERTs

2003-08-26 Thread CPT John W. Holmes
From: "Chris W. Parker" <[EMAIL PROTECTED]> > I should instead just try to perform the INSERT and then if it fails I > know I've already got a record. If it doesn't I know everything is cool. If it is a certain kind of failure, then you have a duplicate, otherwise it could be another type of fail

Re: [PHP] PHP Interview questions

2003-08-26 Thread CPT John W. Holmes
From: "Jay Blanchard" <[EMAIL PROTECTED]> > Also ask a couple of other questions that require thought, but have > nothing else to do with code. such as... > > In one room you have 3 light switches, each connected to one light bulb > in another room. How many trips must you make to determine which

RE: [PHP] Website templating schemes

2003-08-26 Thread Chris W. Parker
Joel Konkle-Parker on Tuesday, August 26, 2003 9:26 AM said: > I'm currently using the second method, but I've only seen the first > used elsewhere. Is there a reason that #1 is better than #2 (or is > anything else even better than that?)? Thought about using Smart

Re: [PHP] how to keep decimals from rounding

2003-08-26 Thread Rob Yelvington
Curt, thanks for the reply and the suggestion. Truncating is exactly what I will do. Thanks! ~Rob Curt Zirzow wrote: * Thus wrote Rob Yelvington ([EMAIL PROTECTED]): Is there a way to surpress round() or number_format() from rounding decimal places? I have a value of ".253338" being returne

RE: [PHP] PHP Interview questions

2003-08-26 Thread Robert Cummings
This smells like a trick question... Are the switches connected to the same light bulb? You've only mentioned one light bulb? 8) Cheers, Rob. On Tue, 2003-08-26 at 12:35, Jay Blanchard wrote: > Also ask a couple of other questions that require thought, but have > nothing else to do with code. su

Re: [PHP] Serve a file using PHP

2003-08-26 Thread CPT John W. Holmes
From: "Grant Rutherford" <[EMAIL PROTECTED]> > Is there a way that PHP can allow a user to browse the files on the > server's network, and ultimately send the file to the user? > > I'm making a database interface with PHP to be used internally on our > network. Through a PHP interface, the user wa

RE: [PHP] SMTP - Authorization?

2003-08-26 Thread Mathiau
Another life saver! This news group is great! Thnx. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 12:09 AM To: Mathiau Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SMTP - Authorization? Hello, On 08/25/2003 09:34 PM, Mathiau wrote: > basicall

RE: [PHP] PHP Interview questions

2003-08-26 Thread Javier Tacon
Yes, I gree with all. To test their mySql level, you can show them two tables, and the results from a join between the two tables, so you ask them for what is the SELECT statement to get that results. Example .. Table1: ++-+-+--+ | id | name| surname | depa

RE: [PHP] PHP Interview questions

2003-08-26 Thread Jay Blanchard
[snip] I say you should send them to the list and let us grill them!! We'll sort out the riff-raff.. :) [/snip] Hear! Hear! :) Also ask a couple of other questions that require thought, but have nothing else to do with code. such as... In one room you have 3 light switches, each connected to one

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
Marek Kilimajer on Tuesday, August 26, 2003 3:59 AM said: > mysql_query() will return true for queries that don't return rows and > were executed without error, so you can use > return mysql_query(); > You should also make a UNIQUE index on email column, then you ca

Re: [PHP] Serve a file using PHP

2003-08-26 Thread [EMAIL PROTECTED]
Hello, Bit suprised that mozilla didn't let you access the file using the 'file://' notation. Did you actually use three slashes? ie it should be 'file:///home/grant' and not 'file://home/grant/' There isn't any other way in which you can use PHP to access files on a hard disk. PHP is a server

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Hmm.. who knows, Ive wasted to much time on this silly problem. I appreciate your help Curt, thanks. "Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Fixed the problem using "s" pattern modifier: '/regexp/s', without it, it > still hangs using '(.|\n)' in the pat

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
John W. Holmes on Monday, August 25, 2003 5:37 PM said: > You should use mysql_error() to ensure your query did not fail for any > reason. Assuming the query was successful, you can use > mysql_affected_rows() to see if it actually had any impact on the > database, i

[PHP] Website templating schemes

2003-08-26 Thread Joel Konkle-Parker
I'm trying to make a PHP-backed website, and I'm trying to decide between two templating schemes: 1. define 2 php template files: header.php, footer.php. in index.php, require header.php, output content, require footer.php 2. define a php template file and a local page file. index.php defines bod

[PHP] Serve a file using PHP

2003-08-26 Thread Grant Rutherford
Hello, Is there a way that PHP can allow a user to browse the files on the server's network, and ultimately send the file to the user? I'm making a database interface with PHP to be used internally on our network. Through a PHP interface, the user wants to browse their network and find a file

Re: [PHP] preg_match bug

2003-08-26 Thread Curt Zirzow
* Thus wrote Christian Calloway ([EMAIL PROTECTED]): > Certainly. > > It crashes out when attempting to parse large files. My resource limits are > set to 20m in the php.ini file, so thats not the issue. I tried this with a 10MB html file that found 1160 matches. It might be specific to your html

Re: [PHP] PHP Interview questions

2003-08-26 Thread CPT John W. Holmes
From: "Micheal Harris" <[EMAIL PROTECTED]> > I am in the process of hiring someone that needs to have extensive PHP and > MySQL experience. Does anyone have any suggestions for interview questions? > I have no PHP or MySQL experience, and come from a non-technical background. > I want the question

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Fixed the problem using "s" pattern modifier: '/regexp/s', without it, it still hangs using '(.|\n)' in the pattern. "Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Errors are not being logged on my XP Pro box (error logging is on) > > "Curt Zirzow" <[EMAIL PROTE

Re: [PHP] Controlling Access

2003-08-26 Thread David Otton
On Tue, 26 Aug 2003 08:44:59 -0700, you wrote: >I have an application that consists of some 30 php modules. Each one links >to another, as you can imagine. How can I create a security mechanism that >only allows the modules in my system to be called from one-another? I do >nto want any of the

Re: [PHP] case insensitive sort

2003-08-26 Thread Marek Kilimajer
It right there under your nose: strcasecmp() Steve Buehler wrote: I am using the following function for a sort on an array. I hope someone can help me out here and let me know how to change it to make it a "case insensitivie" sort. Right now, it is "case sensitive" so the sort of the array wi

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Errors are not being logged on my XP Pro box (error logging is on) "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Christian Calloway ([EMAIL PROTECTED]): > > Hey I wanted to see if anyone was getting the same problem. Using preg_match > > in the following

RE: [PHP] Controlling Access

2003-08-26 Thread Javier Tacon
You can play with a $_SESSION var, .. Imagine that you have the file a.php with .. And you want b.php that can only be executed after a.php: And so ... -Mensaje original- De: Doug Wolfgram [mailto:[EMAIL PROTECTED] Enviado el: martes, 26 de agosto de 2003 17:45 Para: [EMAIL PROTECT

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Certainly. It crashes out when attempting to parse large files. My resource limits are set to 20m in the php.ini file, so thats not the issue. (.|\n)+?%"; $matches = array(); // output number of matches echo preg_match_all($reg, $fileBuffer, $matches); ?> "Curt Zirzow" <[EMAIL PROTECTED]> wrot

Re: [PHP] MD5 System Password check with PHP

2003-08-26 Thread Burhan
Quoting Justin French <[EMAIL PROTECTED]>: > Burhan, > > Please try to quote the right person when replying to a thread -- your > messages was, I assume, intended for Chinmoy Barua, not me. > > It saves confusion, and keeps the thread more useful and easier to > follow. My apologies Justin, I

Re: [PHP] case insensitive sort

2003-08-26 Thread Steve Buehler
Ok. Now I REALLY feel like an idiot. Thanks so much for your help. Steve At 05:46 PM 8/26/2003 +0200, you wrote: It right there under your nose: strcasecmp() Steve Buehler wrote: I am using the following function for a sort on an array. I hope someone can help me out here and let me know how

Re: [PHP] if seat is sold

2003-08-26 Thread Jim Lucas
here is that code I talked about "; } else { echo ""; echo ""; echo $alphabet[($i / $rowCount)]; echo ""; echo ""; } if(in_array($val, $taken)) { echo "{$val}"; } else { echo " {$val}"; } if($i % $rowCount + 1) echo ""; else echo ""; } echo

[PHP] Controlling Access

2003-08-26 Thread Doug Wolfgram
I have an application that consists of some 30 php modules. Each one links to another, as you can imagine. How can I create a security mechanism that only allows the modules in my system to be called from one-another? I do nto want any of the modules to be called by typing them on the address b

Re: [PHP] PHP Interview questions

2003-08-26 Thread Peter James
Even better than questions, make a one or two hour case study. Have them demonstrate their ability. 1. How would you solve X problem? 2. What do you think about Y? 3. Write some code to solve Z? A good place for ideas for case studies might be codewalkers, weberdev, or php-editors. There's a bi

[PHP] case insensitive sort

2003-08-26 Thread Steve Buehler
I am using the following function for a sort on an array. I hope someone can help me out here and let me know how to change it to make it a "case insensitivie" sort. Right now, it is "case sensitive" so the sort of the array will put the Capital letters first. Here are the results of the sear

[PHP] PHP Interview questions

2003-08-26 Thread Micheal Harris
Hello All, I am in the process of hiring someone that needs to have extensive PHP and MySQL experience. Does anyone have any suggestions for interview questions? I have no PHP or MySQL experience, and come from a non-technical background. I want the questions to be technical, but I am unsusre a

Re: [PHP] math functions?

2003-08-26 Thread Amanda McComb
Perfect! Thanks! On Tue, 26 Aug 2003, CPT John W. Holmes wrote: > From: "Amanda McComb" <[EMAIL PROTECTED]> > > > > I am having trouble finding math functions on php.net. I am also getting > > "page not found" errors when trying to search. > > > > Basically, I'm looking for a mod or divis

Re: [PHP] math functions?

2003-08-26 Thread Amanda McComb
The reason was because we are having intermittent network problems and I was unable to search for it. That's why I was asking for a place to find math functions. I also asked for a "mod" function, which in most languages is short for modulus. On 26 Aug 2003, Robert Cummings wrote: > Is there

Re: [PHP] problem passing variable between forms.

2003-08-26 Thread Chris Shiflett
--- Angelo Zanetti <[EMAIL PROTECTED]> wrote: > I pass this variable to the next page using POST I receive the > variable and use it, no problem, but then when I try to pass it > to the next form in the URL (using an A HREF: > > ) ... > My register_globals is off. Read back through your questio

Re: [PHP] Re: math functions?

2003-08-26 Thread Robert Cummings
Just to be precise, modulus does NOT return true and false. Given A%B it returns the remainder after dividing B into A. This happens to be equivalent to false when there is no remainder, and equivalent to true when there is a remainder. Cheers, Rob. On Tue, 2003-08-26 at 11:11, Kae Verens wrote:

Re: [PHP] if seat is sold

2003-08-26 Thread Jim Lucas
on a side note, you realize that you could loose all all of the while loops and replace them with two or three nested foreach() loops? Build yourself one big array and loop through it. If you need any advice, drop me a note. Jim Lucas - Original Message - From: "Jay Fitzgerald" <[EMAIL

Re: [PHP] math functions?

2003-08-26 Thread CPT John W. Holmes
From: "Amanda McComb" <[EMAIL PROTECTED]> > I am having trouble finding math functions on php.net. I am also getting > "page not found" errors when trying to search. > > Basically, I'm looking for a mod or division function - something I can > use to tell me when a number is evening divisable b

[PHP] Re: Image Magick

2003-08-26 Thread Kae Verens
Mike At Spy wrote: Anyone here familiar with the installation of Image Magick and what files it installs on your machine? I had an admin put it on, and then took it off - but took it off by removing what she thought were all of the files related to it. I just found some files I think that are. Th

Re: [PHP] math functions?

2003-08-26 Thread Robert Cummings
Is there some reason you can't use the modulus operator? http://www.php.net/manual/en/language.operators.arithmetic.php Cheers, Rob. On Tue, 2003-08-26 at 11:07, Amanda McComb wrote: > I am having trouble finding math functions on php.net. I am also getting > "page not found" errors when tryin

[PHP] Re: math functions?

2003-08-26 Thread Kae Verens
Amanda McComb wrote: I am having trouble finding math functions on php.net. I am also getting "page not found" errors when trying to search. Basically, I'm looking for a mod or division function - something I can use to tell me when a number is evening divisable by a certain number. % is the mod o

[PHP] Re: php and var statics

2003-08-26 Thread Alvaro Martinez
Ok, I correct the two mistakes but it doesnt works yet. What is character & for? Alvaro - Original Message - From: "Greg Beaver" <[EMAIL PROTECTED]> To: "Alvaro Martinez" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 3:58 PM Subject: Re: php and var statics

[PHP] math functions?

2003-08-26 Thread Amanda McComb
I am having trouble finding math functions on php.net. I am also getting "page not found" errors when trying to search. Basically, I'm looking for a mod or division function - something I can use to tell me when a number is evening divisable by a certain number. Thanks! Amanda -- PHP General M

[PHP] Re: pear problem

2003-08-26 Thread Catalin Trifu
Hi, Did you added the /usr/php/pear/share/pear in the php.ini include_path option ? Besides the mime is part of Mail_Mime extension and SOAP needs some extensions too (don't remember exactly which) so check if all requirements are met. btw! what's the error message when it cras

RE: [PHP] imap problem

2003-08-26 Thread Jay Blanchard
[snip] yes [/snip] Have you checked that PHP has IMAP enabled by loading up a phpinfo() page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pear problem

2003-08-26 Thread Moritz Steiner
I've a problem with pear, only the DB.php and the Mail.php are working, all the others I installed don't work. Installed packages: === Package Version State DB 1.5.0RC1 stable HTTP_Request 1.1.1stable Mail 1.1.1stable Mail_Mime1.2.1stable Ne

FW: [PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
-Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 9:29 AM To: 'Marek Kilimajer' Subject: RE: [PHP] XmlRPC - Server did not understand request Well that fixed it. *Slaps head*. I guess I should have noticed that. Sorry for such a retarded que

AW: [PHP] imap problem

2003-08-26 Thread Moritz Steiner
yes -Ursprüngliche Nachricht- Von: Jay Blanchard [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26. August 2003 16:23 An: Moritz Steiner; PHP Betreff: RE: [PHP] imap problem [snip] I downloaded imap as indicated on php.net/imap, compiled it, and recompiled php with --with=imap. Ok everyt

[PHP] Image Magick

2003-08-26 Thread Mike At Spy
Anyone here familiar with the installation of Image Magick and what files it installs on your machine? I had an admin put it on, and then took it off - but took it off by removing what she thought were all of the files related to it. I just found some files I think that are. They are located in

RE: [PHP] imap problem

2003-08-26 Thread Jay Blanchard
[snip] I downloaded imap as indicated on php.net/imap, compiled it, and recompiled php with --with=imap. Ok everything worked fine, no error messages, but when I call the function imap_open() I get the following: Fatal error: Call to undefined function: imap_open() in /usr/apache/htdocs/mail.php

Re: [PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Marek Kilimajer
Donald Tyler wrote: sending http request: POST Test_Server/XML/PHP_Servers/XMLTEST.php HTTP/1.0 should be POST /Test_Server/... (asuming Test_Server is a directory) User-Agent: xmlrpc-epi-php/0.2 (PHP) Host: localhost:80 should be Host: localhost Content-Type: text/xml Content-Length: 111 test

[PHP] imap problem

2003-08-26 Thread Moritz Steiner
I downloaded imap as indicated on php.net/imap, compiled it, and recompiled php with --with=imap. Ok everything worked fine, no error messages, but when I call the function imap_open() I get the following: Fatal error: Call to undefined function: imap_open() in /usr/apache/htdocs/mail.php on lin

[PHP] Re: Checking for Javascript funcionality

2003-08-26 Thread Kae Verens
Hecchan wrote: I do something similar to this at http://contactjuggling.org/ if the server thinkks JavaScript is set, then it uses the above to make sure. Otherwise, it puts this in the header: document.location="/?s=1" Kae -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] problem passing variable between forms.

2003-08-26 Thread Lowell Allen
> I have a form in which I have a table with dynamic checkboxes, they are in a > checkbox array ( name = chk[]...), I pass this variable to the next page > using POST I receive the variable and use it, no problem, but then when I > try to pass it to the next form in the URL (using an A HREF: > >

[PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
Thanks to the excellent help from someone at Full Data Systems (Thank you!), I finally managed to get the XmlRPC extension working on my windows PHP installation. I am not trying to send any params at the moment, all I want to do is get a valid response. However, now when I try and run the script

Re: [PHP] problem passing variable between forms.

2003-08-26 Thread CPT John W. Holmes
- Original Message - From: "Angelo Zanetti" <[EMAIL PROTECTED]> > I have a form in which I have a table with dynamic checkboxes, they are in a > checkbox array ( name = chk[]...), I pass this variable to the next page > using POST I receive the variable and use it, no problem, but then wh

[PHP] Re: php and var statics

2003-08-26 Thread Greg Beaver
Alvaro Martinez wrote: I have written this code: class db{ var $_miInstancia; function db (){ // funcion que se conecta con la BBDD static $miInstancia; $this->_miInstancia=&$miInstancia; $result = @mysql_pconnect("inforalv", "discot

[PHP] problem passing variable between forms.

2003-08-26 Thread Angelo Zanetti
HI all I have a form in which I have a table with dynamic checkboxes, they are in a checkbox array ( name = chk[]...), I pass this variable to the next page using POST I receive the variable and use it, no problem, but then when I try to pass it to the next form in the URL (using an A HREF: )

Re: [PHP] Cannot pass values from one page to another

2003-08-26 Thread [EMAIL PROTECTED]
what's your register globals settings? did you try to retrieve from HTTP_COOKIE_VARS ? murugesan wrote: Thanks for the message. I looked into the manual. But it is not working. Ofcourse I used session_start in every pages. -murugesan - Original Message - From: "Jay Blanchard" <[EMAIL PRO

Re: [PHP] user verification with apache/php question

2003-08-26 Thread David Otton
On Tue, 26 Aug 2003 11:48:22 -0700, you wrote: >I want to password protect a directory with a .htaccess file. But i don't >want to use the (ugly) browser popup login window. > >Is there a way that php sends the password/login data to apache so that the >browser popup won't show up? Chapter 16 in

[PHP] Checking for Javascript funcionality

2003-08-26 Thread hecchan
Hi people, I think is the PHP scripter needs to know in advance if he can count on Client-side scripting capability. I just start with PHP but wrote this chunk of code to check it. if (isset($_REQUEST['UA_js'])) { session_start(); $_SESSION['UA_js'] = $_REQUEST['UA_js']; if ($_SESSION['UA_js

[PHP] php and var statics

2003-08-26 Thread Alvaro Martinez
I have written this code: class db{ var $_miInstancia; function db (){ // funcion que se conecta con la BBDD static $miInstancia; $this->_miInstancia=&$miInstancia; $result = @mysql_pconnect("inforalv", "discoteca", "password");

Re: [PHP] Cannot pass values from one page to another

2003-08-26 Thread murugesan
Thanks for the message. I looked into the manual. But it is not working. Ofcourse I used session_start in every pages. -murugesan - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "murugesan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 5:23 PM

RE: [PHP] Cron time to activate mail and error handling

2003-08-26 Thread Jay Blanchard
[snip] 1. We want to activate cron to wake up at certain time. We do not know how to configure the time for waking up? [/snip] cron should be "active" all of the time. Type; ps aux | grep cron and you shold see cron running as a daemon [snip] 2. We are sending mails using PHP program. PHP pro

Re: [PHP] PHP permissions problem

2003-08-26 Thread Lowell Allen
> * Thus wrote Lowell Allen ([EMAIL PROTECTED]): >> My commercial host is set up with the public root directory, "public_html", >> owned by user: userid, group: nobody. Directories I create within >> public_html are owned by user: userid, group: userid. As a result, PHP does >> not have permission

RE: [PHP] Cannot pass values from one page to another

2003-08-26 Thread Jay Blanchard
[snip] I got this value in next page(main.php) But from there I am not able to pass it to next page I used session_register('uid'); in main.php but in next page $uid is returning null [/snip] First, look at the manual for sessions. You have posted many questions where the manual would have provid

  1   2   >