Re: [PHP] Printing

2001-08-09 Thread Renze Munnik
On Thu, Aug 09, 2001 at 06:39:59PM +0100, Fernando Avila wrote: > Hello php-general, > > I made a system in php and mysql for a corp. > This system controls the payment of the customers, so i need to print > the quote of each payment. Is there anyway to do this with php? > I mean.. Printing quo

Re: [PHP] Can't display my result yet....

2001-08-09 Thread David Robley
On Fri, 11 Feb 2000 10:14, Ardani Sarjito wrote: > I'm back again! > > What does this warning mean: > Supplied argument is not a valid MySQL result resource > > Thanks ! Try this resource :-) http://au2.php.net/manual/en/faq.using.php#AEN61456 -- David Robley Techno-JoaT, Web Maintainer,

[PHP] Re: Printing

2001-08-09 Thread elias
Can't the operator request a report and hit the Print button in his browser? You also make sure that the report looks nice when printed from the browser. "Fernando Avila" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello php-general, > > I made a system i

[PHP] Re: Difference between win98 and win2000

2001-08-09 Thread elias
In windows 2000 unless you set permission to write files you can't! I mean that you have to explicitly specify that a certain folder can be written to. "..." <[EMAIL PROTECTED]> wrote in message 001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0">news:001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0... M

[PHP] Re: Emulating a POST

2001-08-09 Thread elias
hope this helps: /// http://";, 7) == 0) $url = substr ($url, 7); $p = strpos ($url, '/'); if (empty ($p)) { $req = "/"; } else { $req = substr ($url, $p); } if ($fp) { fputs ($fp, "POST $req HTTP/1.0\n"); send_headers ($fp); fputs ($fp, "Content-type: application/x-www-f

[PHP] I found the problem!!!!

2001-08-09 Thread Ardani Sarjito
Dear everyone who has been trying to help me. THANKS ALOT!! Sincerely, Ardani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Help required on creating session

2001-08-09 Thread Balaji Ankem
Hi! friends,    i also want this feature.   Can u tell me how to start a session whenever the user logged in and how to end session after logout.   where i have to give these function names... session_start();session_register(username);   Thanks in advance.   Regards -Balaji - Original M

Re: [PHP] HELP...session

2001-08-09 Thread karthik
Hi, I hope u r regisitering the session variable (i.e. username) on submit of index.php. If u r doing this then u can access the same by using $HTTP_SESSION_VARS['username'] assuming u r registering ur session variable as username. I hope all the frames have session_start also. karthik. ---

[PHP] Can't display my result yet....

2001-08-09 Thread Ardani Sarjito
I'm back again! What does this warning mean: Supplied argument is not a valid MySQL result resource Thanks ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mai

Re: [PHP] Why can't this code display my result?

2001-08-09 Thread John Meyer
Could you please give us some error messages, please? >$connect = mysql_connect("localhost","user_name","password"); > $select_data = mysql_select_db("ardani_cd_collection"); > $query = "SELECT * FROM main where description = '$song_title'"; > $result = mysql_query($query); > > while

Re: [PHP] Why can't this code display my result?

2001-08-09 Thread David Robley
On Fri, 11 Feb 2000 09:36, Ardani Sarjito wrote: > hi everyone! > > I'm new to PHP. > > I don't know why I can't make this page work. > it doesn't show my search result. > > Any help would be appreciated. > This script is driving me nuts! :-) > > Thanks! > >$connect = mysql_connect("localhost"

[PHP] Difference between win98 and win2000

2001-08-09 Thread ...
My messageboard is working properly in Win98 Apache; However, it doesn't work properly under Win2000 with the same code. ( Problem: it can save the message but cannot read from file) I have a questionis there any difference between 98 and 2000? thx for your help ...nick

[PHP] Why can't this code display my result?

2001-08-09 Thread Ardani Sarjito
hi everyone! I'm new to PHP. I don't know why I can't make this page work. it doesn't show my search result. Any help would be appreciated. This script is driving me nuts! :-) Thanks! ","","",$row[1],"","",$row[2],"","",$ro w[3],"","",$row[4],"","",$row[5],"",""," ";} ?> -- PHP General Ma

[PHP] HELP...session

2001-08-09 Thread Yamin Prabudy
Hi there I need help about session see i have a page (index.php) that used this session_start(); session_register(username); and i got input username after the submit button is click i move into a frame pages.. then in the frame i define again session_start(); for each frame...i got two

[PHP] FW: Today's joke INDO-PAK WAR

2001-08-09 Thread Shashwat Nagpal
Today's Joke: INDO-PAK WAR ~ The cold war between US and USSR resulted in a system where if USA launched a Nuke-loaded missile, USSR's satellite were capable of informing the USSR army in 3 seconds, and in less than 45 seconds USSR would launch its counter-missile. US knew that a

[PHP] readfile("ftp://....");

2001-08-09 Thread David Minor
will the readfile() function not accept a user/pass combination in an ftp url? like: readfile("ftp://user:[EMAIL PROTECTED]/path/to/file";); I get two errors. The first is a file not found error. The second is a No Such file or directory error. droppoing the user:pass section works just fine.

[PHP] Site to fund PHP + open source expansion

2001-08-09 Thread Evan Nemerson
Much of this has already been posted, but it really needs top-level exposure. Programmers all over the world have already recognized that PHP is a superior language, and open-source is not the root of all evil (as M$ would have us believe). However, many (most?) execs do not listen to reason, b

Re: [PHP] Sorting Dates in this format: Jul 21 2001

2001-08-09 Thread David Robley
On Tue, 7 Aug 2001 19:39, Chris wrote: > I have a bunch of dates like this: > Jul 24 2001 > Jul 31 2001 > Aug 7 2001 > > I need to sort it from oldest to newest, but I can't devise a way that > works. And they are text fields in MySQL so that won't sort it > correctly either. Can anyone point me

[PHP] How to copy files from one directory to another directory through php on linux platform??

2001-08-09 Thread Balaji Ankem
Hi! dearest friends,   How to copy files from one directory to another directory through php on linux platform??   Thanks in advance.   Regards -Balaji The Information contained and transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual or e

Re: [PHP] How to copy files from one directory to another directory through php on linux platform??

2001-08-09 Thread Alexander Wagner
Balaji Ankem wrote: > Hi! dearest friends, > How to copy files from one directory to another directory through > php on linux platform?? - Be sure you have permission to read the files to be copied and to write into the destination-directory. This is rather UNIX-specific than related to PHP.

[PHP] How to copy files from one directory to another directory through php on linux platform??

2001-08-09 Thread Balaji Ankem
    Hi! dearest friends,   How to copy files from one directory to another directory through php on linux platform??   Thanks in advance.   Regards -Balaji The Information contained and transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual

Re: [PHP] Re: PHP in corporate settings?

2001-08-09 Thread Evan Nemerson
Bill has hit it right on! Programmers all over the world have already recognized that PHP is a superior language, and open-source is not the root of all evil (as M$ would have us believe). However, many (most?) execs do not listen to reason, but rather only to TV and glossy ads. Therefore, I pr

[PHP] Question about security: writing images to a directory (chmod 777)

2001-08-09 Thread SED
For a job I'm working on I need to let PHP-code write images to a directory. To be able to do that I need to make this directory read- and writeable. Concerned about the security, is this directory open for anyone to write into it? (Let say PHP-code form another server?) If so, how can I solve thi

[PHP] evaluate data taken from db

2001-08-09 Thread Jason Dulberg
I have a dynamic menu on my site where data is taken from a mysql db. $cat="select * FROM categories c WHERE c.type='Earmold'"; $cats=mysql_query($cat); while ($row = mysql_fetch_array($cats)) { extract($row); echo "$name "; } What I would like to do is turn off the link if the link is active in

Re: [PHP] Image header problems--SOLVED!

2001-08-09 Thread Hugh Danaher
It worked!! but only after I removed the two blank lines above the To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 3:40 PM Subject: RE: [PHP] Image header problems > Remove the line: > > print "jpeg format"; > > The error is because you have sent output to the br

RE: [PHP] Image header problems

2001-08-09 Thread Corin Rathbone
Remove the line: print "jpeg format"; The error is because you have sent output to the browser before you are trying to send a header. -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED]] Sent: 09 August 2001 23:26 To: Php-General Subject: [PHP] Image header problems I wa

[PHP] open_basedir and safemode-ish things

2001-08-09 Thread Chris Cameron
I looked through the archives, and tried finding info in the PHP manual, but haven't had much luck. I'm looking for a way to restrict virtual host users to their specific little directory by putting a thing in my httpd.conf. It looked like open_basedir should do the trick, but it didn't, and ob

[PHP] Image header problems

2001-08-09 Thread Hugh Danaher
I want to generate an image using the following code, and think it should have worked. Unfortunately I get an error message saying the header info has already been sent, and the browser (IE5) doesn't print a picture just the characterset representing the picture. I think I've got it right, but

Re: [PHP] Re: Form POST problem with Netscape 6

2001-08-09 Thread Peter S. Fekkes
Richard, Tanks for your thinking, I have used the register_shutdown_function to test the reason for the break. This result in a normal shutdown, i.e. nothing wrong at the server side, the output is completely parsed. When I replace the form method POST into a GET everything works fine. With th

RE: [PHP] development to ISP migration headache

2001-08-09 Thread KLL
>>any ideas, oh gurus? While I'm not a guru, here is some info that may help. On webaxxs / olm standard account machines, this can't be done (at least that's the conclusion I have come to after many hours). Even using the files directive in the htaccess file won't the trick on their servers wit

Re: [PHP] array issues

2001-08-09 Thread Richard Baskett
try html code php code $values = "'','$interviewed','$interviewer'," for ($i=0; $i<10; $i++) { $qtemp .= "'".q[$i]."',"; $atemp .= "'".a[$i]."',"; } $fields = "id,interviewed,interviewer,q1,q2,q3,q4,q5,q6,q7,q8,q9,q10,a1,a2,a3,a4,a5,a6 ,a7,a8,a9,a10,interview_date"; $query = "INSERT INTO

[PHP] Re: apache processes & memory use

2001-08-09 Thread Richard Lynch
>watching apache processes (top), trying to track memory usage. It seems to vary size between >14M & 16M & vary RES from 12M to 14M. Is this varying normal? Is this size normal? (2400 Those numbers are normal and are inclusive of SHARED memory segments, so will add up way higher than actual me

[PHP] Re: User authentication

2001-08-09 Thread Richard Lynch
> I set up a user-auth script that checks $PHP_AUTH_USER & $PHP_AUTH_PW > against a db with login/pwd information, but on the server my site is hosted > this doens't work because PHP runns as cgi. > > How do I do this with PHP running as a cgi? You can't. You'll have to either: Re-code it to get

[PHP] Re: htaccess & php

2001-08-09 Thread Richard Lynch
Also make sure you are running PHP as a Module and not CGI. You can't do HTTP Authentication from inside PHP under CGI. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a littl

[PHP] Re: Database Stored Procedure Result

2001-08-09 Thread Richard Lynch
Have you tried http://php.net/odbc_result -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: J

[PHP] Re: Hi all! How to rite a cmp function for usort()?

2001-08-09 Thread Richard Lynch
>my ISP doesn´t support natcasesort(), >can anybody tell me how to write a cmp function? >I couldn´t find a documentaton about it. function usort_text($value1, $value2){ if ($value1 == $value2){ $result = 0; } elseif ($value1 < $value2){ $result = -1; } else{ #

[PHP] Re: enabling Sessions

2001-08-09 Thread Richard Lynch
What does the script do and what part doesn't work? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message ---

[PHP] Re: RANDOM

2001-08-09 Thread Richard Lynch
>Could somebody please show me, send me an example or redirect me to a page which shows how to >show a random FLASH movie from a text file which contains different names of different movies >so that when i go on the page it shows lets say, 1 of the 5 movies in the text document. "; ?> There's a

[PHP] Re: Kill all line brk's and white space on output?

2001-08-09 Thread Richard Lynch
If you use fputs() you will be adding a blank line. If you use fwrite() you won't. If you want to suck in the file and remove line breaks, just use: $text = str_replace("\n", '', $text); -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out?

[PHP] Re: Rewriting a textfile for import into a db..

2001-08-09 Thread Richard Lynch
> 123|blah|foo|bar|etc > > To be formatted like: > > INSERT INTO Table VALUES (123,'blah','foo','bar','etc'); Assuming there are not | in the actual data: You may want to add a line counter and output that with mysql_error() so you can quickly refer back to your data file to find a broken

[PHP] Re: Determining browser encryption strength

2001-08-09 Thread Richard Lynch
See browscap in PHP Manual, maybe. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Bolivar

[PHP] Re: 3rd include

2001-08-09 Thread Richard Lynch
Huh? Give a bug ID from http://bugs.php.net or something. Got no idea what you're asking about. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusi

[PHP] Re: Upload of files gives Mimetype on header

2001-08-09 Thread Richard Lynch
What version of PHP/Apache/etc are you using?... What browser on what OS? If it's consistently doing this for all browsers, you could write some code to check the uploaded file, and if it starts with "Content-type: ", strip off the lines. Both GIF and JPEG files have distinctive starting charac

[PHP] Re: exec a perl script

2001-08-09 Thread Richard Lynch
> $command ="/home/kyelateas/cgi-bin/test.pl"; > exec($command, $return, $status); > > if ($return) { > $return = implode("\n", $return); > print "Data = $return\n\nStatus = $status"; > } > else # > echo "No data returned"; echo "OS Error $status. Usually paths/permissions. See

Re: [PHP] correct date (cont.)

2001-08-09 Thread Richard Lynch
> This should get me exactly 3 months later and also checks for if its a later No, it won't on leap years, or during daylight savings time changes, etc. Don't try to do the year/month calculation yourself. Let PHP do it for you, and it will be correct. Every time. $threemonths = mktim(0, 0, 0

[PHP] Re: Sending information to a script on another host....

2001-08-09 Thread Richard Lynch
You can use cURL, and must if it's an SSL server, or you can just fsockopen to their server on port 80 and send the stuff they expect. See code archives for sample code. http://php.net/links.php -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me

[PHP] Re: PHP_SELF and mod_rewrite

2001-08-09 Thread Richard Lynch
Are all the mod_rewrite settings exactly the same?... That would be my first guess. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunt

[PHP] Re: IE Download twice from DB

2001-08-09 Thread Richard Lynch
How do you know it downloads them twice? What are you seeing? Also, if you want it downloaded, Content-type should be application/octet-stream. Perhaps that's causing the browser snag it and try to display it on top of the download... Sounds like how MS would code it. -- WARNING [EMAIL PROTEC

[PHP] Re: PHP Configuration issues in IIS 5.0 in win2k

2001-08-09 Thread Richard Lynch
>I can't seem to get my win2000 box to recognize the .php files. It's coming up with an error, What error is it coming up with? >and just reading them as test.php.txt files in explorer. How do i get this to work. I believe Change their name to not have .txt on the end, and stop using that stupi

[PHP] Re: IP security check

2001-08-09 Thread Richard Lynch
> For secure payment pages, I need for the code to determine the persons IP > address, even if they have a "spoofer" running. Is this possible? Getting > around the spoofer in order to catch criminals using illegal credit card > #'s.. In addition to $REMOTE_ADDR, some firewalls provide an $X-Forw

[PHP] Re: Header error!

2001-08-09 Thread Richard Lynch
Check your error log to see if there's anything there about why PHP is dying. Does it answer this right away, or take forever? If it takes about 10 seconds, your DNS could be messed up. Can you run PHP from a DOS prompt on the same script? What comes out? -- WARNING [EMAIL PROTECTED] address

[PHP] Re: Strange session problems. Please help.

2001-08-09 Thread Richard Lynch
Are there any firewalls involved? If so, it's possible that some sort of authentication algorithm for packet routing is breaking at some point that's not directly related to the sessions, but to the header-forwarding -- Or even a badly-broken HTTP cache on the firewalls. Of course, if it's a bad

Re: [PHP] Return Adress

2001-08-09 Thread Richard Lynch
You also should use \r\n instead of just \n to be really spec. Double-check RFC spelling of Reply-To: or Reply-to: Capitalization matters for email headers. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l

Re: [PHP] Paypal & instant payment notification

2001-08-09 Thread Richard Lynch
> Actually it doesn't seem like too much of a hack, except that it seems > to be not a realtime operation (otherwise why would they need to contact > your script?). They contact your script so you can do whatever *YOU* want for each transaction -- Log it, email the customer, ring a bell, whatever

[PHP] Re: Form call a function on submit

2001-08-09 Thread Richard Lynch
> Is it possible to have a form submit button call a function. Like for > updating a record in a database or for deleting data. Rather than a > new page or with PHP_SELF Not really. PHP lives on the server. The HTML and its submit button live on the browser. Any functions in the PHP script that

Re: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Richard Lynch
> function incl_common() > { > global $modroot; //modroot is defined as http://localhost/modules in a settings file > > echo "$modroot from included"; //this echos "http://localhost/modules"; properly > > > //the below throws the error, OpenDir: No such file or directory (error 2) in

[PHP] Re: register_shutdown_function and a MySQL query keeping connection with browser.

2001-08-09 Thread Richard Lynch
Even if you could get it to work, you'd be in trouble, as the PHP interpreter will clean up after you and trash your MySQL connection when it finishes, and anything that didn't get done before that would not work. You'll probably need to code this with two separate PHP files, one which calls the

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-09 Thread Richard Lynch
Yahoo *might* be "detecting" that you're not a "real" browser, since PHP probably sends different headers when you attempt to get the file dynamically than your browser sends when you type the URL. So Yahoo may be denying you access when using PHP, but not from your browser. There's nothing to s

[PHP] Re: rename problem...

2001-08-09 Thread Richard Lynch
> rename("document.htm", "testing.htm"); > Warning: Rename failed (Permission denied) in > C:\Inetpub\WEBS\mysko\uploads\rename.php on line 4 > The directoy has change permissions. What am i donig wrong...? Change permissions for which user? In Microsoft, that "Change Permission" in the web-ro

[PHP] Re: charset win1251

2001-08-09 Thread Richard Lynch
> I finished English version of my site and wanted to start Russian > part but realized that MySQL server returnes all data in koi-8r > charset which is not very comfortable for some of the users, > specially I know that A LOT of russians using Opera brawser older > versions of which do not suppor

[PHP] Re: Form POST problem with Netscape 6

2001-08-09 Thread Richard Lynch
Use IE long enough to find out what the output is... Or, log output to a file as well as the browser. Or... Is this thing taking more than 30 seconds to run? http://php.net/set_time_limit -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out?

[PHP] Re: Cannot Set ExpireTime in a cookie

2001-08-09 Thread Richard Lynch
> I discovered that the bit that Internet Explorer 4.0 didn't recognize a > cookie as valid when I included an expiration time. > This Doesn't Work: > setcookie ("ArtPrintSession",$SessionID,time()+3600); > What's the bug??? IE. IE read the spec about "optional arguments" and decided that if y

[PHP] Re: Premature end of script headers:

2001-08-09 Thread Richard Lynch
> writing to a flat file I am getting 500 error with Apache. I know the path > is correct and when I delete the file.txt and try to write to it. A new file > is created but no writing. What does Premature end of script headers: mean? It means "Check your Apache error_log files because PHP and/or

Re: [PHP] spell checker

2001-08-09 Thread Richard Lynch
Running a spell-checker and highlighting problems with a web-interface for the original author to decide what to do is probably the ideal middle ground... It's not a trivial HTML/browser interface to write, but it shouldn't kill you to do it. If you don't have pspell/aspell/ispell/uspell/weallsp

[PHP] Re: Problems...

2001-08-09 Thread Richard Lynch
Get rid of the Content-type for now, and see if you have any error messages... You'll need Content-type to make it work, but if you have a PHP error message on any of the subsequent lines, they don't make a valid image. You could also re-direct errors to the Apache log (or other) and view that a

[PHP] Re: pursing a text file

2001-08-09 Thread Richard Lynch
> $message = $buffer; > echo $message; http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP] Re: is there a performance hit using flush() ?

2001-08-09 Thread Richard Lynch
> I am looping through a few thousand records and would like to display > the results every loop. Eg: > > while($row = mysql_fetch_object($sql)): > echo "Hi $row->name"; > flush(); > endwhile; > > A simple example - but you see what I am trying to achieve. Perhaps a > more realistic example is dis

Re: [PHP] web hosting

2001-08-09 Thread Richard Lynch
Like, if you're really the only user, just throw Apache/MySQL/PHP on your desktop/laptop and develop there... You'll still need to find a host with the features you need, but now you have three months to do the research. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL

[PHP] Re: field sizes

2001-08-09 Thread Richard Lynch
> I am curious about how to best define the size of fields in mysql. Is > there some size that are better used than others? > > For example without thinking about it to much I would tend to size > fields in multiples of 10 - 20, 50, 100, 200 etc... Is this the best > answer? If there are better s

Re: [PHP] newest PHP compile won't see pg_connect()

2001-08-09 Thread Richard Lynch
> the "frozen local.inc" aberration was a result of a strange "include_file=" > path something like this - ".:/usr/local/lib/php" - evidently PHPLIB won't > traverse to the second path iteration? Anyone know anything about this? Try "./:/usr/local/lib/php" . alone may not be enough for some reaso

[PHP] Any ideas if a form needs a signature?

2001-08-09 Thread Chris
I am digitalizing a companies Application in an online system. The problem is that companies they deal with require the app to be signed. Obviously an online application cannot be signed conventionally. Does anyone know of a way or a work-around to accomplish this?

[PHP] Printing

2001-08-09 Thread Fernando Avila
Hello php-general, I made a system in php and mysql for a corp. This system controls the payment of the customers, so i need to print the quote of each payment. Is there anyway to do this with php? I mean.. Printing quotes from a web browser, besides that i also need something to print from thi

[PHP] Problems with exec

2001-08-09 Thread Arne
hi, i have some problems with "exec". i am using win2000, apache and latest php version. always 'unable to fork' . what´s the problem? thanks for help, arne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] array issues

2001-08-09 Thread Jerry Lake
I believe that there is a better way to do what I am trying to do here. I have an online form to enter interviews into a MySQL db right now it is like this etc... each going to their own spot in the table. with this $query = "insert into interviews(id,interviewed,interviewer,q1,a1,q2,a2,q

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sheridan Saint-Michel
I am talking about the JDK... or the compiler and the JVM. I don't think the language itself can be copyrighted as it falls under a "method of operation" which (in the US at least) is not copyrightable (Correct me if I am wrong. IANAL) Since you mentioned Kaffe I visited their homepage www.kaff

[PHP] 쌩쇼 베너광고 제안입니다.

2001-08-09 Thread 파트너
mail½ß¼îÀÇ º£³Ê ±¤°í ¾î¶°½ÅÁö¿ä? ¾È³çÇϼ¼¿ä. ½ß¼î Á¦ÈÞÆÄÆ®³Ê ´ã´çÀÚÀÔ´Ï´Ù. ǫǫ Âî´Â ´õÀ§¿¡µµ ¾ðÁ¦³ª ½ß¼îÀÇ È«º¸¸¦ À§ÇØ ¾Ö½áÁּż­ °¨»çµå¸³´Ï´Ù. 8¿ùºÎÅÍ ½ß¼îÀÇ ÆÄÆ®³Ê ¼öÀͱÝÀÌ ÀλóµÇ¾î ÆÄÆ®³Ê´Ô²² µå¸®´Â ±Ý¾×ÀÌ ´õ ¸¹¾ÆÁ³½À´Ï´Ù. Áö±Ý ¹Ù·Î ½ß¼îÀÇ »ç

RE: [PHP] development to ISP migration headache

2001-08-09 Thread duirfire
Okay...some valid info! the error logs are showing: [Thu Aug 9 15:23:20 2001] [error] [client my_ip_address] Premature end of script headers: /www/docued/cgi-bin/php any ideas, oh gurus? cheers, a > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thur

RE: [PHP] MySQL connection

2001-08-09 Thread BRACK
Ohh, I don't get any error messages, BUT if I have my php functions not working properly I can see the sourse of php code on my browser. If I use extention .inc for including my connection- variables file then browser attempts to download this file which is not better then first. I searched the n

RE: [PHP] MySQL connection

2001-08-09 Thread Bjorn Van Simaeys
Hey Youri, Could you let us know what file extension you use for you php files? And give us the exact code/error message you get on screen. Of course you can hide your username/pass with x. Thanks Bjorn Van Simaeys www.bvsenterprises.com --- Matthew Loff <[EMAIL PROTECTED]> wrote: > >

Re: [PHP] development to ISP migration headache

2001-08-09 Thread duirfire
thanks, but it's not a csoft issue - it's webaxxs i guess i'm trying to figure out if this could be a php configuration issue, and how i would track it down... cheers, s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Tom Carter
In my experience Scandinavia (well nordic really, can't forget finland) and germany (and a few other european countries...notably not england) are much more open to open source (no pun intended) to open source and the like.. their concerns are sensible ones. Something in the mentality. northern am

[PHP] development to ISP migration headache

2001-08-09 Thread duirfire
Hi folks, I have a site on my laptop, works fine. When I tar it up and move to my ISP for a production environment, certain things stop working. The two environments are pretty much the same, except my laptop is php_mod and the ISP is a cgi. Basic pages still work fine, but I'm using URL par

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Mark Maggelet
On Thu, 09 Aug 2001 14:30:43 -0500, Sheridan Saint-Michel ([EMAIL PROTECTED]) wrote: >Bzzzt...Wrong! But thank you for playing. If you read the FAQ on >Sun's "Open Source" website not only do they admit Java is not >open source, but they sort of tip toe around whether or not it ever >will be. w

[PHP] Be an expert! (ADV)

2001-08-09 Thread nobody
Hi friend! Want to be a bulk email expert? Here is the best bulk mailer, period. Ultra fast! Super reliable! No software to download! http://www.u-bulk.com ***Disclaimer You are receiving email as [EMAIL PROTECTED] This email is a one time mailing. ADV ap

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sheridan Saint-Michel
Bzzzt...Wrong! But thank you for playing. If you read the FAQ on Sun's "Open Source" website not only do they admit Java is not open source, but they sort of tip toe around whether or not it ever will be. http://www.sunsource.net/faq.html#Java Sheridan Saint-Michel Website Administrator FoxJet

RE: [PHP] PHP in corporate settings?

2001-08-09 Thread Merio, Quinn
Agreed! Kudos to the persons responsible for creating the php manual. It is imho, the most concise and accessible documentation of any technology that i have used on the net. The technology is astounding as well! I know i am rapidly becoming an evangelist :) q. Subject: RE: [PHP] PHP in corpo

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Sascha Schumann
On Thu, 9 Aug 2001, Jeff Lewis wrote: > Yes I had wondered if someone was going to make that claim :) > > So far I haven't seen much in perl or Java that I CAN'T do in PHP. The user > community is much more helpful, the PHP manual online is IMO simply amazing. > I love that guide :) > > I just r

RE: [PHP] PHP in corporate settings?

2001-08-09 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 a big reason i use PHP as much as i do is becuase of the excellent documentation and ease of finding it all... > -Original Message- > From: Jeff Lewis [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 09, 2001 1:02 PM > To: Rasmus Lerdor

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Jeff Lewis
Yes I had wondered if someone was going to make that claim :) So far I haven't seen much in perl or Java that I CAN'T do in PHP. The user community is much more helpful, the PHP manual online is IMO simply amazing. I love that guide :) I just rarely see any jobs posted for PHP. Mostly ASP and

[PHP] ISO 900x Document Control System

2001-08-09 Thread Seth Northrop
I know CVS exists, and, I know there are some projects out there to make use of CVS/RCS using a web front end (I helped write one). I am however curious if anyone knows of any projects out there to create an ISO 900x angled document control systems out there? Most of the commercial software pac

[PHP] charset win1251

2001-08-09 Thread BRACK
I'm tired... I finished English version of my site and wanted to start Russian part but realized that MySQL server returnes all data in koi-8r charset which is not very comfortable for some of the users, specially I know that A LOT of russians using Opera brawser older versions of which do no

RE: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Jaxon
yes, I'm sure the directory exists :) here is the actual code, I suppose this would have been more helpful to start: http://localhost/modules in a settings file echo "$modroot from included"; //this echos "http://localhost/modules"; properly //the below throws the error, OpenDir: No such file

Re: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Renze Munnik
On Thu, Aug 09, 2001 at 01:15:41PM -0400, Jaxon wrote: > hmm...yes, it does work, I jumped the gun on the simple example, cuz I > thought it was an echo problem.. > my un-simplified example has an opendir() in function foo() file. > > > function.php is: >function foo{ > global $bar

RE: [PHP] RedHat 7.1

2001-08-09 Thread billfarr
Hey, Scott: I'm running RH7.1 myself. PHP sort-of "came out the box" when I installed the default server installation, as an Apache module. All's I had to do was make a PHP page (a timid "echo 'hello';"), throw it in the right directory, and *poof* it served. Astonished me, too. Seems as if w

Re: [PHP] RedHat 7.1

2001-08-09 Thread Greg Donald
On 09 Aug 2001 12:31:18 -0500, Scott Pathel wrote: > Hello, > > I'm running RedHat 7.1 and have installed PHP 4 from the RedHat > installation disk. It is a normal RPM file for the PHP install (prebuilt). > PHP does not seem to work. Looking at the INSTALL file as if I were to > build

Re: [PHP] correct date (cont.)

2001-08-09 Thread Renze Munnik
On Thu, Aug 09, 2001 at 01:08:33PM -0400, [EMAIL PROTECTED] wrote: > Oops..(Hit send prematurely.) > > $currentmonth = date("m"); > $currentday = date("d"); > $year = date("Y"); > $newmonth = $currentmonth + 3; > if ($newmonth > 12){ > $newmonth = $newmonth % 12; > $year = $curr

[PHP] RedHat 7.1

2001-08-09 Thread Scott Pathel
Hello, I'm running RedHat 7.1 and have installed PHP 4 from the RedHat installation disk. It is a normal RPM file for the PHP install (prebuilt). PHP does not seem to work. Looking at the INSTALL file as if I were to build PHP from scratch it mentions some shared libraries that are no

RE: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Jaxon
hmm...yes, it does work, I jumped the gun on the simple example, cuz I thought it was an echo problem.. my un-simplified example has an opendir() in function foo() file. function.php is: so the simple example does indeed work, but the opendir() is choking trying to deal with the variable. hmm

Re: [PHP] subroutines?

2001-08-09 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > As a new PHP convert, I ran into this same problem (below) yesterday while > designing a form. ASP programmers (if they're THINKING) will use subs to > keep "if" blocks tidy. In ASP, I'd use something like: > > If Request.ServerVariables( "REQUEST_METHOD" ) = "GET" T

[PHP] RedHat 7.1

2001-08-09 Thread Scott Pathel
Hello, I'm running RedHat 7.1 and have installed PHP 4 from the RedHat installation disk. It is a normal RPM file for the PHP install (prebuilt). PHP does not seem to work. Looking at the INSTALL file as if I were to build PHP from scratch it mentions some shared libraries that are no

  1   2   >