[PHP] Writing text line with no breaks.

2002-07-02 Thread Jay Blanchard
on this I am sure. Thanks! Jay "They're coming to take me away, hoho, hehe..." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec() function giving me fits

2002-07-02 Thread Jay Blanchard
I don't insert any variables into it. I have looked at exec(), shell_exec(), etc. trying to get something to work here, but crap. Anybody come up against this before? Maybe I should just go home... Thanks! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cURL in an exec() . more

2002-07-03 Thread jay . blanchard
that the output of the exec() is all on one line through many tests. I have placed the command line arguements in variables and re-done the exec() call as many ways as I can think of. Is anyone aware of any problems with exec() that may be causing this behavior? Any insight would be grandly appreciat

RE: Re[2]: [PHP] cURL in an exec() . more

2002-07-03 Thread Jay Blanchard
[snip] Jay try just to execute php And see what is done. For example i have problems with execution read my e-mail in the list. [/snip] Still not working. I have the script check for the existence of the file and return an error if it is not downloaded. That is the only error I get

RE: Re[4]: [PHP] cURL in an exec() . more

2002-07-03 Thread Jay Blanchard
Trying that now... -Original Message- From: Latex Master [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 8:26 AM To: Jay Blanchard Cc: [EMAIL PROTECTED] Subject: Re[4]: [PHP] cURL in an exec() . more Hello Jay, Let's try it in the different way. create an execu

RE: [PHP] V basic newbie problem

2002-07-03 Thread Jay Blanchard
Put it in a WHILE loop and RTFM -Original Message- From: Duncan Ellwood [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] V basic newbie problem I'm not sure if this is the right place for this but I'm just starting out with php and M

RE: [PHP] cURL in an exec() . more

2002-07-03 Thread Jay Blanchard
rd. Anyone have an idea how to do this with opening the server wide? Thanks for all your help. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] V basic newbie problem

2002-07-03 Thread Jay Blanchard
scripting languages. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re[2]: [PHP] cURL in an exec() . more

2002-07-03 Thread Jay Blanchard
nip] Try hand writing a script then exec() it from php. [/snip] Tried that, no go. crud, I knew this was gonna' happen because of the very tight deadline I am on. I had a feeling that this is why the original exec(curl) didn't work. Thanks, Jay -- PHP General Mailing List (htt

[PHP] Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Jay Blanchard
e cURL statements later in the script and I can then assemble shell scripts as needed. Thanks for all of your help... Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Difference between executable and Apache server

2002-07-08 Thread Jay Blanchard
Good afternoon, We have some cases where we run PHP as a standalone executable for scripting certain processes that can be called from CRON, and we also have PHP for Apache. Does the php.ini affect both? Specifically script times? Thanks! Jay -- PHP General Mailing List (http://www.php.net

RE: [PHP] Re: Difference between executable and Apache server

2002-07-08 Thread Jay Blanchard
the same directory as the executeable, whereas the Apache module uses the one in my C:\WINDOWS directory. Are you using Windows? Due to this, I suppose you can have two different PHP setups if you wanted. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 002501c226bc$8

RE: [PHP] Re: Converting PCX to ...

2002-07-09 Thread Jay Blanchard
found that even though the batch, shell, or other procedural call in an exec(), system(), sits in the same directory as the PHP script you must include the /full/path/to/the/script in order for it to work properly. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] PHP vs. Java

2002-07-09 Thread Jay Blanchard
the core for increased functionality (i.e. http://www.phpclasses.org/mirrors.html?page=%2Findex.html). And finally, you can use JAVA with PHP should the need arise, therefore not locking yourself into a particualr technology and allowing you to flex the strengths of appropriate technologies for appro

RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard
http://www.php.net/manual/en/ref.session.php Start there, and then when you can tell us what the more specific problems are with your sessions we will be able to help. Jay -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 2:20 PM To: [EMAIL PROTECTED

RE: [PHP] ??????????????????????????????????????????????????????````````````````````ØØØØØØØØØØØØØØØØØØÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ

2002-07-09 Thread Jay Blanchard
I tried going to his service provider, but it is in a language I do not understand. Since this counts as a DOS attack, he could get hammered if he keeps it up. -Original Message- From: Martin Clifford [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 2:31 PM To: [EMAIL PROTECTED] Su

RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard
How did you do it, POST? GET? Is there a form involved? Can you show us the code from the two pages? Maybe my ESP will kick in :^) -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 2:37 PM To: Jay Blanchard; [EMAIL PROTECTED] Subject: Re: [PHP] CANT

RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard
Let's see the code from the pages -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 2:56 PM To: Jay Blanchard; [EMAIL PROTECTED] Subject: Re: [PHP] CANT GET STUFF TO WORK I used both a post and a get (using print "click here";)

RE: [PHP] So moderator Delete me from the list and you will have your list in peace!!!!!!!!!!

2002-07-09 Thread Jay Blanchard
To unsubscribe, visit: http://www.php.net/unsub.php -Original Message- From: Erik Hegreberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: [PHP] So moderator Delete me from the list and you will have your list in peace!! -- PH

RE: [PHP] Generate a file

2002-07-10 Thread Jay Blanchard
generated from a database. Make sense? [/snip] Read this article on PHP and Excel, it may help... http://www.evolt.org/article/Using_MySQL_and_PHP_to_Present_Excel_Spreadshee ts/20/26896/index.html Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] fopen() ??

2002-07-10 Thread Jay Blanchard
t;); open the filename or create if it does not exist. http://www.php.net/manual/en/function.fopen.php HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fopen() ??

2002-07-10 Thread Jay Blanchard
' work! Never mind! I'll manually create a blank file and put it there! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks a million!!! > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote

RE: [PHP] Development Tools

2002-07-10 Thread Jay Blanchard
to use some IDE's for certain projects (Visual C++, UltraDev for ASP code) but often find myself using an editor on the code created by these. So to answer the question above ... nothing beats a good editor. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Can't get the example to work

2002-07-10 Thread Jay Blanchard
. "tires"; [/snip] $tireqty is not defined. [snip] Any suggestions? [/snip] Send more of the code, cannot tell why it is not defined or if you used the right variable Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can't get the example to work

2002-07-10 Thread Jay Blanchard
[snip] echo $tireqty. "tires [/snip] $tyreqty looks like you have a typo HTH! Jay -Original Message- From: Eugene.McQuade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 2:21 PM To: 'Jay Blanchard'; 'Php-General@Lists. Php. Net (E-mail)' Subject

RE: [PHP] Re: Customise Index page using PHP????

2002-07-11 Thread Jay Blanchard
for Building Custom PHP Pages; http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Building+Custom+PHP+P ages&btnG=Google+Search HTH! Jay "Learn to think through processes step by step, learn to diagram, then write code, and then write more code. Once you have accomplished this

RE: [PHP] PHP meetup

2002-07-12 Thread Jay Blanchard
done PHP yet) to the gig. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A question of style ...

2002-07-12 Thread Jay Blanchard
en my position with regards to the fire I have come under, but I had to ask. Thoughts? Thanks! Jay * * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/* * No developer is an island ... * ***

RE: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Jay Blanchard
ot; bills (over 30, over 60, over 90, etc.), a method for collections, etc. Billing systems can be quite complex and require extensive planning, they must tie in with inventory systems, sales systems, etc. You could do the whole integration. HTH! Jay -- PHP General Mailing List (http://w

RE: [PHP] PHP meetup

2002-07-12 Thread Jay Blanchard
don't want to drive an hour to go drink an adult beverage or two.) but you may find one already exists in your area. Meetup is a cool idea, and appears to be gaining ground slowly. Jon, did you cross-post to all PHP lists? Jay "Code! Yes. A programmer's strength flows from code maint

[PHP] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread Jay Blanchard
ady a user group in your area if you live near a major city. According to the PHPusergroups.org web site [http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user groups in 52 countries. Jay "Chaos, panic & disorder…my work here is done!" -- PHP General Mailing List

[PHP] PHP Conferences?

2002-07-15 Thread Jay Blanchard
I know that the PHP World Conference is coming up in Germany in November, but is anyone aware of any conferences in the US before the end of 2002? I have some training budget that must be spent or lost. Thanks! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Alley-OOP! ... or not?

2002-07-15 Thread Jay Blanchard
OOP, it lacks some of the rules needed to make it so. Again, when used selectively I have found it to be a bonus rather than a hinderance. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-15 Thread Jay Blanchard
tonio member. Just want to keep this fresh in everyone's mind. If you know of other developer lists where php is discussed please forward this along. Thanks! Jay "Do not meddle in the affairs of dragons-for you are crunchy and good with ketchup" -- PHP General Mailing List (htt

RE: [PHP] activating php scripts via cron

2002-07-16 Thread Jay Blanchard
you a few minutes. HTH! Jay "Before you criticize someone, walk a mile in his shoes. That way, if he gets angry, he’ll be a mile away-and barefoot" * * Want to meet other PHP developers * * in your area? Check out: * * http://php.

RE: [PHP] activating php scripts via cron

2002-07-16 Thread Jay Blanchard
You can have both...a standalone executable and an Apache module! They will operate on the same server, independently of each other. Jay "It's a dessert topping AND a floor wax!" -- Satuday Night Live, circa '76 * * Want to meet other P

RE: [PHP] Classes vs. Functions

2002-07-16 Thread Jay Blanchard
as a person, place, or thing. A function is a group of commands that can be called for a specific purpose. function addNumbers() A function can be performed on an object, but an object (the logical extension of class) cannot be performed on a function. Does that help? Jay "Cleverly disguis

RE: [PHP] Classes vs. Functions

2002-07-16 Thread Jay Blanchard
[snip] example? [/snip] http://www.devshed.com/Server_Side/PHP/FormValidatorClass/page1.html Good tutorial Jay * * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/* * No developer is an island

RE: [PHP] Classes vs. Functions

2002-07-16 Thread Jay Blanchard
that applies to a specific class of objects. If you created a class and methods for each item you code would be bloated, slow, and hard to maintain. Do not think of functions and classes in the same light, you will make yourself more confused. One is definitely not the other. Jay

RE: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Jay Blanchard
time-to-time. HTH! Jay "Growing old is mandatory, growing up is optional" * * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/* * No develop

RE: [PHP] Is there a way?

2002-07-16 Thread Jay Blanchard
[snip] In Perl you could print a block of information as it was written like this; print

RE: [PHP] CRON JOB

2002-07-17 Thread Jay Blanchard
. Then put this as the first line of the PHP file you want to run from a CRON; #!/usr/local/bin/php Then set up your CRON. HTH! Jay "Philosophy is a study that lets us be unhappy more intelligently." * * Want to meet other PHP developers * * in

RE: [PHP] Tips for better PHP, wish I read yesterday

2002-07-17 Thread Jay Blanchard
that? [/snip] http://www.zend.com/zend/columns.php http://www.zend.com/zend/art/mistake.php http://www.zend.com/zend/art/ Jay Nobody in football should be called a genius. A genius is a guy like Norman Einstein. -Joe Theismann * * Want to meet othe

RE: [PHP] Of Jobs and Certs [long]

2002-07-17 Thread Jay Blanchard
ud Lite, completed it in 15 minutes, missed a couple of completion tags (like ) and used CSS. Hired him. Took him back to the bar. Happy ever since. Moral of story? Learn to write code and listen to loud guys in bars. It may pay someday. Jay "Football incorporates the two worst elements of

RE: [PHP] Re: Includes vs. Functions

2002-07-18 Thread Jay Blanchard
nalized' I say do it. For efficiency in processing it really will not make much difference in an included file whether that file is blocks, or functions. Jay "You’re just jealous because the voices are talking to me" * * Want to meet other PHP dev

RE: [PHP] Any PHP editor for windows

2002-07-18 Thread Jay Blanchard
-- has some bugs, but not bad (free) http://www.zend.com/store/products/zend-studio.php -- Zend Studio (version 2.0 is free) HTH! Jay "Why take life so seriously? It isn’t permanent." * * Want to meet other PHP developers * * in your area?

[PHP] Test of GD

2002-07-18 Thread Jay Blanchard
they run. Thanks! Jay "Who me? I just wander from room to room ..." * * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/* * No developer is

RE: [PHP] Test of GD - SOLVED

2002-07-18 Thread Jay Blanchard
test that they run. [/snip] Thanks, I got it done. Jay "Where there’s a will…I want to be in it" * * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/* * No developer is

RE: [PHP] XML with PHP & cURL.

2002-07-18 Thread Jay Blanchard
[snip] Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? [/snip] More details about the problem would be nice. How exactly do you want this to work? I have had no problems with cURL and PHP. Jay "What was the best thing b

RE: [PHP] PHP and Date()

2002-07-18 Thread Jay Blanchard
e date exactly seven days ago, then you can test what day (Mon - Fri). If it is Saturday then you could subtract 24 more hours, if Sunday, 48 more hours. HTH! Jay "Of all the things I’ve lost, I miss my mind the most" * * Want to meet other PHP develope

RE: [PHP] php and html

2002-07-18 Thread Jay Blanchard
internet programming, linux, php, etc. I have done okay so far, but this is beyond me at this point. Any help will be greatly appreciated. [/snip] Ahem ... we got it the first time... :^] What exactly did you modify in httpd.conf? Jay "Vegetarian: primitive word for lousy h

RE: [PHP] PHP and Date()

2002-07-18 Thread Jay Blanchard
[snip] sorry about last message I want to get a list of the last 7 business days so I would have to loop through this and get each day correct? [/snip] Yes, testing for Saturday and Sunday ... Jay "Vampires Suck" * * Want to meet other PHP

RE: [PHP] php/shell question...

2002-07-18 Thread Jay Blanchard
p.net/manual/en/function.exec.php HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Translatting php to binary...

2002-07-19 Thread Jay Blanchard
. Are you looking for a way to compile PHP scripts? If so, is the reason so that others will not have access to your code? If that is the Case you could always look at the Zend Encoder. If notignore me, it's Friday! :^] Jay "Today’s mighty oak is just

RE: [PHP] include() and div align="top"

2002-07-22 Thread Jay Blanchard
#x27;. Also, make sure that your include is call before any HTML head where the LINK REL to the stylesheet might be. HTH! Jay "Reality is for people who lack imagination " * * Want to meet other PHP developers * * in your area? Check out:

RE: [PHP] Can a form submit to two PHP form processers in succession?

2002-07-22 Thread Jay Blanchard
seudo-code in preliminary form handling script; if (form value in database){ redirect to error page; } else { redirect to form handling script; } HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] is php.net down ?

2002-07-22 Thread Jay Blanchard
[snip] any one else able to get into www.php.net ? [/snip] Nope... :^[ Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Parse error

2002-07-22 Thread Jay Blanchard
[snip] Getting Parse error on last line of code which is just Here is php code on page ... [/snip] Check your curly braces, this is the most often cause of a last line error. You either have too many or not enough. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] PHP Security Advisory: Vulnerability in PHP versions4.2.0 and 4.2.1

2002-07-22 Thread Jay Blanchard
ed on to our FreeBSD boxes yet. Jay -- 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 Jay Blanchard
ed to one light bulb in another room. How many trips must you make to determine which switch is connected to which light bulb? We could come up with a test for PHP candidates. :) Jay -- 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 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] 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

[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

[PHP] need help - past deadline

2003-08-26 Thread Jay Fitzgerald
4) { ?> } } else { if ($i <= 84) { ?> } } }

[PHP] Need help - past deadline

2003-08-26 Thread Jay Fitzgerald
4) { ?> } } else { if ($i <= 84) { ?> } } }

RE: [PHP] need help - past deadline

2003-08-26 Thread Jay Blanchard
5','76','77','78','79','80','81','82',' 83','84'); $i = 70; foreach ($myseat as $seat) { if (($seat) == ($row[0])) [/snip] Jay you are not looping through each row as far as I can see. You fetch the

RE: [PHP] If empty don't display...

2003-08-27 Thread Jay Blanchard
[snip] 1. I'm trying not to display the fields that are empty with: if (!empty($row9->prijs4pk)){ But it's still display the line and there is no value in PRIJS4PK field. [/snip] You are testing to see if $row9->prijs4pk is NOT empty. If it is not empty you print it. You have not specified an act

RE: [PHP] PHP Interview questions

2003-08-27 Thread Jay Blanchard
[snip] toggle_light(1); sleep(120); toggle_light(1); toggle_light(2); move('self', 'room/'); if ($lightbulb['temp'] > $room['temp']) { echo "switch #1"; } elseif ($lightbulb['ison']) { echo "switch #2"; } else { echo "switch #3"; } hm.. i had to keep it OT somehow :) [/snip] :7) Curt. Ho

RE: [PHP] SQL Query request is just hanging.

2003-08-27 Thread Jay Blanchard
[snip] I'm using IIS5.0 on W2k. I have upgraded w2k to sp4 and ms sql server to sp3. I created a new table and just do a simple query in php program. But it seems sql server doesn't return any query result. I'm using mssql_fetch_array() function, but no any return. PHP program is just pending t

RE: Re[2]: [PHP] PHP Interview questions

2003-08-27 Thread Jay Blanchard
[snip] JB> You are presented with three crates. One is labled 'apples', one is JB> labled 'oranges', one is labled 'apples and oranges'. The lables have JB> been mis-applied with none of the lables being on the correct crate. To JB> be perfectly clear ( :7) Brian! ) one crate contains apples, one J

RE: [PHP] Need Help - past deadline

2003-08-27 Thread Jay Fitzgerald
+ 1) { echo ""; } else { echo ""; } } ?> here is what I am wanting to add - I tried placing this in several places in this code so far (top, middle & bottom) but whenever i add it, the output gets totally fudged     but I also ne

RE: [PHP] Need Help - past deadline

2003-08-27 Thread Jay Fitzgerald
+ 1) { echo ""; } else { echo ""; } } ?> here is what I am wanting to add - I tried placing this in several places in this code so far (top, middle & bottom) but whenever i add it, the output gets totally fudged     but I also ne

Re: [PHP] Need help - past deadline

2003-08-27 Thread Jay Fitzgerald
echo "{$val}"; } if($i % $rowCount + 1) { echo ""; } else { echo ""; } } ?> here is what I am wanting to add - I tried placing this in several places in this code so far (top, middle & bottom) but whenever i ad

[PHP] multiple mailings

2003-08-27 Thread Jay Fitzgerald
sorry for the multiple mailings...I'm not meaning to spam the list, but apparently when i send an email to the list, it takes almost 2 hours for me to receive a copy of it letting me know that it went through ok ==== Jay Fitzgerald, D

RE: [PHP] Bug...

2003-08-28 Thread Jay Blanchard
[snip] I run the script through a browser. The overall script takes about 36 minutes to run. I have changed the php.ini values to allow the script to run for longer than this. The script runs, but I always end up with a 500 error. [/snip] Have you also set your webserver software time accordi

RE: [PHP] Bug...

2003-08-28 Thread Jay Blanchard
And you get a 500 error? First off, it is probably not a bug. If the first two reports get generated there may be a problem in the code for the third report. -Original Message- From: Joe Privett [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 6:28 AM To: Jay Blanchard Subject

RE: [PHP] PHP Interview questions

2003-08-28 Thread Jay Blanchard
[snip] However, Curt does bring up a good pointgiven a real world situation create the decision logic (in code format) that demonstrates you grep the path needed to arrive at a conclusion. As many of us model business processes this is a valid method for determining familiarity with the problem

RE: [PHP] PHP Interview questions

2003-08-28 Thread Jay Blanchard
[snip] Which road would the other man point to if I asked him the way to Utopia? [/snip] Can you do it programmitically (with pseudo-code)? After all, we need to keep this on-topic :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Urgent help required for using Cron

2003-08-28 Thread Jay Blanchard
[snip] I have to send mail to people automatically at specified time . Our environment is RedhatLinux 7.3 , Apache ,mysql and php. I am writing a program in php to send the mail if some Condition is met. I want to activate this program at specified time using cron facility. So, How can we do tha

[PHP] How to?

2003-08-29 Thread Jay Fitzgerald
without the radio button... http://www.lanhorizon.com/step17.php is there a way to do this? the logic seems easy, but actually making it work is another story... TIA Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] execute command line script from browser

2003-09-02 Thread Jay Blanchard
[snip] Is there a way to execute a command line php script from a browser by, say clicking a button and then having the browser let go and let the script run independet of the browser? Hope I explained that correctly. [/snip] You could invoke the CLI using an exec() http://www.php.net/exec HTH!

RE: [PHP] opening remote tar.gz files

2003-09-02 Thread Jay Blanchard
[snip] is it possible with PHP to download and open a remote tar.gz file?? I read in the manual that it is, but it never seems to work for me. I tried opening the file with fopen fopen("zlib://http://www.site.com/update.tar.gz";, "r"); but it didnt work Then I tried using the zlib functions but t

RE: [PHP] evaluating dynamic variable

2003-09-02 Thread Jay Blanchard
[snip] I'm having trouble evaluating a dynamic variable. I want to check if the variable $_POST["resolutions$i"] is an empty string, as you'll see from the code. However, every way I've tried to check the variable so far (including empty() and eval()) always returns a null value, even when the vari

RE: [PHP] if else while statement speed

2003-09-03 Thread Jay Blanchard
[snip] http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Refreshing After Submitting a From

2003-09-03 Thread Jay Blanchard
[snip] I have a form on a popup that gets submitted to the PARENTWINDOW. If there was an error while processing the form, it will be displayed in the parentwindow. The popup never closes, but it needs to refresh, cuz it needs to get new data from MySQL. Does anyone have any ideas on how I could

RE: [PHP] Get the lowest value out of different fields

2003-09-03 Thread Jay Blanchard
[snip] I have a tabel in my database like this TEST fieldnameValue's testid 1 testf1 3 testf2 4 testf3 0 testf4 2 testf5 0 (so this is one record!) I want to display the lowest value, except 0.. So the SQL statement will be SEL

RE: [PHP] Get the lowest value out of different fields

2003-09-03 Thread Jay Blanchard
[snip] O.k. i dropped my lines below: As you can see, i'm selecting FRANKID 10 and i want to display the lowest value (2 rows are selected)! As you can see a stole a function from www.php.net/min, Now this is working fine for the first record!!! BUT how can i make the function loop through the whol

RE: [PHP] Question regarding OOP and interitance

2003-09-04 Thread Jay Blanchard
[snip] I would like to know a constructor function is also inherited to a child class. I mean the child class also needs to have a constructor function but it must have the same name as the class name. How does that work? [/snip] FYI ... anything below PHP5 has a pseudo constructor. Since you are

RE: [PHP] Question regarding OOP and interitance

2003-09-04 Thread Jay Blanchard
[snip] > FYI ... anything below PHP5 has a pseudo constructor. And how will it be in PHP5 ? [/snip] PHP5 will be using the Zend 2 Engine, and gives a standard way of declaring constructor methods by calling them by the name __construct(). An example from http://www.php.net/zend-engine-2.php

RE: [PHP] Front Page User Logout

2003-09-04 Thread Jay Blanchard
[snip] How can I provide a link which will log the current user out so that they will be prompted again to login. I'm using frontpage authentication on an apache server. I'm using PHP4 to build the pages. [/snip] Are you taking the frontpage variables into PHP? If so you can unset() those variable

RE: [PHP] Display after a certain date

2003-09-05 Thread Jay Blanchard
[snip] Anyone have a quick fix for a part of an html page that I do not want to display until after October 1st, and not after October 31st ? [/snip] You must have missed the conditionals part of the manual = $display_start) && (date("Y-m-d") <= $display_end)){ print($stuff); } ?> No

RE: [PHP] Header()

2003-09-05 Thread Jay Blanchard
[snip] How can i do so header opens a new page in a new browser, instead of opening the page inside the current browser? [/snip] header does not do this, but you can do it with a target="_blank" attrib in your href tag or with JavaScript. Have a pleasant and productive day. -- PHP General Mailin

RE: [PHP] using fwrite to create PHP files

2003-09-05 Thread Jay Blanchard
[snip] I wish to use fwrite() to create a small PHP file. So far, when I attempt to do this, php parses the contents of the file that fwrite needs to create. Eg, I have this: [/snip] Vince I did this \n"); fclose($newphp); ?> And it worked fine. fputs() places the string in the file properly. I

RE: [PHP] Email to database

2003-09-05 Thread Jay Blanchard
[snip] while($row = mysql_fetch_array($result1)) { $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: Website \r\n"; $headers .= "To: $row[email_address]\r\n"; $headers .= "

RE: [PHP] How can I get IP of ppp0?

2003-09-05 Thread Jay Blanchard
[snip] How can I get IP Address from my connection ppp0 or ppp1 in Linux? What 's the function? [/snip] shootin' from the hip because I am looking for something like this as well. I would also like to be able to activate PPP...need some serial port control. Here are my thoughts on your quest

RE: [PHP] Email to database

2003-09-05 Thread Jay Blanchard
[snip] Is there something like MoveNext I should use for the mail function? If I put the $headers in the while loop it just keeps adding to the $headers instead of sending each mail separately as I want it to. .. > while($row = mysql_fetch_array($result1)) > { > $head

RE: [PHP] Email to database

2003-09-05 Thread Jay Blanchard
[snip] email1 - gets a copy of each message email2 - gets his message and the one for email3 email3 - gets his own message [/snip] Did you change that header line as recommended? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Jay Blanchard
[snip] I looked at the rand() at php.net which spoke about min and max random number. So, I use rand(0,99) to get a 10 digit random number but it only return an 1 digit random number that is displayed at '0'. So, I tried rand(0,) with 4 digit random number and got the random numbe

RE: [PHP] RH9.0: Upgrade to 4.3, mysql functions not working

2003-09-05 Thread Jay Blanchard
[snip] "undefined function mysql_select". [/snip] mysql_select by itself isn't a function. Are you using other code to define this function? Or are you just using shorthand here? [snip] === errors from error_log === PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/ldap.so'

RE: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Jay Blanchard
[snip] What PHP version do you use? I only have version 4.3.1 on the machine. [/snip] Did this on a 4.2.1 and a 4.3...no probs. Have you tried the code I posted on your machine? 0){ $random=rand (0,9); echo number_format($random, 0, '', ',')."\n"; $i--; } ?> -- PHP General Mail

<    2   3   4   5   6   7   8   9   10   11   >